From 0446c857ff1d48ed51e06ce8a323ebac832727c6 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 5 Oct 2021 16:15:05 +0200 Subject: [PATCH] Fix source language comments --- linphone-app/assets/languages/en.ts | 7 ++----- .../ui/views/App/Main/Dialogs/EphemeralChatRoom.qml | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/linphone-app/assets/languages/en.ts b/linphone-app/assets/languages/en.ts index 1b9b70610..789644d41 100644 --- a/linphone-app/assets/languages/en.ts +++ b/linphone-app/assets/languages/en.ts @@ -956,8 +956,7 @@ Server URL not configured. ephemeralNotInConference! - ' -Ephemeral message is only supported in conference based chat room!' + 'Ephemeral message is only supported in conference based chat room!' Ephemeral message is only supported in conference based chat room! Warning about not being in conference based chat room. @@ -984,9 +983,7 @@ Ephemeral message is only supported in conference based chat room!' nDay - '%1 day' ----------- -'%1 days' + '%1 day' %1 day %1 days diff --git a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml index b0dd92564..2fb231697 100644 --- a/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml +++ b/linphone-app/ui/views/App/Main/Dialogs/EphemeralChatRoom.qml @@ -78,7 +78,7 @@ DialogPlus { wrapMode: Text.Wrap //: 'New messages will be deleted on both ends once it has been read by your contact. Select a timeout.' : Context Explanation for ephemerals text: qsTr('ephemeralText') - //: '\nEphemeral message is only supported in conference based chat room!' + //: 'Ephemeral message is only supported in conference based chat room!' //~ Context Warning about not being in conference based chat room. +(!chatRoomModel.canBeEphemeral?'\n'+qsTr('ephemeralNotInConference!'):'') verticalAlignment: Text.AlignVCenter