summaryrefslogtreecommitdiffstats
path: root/resources/qml/voip
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/voip
parenta68507b6a71c06d909461d37e28c7c1f8b07b4cf (diff)
Update translations
Diffstat (limited to 'resources/qml/voip')
-rw-r--r--resources/qml/voip/CallInviteBar.qml8
-rw-r--r--resources/qml/voip/PlaceCall.qml6
2 files changed, 7 insertions, 7 deletions
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()) {