Add missing translation marks

This commit is contained in:
trilene 2020-12-20 10:14:55 -05:00 committed by Nicolas Werner
parent 87d2074c81
commit 6427687d20
2 changed files with 9 additions and 9 deletions

View file

@ -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()
}

View file

@ -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;
}