Fix source language comments

This commit is contained in:
Julien Wadel 2021-10-05 16:15:05 +02:00
parent daa56cc77c
commit 0446c857ff
2 changed files with 3 additions and 6 deletions

View file

@ -956,8 +956,7 @@ Server URL not configured.</translation>
</message>
<message>
<source>ephemeralNotInConference!</source>
<extracomment>&apos;
Ephemeral message is only supported in conference based chat room!&apos;</extracomment>
<extracomment>&apos;Ephemeral message is only supported in conference based chat room!&apos;</extracomment>
<translation>Ephemeral message is only supported in conference based chat room!</translation>
<extra-Context>Warning about not being in conference based chat room.</extra-Context>
</message>
@ -984,9 +983,7 @@ Ephemeral message is only supported in conference based chat room!&apos;</extrac
</message>
<message numerus="yes">
<source>nDay</source>
<extracomment>&apos;%1 day&apos;
----------
&apos;%1 days&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation>
<numerusform>%1 day</numerusform>
<numerusform>%1 days</numerusform>

View file

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