summary refs log tree commit diff
path: root/resources/qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-15 13:57:19 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-15 13:57:19 +0100
commitca54de0b50bb0991f0dc57e4a8aa821ff29a3a88 (patch)
treef9c0f41c077edf348c575fc0ec0cf84ed8cfd3be /resources/qml
parentMerge branch 'flatpak-voip' into 'master' (diff)
downloadnheko-ca54de0b50bb0991f0dc57e4a8aa821ff29a3a88.tar.xz
Update translations
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/device-verification/Waiting.qml2
-rw-r--r--resources/qml/voip/CallInviteBar.qml8
-rw-r--r--resources/qml/voip/PlaceCall.qml6
3 files changed, 8 insertions, 8 deletions
diff --git a/resources/qml/device-verification/Waiting.qml b/resources/qml/device-verification/Waiting.qml

index 9c2d2fda..68c73d5d 100644 --- a/resources/qml/device-verification/Waiting.qml +++ b/resources/qml/device-verification/Waiting.qml
@@ -4,7 +4,7 @@ import QtQuick.Layouts 1.10 import im.nheko 1.0 Pane { - property string title: qsTr("Waiting for other party") + property string title: qsTr("Waiting for other party…") ColumnLayout { spacing: 16 diff --git a/resources/qml/voip/CallInviteBar.qml b/resources/qml/voip/CallInviteBar.qml
index cc3f9005..65749c35 100644 --- a/resources/qml/voip/CallInviteBar.qml +++ b/resources/qml/voip/CallInviteBar.qml
@@ -84,7 +84,7 @@ Rectangle { Button { Layout.rightMargin: 4 icon.source: CallManager.isVideo ? "qrc:/icons/icons/ui/video-call.png" : "qrc:/icons/icons/ui/place-call.png" - text: qsTr(" Accept ") + text: qsTr("Accept") palette: colors onClicked: { if (CallManager.mics.length == 0) { @@ -96,7 +96,7 @@ Rectangle { return ; } else if (!CallManager.mics.includes(Settings.microphone)) { var dialog = deviceError.createObject(timelineRoot, { - "errorString": qsTr("Unknown microphone: ") + Settings.microphone, + "errorString": qsTr("Unknown microphone: %1").arg(Settings.microphone), "image": ":/icons/icons/ui/place-call.png" }); dialog.open(); @@ -104,7 +104,7 @@ Rectangle { } if (CallManager.isVideo && CallManager.cameras.length > 0 && !CallManager.cameras.includes(Settings.camera)) { var dialog = deviceError.createObject(timelineRoot, { - "errorString": qsTr("Unknown camera: ") + Settings.camera, + "errorString": qsTr("Unknown camera: %1").arg(Settings.camera), "image": ":/icons/icons/ui/video-call.png" }); dialog.open(); @@ -117,7 +117,7 @@ Rectangle { Button { Layout.rightMargin: 16 icon.source: "qrc:/icons/icons/ui/end-call.png" - text: qsTr(" Decline ") + text: qsTr("Decline") palette: colors onClicked: { CallManager.hangUp(); diff --git a/resources/qml/voip/PlaceCall.qml b/resources/qml/voip/PlaceCall.qml
index 526f056e..6717f0a9 100644 --- a/resources/qml/voip/PlaceCall.qml +++ b/resources/qml/voip/PlaceCall.qml
@@ -27,7 +27,7 @@ Popup { Layout.leftMargin: 8 Label { - text: qsTr("Place a call to ") + TimelineManager.timeline.roomName + "?" + text: qsTr("Place a call to %1?").arg(TimelineManager.timeline.roomName) color: colors.windowText } @@ -65,7 +65,7 @@ Popup { } Button { - text: qsTr(" Voice ") + text: qsTr("Voice") icon.source: "qrc:/icons/icons/ui/place-call.png" onClicked: { if (buttonLayout.validateMic()) { @@ -78,7 +78,7 @@ Popup { Button { visible: CallManager.cameras.length > 0 - text: qsTr(" Video ") + text: qsTr("Video") icon.source: "qrc:/icons/icons/ui/video-call.png" onClicked: { if (buttonLayout.validateMic()) {