update: better unknown configuration error
This commit is contained in:
parent
773e3f9ac6
commit
2359148d41
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-08-04 15:26+0300\n"
|
||||
"POT-Creation-Date: 2024-08-04 15:38+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -17,22 +17,27 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: src/config.c:124
|
||||
#: src/config.c:125
|
||||
#, c-format
|
||||
msgid "Unknown configuration option: %s"
|
||||
msgstr ""
|
||||
|
||||
#: src/config.c:127
|
||||
#, c-format
|
||||
msgid "Unknown configuration option: %s/%s"
|
||||
msgstr ""
|
||||
|
||||
#: src/config.c:132
|
||||
#: src/config.c:135
|
||||
#, fuzzy, c-format
|
||||
msgid "Failed to access the configuration file: %s"
|
||||
msgstr "Kayıt dosyasını açmak başarısız oldu: %s"
|
||||
|
||||
#: src/config.c:137
|
||||
#: src/config.c:140
|
||||
#, fuzzy
|
||||
msgid "Failed to parse the configuration"
|
||||
msgstr "Kayıt dosyasını açmak başarısız oldu: %s"
|
||||
|
||||
#: src/config.c:144
|
||||
#: src/config.c:147
|
||||
#, fuzzy, c-format
|
||||
msgid "Hostname not specified for the pool: %s"
|
||||
msgstr "Ana makine adı havuz konfigürasyonunda belirtilmedi, geçiliyor: %s"
|
||||
|
@ -121,7 +121,10 @@ int config_load_handler(void *data, const char *_section, const char *_key, cons
|
||||
return 1;
|
||||
|
||||
unknown:
|
||||
error(_("Unknown configuration option: %s/%s"), section, key);
|
||||
if (NULL == section || section[0] == '\0')
|
||||
error(_("Unknown configuration option: %s"), key);
|
||||
else
|
||||
error(_("Unknown configuration option: %s/%s"), section, key);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user