Commit 1082e79c authored by Simon Morlat's avatar Simon Morlat
Browse files

merge patch for translation of call duration in logs

parent d2789fdb
......@@ -55,7 +55,7 @@ void linphone_gtk_call_log_update(GtkWidget *w){
LinphoneAddress *la=cl->dir==LinphoneCallIncoming ? cl->from : cl->to;
char *addr= linphone_address_as_string_uri_only (la);
const char *display;
gchar *logtxt;
gchar *logtxt, *minutes, *seconds;
gchar quality[20];
display=linphone_address_get_display_name (la);
......@@ -67,10 +67,19 @@ void linphone_gtk_call_log_update(GtkWidget *w){
if (cl->quality!=-1){
snprintf(quality,sizeof(quality),"%.1f",cl->quality);
}
logtxt=g_markup_printf_escaped("<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%i minutes %i seconds\t",display, addr, cl->quality!=-1 ? quality : _("n/a"),
cl->start_date,
cl->duration/60,cl->duration%60);
minutes=g_markup_printf_escaped(
ngettext("%i minute", "%i minutes", cl->duration/60),
cl->duration/60);
seconds=g_markup_printf_escaped(
ngettext("%i second", "%i seconds", cl->duration%60),
cl->duration%60);
logtxt=g_markup_printf_escaped(
_("<big><b>%s</b></big>\t<small><i>%s</i>\t"
"<i>Quality: %s</i></small>\n%s\t%s %s\t"),
display, addr, cl->quality!=-1 ? quality : _("n/a"),
cl->start_date, minutes, seconds);
g_free(minutes);
g_free(seconds);
gtk_list_store_append (store,&iter);
gtk_list_store_set (store,&iter,
0, cl->dir==LinphoneCallOutgoing ? GTK_STOCK_GO_UP : GTK_STOCK_GO_DOWN,
......
mediastreamer2 @ b5944d8d
Subproject commit e83722c77eedce9eadcfcf54eff1de054dc2a2e9
Subproject commit b5944d8d25bec0acd992288fee03a5016a6b02ca
......@@ -17,7 +17,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone-3.4.99.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2011-11-04 22:30+0100\n"
"Last-Translator: Petr Pisar <petr.pisar@atlas.cz>\n"
"Language-Team: Czech <translation-team-cs@lists.sourceforge.net>\n"
......@@ -28,6 +28,29 @@ msgstr ""
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
msgstr[2] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr "–"
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2011-11-27 23:42+0100\n"
"Last-Translator: Gerhard Stengel <gstengel@gmx.net>\n"
"Language-Team: German <kde-i18n-de@kde.org>\n"
......@@ -18,6 +18,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr "nicht verfügbar"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Linphone 0.9.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2002-10-15 HO:MI+ZONE\n"
"Last-Translator: Nelson Benitez <gnelson@inMail.sk>\n"
"Language-Team: es <es@li.org>\n"
......@@ -17,6 +17,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Linphone 0.9.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2002-12-06 17:33+0100\n"
"Last-Translator: Simon Morlat <simon.morlat@linphone.org>\n"
"Language-Team: french <fr@li.org>\n"
......@@ -16,6 +16,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr "inconnu"
......@@ -912,7 +933,10 @@ msgstr "<b>Video</b>"
msgid ""
"<i>Adaptive rate control is a technique to dynamically guess the available "
"bandwidth during a call.</i>"
msgstr "<i>Le control de débit adaptatif est une technique pour adapter la qualité de l'audio et de la video en fonction de la bande passante disponible, durant l'appel.</i>"
msgstr ""
"<i>Le control de débit adaptatif est une technique pour adapter la qualité "
"de l'audio et de la video en fonction de la bande passante disponible, "
"durant l'appel.</i>"
#: ../gtk/parameters.ui.h:15
msgid "ALSA special device (optional):"
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2007-12-14 11:12+0100\n"
"Last-Translator: \n"
"Language-Team: LANGUAGE <LL@li.org>\n"
......@@ -17,6 +17,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Linphone 3.2.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2002-10-15 HO:MI+ZONE\n"
"Last-Translator: Matteo Piazza <matteo.piazza@trentinonetwork.it>\n"
"Language-Team: it <it@li.org>\n"
......@@ -16,6 +16,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 0.10\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2003-01-21 00:05+9000\n"
"Last-Translator: YAMAGUCHI YOSHIYA <yushiya@anet.ne.jp>\n"
"Language-Team: <ja@li.org>\n"
......@@ -18,6 +18,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2011-04-05 01:56+0200\n"
"Last-Translator: Øyvind Sæther <oyvinds@everdot.org>\n"
"Language-Team: Norwegian Bokmål <i18n-nb@lister.ping.uio.no>\n"
......@@ -18,6 +18,27 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nl\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2007-09-05 10:40+0200\n"
"Last-Translator: Hendrik-Jan Heins <hjheins@gmail.com>\n"
"Language-Team: Nederlands <vertaling@nl.linux.org>\n"
......@@ -20,6 +20,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2003-08-22 12:50+0200\n"
"Last-Translator: Robert Nasiadek <darkone@darkone.pl>\n"
"Language-Team: Polski <pl@li.org>\n"
......@@ -16,6 +16,27 @@ msgstr ""
"Content-Transfer-Encoding: 8-bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone-1.1.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2006-07-11 23:30+0200\n"
"Last-Translator: Rafael Caesar Lenzi <rc_lenzi@yahoo.com.br>\n"
"Language-Team: pt_BR <pt_BR@li.org>\n"
......@@ -18,6 +18,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 0.7.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2010-01-22 18:43+0300\n"
"Last-Translator: Maxim Prokopyev <jazzelastic@gmail.com>\n"
"Language-Team: Russian <greg@dial.com.ru>\n"
......@@ -16,6 +16,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2009-02-17 15:22+0100\n"
"Last-Translator: Emmanuel Frécon <emmanuel.frecon@myjoice.com>\n"
"Language-Team: SWEDISH <SE@li.org>\n"
......@@ -17,6 +17,27 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
msgstr[1] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 3.3.2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2011-01-08 23:51+0800\n"
"Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
"Language-Team: Chinese (simplified) <i18n-zh@googlegroups.com>\n"
......@@ -19,6 +19,25 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
......@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: linphone 3.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-02 16:47+0100\n"
"POT-Creation-Date: 2011-12-05 12:41+0100\n"
"PO-Revision-Date: 2011-04-06 21:24+0800\n"
"Last-Translator: Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>\n"
"Language-Team: \n"
......@@ -18,6 +18,25 @@ msgstr ""
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../gtk/calllogs.c:71
#, c-format
msgid "%i minute"
msgid_plural "%i minutes"
msgstr[0] ""
#: ../gtk/calllogs.c:74
#, c-format
msgid "%i second"
msgid_plural "%i seconds"
msgstr[0] ""
#: ../gtk/calllogs.c:77
#, c-format
msgid ""
"<big><b>%s</b></big>\t<small><i>%s</i>\t<i>Quality: %s</i></small>\n"
"%s\t%s %s\t"
msgstr ""
#: ../gtk/calllogs.c:79
msgid "n/a"
msgstr ""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment