core: add comments in translations for file size units

v2.8-utf8proc
Sébastien Helleu 2014-07-25 20:40:38 +02:00
parent 16874bd4ec
commit db01880bd1
13 changed files with 72 additions and 14 deletions

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3903,15 +3903,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 09:12+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@ -4577,15 +4577,19 @@ msgstr ""
msgid "No secured data set"
msgstr "keine schutzwürdigen Daten definiert"
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr "TB"

View File

@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -4114,15 +4114,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -4478,15 +4478,19 @@ msgstr ""
msgid "No secured data set"
msgstr "Pas de donnée sécurisée définie"
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "Ko"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "Mo"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "Go"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr "To"

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3525,15 +3525,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:49+0200\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -4237,15 +4237,19 @@ msgstr ""
msgid "No secured data set"
msgstr "Dati sicuri non configurati"
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@ -4289,15 +4289,19 @@ msgstr ""
msgid "No secured data set"
msgstr "保護データが設定されていません"
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "キロバイト"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "メガバイト"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "ギガバイト"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -4359,15 +4359,19 @@ msgstr ""
msgid "No secured data set"
msgstr "Brak zabezpieczonych danych"
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-14 18:44+0200\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -4005,15 +4005,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr ""
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr ""
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr ""
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3554,15 +3554,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "КБ"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "МБ"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "ГБ"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2014-07-25 07:50+0200\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3167,15 +3167,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr "KB"
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr "MB"
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr "GB"
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-07-24 22:41+0200\n"
"POT-Creation-Date: 2014-07-25 20:37+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@ -3166,15 +3166,19 @@ msgstr ""
msgid "No secured data set"
msgstr ""
#. TRANSLATORS: file size unit "kilobyte"
msgid "KB"
msgstr ""
#. TRANSLATORS: file size unit "megabyte"
msgid "MB"
msgstr ""
#. TRANSLATORS: file size unit "gigabyte"
msgid "GB"
msgstr ""
#. TRANSLATORS: file size unit "terabyte"
msgid "TB"
msgstr ""

View File

@ -2274,9 +2274,19 @@ string_iconv_fprintf (FILE *file, const char *data, ...)
char *
string_format_size (unsigned long long size)
{
char *unit_name[] = { "", N_("KB"), N_("MB"), N_("GB"), N_("TB") };
char *unit_name[] = { "",
/* TRANSLATORS: file size unit "kilobyte" */
N_("KB"),
/* TRANSLATORS: file size unit "megabyte" */
N_("MB"),
/* TRANSLATORS: file size unit "gigabyte" */
N_("GB"),
/* TRANSLATORS: file size unit "terabyte" */
N_("TB") };
char *unit_format[] = { "%.0f", "%.1f", "%.02f", "%.02f", "%.02f" };
float unit_divide[] = { 1.0, 1000.0, 1000.0 * 1000.0,
float unit_divide[] = { 1.0,
1000.0,
1000.0 * 1000.0,
1000.0 * 1000.0 * 1000.0,
1000.0 * 1000.0 * 1000.0 * 1000.0 };
char format_size[128], str_size[128];