From f09e1c136c127d00ff2d57f5a552e61d616e309c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 18 Mar 2014 09:25:15 +0100 Subject: [PATCH] core: remove trailing space in log message when writing a configuration file --- po/cs.po | 8 ++++---- po/de.po | 8 ++++---- po/es.po | 8 ++++---- po/fr.po | 8 ++++---- po/hu.po | 4 ++-- po/it.po | 8 ++++---- po/ja.po | 8 ++++---- po/pl.po | 8 ++++---- po/pt_BR.po | 8 ++++---- po/ru.po | 4 ++-- po/tr.po | 6 +++--- po/weechat.pot | 4 ++-- src/core/wee-config-file.c | 3 ++- 13 files changed, 43 insertions(+), 42 deletions(-) diff --git a/po/cs.po b/po/cs.po index 7bb94777b..c17bee8a4 100644 --- a/po/cs.po +++ b/po/cs.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:06+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:20+0100\n" "Last-Translator: Jiri Golembiovsky \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -3587,8 +3587,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATÁLNÍ: chyba při inicializaci konfiguračních nastavení" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Zapisuji soubor s nastavením %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Zapisuji soubor s nastavením %s%s%s" msgid "(default options)" msgstr "(výchozí volby)" diff --git a/po/de.po b/po/de.po index 64d2caa81..662441fe3 100644 --- a/po/de.po +++ b/po/de.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-18 09:16+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:20+0100\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" "Language: de_DE\n" @@ -4194,8 +4194,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATAL: Fehler bei der Initialisierung der Konfiguration-Optionen" #, c-format -msgid "Writing configuration file %s %s" -msgstr "speichere Konfigurationsdatei %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "speichere Konfigurationsdatei %s%s%s" msgid "(default options)" msgstr "(Standardoption)" diff --git a/po/es.po b/po/es.po index ae8ab6421..06962e9c8 100644 --- a/po/es.po +++ b/po/es.po @@ -22,8 +22,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:20+0100\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" "Language: es\n" @@ -3792,8 +3792,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATAL: error al inicializar las opciones de configuración" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Guardando archivo de configuración %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Guardando archivo de configuración %s%s%s" msgid "(default options)" msgstr "(opciones por defecto)" diff --git a/po/fr.po b/po/fr.po index b1cabe233..8ba7be51e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-17 17:22+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:21+0100\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -4084,8 +4084,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATAL: erreur d'initialisation des options de configuration" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Écriture du fichier de configuration %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Écriture du fichier de configuration %s%s%s" msgid "(default options)" msgstr "(options par défaut)" diff --git a/po/hu.po b/po/hu.po index cba5e9181..c24e90f74 100644 --- a/po/hu.po +++ b/po/hu.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -3216,7 +3216,7 @@ msgid "FATAL: error initializing configuration options" msgstr "szerver konfigurációs fájljának újraolvastatása" #, fuzzy, c-format -msgid "Writing configuration file %s %s" +msgid "Writing configuration file %s%s%s" msgstr "beállítások mentése kilépéskor" msgid "(default options)" diff --git a/po/it.po b/po/it.po index ccc4e1896..c9b189a3a 100644 --- a/po/it.po +++ b/po/it.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:21+0100\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" "Language: it\n" @@ -3903,8 +3903,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATALE: errore nell'inizializzazione delle opzioni di configurazione" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Salvataggio del file di configurazione %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Salvataggio del file di configurazione %s%s%s" msgid "(default options)" msgstr "(opzioni predefinite)" diff --git a/po/ja.po b/po/ja.po index 31fc99768..02af0dda8 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:21+0100\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language: ja\n" @@ -3908,8 +3908,8 @@ msgid "FATAL: error initializing configuration options" msgstr "致命的: 設定オプションの初期化中にエラー" #, c-format -msgid "Writing configuration file %s %s" -msgstr "設定ファイル %s %s の書き込み中" +msgid "Writing configuration file %s%s%s" +msgstr "設定ファイル %s%s%s の書き込み中" msgid "(default options)" msgstr "(デフォルトオプション)" diff --git a/po/pl.po b/po/pl.po index 904c5de68..ba575645f 100644 --- a/po/pl.po +++ b/po/pl.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:22+0100\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: pl\n" @@ -4007,8 +4007,8 @@ msgid "FATAL: error initializing configuration options" msgstr "KRYTYCZNE: błąd podczas inicjacji zmiennych konfiguracyjnych" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Zapisuję plik konfiguracyjny %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Zapisuję plik konfiguracyjny %s%s%s" msgid "(default options)" msgstr "(domyślne opcje)" diff --git a/po/pt_BR.po b/po/pt_BR.po index 6e80ca280..60fba560e 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:22+0100\n" "Last-Translator: Sergio Durigan Junior \n" "Language-Team: weechat-dev \n" "Language: pt_BR\n" @@ -3691,8 +3691,8 @@ msgid "FATAL: error initializing configuration options" msgstr "FATAL: erro inicializando opções de configuração" #, c-format -msgid "Writing configuration file %s %s" -msgstr "Escrevendo arquivo de configurações %s %s" +msgid "Writing configuration file %s%s%s" +msgstr "Escrevendo arquivo de configurações %s%s%s" msgid "(default options)" msgstr "(opções padrão)" diff --git a/po/ru.po b/po/ru.po index 959092364..03ad9d6c3 100644 --- a/po/ru.po +++ b/po/ru.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" "PO-Revision-Date: 2014-03-10 21:07+0100\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -3242,7 +3242,7 @@ msgid "FATAL: error initializing configuration options" msgstr "перезагрузить конфигурационный файл сервера" #, fuzzy, c-format -msgid "Writing configuration file %s %s" +msgid "Writing configuration file %s%s%s" msgstr "сохранять конфигурационный файл при выходе" msgid "(default options)" diff --git a/po/tr.po b/po/tr.po index e4f74d0c4..0f10a6484 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,8 +20,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2014-03-17 17:21+0100\n" -"PO-Revision-Date: 2014-03-10 21:07+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" +"PO-Revision-Date: 2014-03-18 09:23+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" "Language: tr\n" @@ -2864,7 +2864,7 @@ msgid "FATAL: error initializing configuration options" msgstr "" #, c-format -msgid "Writing configuration file %s %s" +msgid "Writing configuration file %s%s%s" msgstr "" msgid "(default options)" diff --git a/po/weechat.pot b/po/weechat.pot index cc306fe27..5d5466b1c 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -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-03-17 17:21+0100\n" +"POT-Creation-Date: 2014-03-18 09:19+0100\n" "PO-Revision-Date: 2013-02-14 18:20+0100\n" "Last-Translator: FULL NAME \n" "Language-Team: weechat-dev \n" @@ -2866,7 +2866,7 @@ msgid "FATAL: error initializing configuration options" msgstr "" #, c-format -msgid "Writing configuration file %s %s" +msgid "Writing configuration file %s%s%s" msgstr "" msgid "(default options)" diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 5cf0b306b..0017a2c2b 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -2065,8 +2065,9 @@ config_file_write_internal (struct t_config_file *config_file, } } - log_printf (_("Writing configuration file %s %s"), + log_printf (_("Writing configuration file %s%s%s"), config_file->filename, + (default_options) ? " " : "", (default_options) ? _("(default options)") : ""); /* open temp file in write mode */