[Xfce4-commits] Update mimetypes, add support for webm.
Updating branch refs/heads/master to acf1ad4b07faec700fd85982a05672404bd29c57 (commit) from c7e2ce9a5e8825aee610b8bb78ae932369a9f2d9 (commit) commit acf1ad4b07faec700fd85982a05672404bd29c57 Author: Sean Davis Date: Tue Jan 22 22:30:03 2013 -0500 Update mimetypes, add support for webm. data/mime/mime-functions.sh |5 ++--- data/mime/mime-type-list.txt | 28 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/data/mime/mime-functions.sh b/data/mime/mime-functions.sh index 3ede00f..370f35b 100644 --- a/data/mime/mime-functions.sh +++ b/data/mime/mime-functions.sh @@ -2,14 +2,13 @@ get_audio_mimetypes () { - MIMETYPES=`grep -v ^# $1 | grep "\/" | grep audio | grep -v "audio/x-pn-realaudio"` + MIMETYPES=`grep -v '^#' $1 | grep "\/" | grep audio | grep -v "audio/x-pn-realaudio" | grep -v "audio/x-scpls" | grep -v "audio/mpegurl" | grep -v "audio/x-mpegurl" | grep -v x-scheme-handler/` MIMETYPES="$MIMETYPES application/x-flac" - MIMETYPES="$MIMETYPES application/vnd.rn-realmedia" } get_video_mimetypes () { - MIMETYPES=`grep -v ^# $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac"` + MIMETYPES=`grep -v '^#' $1 | grep -v x-content/ | grep -v audio | grep -v "application/x-flac" | grep -v "text/google-video-pointer" | grep -v "application/x-quicktime-media-link" | grep -v "application/smil" | grep -v "application/smil+xml" | grep -v "application/x-smil" | grep -v "application/xspf+xml" | grep -v x-scheme-handler/` MIMETYPES="$MIMETYPES audio/x-pn-realaudio" } diff --git a/data/mime/mime-type-list.txt b/data/mime/mime-type-list.txt index 927f153..97f7b11 100644 --- a/data/mime/mime-type-list.txt +++ b/data/mime/mime-type-list.txt @@ -1,8 +1,11 @@ +application/mxf application/ogg application/ram application/sdp application/smil application/smil+xml +application/vnd.apple.mpegurl +application/vnd.ms-wpl application/vnd.rn-realmedia application/x-extension-m4a application/x-extension-mp4 @@ -15,24 +18,36 @@ application/x-quicktime-media-link application/x-quicktimeplayer application/x-shorten application/x-smil +application/xspf+xml audio/3gpp audio/ac3 audio/AMR audio/AMR-WB audio/basic +audio/flac audio/midi +audio/mp2 audio/mp4 audio/mpeg +audio/mpegurl audio/ogg +audio/prs.sid audio/vnd.rn-realaudio +audio/x-aiff audio/x-ape audio/x-flac +audio/x-gsm audio/x-it audio/x-m4a audio/x-matroska audio/x-mod audio/x-mp3 audio/x-mpeg +audio/x-mpegurl +audio/x-ms-asf +audio/x-ms-asx +audio/x-ms-wax +audio/x-ms-wma audio/x-musepack audio/x-pn-aiff audio/x-pn-au @@ -42,8 +57,11 @@ audio/x-pn-wav audio/x-pn-windows-acm audio/x-realaudio audio/x-real-audio +audio/x-s3m audio/x-sbc +audio/x-scpls audio/x-speex +audio/x-stm audio/x-tta audio/x-wav audio/x-wavpack @@ -55,10 +73,13 @@ image/x-pict misc/ultravox text/google-video-pointer text/x-google-video-pointer +video/3gp video/3gpp video/dv +video/divx video/fli video/flv +video/mp2t video/mp4 video/mp4v-es video/mpeg @@ -67,8 +88,10 @@ video/ogg video/quicktime video/vivo video/vnd.divx +video/vnd.mpegurl video/vnd.rn-realvideo video/vnd.vivo +video/webm video/x-anim video/x-avi video/x-flc @@ -78,13 +101,18 @@ video/x-flv video/x-m4v video/x-matroska video/x-mpeg +video/x-mpeg2 video/x-ms-asf +video/x-ms-asx video/x-msvideo video/x-ms-wm video/x-ms-wmv +video/x-ms-wmx +video/x-ms-wvx video/x-nsv video/x-ogm+ogg video/x-theora+ogg +video/x-totem-stream x-content/video-dvd x-content/video-vcd x-content/video-svcd ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] One other playlist utf-8 fix.
Updating branch refs/heads/master to c7e2ce9a5e8825aee610b8bb78ae932369a9f2d9 (commit) from 896a6127b6d8be738ac8f77f2223f5543f324490 (commit) commit c7e2ce9a5e8825aee610b8bb78ae932369a9f2d9 Author: Sean Davis Date: Tue Jan 22 21:59:15 2013 -0500 One other playlist utf-8 fix. src/misc/parole-pl-parser.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/misc/parole-pl-parser.c b/src/misc/parole-pl-parser.c index e7f992f..b35eadf 100644 --- a/src/misc/parole-pl-parser.c +++ b/src/misc/parole-pl-parser.c @@ -546,7 +546,7 @@ parole_pl_parser_save_pls (FILE *f, GSList *files) ParoleFile *file; file = g_slist_nth_data (files, i - 1); g_snprintf (key, 128, "File%d", i); - fprintf (f, "%s=%s\n", key, parole_file_get_file_name (file)); + fprintf (f, "%s=%s\n", key, parole_filename_to_utf8(parole_file_get_file_name (file))); g_snprintf (key, 128, "Title%d", i); fprintf (f, "%s=%s\n\n", key, parole_file_get_display_name (file)); } ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] Fix playlist storage in UTF-8.
Updating branch refs/heads/master to 896a6127b6d8be738ac8f77f2223f5543f324490 (commit) from 17c775f39484400fc56c129fcf8ed7aabb8e90ab (commit) commit 896a6127b6d8be738ac8f77f2223f5543f324490 Author: Sean Davis Date: Tue Jan 22 21:56:11 2013 -0500 Fix playlist storage in UTF-8. src/misc/parole-pl-parser.c | 37 + 1 files changed, 33 insertions(+), 4 deletions(-) diff --git a/src/misc/parole-pl-parser.c b/src/misc/parole-pl-parser.c index d846ac0..e7f992f 100644 --- a/src/misc/parole-pl-parser.c +++ b/src/misc/parole-pl-parser.c @@ -56,6 +56,20 @@ typedef struct } ParoleParserData; +static gchar* +parole_filename_to_utf8(const gchar* filename) +{ +gsize read, written; + +gchar *utf8; +gchar *tmp = g_strdup(filename); +tmp = g_strconcat(tmp, "\0", NULL); + +utf8 = g_filename_to_utf8(tmp, -1, &read, &written, NULL); +g_free(tmp); +return utf8; +} + static void parole_xspf_xml_start (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, @@ -486,18 +500,33 @@ parole_pl_parser_save_m3u (FILE *f, GSList *files) guint len; guint i; +gchar *display_name = NULL; +gchar *file_name = NULL; + fputs ("#EXTM3U\n\n", f); len = g_slist_length (files); for ( i = 0; i < len; i++) { - ParoleFile *file; - file = g_slist_nth_data (files, i); - fprintf (f, "#EXTINF:-1,%s\n", parole_file_get_display_name (file)); - fprintf (f, "%s\n\n", parole_file_get_file_name (file)); + ParoleFile *file; + file = g_slist_nth_data (files, i); + display_name = g_strdup(parole_file_get_display_name (file)); + file_name = parole_filename_to_utf8(parole_file_get_file_name (file)); + + if (display_name && file_name) + { + fprintf (f, "#EXTINF:-1,%s\n", display_name); + fprintf (f, "%s\n\n", file_name); + } } +if (display_name) +g_free(display_name); + +if (file_name) +g_free(file_name); + return TRUE; } ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] Update primary display on load after possible change.
Updating branch refs/heads/ochosi/primary to eac7fba97e18af0661b0c6941afad03a1e7e8857 (commit) from 36fe0952354c7a7da8bc037d4a92fb6bac6a9a03 (commit) commit eac7fba97e18af0661b0c6941afad03a1e7e8857 Author: Sean Davis Date: Tue Jan 22 21:07:05 2013 -0500 Update primary display on load after possible change. dialogs/display-settings/xfce-randr.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dialogs/display-settings/xfce-randr.c b/dialogs/display-settings/xfce-randr.c index c114824..3275fd1 100644 --- a/dialogs/display-settings/xfce-randr.c +++ b/dialogs/display-settings/xfce-randr.c @@ -245,6 +245,8 @@ xfce_randr_populate (XfceRandr *randr, XRRCrtcInfo *crtc_info; gint n; guint m; + +XfconfChannel *display_channel = xfconf_channel_new ("displays"); g_return_if_fail (randr != NULL); g_return_if_fail (randr->priv != NULL); @@ -321,6 +323,10 @@ xfce_randr_populate (XfceRandr *randr, /* fill in the name used by the UI */ randr->friendly_name[m] = xfce_randr_friendly_name (randr, m); + +/* Update display info, primary display may have changed. */ +xfce_randr_save_output (randr, "Default", display_channel, +m, FALSE); } /* calculate relations from positions */ ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 87%
Updating branch refs/heads/master to 4c5998a4582b91cd48a8d9621e04c49ea6601533 (commit) from 4b7fac4eefb206e6937f55fb764f6bd25b3732f7 (commit) commit 4c5998a4582b91cd48a8d9621e04c49ea6601533 Author: Sergio Marques Date: Wed Jan 23 02:06:04 2013 +0100 l10n: Updated Portuguese (pt) translation to 87% New status: 266 messages complete with 0 fuzzies and 38 untranslated. Transmitted-via: Transifex (translations.xfce.org). po/pt.po | 178 ++--- 1 files changed, 99 insertions(+), 79 deletions(-) diff --git a/po/pt.po b/po/pt.po index e57da0d..f0ae070 100644 --- a/po/pt.po +++ b/po/pt.po @@ -2,7 +2,7 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Nuno Miguel , 2007. -# +# msgid "" msgstr "" "Project-Id-Version: weather-plugin\n" @@ -15,8 +15,8 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pt_PT\n" -"X-Generator: Poedit 1.5.4\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Generator: Poedit 1.5.4\n" #. TRANSLATORS: Keep in sync with labeloptions in weather-config.c #: ../panel-plugin/weather.c:116 @@ -29,7 +29,7 @@ msgstr "P" #: ../panel-plugin/weather.c:122 msgid "WS" -msgstr "VV" +msgstr "WS" #: ../panel-plugin/weather.c:125 msgid "WB" @@ -37,7 +37,7 @@ msgstr "WB" #: ../panel-plugin/weather.c:128 ../panel-plugin/weather.c:131 msgid "WD" -msgstr "DV" +msgstr "WD" #: ../panel-plugin/weather.c:134 msgid "H" @@ -49,31 +49,31 @@ msgstr "D" #: ../panel-plugin/weather.c:140 msgid "A" -msgstr "" +msgstr "A" #: ../panel-plugin/weather.c:143 msgid "CL" -msgstr "PN" +msgstr "CL" #: ../panel-plugin/weather.c:146 msgid "CM" -msgstr "N" +msgstr "CM" #: ../panel-plugin/weather.c:149 msgid "CH" -msgstr "MN" +msgstr "CH" #: ../panel-plugin/weather.c:152 msgid "C" -msgstr "NG" +msgstr "C" #: ../panel-plugin/weather.c:155 msgid "F" -msgstr "N" +msgstr "F" #: ../panel-plugin/weather.c:158 msgid "R" -msgstr "P" +msgstr "R" #: ../panel-plugin/weather.c:343 ../panel-plugin/weather.c:345 msgid "No Data" @@ -85,18 +85,18 @@ msgid "" "and the plugin needs to be adapted to use a newer version, or it will stop " "working within a few month. Please file a bug on https://bugzilla.xfce.org " "if no one else has done so yet." -msgstr "" +msgstr "A Met.no sunrise API indicou que esta versão do serviço web está obsoleta e que o \"plugin\" tem que ser adaptado a uma versão mais recente ou deixará de funcionar dentro de poucos meses. Por favor reporte os erros encontrados em https://bugzilla.xfce.org."; #: ../panel-plugin/weather.c:466 msgid "Error parsing astronomical data!" -msgstr "" +msgstr "Erro ao processar os dados astronómicos!" #: ../panel-plugin/weather.c:468 #, c-format msgid "" "Download of astronomical data failed with HTTP Status Code %d, Reason " "phrase: %s" -msgstr "" +msgstr "Ocorreu um erro ao transferir os dados. O código do erro foi %d. O motivo do erro foi: %s." #: ../panel-plugin/weather.c:503 msgid "" @@ -104,17 +104,17 @@ msgid "" "deprecated, and the plugin needs to be adapted to use a newer version, or it " "will stop working within a few month. Please file a bug on https://bugzilla."; "xfce.org if no one else has done so yet." -msgstr "" +msgstr "A Met.no LocationforecastLTS API indicou que esta versão do serviço web está obsoleta e que o \"plugin\" tem que ser adaptado a uma versão mais recente ou deixará de funcionar dentro de poucos meses. Por favor reporte os erros encontrados em https://bugzilla.xfce.org."; #: ../panel-plugin/weather.c:521 msgid "Error parsing weather data!" -msgstr "Erro ao processar dados!" +msgstr "Erro ao processar dados meteorológicos!" #: ../panel-plugin/weather.c:524 #, c-format msgid "" "Download of weather data failed with HTTP Status Code %d, Reason phrase: %s" -msgstr "" +msgstr "Ocorreu um erro ao transferir os dados. O código do erro foi %d. O motivo do erro foi: %s." #: ../panel-plugin/weather.c:1366 #, c-format @@ -123,11 +123,11 @@ msgstr "Incapaz de abrir o url: %s" #: ../panel-plugin/weather.c:1397 ../panel-plugin/weather.desktop.in.h:1 msgid "Weather Update" -msgstr "Atualização climatérica" +msgstr "Atualização meteorológica" #: ../panel-plugin/weather.c:1434 msgid "Short-term forecast data unavailable." -msgstr "A previsão não está disponível." +msgstr "A previsão de curto prazo não está disponível." #: ../panel-plugin/weather.c:1446 msgid "The sun never rises today." @@ -144,7 +144,7 @@ msgstr "O sol nasce às %s e põe-se às %s." #. * TRANSLATORS: This is the simple tooltip. For a bigger challenge, #. * look at the verbose tooltip style further below ;-) -#. +#. #: ../panel-plugin/weather.c:1481 #, c-format msgid "" @@ -170,7 +170,7 @@ msgstr "" #. * vertical alignment of the icon - which unfortunately canno
[Xfce4-commits] l10n: initial ossetian po file
Updating branch refs/heads/master to a861cdd1b9664148992a52cfaffe1d6aaad0ca17 (commit) from 1100d6e87c395bd6e1867baa2d2eab7b1ce94be6 (commit) commit a861cdd1b9664148992a52cfaffe1d6aaad0ca17 Author: Soslan Xwybylty Date: Tue Jan 22 23:19:37 2013 +0100 l10n: initial ossetian po file New status: 151 messages complete with 0 fuzzies and 13 untranslated. Transmitted-via: Transifex (translations.xfce.org). po/{hr.po => os.po} | 421 +-- 1 files changed, 175 insertions(+), 246 deletions(-) diff --git a/po/hr.po b/po/os.po similarity index 54% copy from po/hr.po copy to po/os.po index 59c7538..4e3f15b 100644 --- a/po/hr.po +++ b/po/os.po @@ -2,70 +2,70 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. -# +# msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" +"Project-Id-Version: libxfce4ui\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-18 17:57+\n" -"PO-Revision-Date: 2010-03-26 12:16+0100\n" -"Last-Translator: Petar Koretić \n" -"Language-Team: LANGUAGE \n" +"POT-Creation-Date: 2013-01-22 18:15+\n" +"PO-Revision-Date: 2013-01-23 02:18+0300\n" +"Last-Translator: Xwybylty Soslan \n" +"Language-Team: Ossetian\n" +"Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: \n" +"X-Poedit-Language: Ossetian; Ossetic\n" +"Plural-Forms: nplurals=3; plural=!1\n" #: ../libxfce4ui/xfce-dialogs.c:98 msgid "Failed to open web browser for online documentation" -msgstr "Neuspjelo otvaranje web preglednika za dokumentaciju na mreži" +msgstr "Нӕ рауадис онлайн документацийӕн веб браузер бакӕнын" #: ../libxfce4ui/xfce-dialogs.c:213 #, c-format msgid "Do you want to read the %s manual online?" -msgstr "Želite li čitati %s priručnik na mreži?" +msgstr "Фӕнды дӕ %s разамынд онлайн бафӕрсын?" #: ../libxfce4ui/xfce-dialogs.c:215 msgid "Do you want to read the manual online?" -msgstr "Želite li čitati priručnik na mreži?" +msgstr "Фӕнды дӕ разамынд онлайн бафӕрсын?" #: ../libxfce4ui/xfce-dialogs.c:218 msgid "Online Documentation" -msgstr "Dokumentaqcija na mreži" +msgstr "Онлайн документаци" #: ../libxfce4ui/xfce-dialogs.c:221 -msgid "" -"You will be redirected to the documentation website where the help pages are " -"maintained and translated." -msgstr "Biti ćete preusmjereni na web stranicu dokumantacije gdje se stranice pomoći održavaju i prevode." +msgid "You will be redirected to the documentation website where the help pages are maintained and translated." +msgstr "Ды ӕрвыст ӕрцӕудзынӕ документацийы вебсайтмӕ, кӕм ӕххуысы фӕрстыл кусынц ӕмӕ сӕ тӕлмац кӕнынц." #: ../libxfce4ui/xfce-dialogs.c:225 msgid "_Read Online" -msgstr "_Čitaj na mreži" +msgstr "_Бафӕрсын онлайны" #: ../libxfce4ui/xfce-dialogs.c:237 msgid "_Always go directly to the online documentation" -msgstr "_Uvijek idi direktno na dokumentaciju na mreži" +msgstr "_Алкуыдӕр комкоммӕ онлайн документацимӕ цу" #: ../libxfce4ui/xfce-dialogs.c:281 msgid "Information" -msgstr "Informacija " +msgstr "Информаци" #: ../libxfce4ui/xfce-dialogs.c:314 msgid "Warning" -msgstr "Upozorenje" +msgstr "Хъусинаг" #: ../libxfce4ui/xfce-dialogs.c:348 msgid "Error" -msgstr "Grešla" +msgstr "Рӕдыд" #: ../libxfce4ui/xfce-dialogs.c:399 msgid "Question" -msgstr "Pitanje" +msgstr "Фарста" #: ../libxfce4ui/xfce-sm-client.c:1403 msgid "Session management client ID" -msgstr "" +msgstr "Сессийы армдарӕны клиенты ID" #: ../libxfce4ui/xfce-sm-client.c:1403 msgid "ID" @@ -73,43 +73,36 @@ msgstr "ID" #: ../libxfce4ui/xfce-sm-client.c:1404 msgid "Disable session management" -msgstr "Onemogućite upravljanje sesijom" +msgstr "Сессийы армдарӕн ахицӕн кӕнын" #: ../libxfce4ui/xfce-sm-client.c:1414 msgid "Session management options" -msgstr "Opcije upravljanja sesijom" +msgstr "Сессийы армдарӕн фадӕттӕ" #: ../libxfce4ui/xfce-sm-client.c:1415 msgid "Show session management options" -msgstr "Pokaži opcije upravljanja sesijam" +msgstr "Сессийы армдарӕны фадӕттӕ равдисын" #: ../libxfce4ui/xfce-sm-client.c:1591 #, c-format msgid "Failed to connect to the session manager: %s" -msgstr "Nije uspjelo spajanje na upravitelja sesijom: % s" +msgstr "Сессийы армдарӕнмӕ баиу кӕнын нӕ рауадис: %s" #: ../libxfce4ui/xfce-sm-client.c:1598 #, c-format msgid "Session manager did not return a valid client id" -msgstr "Upravitelj sesijom nije vratio valjan id klijenta." +msgstr "Сессийы менеджер раст id нӕ рарвыста" #. print warning for user #: ../libxfce4ui/xfce-spawn.c:413 #, c-format -msgid "" -"Working directory \"%s\" does not exist. It won't be used when spawning \"%s" -"\"." -msgstr "" -"Radna mapa \\ \"% s \" ne postoji. Neće se koristiti prilikom gnježđenja \\ " -"\"% s \"." +msgid "Working directory
[Xfce4-commits] Config dialog: Rename atmospheric pressure to barometric pressure.
Updating branch refs/heads/master to 4b7fac4eefb206e6937f55fb764f6bd25b3732f7 (commit) from 8fba78189557d56a41bfb6443ef4b9d7b96ef8c8 (commit) commit 4b7fac4eefb206e6937f55fb764f6bd25b3732f7 Author: Harald Judt Date: Tue Jan 22 19:21:21 2013 +0100 Config dialog: Rename atmospheric pressure to barometric pressure. panel-plugin/weather-config.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c index 3a8c209..20e14a2 100644 --- a/panel-plugin/weather-config.c +++ b/panel-plugin/weather-config.c @@ -928,7 +928,7 @@ create_units_page(xfceweather_dialog *dialog) /* atmospheric pressure */ hbox = gtk_hbox_new(FALSE, BORDER); -ADD_LABEL(_("Atmospheric _pressure:"), sg_label); +ADD_LABEL(_("Barometric _pressure:"), sg_label); ADD_COMBO(dialog->combo_unit_pressure); ADD_COMBO_VALUE(dialog->combo_unit_pressure, _("Hectopascals (hPa)")); ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] Forecast tab: Handle missing values (humidity, fog and cloud data).
Updating branch refs/heads/master to 8fba78189557d56a41bfb6443ef4b9d7b96ef8c8 (commit) from 023d3e23a7ff9207f09b5b608915bcd253e9456d (commit) commit 8fba78189557d56a41bfb6443ef4b9d7b96ef8c8 Author: Harald Judt Date: Tue Jan 22 19:05:53 2013 +0100 Forecast tab: Handle missing values (humidity, fog and cloud data). Some values are missing in forecasts more than 3 days into the future: Humidity, fog, cloud data. Further, because humidity is required for the calculations, the dew point cannot be computed. This patch handles this case and thus fixes the tooltips of the affected forecast cells. Example location for reference: Oslo, Norway. panel-plugin/weather-data.c| 16 panel-plugin/weather-summary.c | 11 +++ 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/panel-plugin/weather-data.c b/panel-plugin/weather-data.c index 74e0839..16e0a1a 100644 --- a/panel-plugin/weather-data.c +++ b/panel-plugin/weather-data.c @@ -32,6 +32,8 @@ #define NIGHT_TIME_START 21 #define NIGHT_TIME_END 5 +/* If some value is not present or cannot be computed, return this instead */ +#define INVALID_VALUE - #define CHK_NULL(s) ((s) ? g_strdup(s) : g_strdup("")) @@ -129,10 +131,14 @@ timeslice_is_interval(xml_time *timeslice) static gdouble calc_dewpoint(const xml_location *loc) { -gdouble temp = string_to_double(loc->temperature_value, 0); -gdouble humidity = string_to_double(loc->humidity_value, 0); -gdouble val = log(humidity / 100); +gdouble temp, humidity, val; + +if (G_UNLIKELY(loc->humidity_value == NULL)) +return INVALID_VALUE; +temp = string_to_double(loc->temperature_value, 0); +humidity = string_to_double(loc->humidity_value, 0); +val = log(humidity / 100); return (241.2 * val + 4222.03716 * temp / (241.2 + temp)) / (17.5043 - val - 17.5043 * temp / (241.2 + temp)); } @@ -227,7 +233,7 @@ calc_apparent_temperature(const xml_location *loc, /* dew point needs to be above a certain limit for valid results, see http://www.weatheroffice.gc.ca/mainmenu/faq_e.html#weather5 */ -if (dp < 0) +if (dp < 0 || dp == INVALID_VALUE) return temp; /* dew point needs to be converted to Kelvin (easy job ;-) */ @@ -339,6 +345,8 @@ get_data(const xml_time *timeslice, case DEWPOINT: val = calc_dewpoint(loc); +if (val == INVALID_VALUE) +return g_strdup(""); if (units->temperature == FAHRENHEIT) val = val * 9.0 / 5.0 + 32.0; return g_strdup_printf(ROUND_TO_INT("%.1f"), val); diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c index 5d833fd..775186c 100644 --- a/panel-plugin/weather-summary.c +++ b/panel-plugin/weather-summary.c @@ -102,10 +102,13 @@ lnk_clicked(GtkTextTag *tag, #define APPEND_TOOLTIP_ITEM(description, item) \ value = get_data(fcdata, data->units, item, \ data->round, data->night_time);\ -unit = get_unit(data->units, item); \ -g_string_append_printf(text, description, value,\ - strcmp(unit, "°") ? " " : "",\ - unit); \ +if (strcmp(value, "")) {\ +unit = get_unit(data->units, item); \ +g_string_append_printf(text, description, value,\ + strcmp(unit, "°") ? " " : "",\ + unit); \ +} else \ +g_string_append_printf(text, description, "-", "", ""); \ g_free(value); ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] l10n: Updated German (de) translation to 90%
Updating branch refs/heads/master to 023d3e23a7ff9207f09b5b608915bcd253e9456d (commit) from 68126a448cc588f1909c55985233bc0e70d3439f (commit) commit 023d3e23a7ff9207f09b5b608915bcd253e9456d Author: Harald Judt Date: Tue Jan 22 15:42:47 2013 +0100 l10n: Updated German (de) translation to 90% New status: 285 messages complete with 0 fuzzies and 31 untranslated. Transmitted-via: Transifex (translations.xfce.org). po/de.po | 170 -- 1 files changed, 99 insertions(+), 71 deletions(-) diff --git a/po/de.po b/po/de.po index 93fc554..156b3f0 100644 --- a/po/de.po +++ b/po/de.po @@ -9,8 +9,8 @@ msgid "" msgstr "" "Project-Id-Version: xfce4-weather-plugin 0.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-20 20:09+0100\n" -"PO-Revision-Date: 2013-01-22 00:42+0100\n" +"POT-Creation-Date: 2013-01-22 13:43+0100\n" +"PO-Revision-Date: 2013-01-22 15:34+0100\n" "Last-Translator: Harald Judt \n" "Language-Team: German \n" "Language: de\n" @@ -96,7 +96,7 @@ msgstr "" #: ../panel-plugin/weather.c:466 msgid "Error parsing astronomical data!" -msgstr "Fehler beim Verarbeiten der astronomische Daten!" +msgstr "Fehler beim Verarbeiten der astronomischen Daten!" #: ../panel-plugin/weather.c:468 #, c-format @@ -378,8 +378,8 @@ msgstr "" "Erdoberfläche an. Wenn Sie diesen Wert manuell ändern, sollten Sie auch die " "korrekte Höhenlage angeben." -#: ../panel-plugin/weather-config.c:530 -msgid "_Altitude:" +#: ../panel-plugin/weather-config.c:530 ../panel-plugin/weather-config.c:971 +msgid "Altitu_de:" msgstr "Höhenla_ge:" #: ../panel-plugin/weather-config.c:534 @@ -687,10 +687,6 @@ msgstr "Millimeter (mm)" msgid "Inches (in)" msgstr "Zoll (in)" -#: ../panel-plugin/weather-config.c:971 -msgid "Altitu_de:" -msgstr "Höhenla_ge:" - #: ../panel-plugin/weather-config.c:974 msgid "Meters (m)" msgstr "Meter (m)" @@ -837,7 +833,8 @@ msgid "" "Check to round values everywhere except on the details page in the summary " "window." msgstr "" -"Runde alle Werte außer auf der Details-Seite im Fenster mit den Vorhersagen." +"Runde die meisten Werte, ausgenommen die auf der Details-Seite im Fenster " +"mit den Vorhersagen." #: ../panel-plugin/weather-config.c:1264 ../panel-plugin/weather-config.c:1728 msgid "Select _font" @@ -861,7 +858,7 @@ msgid "" "Air temperature, sometimes referred to as dry-bulb temperature. Measured by " "a thermometer that is freely exposed to the air, yet shielded from radiation " "and moisture." -msgstr "" +msgstr "Lufttemperatur (Trockentemperatur, Temperatur bei ungesättigter Luft) wird von einem Thermometer gemessen, welches frei der Luft ausgesetzt, dabei jedoch von Strahlung und Feuchtigkeit abgeschirmt ist." #: ../panel-plugin/weather-config.c:1429 msgid "" @@ -893,13 +890,13 @@ msgstr "" msgid "" "This gives the cardinal direction (North, East, South, West) the wind is " "coming from." -msgstr "" +msgstr "Gibt die Himmelsrichtung an (Norden, Osten, Süden, Westen), aus der der Wind kommt." #: ../panel-plugin/weather-config.c:1458 msgid "" "This gives the direction the wind is coming from in azimuth degrees (North = " "0°, East = 90°, South = 180° and West = 270°)." -msgstr "" +msgstr "Zeigt die Richtung, aus der der Wind kommt, in Grad (Norden = 0°, Osten = 90°, Süden = 180° und Westen = 270°)." #: ../panel-plugin/weather-config.c:1463 msgid "" @@ -1622,142 +1619,142 @@ msgstr "Heute" msgid "Tomorrow" msgstr "Morgen" -#. TRANSLATORS: Please use \t as needed to properly align the values -#: ../panel-plugin/weather-summary.c:580 +#. TRANSLATORS: Please use spaces as needed or desired to properly +#. align the values; Monospace font is enforced with tags for +#. alignment, and the text is enclosed in tags because +#. that looks much better and saves space. +#. +#: ../panel-plugin/weather-summary.c:584 msgid "Times used for calculations\n" msgstr "Zeitpunkte und -intervalle für Berechnungen\n" -#: ../panel-plugin/weather-summary.c:582 +#: ../panel-plugin/weather-summary.c:586 #, c-format -msgid "Interval start:\t\t\t%s\n" -msgstr "Intervallstart:\t\t\t%s\n" +msgid "Interval start: %s\n" +msgstr "Intervallstart: %s\n" -#: ../panel-plugin/weather-summary.c:585 +#: ../panel-plugin/weather-summary.c:592 #, c-format -msgid "Interval end:\t\t\t%s\n" -msgstr "Intervallende:\t\t\t%s\n" +msgid "Interval end: %s\n" +msgstr "Intervallende:%s\n" -#: ../panel-plugin/weather-summary.c:588 +#: ../panel-plugin/weather-summary.c:598 #, c-format msgid "" -"Data calculated for:\t%s\n" -"\n" -msgstr "" -"Daten berechnet für:\t%s\n" +"Data calculated for: %s\n" "\n" +msgstr "Daten berechnet für: %s\n\n" -#: ../panel-plugin/weather-summary.c:591 +#: ../panel-plugin/weather-summary.c:604 msgid "Temperatures\n" msgstr "Temperaturen\n" -#: ../panel-plugin/weather-summary.c:592 +#: ../panel-plugin/weather-summary.c
[Xfce4-commits] l10n: Updated Japanese (ja) translation to 100%
Updating branch refs/heads/master to 68126a448cc588f1909c55985233bc0e70d3439f (commit) from 6520008723ced0944a61154b46ededb31e579bee (commit) commit 68126a448cc588f1909c55985233bc0e70d3439f Author: Masato Hashimoto Date: Tue Jan 22 14:37:04 2013 +0100 l10n: Updated Japanese (ja) translation to 100% New status: 316 messages complete with 0 fuzzies and 0 untranslated. Transmitted-via: Transifex (translations.xfce.org). po/ja.po | 159 +- 1 files changed, 95 insertions(+), 64 deletions(-) diff --git a/po/ja.po b/po/ja.po index e825e04..9f99e57 100644 --- a/po/ja.po +++ b/po/ja.po @@ -19,8 +19,8 @@ msgid "" msgstr "" "Project-Id-Version: xfce-weather-plugin 0.6.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-21 14:57+0900\n" -"PO-Revision-Date: 2013-01-21 15:53+0900\n" +"POT-Creation-Date: 2013-01-22 22:33+0900\n" +"PO-Revision-Date: 2013-01-22 22:32+0900\n" "Last-Translator: Masato Hashimoto \n" "Language-Team: Japanese \n" "Language: ja\n" @@ -344,9 +344,9 @@ msgstr "経度(_O):" msgid "Longitude specifies the east-west position of a point on the Earth's surface. If you change this value manually, you should provide the correct altitude too." msgstr "経度には地球上の東西方向の位置を指定します。この値を直接変更した場合、海抜にも正しい値を設定してください。" -#: ../panel-plugin/weather-config.c:530 -msgid "_Altitude:" -msgstr "海抜(_A):" +#: ../panel-plugin/weather-config.c:530 ../panel-plugin/weather-config.c:971 +msgid "Altitu_de:" +msgstr "海抜(_D):" #: ../panel-plugin/weather-config.c:534 msgid "" @@ -534,10 +534,6 @@ msgstr "ミリメートル (mm)" msgid "Inches (in)" msgstr "インチ (in)" -#: ../panel-plugin/weather-config.c:971 -msgid "Altitu_de:" -msgstr "海抜(_D):" - #: ../panel-plugin/weather-config.c:974 msgid "Meters (m)" msgstr "メートル (m)" @@ -1122,7 +1118,7 @@ msgid "" "\tTemperatures, wind, atmosphere and cloud data calculated\n" "\tfor:\t\t%s\n" msgstr "" -"\t気温、風、気圧、および雲データの予報時刻\n" +"\t気温、風、気圧、および雲データの予報日時\n" "\t\t\t%s\n" #: ../panel-plugin/weather-summary.c:395 @@ -1324,142 +1320,146 @@ msgstr "今日" msgid "Tomorrow" msgstr "明日" -#. TRANSLATORS: Please use \t as needed to properly align the values -#: ../panel-plugin/weather-summary.c:580 +#. TRANSLATORS: Please use spaces as needed or desired to properly +#. align the values; Monospace font is enforced with tags for +#. alignment, and the text is enclosed in tags because +#. that looks much better and saves space. +#. +#: ../panel-plugin/weather-summary.c:584 msgid "Times used for calculations\n" msgstr "予報時間帯\n" -#: ../panel-plugin/weather-summary.c:582 +#: ../panel-plugin/weather-summary.c:586 #, c-format -msgid "Interval start:\t\t\t%s\n" -msgstr "\t\t%s から\n" +msgid "Interval start: %s\n" +msgstr " %s から\n" -#: ../panel-plugin/weather-summary.c:585 +#: ../panel-plugin/weather-summary.c:592 #, c-format -msgid "Interval end:\t\t\t%s\n" -msgstr "\t\t%s まで\n" +msgid "Interval end: %s\n" +msgstr " %s まで\n" -#: ../panel-plugin/weather-summary.c:588 +#: ../panel-plugin/weather-summary.c:598 #, c-format msgid "" -"Data calculated for:\t%s\n" +"Data calculated for: %s\n" "\n" msgstr "" -"予報時刻:\t%s\n" +"予報日時: %s\n" "\n" -#: ../panel-plugin/weather-summary.c:591 +#: ../panel-plugin/weather-summary.c:604 msgid "Temperatures\n" msgstr "温度\n" -#: ../panel-plugin/weather-summary.c:592 +#: ../panel-plugin/weather-summary.c:605 #, c-format -msgid "Dew point:\t\t\t%s%s%s\n" -msgstr "露点温度:\t\t%s%s%s\n" +msgid "Dew point:%s%s%s\n" +msgstr "露点温度: %s%s%s\n" -#: ../panel-plugin/weather-summary.c:593 +#: ../panel-plugin/weather-summary.c:609 #, c-format msgid "" -"Apparent temperature:\t%s%s%s\n" +"Apparent temperature: %s%s%s\n" "\n" msgstr "" -"体感温度:\t\t%s%s%s\n" +"体感温度: %s%s%s\n" "\n" -#: ../panel-plugin/weather-summary.c:596 +#: ../panel-plugin/weather-summary.c:614 msgid "Atmosphere\n" msgstr "大気\n" -#: ../panel-plugin/weather-summary.c:597 +#: ../panel-plugin/weather-summary.c:615 #, c-format -msgid "Barometric pressure:\t%s%s%s\n" -msgstr "気圧:\t%s%s%s\n" +msgid "Barometric pressure: %s%s%s\n" +msgstr "気圧: %s%s%s\n" -#: ../panel-plugin/weather-summary.c:598 +#: ../panel-plugin/weather-summary.c:619 #, c-format msgid "" -"Relative humidity:\t\t%s%s%s\n" +"Relative humidity:%s%s%s\n" "\n" msgstr "" -"相対湿度:\t\t%s%s%s\n" +"相対湿度: %s%s%s\n" "\n" -#: ../panel-plugin/weather-summary.c:600 +#: ../panel-plugin/weather-summary.c:624 msgid "Precipitations\n" msgstr "降水\n" -#: ../panel-plugin/weather-summary.c:601 +#: ../panel-plugin/weather-summary.c:625 #, c-format msgid "" -"Amount:\t\t%s%s%s\n" +"Amount:%s%s%s\n" "\n" msgstr "" -"降水量:\t\t%s%s%s\n" +"降水量: %s%s%s\n" "\n" -#: ../panel-plugin/weather-summary.c:603 +#: ../panel-plugin/weather-summary.c:630 msgid "Clouds\n" msgstr "雲\n" -#: ../panel-plugin/weather-summary.c:604 +#: ../panel-plugin/weather-summary.c:631 #, c
[Xfce4-commits] Summary: Fix tooltip alignment issues.
Updating branch refs/heads/master to 6520008723ced0944a61154b46ededb31e579bee (commit) from 39a968167d81c2620c04a5ec0782988ceea400e5 (commit) commit 6520008723ced0944a61154b46ededb31e579bee Author: Harald Judt Date: Tue Jan 22 13:34:57 2013 +0100 Summary: Fix tooltip alignment issues. Instead of using tabs for alignment, which is hard to do and unreliable, force monospace font for the tooltips. This way, the values can be aligned much easier using spaces. panel-plugin/weather-summary.c | 65 +++ 1 files changed, 51 insertions(+), 14 deletions(-) diff --git a/panel-plugin/weather-summary.c b/panel-plugin/weather-summary.c index 9dea769..5d833fd 100644 --- a/panel-plugin/weather-summary.c +++ b/panel-plugin/weather-summary.c @@ -576,36 +576,73 @@ forecast_cell_get_tooltip_text(plugin_data *data, gchar *result, *value; const gchar *unit; -/* TRANSLATORS: Please use \t as needed to properly align the values */ +/* TRANSLATORS: Please use spaces as needed or desired to properly + align the values; Monospace font is enforced with tags for + alignment, and the text is enclosed in tags because + that looks much better and saves space. + */ text = g_string_new(_("Times used for calculations\n")); value = format_date(fcdata->start, NULL, TRUE); -g_string_append_printf(text, _("Interval start:\t\t\t%s\n"), value); +g_string_append_printf(text, _("" + "Interval start: %s" + "\n"), + value); g_free(value); value = format_date(fcdata->end, NULL, TRUE); -g_string_append_printf(text, _("Interval end:\t\t\t%s\n"), value); +g_string_append_printf(text, _("" + "Interval end: %s" + "\n"), + value); g_free(value); value = format_date(fcdata->point, NULL, TRUE); -g_string_append_printf(text, _("Data calculated for:\t%s\n\n"), value); +g_string_append_printf(text, _("" + "Data calculated for: %s" + "\n\n"), + value); g_free(value); g_string_append(text, _("Temperatures\n")); -APPEND_TOOLTIP_ITEM(_("Dew point:\t\t\t%s%s%s\n"), DEWPOINT); -APPEND_TOOLTIP_ITEM(_("Apparent temperature:\t%s%s%s\n\n"), +APPEND_TOOLTIP_ITEM(_("" + "Dew point:%s%s%s" + "\n"), +DEWPOINT); +APPEND_TOOLTIP_ITEM(_("" + "Apparent temperature: %s%s%s" + "\n\n"), APPARENT_TEMPERATURE); g_string_append(text, _("Atmosphere\n")); -APPEND_TOOLTIP_ITEM(_("Barometric pressure:\t%s%s%s\n"), PRESSURE); -APPEND_TOOLTIP_ITEM(_("Relative humidity:\t\t%s%s%s\n\n"), HUMIDITY); +APPEND_TOOLTIP_ITEM(_("" + "Barometric pressure: %s%s%s" + "\n"), +PRESSURE); +APPEND_TOOLTIP_ITEM(_("" + "Relative humidity:%s%s%s" + "\n\n"), +HUMIDITY); g_string_append(text, _("Precipitations\n")); -APPEND_TOOLTIP_ITEM(_("Amount:\t\t%s%s%s\n\n"), PRECIPITATIONS); +APPEND_TOOLTIP_ITEM(_("" + "Amount:%s%s%s" + "\n\n"), +PRECIPITATIONS); g_string_append(text, _("Clouds\n")); -APPEND_TOOLTIP_ITEM(_("Fog:\t\t\t%s%s%s\n"), FOG); -APPEND_TOOLTIP_ITEM(_("Low clouds:\t\t%s%s%s\n"), CLOUDS_LOW); -APPEND_TOOLTIP_ITEM(_("Middle clouds:\t%s%s%s\n"), CLOUDS_MID); -APPEND_TOOLTIP_ITEM(_("High clouds:\t\t%s%s%s\n"), CLOUDS_HIGH); -APPEND_TOOLTIP_ITEM(_("Cloudiness:\t\t%s%s%s"), CLOUDINESS); +APPEND_TOOLTIP_ITEM(_("" + "Fog: %s%s%s" + "\n"), FOG); +APPEND_TOOLTIP_ITEM(_("" + "Low clouds:%s%s%s" + "\n"), CLOUDS_LOW); +APPEND_TOOLTIP_ITEM(_("" + "Middle clouds: %s%s%s" + "\n"), CLOUDS_MID); +APPEND_TOOLTIP_ITEM(_("" + "High clouds: %s%s%s" + "\n"), CLOUDS_HIGH); +APPEND_TOOLTIP_ITEM(_("" + "Cloudiness:%s%s%s" + ""), CLOUDINESS); /* Free GString only and return its character data */ result = text->str; ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] Config dialog: Fix duplicate mnemonic for altitude.
Updating branch refs/heads/master to 39a968167d81c2620c04a5ec0782988ceea400e5 (commit) from 40320b379cc071fcd52dd7a0f05ea58b12b5376f (commit) commit 39a968167d81c2620c04a5ec0782988ceea400e5 Author: Harald Judt Date: Tue Jan 22 12:46:25 2013 +0100 Config dialog: Fix duplicate mnemonic for altitude. panel-plugin/weather-config.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/panel-plugin/weather-config.c b/panel-plugin/weather-config.c index 3325585..3a8c209 100644 --- a/panel-plugin/weather-config.c +++ b/panel-plugin/weather-config.c @@ -527,7 +527,7 @@ create_location_page(xfceweather_dialog *dialog) /* altitude */ hbox = gtk_hbox_new(FALSE, BORDER); -ADD_LABEL(_("_Altitude:"), sg_label); +ADD_LABEL(_("Altitu_de:"), sg_label); ADD_SPIN(dialog->spin_alt, -420, 1, 1, dialog->pd->msl, 0, sg_spin); SET_TOOLTIP (dialog->spin_alt, ___ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits
[Xfce4-commits] l10n: Updated Portuguese (pt) translation to 73%
Updating branch refs/heads/master to 40320b379cc071fcd52dd7a0f05ea58b12b5376f (commit) from 707637e0427b426c42975e4963f6c0ba27cbbb3f (commit) commit 40320b379cc071fcd52dd7a0f05ea58b12b5376f Author: Sergio Marques Date: Tue Jan 22 11:11:37 2013 +0100 l10n: Updated Portuguese (pt) translation to 73% New status: 224 messages complete with 0 fuzzies and 80 untranslated. Transmitted-via: Transifex (translations.xfce.org). po/pt.po | 141 - 1 files changed, 65 insertions(+), 76 deletions(-) diff --git a/po/pt.po b/po/pt.po index 57670dd..e57da0d 100644 --- a/po/pt.po +++ b/po/pt.po @@ -2,13 +2,13 @@ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Nuno Miguel , 2007. -# +# msgid "" msgstr "" "Project-Id-Version: weather-plugin\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2013-01-14 17:10+0100\n" -"PO-Revision-Date: 2013-01-15 11:16-\n" +"PO-Revision-Date: 2013-01-22 10:08-\n" "Last-Translator: Sérgio Marques \n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -144,7 +144,7 @@ msgstr "O sol nasce às %s e põe-se às %s." #. * TRANSLATORS: This is the simple tooltip. For a bigger challenge, #. * look at the verbose tooltip style further below ;-) -#. +#. #: ../panel-plugin/weather.c:1481 #, c-format msgid "" @@ -158,14 +158,11 @@ msgid "" msgstr "" "%s (%s)\n" "%s\n" -"de %s a %s, com precipitação %s\n" "\n" -"Temperatura: %s\t\t(valores em %s)\n" -"Vento: %s (%s na escala Beaufort) de %s(%s)\n" -"Pressão: %s Humidade: %s\n" -"Nevoeiro: %sNuvens: %s\n" -"\n" -"%s" +"Temperatura: %s\n" +"Vento: %s from %s\n" +"Pressão: %s\n" +"Humidade: %s\n" #. * TRANSLATORS: Re-arrange and align at will, optionally using #. * abbreviations for labels if desired or necessary. Just take @@ -173,7 +170,7 @@ msgstr "" #. * vertical alignment of the icon - which unfortunately cannot #. * be changed easily - and try to make it compact and look #. * good! -#. +#. #: ../panel-plugin/weather.c:1504 #, c-format msgid "" @@ -218,7 +215,7 @@ msgstr "Direitos de autor (c) 2003-2012\n" #. * read that up somewhere and decide whether you want to use them #. * or not. In general, though, you should just try to choose #. * letter(s) that make sense and don't use up too much space. -#. +#. #: ../panel-plugin/weather-config.c:95 msgid "Temperature (T)" msgstr "Temperatura (T)" @@ -260,9 +257,8 @@ msgid "Low clouds (CL)" msgstr "Pouco nublado (PN)" #: ../panel-plugin/weather-config.c:105 -#, fuzzy msgid "Middle clouds (CM)" -msgstr "Nublado (N)" +msgstr "" #: ../panel-plugin/weather-config.c:106 msgid "High clouds (CH)" @@ -295,7 +291,7 @@ msgstr "metros" #: ../panel-plugin/weather-config.c:388 msgid "feet" -msgstr "" +msgstr "pés" #: ../panel-plugin/weather-config.c:469 msgid "Location _name:" @@ -580,7 +576,7 @@ msgstr "" #: ../panel-plugin/weather-config.c:928 msgid "Torr (mmHg)" -msgstr "" +msgstr "Torr (mmHg)" #: ../panel-plugin/weather-config.c:933 msgid "_Wind speed:" @@ -635,14 +631,12 @@ msgid "Apparent te_mperature:" msgstr "Te_mperatura aparente:" #: ../panel-plugin/weather-config.c:976 -#, fuzzy msgid "Windchill/Heat index" -msgstr "Vento frio" +msgstr "" #: ../panel-plugin/weather-config.c:978 -#, fuzzy msgid "Windchill/Humidex" -msgstr "Vento frio" +msgstr "" #: ../panel-plugin/weather-config.c:979 msgid "Steadman" @@ -654,7 +648,7 @@ msgstr "" #: ../panel-plugin/weather-config.c:1003 msgid "Choose an icon theme." -msgstr "" +msgstr "Escolha o tema de ícones." #: ../panel-plugin/weather-config.c:1008 #, c-format @@ -689,7 +683,7 @@ msgstr "" #: ../panel-plugin/weather-config.c:1124 msgid "_Icon theme:" -msgstr "" +msgstr "_Tema de ícones:" #: ../panel-plugin/weather-config.c:1126 msgid "" @@ -719,9 +713,8 @@ msgid "" msgstr "" #: ../panel-plugin/weather-config.c:1166 -#, fuzzy msgid "_Forecast layout:" -msgstr "_Previsão" +msgstr "" #: ../panel-plugin/weather-config.c:1168 msgid "Days in columns" @@ -747,7 +740,7 @@ msgstr "" #: ../panel-plugin/weather-config.c:1200 msgid "_Round values" -msgstr "" +msgstr "A_rredondar valores" #: ../panel-plugin/weather-config.c:1202 msgid "" @@ -757,11 +750,11 @@ msgstr "" #: ../panel-plugin/weather-config.c:1252 ../panel-plugin/weather-config.c:1716 msgid "Select _font" -msgstr "" +msgstr "Selecio_ne o tipo de letra" #: ../panel-plugin/weather-config.c:1269 msgid "Select font" -msgstr "" +msgstr "Selecione o tipo de letra" #. TRANSLATORS: Fallback value, usually never shown. #: ../panel-plugin/weather-config.c:1401 @@ -937,7 +930,7 @@ msgstr "" #. values to show at once (multiple lines) #: ../panel-plugin/weather-config.c:1699 msgid "L_ines:" -msgstr "" +msgstr "L_inhas:" #: ../panel-plugin/weather-config.c:1705 msgid "" @@ -947,7 +940,7 @@ msgstr "" #: ../panel-plugin/weat