From 363d2d5e688f5bd5ca38a503c95c65e8fefce2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 11 Jul 2023 18:08:14 +0200 Subject: [PATCH] core: clarify messages for unknown options/sections read in config files (closes #1967) --- po/cs.po | 13 ++++++------ po/de.po | 22 +++++++++++--------- po/es.po | 22 +++++++++++--------- po/fr.po | 27 ++++++++++++++----------- po/hu.po | 10 +++++----- po/it.po | 22 +++++++++++--------- po/ja.po | 22 +++++++++++--------- po/pl.po | 22 +++++++++++--------- po/pt.po | 22 +++++++++++--------- po/pt_BR.po | 22 +++++++++++--------- po/ru.po | 10 +++++----- po/sr.po | 22 +++++++++++--------- po/tr.po | 22 +++++++++++--------- po/weechat.pot | 10 +++++----- src/core/wee-config-file.c | 41 ++++++++++++++++++++------------------ 15 files changed, 176 insertions(+), 133 deletions(-) diff --git a/po/cs.po b/po/cs.po index 0fc85bd11..78cf862a3 100644 --- a/po/cs.po +++ b/po/cs.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Ondřej Súkup \n" "Language-Team: weechat-dev \n" @@ -4450,8 +4450,9 @@ msgstr "Načítám konfigurační soubor %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\"" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")" #, c-format @@ -4467,15 +4468,15 @@ msgid "" msgstr "" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sUpozornění: %s, řádek %d: neznámý identifikátor sekce (\"%s\")" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sUpozornění: %s, řádek %d: nevalidní syntaxe, chybí \"]\"" #, c-format diff --git a/po/de.po b/po/de.po index b0f241bb6..7aef80470 100644 --- a/po/de.po +++ b/po/de.po @@ -26,7 +26,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-07-05 21:23+0200\n" "Last-Translator: Nils Görs \n" "Language-Team: German \n" @@ -5608,8 +5608,9 @@ msgstr "Konfigurationsdatei %s wird geladen" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sWarnung: %s, Zeile %d: Syntaxfehler, Zeichen \"]\" wurde erwartet" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sWarnung: %s, Zeile %d: unbekannte Sektion (\"%s\")" #, c-format @@ -5629,16 +5630,19 @@ msgstr "" "(%d) => Der Rest der Datei wird IGNORIERT, es werden Standardoptionen " "verwendet" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sWarnung: %s, Zeile %d: Einstellung ist außerhalb der Sektion: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sWarnung: %s, Zeile %d: unbekannte Einstellung für Sektion \"%s\": %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sWarnung: %s, Zeile %d: ungültiger Wert für Einstellung %s" #, c-format diff --git a/po/es.po b/po/es.po index 5dc85b879..8cf451313 100644 --- a/po/es.po +++ b/po/es.po @@ -22,7 +22,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Santiago Forero \n" "Language-Team: weechat-dev \n" @@ -5073,8 +5073,9 @@ msgstr "Leyendo el archivo de configuración %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sAtención: %s, línea %d: sintaxis inválida, falta un \"]\"" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "" "%sAtención: %s, línea %d: identificador de sección desconocido (\"%s\")" @@ -5090,17 +5091,20 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sAtención: %s, línea %d: opción fuera de sección: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "" "%sAtención: %s, línea %d: opción desconocida para la sección \"%s\": %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sAtención: %s, línea %d: valor inválido para la opción: %s" #, c-format diff --git a/po/fr.po b/po/fr.po index 2feac677f..e1f5be15e 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: 2023-07-10 14:05+0200\n" -"PO-Revision-Date: 2023-07-10 14:06+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" +"PO-Revision-Date: 2023-07-11 18:07+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" "Language: fr\n" @@ -5477,8 +5477,8 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sAttention : %s, ligne %d : syntaxe invalide, il manque \"]\"" #, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" -msgstr "%sAttention : %s, ligne %d : section inconnue (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" +msgstr "%sAttention : %s, ligne %d : section inconnue, ignorée (\"%s\")" #, c-format msgid "" @@ -5497,17 +5497,20 @@ msgstr "" "(%d) => le reste du fichier est IGNORÉ, les options par défaut sont utilisées" #, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" -msgstr "%sAttention : %s, ligne %d : option en dehors de la section : %s" - -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "" -"%sAttention : %s, ligne %d : option inconnue pour la section \"%s\" : %s" +"%sAttention : %s, ligne %d : option en dehors de la section, ignorée : %s" #, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" -msgstr "%sAttention : %s, ligne %d : valeur invalide pour l'option : %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" +msgstr "" +"%sAttention : %s, ligne %d : option inconnue pour la section \"%s\", " +"ignorée : %s" + +#, c-format +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" +msgstr "" +"%sAttention : %s, ligne %d : valeur invalide pour l'option, ignorée : %s" #, c-format msgid "Reloading configuration file %s" diff --git a/po/hu.po b/po/hu.po index ecf0e6dec..7bdcf00a8 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: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Andras Voroskoi \n" "Language-Team: weechat-dev \n" @@ -3994,7 +3994,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%s %s, %d. sor: érvénytelen szintaxis, hiányzó \"]\"\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n" #, c-format @@ -4010,15 +4010,15 @@ msgid "" msgstr "" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%s %s, %d. sor: ismeretlen csoportazonosító (\"%s\")\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%s %s, %d. sor: érvénytelen opció: \"%s\"\n" #, fuzzy, c-format diff --git a/po/it.po b/po/it.po index d9eefe2ba..cf3c61189 100644 --- a/po/it.po +++ b/po/it.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Esteban I. Ruiz Moreno \n" "Language-Team: weechat-dev \n" @@ -4710,8 +4710,9 @@ msgstr "Lettura del file di configurazione %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sAttenzione: %s, riga %d: sintassi invalida, \"]\" mancante" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "" "%sAttenzione: %s, riga %d: identificatore di sezione sconosciuto (\"%s\")" @@ -4727,17 +4728,20 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sAttenzione: %s, riga %d: opzione al di fuori della sezione: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "" "%sAttenzione: %s, riga %d: opzione sconosciuta per la sezione \"%s\": %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sAttenzione: %s, riga %d: valore non valido per l'opzione: %s" #, c-format diff --git a/po/ja.po b/po/ja.po index 450f59f90..3fd25f876 100644 --- a/po/ja.po +++ b/po/ja.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: AYANOKOUZI, Ryuunosuke \n" "Language-Team: Japanese \n" "Language-Team: Polish \n" @@ -5754,8 +5754,9 @@ msgstr "Wczytuję plik konfiguracyjny %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sOstrzeżenie: %s, w linii %d: błędna składnia, brakuje \"]\"" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sOstrzeżenie: %s, w linii %d: nieznany identyfikator sekcji (\"%s\")" #, c-format @@ -5770,16 +5771,19 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sOstrzeżenie: %s, linia %d: opcja poza sekcją: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sOstrzeżenie: %s, linia %d: nieznana opcja dla sekcji \"%s\": %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sOstrzeżenie: %s, linai %d: nieprawidłowa wartość dla opcji: %s" #, c-format diff --git a/po/pt.po b/po/pt.po index 7ef696769..6b2a29c2c 100644 --- a/po/pt.po +++ b/po/pt.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Vasco Almeida \n" "Language-Team: Portuguese <>\n" @@ -5348,8 +5348,9 @@ msgstr "A ler o ficheiro de configuração %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sAviso: %s, linha %d: sintaxe inválida, falta ']'" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sAviso: %s, linha %d: identificador de secção desconhecido (\"%s\")" #, c-format @@ -5364,16 +5365,19 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sAviso: %s, linha %d: opção fora de secção: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sAviso: %s, linha %d: opção desconhecida na secção \"%s\": %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sAviso: %s, linha %d: valor inválido na opção: %s" #, c-format diff --git a/po/pt_BR.po b/po/pt_BR.po index a1ad749f4..364190f20 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -21,7 +21,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Érico Nogueira \n" "Language-Team: weechat-dev \n" @@ -4719,8 +4719,9 @@ msgstr "Lendo arquivo de configuração %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sAviso: %s, linha %d: sintaxe inválida, faltando \"]\"" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sAviso: %s, linha %d: identificador de seção desconhecido (\"%s\")" #, c-format @@ -4735,16 +4736,19 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sAviso: %s, linha %d: opção fora da seção: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sAviso: %s, linha %d: opção \"%s\" desconhecido para seção \"%s\"" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sAviso: %s, linha %d: valor \"%s\" inválido para opção" #, c-format diff --git a/po/ru.po b/po/ru.po index 7146815b3..bd684efbf 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: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-17 11:47+0200\n" "Last-Translator: Aleksey V Zapparov AKA ixti \n" "Language-Team: weechat-dev \n" @@ -4022,7 +4022,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%s %s, строка %d: некорректный синтаксис, не хватает \"]\"\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n" #, c-format @@ -4038,15 +4038,15 @@ msgid "" msgstr "" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%s %s, строка %d: неизвестный идентификатор секции (\"%s\")\n" #, fuzzy, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%s %s, строка %d: некорректный параметр \"%s\"\n" #, fuzzy, c-format diff --git a/po/sr.po b/po/sr.po index 2cc30eb06..9e2f05764 100644 --- a/po/sr.po +++ b/po/sr.po @@ -20,7 +20,7 @@ msgid "" msgstr "" "Project-Id-Version: WeeChat\n" "Report-Msgid-Bugs-To: flashcode@flashtux.org\n" -"POT-Creation-Date: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Ivan Pešić \n" "Language-Team: weechat-dev \n" @@ -5401,8 +5401,9 @@ msgstr "Читање конфигурационог фајла %s" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sУпозорење: %s, линија %d: неважећа синтакса, недостаје „]”" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sУпозорење: %s, линија %d: непознати идентификатор одељка („%s”)" #, c-format @@ -5422,16 +5423,19 @@ msgstr "" "%sУпозорење: %s, прочитана верзија (%d) је новија од подржане верзије (%d), " "опције можда неће радити!" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sУпозорење: %s, линија %d: опција је ван одељка: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sУпозорење: %s, линија %d: непозната опција за одељак „%s”: %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sУпозорење: %s, линија %d: неважећа вредност опције: %s" #, c-format diff --git a/po/tr.po b/po/tr.po index b3407b890..d894d352e 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: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2023-06-26 21:34+0200\n" "Last-Translator: Emir SARI \n" "Language-Team: weechat-dev \n" @@ -5398,8 +5398,9 @@ msgstr "%s yapılandırma dosyası okunuyor" msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "%sUyarı: %s, %d. satır: Geçersiz sözdizim, \"!\" eksik" -#, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "%sUyarı: %s, %d. satır: Bilinmeyen bölüm tanımlayıcısı (\"%s\")" #, c-format @@ -5414,16 +5415,19 @@ msgid "" "of file is IGNORED, default options are used" msgstr "" -#, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "%sUyarı: %s, %d. satır: Bölüm dışı seçenek: %s" -#, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "%sUyarı: %s, %d. satır: \"%s\" bölümü için bilinmeyen seçenek: %s" -#, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +#, fuzzy, c-format +#| msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "%sUyarı: %s, %d. satır: Seçenek için geçersiz değer: %s" #, c-format diff --git a/po/weechat.pot b/po/weechat.pot index f4ac38854..690fcbb1e 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: 2023-07-10 14:05+0200\n" +"POT-Creation-Date: 2023-07-11 18:06+0200\n" "PO-Revision-Date: 2014-08-16 10:27+0200\n" "Last-Translator: Sébastien Helleu \n" "Language-Team: weechat-dev \n" @@ -3646,7 +3646,7 @@ msgid "%sWarning: %s, line %d: invalid syntax, missing \"]\"" msgstr "" #, c-format -msgid "%sWarning: %s, line %d: unknown section identifier (\"%s\")" +msgid "%sWarning: %s, line %d: ignoring unknown section identifier (\"%s\")" msgstr "" #, c-format @@ -3662,15 +3662,15 @@ msgid "" msgstr "" #, c-format -msgid "%sWarning: %s, line %d: option outside section: %s" +msgid "%sWarning: %s, line %d: ignoring option outside section: %s" msgstr "" #, c-format -msgid "%sWarning: %s, line %d: unknown option for section \"%s\": %s" +msgid "%sWarning: %s, line %d: ignoring unknown option for section \"%s\": %s" msgstr "" #, c-format -msgid "%sWarning: %s, line %d: invalid value for option: %s" +msgid "%sWarning: %s, line %d: ignoring invalid value for option: %s" msgstr "" #, c-format diff --git a/src/core/wee-config-file.c b/src/core/wee-config-file.c index 87ca9b47b..f34901320 100644 --- a/src/core/wee-config-file.c +++ b/src/core/wee-config-file.c @@ -3503,11 +3503,12 @@ config_file_read_internal (struct t_config_file *config_file, int reload) section); if (!ptr_section) { - gui_chat_printf (NULL, - _("%sWarning: %s, line %d: unknown " - "section identifier (\"%s\")"), - gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], - filename, line_number, section); + gui_chat_printf ( + NULL, + _("%sWarning: %s, line %d: ignoring unknown " + "section identifier (\"%s\")"), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + filename, line_number, section); } free (section); } @@ -3606,7 +3607,7 @@ config_file_read_internal (struct t_config_file *config_file, int reload) { gui_chat_printf (NULL, _("%sWarning: %s, line %d: " - "option outside section: %s"), + "ignoring option outside section: %s"), gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], filename, line_number, line); @@ -3661,21 +3662,23 @@ config_file_read_internal (struct t_config_file *config_file, int reload) switch (rc) { case WEECHAT_CONFIG_OPTION_SET_OPTION_NOT_FOUND: - gui_chat_printf (NULL, - _("%sWarning: %s, line %d: " - "unknown option for section \"%s\": %s"), - gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], - filename, line_number, - ptr_section->name, - line); + gui_chat_printf ( + NULL, + _("%sWarning: %s, line %d: " + "ignoring unknown option for section \"%s\": %s"), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + filename, line_number, + ptr_section->name, + line); break; case WEECHAT_CONFIG_OPTION_SET_ERROR: - gui_chat_printf (NULL, - _("%sWarning: %s, line %d: " - "invalid value for option: %s"), - gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], - filename, line_number, - line); + gui_chat_printf ( + NULL, + _("%sWarning: %s, line %d: " + "ignoring invalid value for option: %s"), + gui_chat_prefix[GUI_CHAT_PREFIX_ERROR], + filename, line_number, + line); break; }