From 6427687d208bdf2b303d1444d978d7f83fcc2be0 Mon Sep 17 00:00:00 2001 From: trilene Date: Sun, 20 Dec 2020 10:14:55 -0500 Subject: Add missing translation marks --- resources/qml/voip/ActiveCallBar.qml | 8 ++++---- resources/qml/voip/CallInviteBar.qml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'resources') diff --git a/resources/qml/voip/ActiveCallBar.qml b/resources/qml/voip/ActiveCallBar.qml index e0853808..1683df6a 100644 --- a/resources/qml/voip/ActiveCallBar.qml +++ b/resources/qml/voip/ActiveCallBar.qml @@ -61,7 +61,7 @@ Rectangle { PropertyChanges { target: callStateLabel - text: "Calling..." + text: qsTr("Calling...") } }, @@ -71,7 +71,7 @@ Rectangle { PropertyChanges { target: callStateLabel - text: "Connecting..." + text: qsTr("Connecting...") } }, @@ -81,7 +81,7 @@ Rectangle { PropertyChanges { target: callStateLabel - text: "Connecting..." + text: qsTr("Connecting...") } }, @@ -157,7 +157,7 @@ Rectangle { image: ":/icons/icons/ui/toggle-camera-view.png" hoverEnabled: true ToolTip.visible: hovered - ToolTip.text: "Toggle camera view" + ToolTip.text: qsTr("Toggle camera view") onClicked: CallManager.toggleCameraView() } diff --git a/resources/qml/voip/CallInviteBar.qml b/resources/qml/voip/CallInviteBar.qml index e22ee645..43aa93b8 100644 --- a/resources/qml/voip/CallInviteBar.qml +++ b/resources/qml/voip/CallInviteBar.qml @@ -53,7 +53,7 @@ Rectangle { Label { font.pointSize: fontMetrics.font.pointSize * 1.1 - text: CallManager.isVideo ? "Video Call" : "Voice Call" + text: CallManager.isVideo ? qsTr("Video Call") : qsTr("Voice Call") } Item { @@ -67,7 +67,7 @@ Rectangle { image: ":/icons/icons/ui/settings.png" hoverEnabled: true ToolTip.visible: hovered - ToolTip.text: "Devices" + ToolTip.text: qsTr("Devices") onClicked: { var dialog = devicesDialog.createObject(timelineRoot); dialog.show(); @@ -84,17 +84,17 @@ Rectangle { text: qsTr("Accept") onClicked: { if (CallManager.mics.length == 0) { - warningDialog.text = "No microphone found."; + warningDialog.text = qsTr("No microphone found."); warningDialog.open(); return; } else if (!CallManager.mics.includes(Settings.microphone)) { - warningDialog.text = "Unknown microphone: " + Settings.microphone; + warningDialog.text = qsTr("Unknown microphone: ") + Settings.microphone; warningDialog.open(); return; } if (CallManager.isVideo && CallManager.cameras.length > 0 && !CallManager.cameras.includes(Settings.camera)) { - warningDialog.text = "Unknown camera: " + Settings.camera; + warningDialog.text = qsTr("Unknown camera: ") + Settings.camera; warningDialog.open(); return; } -- cgit 1.4.1