Add missing translation marks
This commit is contained in:
parent
87d2074c81
commit
6427687d20
@ -61,7 +61,7 @@ Rectangle {
|
|||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: callStateLabel
|
target: callStateLabel
|
||||||
text: "Calling..."
|
text: qsTr("Calling...")
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -71,7 +71,7 @@ Rectangle {
|
|||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: callStateLabel
|
target: callStateLabel
|
||||||
text: "Connecting..."
|
text: qsTr("Connecting...")
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -81,7 +81,7 @@ Rectangle {
|
|||||||
|
|
||||||
PropertyChanges {
|
PropertyChanges {
|
||||||
target: callStateLabel
|
target: callStateLabel
|
||||||
text: "Connecting..."
|
text: qsTr("Connecting...")
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -157,7 +157,7 @@ Rectangle {
|
|||||||
image: ":/icons/icons/ui/toggle-camera-view.png"
|
image: ":/icons/icons/ui/toggle-camera-view.png"
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
ToolTip.visible: hovered
|
ToolTip.visible: hovered
|
||||||
ToolTip.text: "Toggle camera view"
|
ToolTip.text: qsTr("Toggle camera view")
|
||||||
onClicked: CallManager.toggleCameraView()
|
onClicked: CallManager.toggleCameraView()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ Rectangle {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
font.pointSize: fontMetrics.font.pointSize * 1.1
|
font.pointSize: fontMetrics.font.pointSize * 1.1
|
||||||
text: CallManager.isVideo ? "Video Call" : "Voice Call"
|
text: CallManager.isVideo ? qsTr("Video Call") : qsTr("Voice Call")
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
@ -67,7 +67,7 @@ Rectangle {
|
|||||||
image: ":/icons/icons/ui/settings.png"
|
image: ":/icons/icons/ui/settings.png"
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
ToolTip.visible: hovered
|
ToolTip.visible: hovered
|
||||||
ToolTip.text: "Devices"
|
ToolTip.text: qsTr("Devices")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
var dialog = devicesDialog.createObject(timelineRoot);
|
var dialog = devicesDialog.createObject(timelineRoot);
|
||||||
dialog.show();
|
dialog.show();
|
||||||
@ -84,17 +84,17 @@ Rectangle {
|
|||||||
text: qsTr("Accept")
|
text: qsTr("Accept")
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (CallManager.mics.length == 0) {
|
if (CallManager.mics.length == 0) {
|
||||||
warningDialog.text = "No microphone found.";
|
warningDialog.text = qsTr("No microphone found.");
|
||||||
warningDialog.open();
|
warningDialog.open();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (!CallManager.mics.includes(Settings.microphone)) {
|
else if (!CallManager.mics.includes(Settings.microphone)) {
|
||||||
warningDialog.text = "Unknown microphone: " + Settings.microphone;
|
warningDialog.text = qsTr("Unknown microphone: ") + Settings.microphone;
|
||||||
warningDialog.open();
|
warningDialog.open();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (CallManager.isVideo && CallManager.cameras.length > 0 && !CallManager.cameras.includes(Settings.camera)) {
|
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();
|
warningDialog.open();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user