Rework ics invitation in chat.

Remove edit button if not organizer (= not admin).
Add count in translation.
This commit is contained in:
Julien Wadel 2022-06-17 20:46:27 +02:00
parent 0992202c6a
commit 15d33a7585
27 changed files with 937 additions and 170 deletions

View file

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
width="80"
height="80"
viewBox="0 0 80 80"
fill="none"
stroke="#000000"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
version="1.1"
id="svg10"
sodipodi:docname="calendar_custom.svg"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs14" />
<sodipodi:namedview
id="namedview12"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
showgrid="false"
inkscape:zoom="4.3385417"
inkscape:cx="11.063625"
inkscape:cy="17.517407"
inkscape:window-width="1920"
inkscape:window-height="1163"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg10" />
<rect
x="22"
y="21"
width="36"
height="36"
rx="4"
ry="4"
id="rect2"
style="stroke-width:4" />
<line
x1="48"
y1="17"
x2="48"
y2="25"
id="line4"
style="stroke-width:4" />
<line
x1="32"
y1="17"
x2="32"
y2="25"
id="line6"
style="stroke-width:4" />
<line
x1="22"
y1="33"
x2="58"
y2="33"
id="line8"
style="stroke-width:4" />
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -516,11 +516,37 @@ Server url ikke konfigureret.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Klik her: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -516,11 +516,37 @@ Server URL ist nicht konfiguriert.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Klicken Sie hier: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -516,10 +516,36 @@ Server URL not configured.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation>Join</translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<translation>Duration</translation>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation>Description</translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation>Conference address</translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation>Join</translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation>Meeting invite</translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation>
<numerusform>%1 participant</numerusform>
<numerusform>%1 participants</numerusform>
</translation>
</message>
</context>
<context>
@ -4344,58 +4370,58 @@ Click here: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation>
<numerusform>year</numerusform>
<numerusform>years</numerusform>
<numerusform>%1 year</numerusform>
<numerusform>%1 years</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation>
<numerusform>month</numerusform>
<numerusform>months</numerusform>
<numerusform>%1 month</numerusform>
<numerusform>%1 months</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation>
<numerusform>week</numerusform>
<numerusform>weeks</numerusform>
<numerusform>%1 week</numerusform>
<numerusform>%1 weeks</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation>
<numerusform>day</numerusform>
<numerusform>days</numerusform>
<numerusform>%1 day</numerusform>
<numerusform>%1 days</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation>
<numerusform>hour</numerusform>
<numerusform>hours</numerusform>
<numerusform>%1 hour</numerusform>
<numerusform>%1 hours</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation>
<numerusform>minute</numerusform>
<numerusform>minutes</numerusform>
<numerusform>%1 minute</numerusform>
<numerusform>%1 minutes</numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation>
<numerusform>second</numerusform>
<numerusform>seconds</numerusform>
<numerusform>%1 second</numerusform>
<numerusform>%1 seconds</numerusform>
</translation>
</message>
</context>

View file

@ -516,11 +516,37 @@ URL del servidor no configurada.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Haga clic aquí: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -516,11 +516,37 @@ URL du serveur non configurée.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Cliquez ici : &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -515,11 +515,36 @@ A kiszolgáló URL-je nincs konfigurálva.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4309,49 +4334,49 @@ Kattintson ide: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>

View file

@ -516,11 +516,37 @@ URL del server non configurato.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation>Partecipa</translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished">Descrizione</translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished">Indirizzo conferenza</translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished">Partecipa</translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Clicca: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -515,11 +515,36 @@
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4309,49 +4334,49 @@
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>

View file

