diff --git a/po/cs.po b/po/cs.po index c538cc40d..2f5f6617f 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,8 +21,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-09-23 10:14+0200\n" -"PO-Revision-Date: 2015-09-23 10:22+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:54+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" "Language: cs\n" @@ -8542,8 +8542,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: nemohu vytvořit adresář pro logy (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: nemůžu zapsat log soubor \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: nemůžu zapsat log soubor \"%s\": %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/de.po b/po/de.po index 198fd29d0..c1f03607a 100644 --- a/po/de.po +++ b/po/de.po @@ -24,8 +24,8 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-26 13:54+0100\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:54+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German <>\n" "Language: de_DE\n" @@ -9801,8 +9801,8 @@ msgstr "" "%s%s: Verzeichnis für Protokoll-Dateien kann nicht erstellt werden (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: Protokoll-Datei \"%s\" kann nicht geschrieben werden" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: Protokoll-Datei \"%s\" kann nicht geschrieben werden: %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/es.po b/po/es.po index a544e4144..e141b9d57 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-09 09:13+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:55+0200\n" "Last-Translator: Elián Hanisch \n" "Language-Team: weechat-dev \n" "Language: es\n" @@ -8837,8 +8837,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: imposible crear directorio para registros (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: imposible escribir en el registro \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: imposible escribir en el registro \"%s\": %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/fr.po b/po/fr.po index b9f88d633..09770a84a 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-12 09:18+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:53+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -9554,8 +9554,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s : impossible de créer le répertoire pour les logs (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s : impossible d'écrire le fichier log \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s : impossible d'écrire le fichier log \"%s\" : %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/hu.po b/po/hu.po index 3f8d6efe3..64dbf5044 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: 2015-09-12 09:17+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" "PO-Revision-Date: 2015-09-09 09:13+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -7944,7 +7944,7 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s nem sikerült a szervert létrehozni\n" #, fuzzy, c-format -msgid "%s%s: unable to write log file \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" msgstr "Nem sikerült a(z) \"%s\" naplófájlt írni\n" #, fuzzy, c-format diff --git a/po/it.po b/po/it.po index 24e7f1c21..a8d82b2fd 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-09 09:13+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:55+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" "Language: it\n" @@ -8995,8 +8995,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: impossibile creare la directory per i log (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: impossibile scrivere il file di log \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: impossibile scrivere il file di log \"%s\": %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/ja.po b/po/ja.po index 27ac3b58f..0f255680c 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-13 09:00+0900\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:55+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language: ja\n" @@ -9189,8 +9189,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: ログ用のディレクトリを作成できません (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: ログファイル \"%s\" の書き込みに失敗" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: ログファイル \"%s\" の書き込みに失敗: %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/pl.po b/po/pl.po index fe918a3c0..b21878a1e 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-09 09:13+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:56+0200\n" "Last-Translator: Krzysztof Korościk \n" "Language-Team: weechat-dev \n" "Language: pl\n" @@ -9347,8 +9347,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: nie można utworzyć katalogu dla logów (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: nie można zapisać pliku z logiem \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: nie można zapisać pliku z logiem \"%s\": %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/pt_BR.po b/po/pt_BR.po index 3bf70eef9..ae72c255f 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: 2015-09-12 09:17+0200\n" -"PO-Revision-Date: 2015-09-09 09:13+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" +"PO-Revision-Date: 2015-09-30 20:56+0200\n" "Last-Translator: Eduardo Elias \n" "Language-Team: weechat-dev \n" "Language: pt_BR\n" @@ -8366,8 +8366,8 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s%s: não foi possível criar diretório para registros (\"%s\")" #, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "%s%s: não foi possível escrever arquivo de registro \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%s%s: não foi possível escrever arquivo de registro \"%s\": %s" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/ru.po b/po/ru.po index c9fc5d85e..e788900c5 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: 2015-09-12 09:17+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" "PO-Revision-Date: 2015-09-09 09:13+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -7978,7 +7978,7 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "%s не могу создать сервер \"%s\"\n" #, fuzzy, c-format -msgid "%s%s: unable to write log file \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" msgstr "Не могу записать лог-файл \"%s\"\n" #, fuzzy, c-format diff --git a/po/tr.po b/po/tr.po index b4fc678e2..bdd1d63e3 100644 --- a/po/tr.po +++ b/po/tr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-09-12 09:17+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" "PO-Revision-Date: 2015-03-10 21:33+0100\n" "Last-Translator: Hasan Kiran \n" "Language-Team: weechat-dev \n" @@ -7189,9 +7189,9 @@ msgstr "" msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "" -#, c-format -msgid "%s%s: unable to write log file \"%s\"" -msgstr "" +#, fuzzy, c-format +msgid "%s%s: unable to write log file \"%s\": %s" +msgstr "%sHata: dosya \"%s\" oluşturulamaz" #, c-format msgid "%s\t**** Beginning of log ****" diff --git a/po/weechat.pot b/po/weechat.pot index a73cfa29d..d992f24eb 100644 --- a/po/weechat.pot +++ b/po/weechat.pot @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2015-09-12 09:17+0200\n" +"POT-Creation-Date: 2015-09-30 20:53+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -7120,7 +7120,7 @@ msgid "%s%s: unable to create directory for logs (\"%s\")" msgstr "" #, c-format -msgid "%s%s: unable to write log file \"%s\"" +msgid "%s%s: unable to write log file \"%s\": %s" msgstr "" #, c-format diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index ac0752b82..66834698b 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -559,11 +559,12 @@ logger_write_line (struct t_logger_buffer *logger_buffer, fopen (logger_buffer->log_filename, "a"); if (!logger_buffer->log_file) { - weechat_printf_tags (NULL, - "no_log", - _("%s%s: unable to write log file \"%s\": %s"), - weechat_prefix ("error"), LOGGER_PLUGIN_NAME, - logger_buffer->log_filename, strerror(errno)); + weechat_printf_tags ( + NULL, + "no_log", + _("%s%s: unable to write log file \"%s\": %s"), + weechat_prefix ("error"), LOGGER_PLUGIN_NAME, + logger_buffer->log_filename, strerror (errno)); logger_buffer_free (logger_buffer); return; }