summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-12-20 10:14:55 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-07 14:04:54 +0100
commit6427687d208bdf2b303d1444d978d7f83fcc2be0 (patch)
tree703d924fddb903f0b3fa319107abd59a4ddd1e69 /resources
parentAdd devices dialog to CallInviteBar (diff)
downloadnheko-6427687d208bdf2b303d1444d978d7f83fcc2be0.tar.xz
Add missing translation marks
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/voip/ActiveCallBar.qml8
-rw-r--r--resources/qml/voip/CallInviteBar.qml10
2 files changed, 9 insertions, 9 deletions
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;
                 }