@ -517,11 +517,38 @@ Nesukonfigūruotas serverio url.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4333,7 +4360,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4342,7 +4369,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4351,7 +4378,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4360,7 +4387,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4396,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4378,7 +4405,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4387,7 +4414,7 @@ Spustelėkite čia: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -516,11 +516,37 @@ URL do servidor não configurado.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Clique aqui: &lt;a href=&quot;%1&quot;&gt;%1 &lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -517,11 +517,38 @@
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation>Присоединиться</translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished">Описание</translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished">Адрес конференции</translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished">Присоединиться</translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4333,7 +4360,7 @@
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4342,7 +4369,7 @@
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4351,7 +4378,7 @@
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4360,7 +4387,7 @@
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4396,7 @@
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4378,7 +4405,7 @@
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4387,7 +4414,7 @@
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -516,11 +516,37 @@ Serverwebbadressen är inte konfigurerad.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4321,7 +4347,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4329,7 +4355,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4337,7 +4363,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4345,7 +4371,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4353,7 +4379,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4361,7 +4387,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4395,7 @@ Klicka här: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -515,11 +515,36 @@ Sunucu url&apos;si yapılandırılmadı.</translation>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4309,49 +4334,49 @@ Buraya tıklayın: &lt;a href=&quot;%1&quot;&gt;%1&lt;/a&gt;
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>

View file

@ -517,11 +517,38 @@
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4333,7 +4360,7 @@
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4342,7 +4369,7 @@
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4351,7 +4378,7 @@
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4360,7 +4387,7 @@
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4369,7 +4396,7 @@
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4378,7 +4405,7 @@
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>
@ -4387,7 +4414,7 @@
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
<numerusform></numerusform>

View file

@ -515,11 +515,36 @@
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>ChatConferenceInvitationMessage</name>
<message>
<source>icsDuration</source>
<extracomment>&apos;Duration&apos; : label for duration</extracomment>
<source>icsDescription</source>
<extracomment>&apos;Description&apos; : Title for the conference description.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsconferenceAddressTitle</source>
<extracomment>&apos;Conference address&apos; : Title for the conference address.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsJoinButton</source>
<extracomment>&apos;Join&apos; : Action button to join the conference.</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>icsMeetingInvite</source>
<extracomment>&apos;Meeting invite&apos; : ICS title that is an invitation.</extracomment>
<translation type="unfinished"></translation>
</message>
<message numerus="yes">
<source>icsParticipants</source>
<extracomment>&apos;%1 participant&apos; : number(=%1) of participant.</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
</context>
<context>
<name>ChatDeliveries</name>
@ -4309,49 +4334,49 @@
</message>
<message numerus="yes">
<source>formatYears</source>
<extracomment>&apos;year&apos;</extracomment>
<extracomment>&apos;%1 year&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMonths</source>
<extracomment>&apos;month&apos;</extracomment>
<extracomment>&apos;%1 month&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatWeeks</source>
<extracomment>&apos;week&apos;</extracomment>
<extracomment>&apos;%1 week&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatDays</source>
<extracomment>&apos;day&apos;</extracomment>
<extracomment>&apos;%1 day&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatHours</source>
<extracomment>&apos;hour&apos;</extracomment>
<extracomment>&apos;%1 hour&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatMinutes</source>
<extracomment>&apos;minute&apos;</extracomment>
<extracomment>&apos;%1 minute&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>
</message>
<message numerus="yes">
<source>formatSeconds</source>
<extracomment>&apos;second&apos;</extracomment>
<extracomment>&apos;%1 second&apos;</extracomment>
<translation type="unfinished">
<numerusform></numerusform>
</translation>

View file

@ -15,6 +15,7 @@
<file>assets/images/auto_answer_custom.svg</file>
<file>assets/images/back_custom.svg</file>
<file>assets/images/burger_menu_custom.svg</file>
<file>assets/images/calendar_custom.svg</file>
<file>assets/images/calendar_participants_custom.svg</file>
<file>assets/images/call_accept_custom.svg</file>
<file>assets/images/call_chat_secure_custom.svg</file>
@ -314,6 +315,7 @@
<file>ui/modules/Linphone/Chat/ChatAudioMessage.qml</file>
<file>ui/modules/Linphone/Chat/ChatAudioPreview.qml</file>
<file>ui/modules/Linphone/Chat/ChatCalendarMessage.qml</file>
<file>ui/modules/Linphone/Chat/ChatConferenceInvitationMessage.qml</file>
<file>ui/modules/Linphone/Chat/ChatFileMessage.qml</file>
<file>ui/modules/Linphone/Chat/ChatFilePreview.qml</file>
<file>ui/modules/Linphone/Chat/ChatForwardMessage.qml</file>

View file

@ -172,6 +172,10 @@ QVariantList ConferenceInfoModel::getParticipants() const{
return addresses;
}
int ConferenceInfoModel::getParticipantCount()const{
return mConferenceInfo->getParticipants().size();
}
TimeZoneModel* ConferenceInfoModel::getTimeZoneModel() const{
TimeZoneModel * model = new TimeZoneModel(mTimeZone);
App::getInstance()->getEngine()->setObjectOwnership(model, QQmlEngine::JavaScriptOwnership);

View file

@ -65,6 +65,7 @@ public:
QString getUri() const;
bool isScheduled() const;
Q_INVOKABLE QVariantList getParticipants() const;
Q_INVOKABLE int getParticipantCount()const;
Q_INVOKABLE TimeZoneModel* getTimeZoneModel() const;
void setDateTime(const QDateTime& dateTime);

View file

@ -16,6 +16,7 @@ Rectangle {
property alias textColor: textArea.color
property alias readOnly: textArea.readOnly
property int padding: TextAreaFieldStyle.text.padding
property alias implicitHeight: flickable.contentHeight
height: TextAreaFieldStyle.background.height
width: TextAreaFieldStyle.background.width

View file

@ -92,8 +92,7 @@ Loader{
elide: Text.ElideRight
font.pointSize: ChatCalendarMessageStyle.schedule.pointSize
text: Qt.formatDateTime(mainItem.conferenceInfoModel.dateTime, 'hh:mm')
//: 'Duration' : label for duration
+ (mainItem.conferenceInfoModel.duration > 0 ? ' ('+qsTr('icsDuration')+' ' +Utils.formatDuration(mainItem.conferenceInfoModel.duration * 60) + ')'
+ (mainItem.conferenceInfoModel.duration > 0 ? ' (' +Utils.formatDuration(mainItem.conferenceInfoModel.duration * 60) + ')'
: '')
}
}
@ -272,6 +271,7 @@ Loader{
isCustom: true
colorSet: ChatCalendarMessageStyle.editButton
backgroundRadius: width/2
visible: UtilsCpp.isMe(mainItem.conferenceInfoModel.organizer)
onClicked: {
window.detachVirtualWindow()
window.attachVirtualWindow(Utils.buildAppDialogUri('NewConference')

View file

@ -0,0 +1,294 @@
import QtQuick 2.7
import QtQuick.Layouts 1.3
import Clipboard 1.0
import App 1.0
import Common 1.0
import Linphone 1.0
import Common.Styles 1.0
import Linphone.Styles 1.0
import TextToSpeech 1.0
import Utils 1.0
import Units 1.0
import UtilsCpp 1.0
import LinphoneEnums 1.0
import ColorsList 1.0
import 'Message.js' as Logic
import 'qrc:/ui/scripts/Utils/utils.js' as Utils
// =============================================================================
Loader{
id: mainItem
property ContentModel contentModel
property ConferenceInfoModel conferenceInfoModel: contentModel ? contentModel.conferenceInfoModel : null
property int maxWidth : parent.width
property int fitHeight: active && item ? item.fitHeight + ChatCalendarMessageStyle.topMargin+ChatCalendarMessageStyle.bottomMargin + (isExpanded? 200 : 0): 0
property int fitWidth: active && item ? item.fitWidth + ChatCalendarMessageStyle.widthMargin*2 : 0
property bool containsMouse: false
property int gotoButtonMode: -1 //-1: hide, 0:goto, 1:MoreInfo
property bool isExpanded : false
signal expandToggle()
signal conferenceUriCopied()
width: parent.width
height: parent.height
property font customFont : SettingsModel.textMessageFont
active: mainItem.conferenceInfoModel
sourceComponent: MouseArea{
id: loadedItem
property int fitHeight: layout.fitHeight + ChatCalendarMessageStyle.topMargin+ChatCalendarMessageStyle.bottomMargin
property int fitWidth: layout.fitWidth + ChatCalendarMessageStyle.leftMargin+ChatCalendarMessageStyle.rightMargin
anchors.fill: parent
anchors.leftMargin: ChatCalendarMessageStyle.widthMargin
anchors.rightMargin: ChatCalendarMessageStyle.widthMargin
anchors.topMargin: ChatCalendarMessageStyle.topMargin
anchors.bottomMargin: ChatCalendarMessageStyle.bottomMargin
clip: false
hoverEnabled: true
onClicked: CallsListModel.prepareConferenceCall(mainItem.conferenceInfoModel)
onHoveredChanged: mainItem.containsMouse = loadedItem.containsMouse
ColumnLayout{
id: layout
property int fitHeight: Layout.minimumHeight + (description.visible?description.implicitHeight + 5: 0)
property int fitWidth: (editButton.visible?editButton.width:0) + copyButton.width + joinButton.width + linkTitle.implicitWidth
anchors.fill: parent
spacing: 0
Text{
Layout.fillWidth: true
Layout.topMargin: 10
Layout.leftMargin: 10
Layout.alignment: Qt.AlignRight
elide: Text.ElideRight
color: ChatCalendarMessageStyle.subject.color
font.pointSize: ChatCalendarMessageStyle.subject.pointSize
//: 'Meeting invite' : ICS title that is an invitation.
text: qsTr('icsMeetingInvite') +': ' + UtilsCpp.getDisplayName(mainItem.conferenceInfoModel.organizer)
}
Text{
id: title
Layout.fillWidth: true
Layout.leftMargin: 10
Layout.alignment: Qt.AlignRight
elide: Text.ElideRight
color: ChatCalendarMessageStyle.subject.color
font.pointSize: ChatCalendarMessageStyle.subject.pointSize
font.weight: Font.Bold
text: mainItem.conferenceInfoModel.subject
}
RowLayout {
id: participantsRow
Layout.fillWidth: true
Layout.preferredHeight: ChatCalendarMessageStyle.participants.iconSize
Layout.leftMargin: 5
Layout.rightMargin: 15
spacing: ChatCalendarMessageStyle.participants.spacing
Icon{
icon: ChatCalendarMessageStyle.participants.icon
iconSize: ChatCalendarMessageStyle.participants.iconSize
overwriteColor: ChatCalendarMessageStyle.participants.color
}
Text {
id: participantsList
property int participantCount: mainItem.conferenceInfoModel.getParticipantCount()
Layout.fillWidth: true
color: ChatCalendarMessageStyle.participants.color
elide: Text.ElideRight
font.pointSize: ChatCalendarMessageStyle.participants.pointSize
//: '%1 participant' : number(=%1) of participant.
text: qsTr('icsParticipants', '', participantCount).arg(participantCount)
}
}
RowLayout {
id: dateRow
Layout.fillWidth: true
Layout.preferredHeight: ChatCalendarMessageStyle.calendar.iconSize
Layout.leftMargin: 5
Layout.rightMargin: 15
spacing: ChatCalendarMessageStyle.calendar.spacing
Icon{
icon: ChatCalendarMessageStyle.calendar.icon
iconSize: ChatCalendarMessageStyle.calendar.iconSize
overwriteColor: ChatCalendarMessageStyle.calendar.color
}
Text {
id: conferenceDate
Layout.fillWidth: true
Layout.minimumWidth: implicitWidth
verticalAlignment: Qt.AlignVCenter
color: ChatCalendarMessageStyle.schedule.color
elide: Text.ElideRight
font.pointSize: ChatCalendarMessageStyle.calendar.pointSize
text: Qt.formatDate(mainItem.conferenceInfoModel.dateTime, 'yyyy/MM/dd')
}
}
RowLayout {
id: conferenceTimeRow
Layout.fillWidth: true
Layout.preferredHeight: ChatCalendarMessageStyle.schedule.iconSize
Layout.leftMargin: 5
Layout.rightMargin: 15
spacing: ChatCalendarMessageStyle.schedule.spacing
Icon{
icon: ChatCalendarMessageStyle.schedule.icon
iconSize: ChatCalendarMessageStyle.schedule.iconSize
overwriteColor: ChatCalendarMessageStyle.schedule.color
}
Text {
id: conferenceTime
Layout.fillWidth: true
Layout.minimumWidth: implicitWidth
verticalAlignment: Qt.AlignVCenter
color: ChatCalendarMessageStyle.schedule.color
elide: Text.ElideRight
font.pointSize: ChatCalendarMessageStyle.schedule.pointSize
text: Qt.formatDateTime(mainItem.conferenceInfoModel.dateTime, 'hh:mm')
+ (mainItem.conferenceInfoModel.duration > 0 ? ' ('+Utils.formatDuration(mainItem.conferenceInfoModel.duration * 60) + ')'
: '')
}
}
ColumnLayout{
id: expandedDescription
Layout.fillWidth: true
Layout.fillHeight: true
Layout.topMargin: 5
visible: mainItem.isExpanded
spacing: 0
ScrollableListView{
id: expandedParticipantsList
Layout.fillWidth: true
Layout.minimumHeight: Math.min( count * ChatCalendarMessageStyle.lineHeight, parent.height/(descriptionTitle.visible?3:2))
Layout.leftMargin: 10
spacing: 0
visible: mainItem.isExpanded
onVisibleChanged: model= mainItem.conferenceInfoModel.getParticipants()
delegate: Row{
spacing: 5
width: expandedParticipantsList.width
height: ChatCalendarMessageStyle.lineHeight
Text{text: modelData.displayName
color: ChatCalendarMessageStyle.description.color
font.pointSize: ChatCalendarMessageStyle.description.pointSize
elide: Text.ElideRight
wrapMode: TextEdit.WordWrap
}
Text{text: '('+modelData.address+')'
color: ChatCalendarMessageStyle.description.color
font.pointSize: ChatCalendarMessageStyle.description.pointSize
elide: Text.ElideRight
wrapMode: TextEdit.WordWrap
}
}
}
}
Text{
id: descriptionTitle
Layout.fillWidth: true
Layout.leftMargin: 10
Layout.topMargin: 5
color: ChatCalendarMessageStyle.subject.color
font.pointSize: ChatCalendarMessageStyle.subject.pointSize
font.weight: Font.Bold
//: 'Description' : Title for the conference description.
text: qsTr('icsDescription')
visible: description.text != ''
}
TextAreaField{
id: description
Layout.fillWidth: true
Layout.fillHeight: true
Layout.leftMargin: 10
padding: 0
color: 'transparent'
readOnly: true
textColor: ChatCalendarMessageStyle.description.color
font.pointSize: ChatCalendarMessageStyle.description.pointSize
border.width: 0
visible: description.text != ''
text: mainItem.conferenceInfoModel.description
}
Item{
Layout.fillHeight: true
Layout.fillWidth: true
}
Text{
id: linkTitle
Layout.fillWidth: true
Layout.leftMargin: 10
color: ChatCalendarMessageStyle.subject.color
font.pointSize: ChatCalendarMessageStyle.subject.pointSize
font.weight: Font.Bold
//: 'Conference address' : Title for the conference address.
text: qsTr('icsconferenceAddressTitle')
}
RowLayout{
Layout.fillWidth: true
Layout.fillHeight: true
Layout.leftMargin: 10
Layout.rightMargin: 10
spacing: 10
TextField{
id: uriField
readOnly: true
Layout.fillWidth: true
textFieldStyle: TextFieldStyle.flatInverse
text: mainItem.conferenceInfoModel.uri
}
ActionButton{
id: copyButton
iconSize: uriField.height
isCustom: true
colorSet: ChatCalendarMessageStyle.copyLinkButton
backgroundRadius: width/2
onClicked: {
Clipboard.text = uriField.text
mainItem.conferenceUriCopied()
}
}
TextButtonC{
id: joinButton
//: 'Join' : Action button to join the conference.
text: qsTr('icsJoinButton').toUpperCase()
onClicked: CallsListModel.prepareConferenceCall(mainItem.conferenceInfoModel)
}
ActionButton{
id: editButton
isCustom: true
colorSet: ChatCalendarMessageStyle.editButton
backgroundRadius: width/2
visible: UtilsCpp.isMe(mainItem.conferenceInfoModel.organizer)
onClicked: {
window.detachVirtualWindow()
window.attachVirtualWindow(Utils.buildAppDialogUri('NewConference')
,{conferenceInfoModel: mainItem.conferenceInfoModel})
}
}
}
}
}
}

View file

@ -38,7 +38,7 @@ Column{
property bool isOutgoing : contentModel && contentModel.chatMessageModel && (contentModel.chatMessageModel.isOutgoing || contentModel.chatMessageModel.state == LinphoneEnums.ChatMessageStateIdle);
z: message.visible ? 0 : 1
ChatCalendarMessage{
ChatConferenceInvitationMessage{
id: calendarMessage
contentModel: mainItem.contentModel
width: parent.width

View file

@ -39,9 +39,15 @@ QtObject {
property color color: ColorsList.add(sectionName+'_conference_indicator', 'i').color
property int width: 5
}
property QtObject calendar: QtObject {
property int spacing: 5
property int pointSize: Units.dp * 9
property string icon : 'calendar_custom'
property int iconSize: 30
property color color: ColorsList.add(sectionName+'_schedule', 'j').color
}
property QtObject schedule: QtObject {
property int spacing: 0
property int spacing: 5
property int pointSize: Units.dp * 9
property string icon : 'schedule_custom'
property int iconSize: 30

View file

@ -22,6 +22,7 @@ Chat 1.0 Chat/Chat.qml
ChatAudioMessage 1.0 Chat/ChatAudioMessage.qml
ChatAudioPreview 1.0 Chat/ChatAudioPreview.qml
ChatCalendarMessage 1.0 Chat/ChatCalendarMessage.qml
ChatConferenceInvitationMessage 1.0 Chat/ChatConferenceInvitationMessage.qml
ChatMessagePreview 1.0 Chat/ChatMessagePreview.qml
ChatForwardMessage 1.0 Chat/ChatForwardMessage.qml
ChatReplyMessage 1.0 Chat/ChatReplyMessage.qml

View file

@ -527,30 +527,30 @@ function formatDuration (seconds) {
//1, 60, 3600, 86400, 604800, 2592000, 31104000
var y = Math.floor(seconds / 31104000)
if(y > 0)
//: 'year'
return y+ ' '+qsTr('formatYears', '', y)
//: '%1 year'
return qsTr('formatYears', '', y).arg(y)
var M = Math.floor(seconds / 2592000)
if(M > 0)
//: 'month'
return M+' '+qsTr('formatMonths', '', M)
//: '%1 month'
return qsTr('formatMonths', '', M).arg(M)
var w = Math.floor(seconds / 604800)
if(w>0)
//: 'week'
return w+' '+qsTr('formatWeeks', '', w)
//: '%1 week'
return qsTr('formatWeeks', '', w).arg(w)
var d = Math.floor(seconds / 86400)
if(d>0)
//: 'day'
return d+' '+qsTr('formatDays', '', d)
//: '%1 day'
return qsTr('formatDays', '', d).arg(d)
var h = Math.floor(seconds / 3600)
var m = Math.floor((seconds - h * 3600) / 60)
var s = seconds - h * 3600 - m * 60
//: 'hour'
return (h > 0 ? h + qsTr('formatHours', '', h): '')
//: 'minute'
+ (m > 0 ? (h > 0 ? ', ' : '') + m + qsTr('formatMinutes', '', m): '')
//: 'second'
+ (s > 0 ? (h> 0 || m > 0 ? ', ' : '') +s + qsTr('formatSeconds', '', s): '')
//: '%1 hour'
return (h > 0 ? qsTr('formatHours', '', h).arg(h): '')
//: '%1 minute'
+ (m > 0 ? (h > 0 ? ', ' : '') +qsTr('formatMinutes', '', m).arg(m): '')
//: '%1 second'
+ (s > 0 ? (h> 0 || m > 0 ? ', ' : '') +qsTr('formatSeconds', '', s).arg(s): '')
}
function buildDate(date, time){

@ -1 +1 @@
Subproject commit 7e54d398fa9f1648486386e66e2cc5c2984d19dd
Subproject commit baeed5ae055e519284f7314d3a9bace134c3ecb5