Added new error message's and help-text's translation for en_GB

This commit is contained in:
someordinaryidiot# 2024-09-15 21:39:58 +02:00
parent b3521680fd
commit a3783619f2
2 changed files with 15 additions and 1 deletions

View file

@ -1232,6 +1232,11 @@ msgstr ""
" --disable-sandbox\n"
" disable the sandbox used for the downloader process\n"
#: src/pacman/pacman.c:231
#, c-format
msgid " --retry-input repeat prompts until a valid answer is supplied\n"
msgstr " --retry-input repeat prompts until a valid answer is supplied\n"
#: src/pacman/pacman.c:249
#, c-format
msgid ""
@ -1777,6 +1782,10 @@ msgstr "[Y/n]"
msgid "[y/N]"
msgstr "[y/N]"
#: src/pacman/util.c:1741 src/pacman/util.c:1759
msgid "vsnprintf failure: Failed to cache prompt: %s\n"
msgstr "vsnprintf failure: Failed to cache prompt: %s\n"
#: src/pacman/util.c:1751
#, c-format
msgid "Y"
@ -1797,6 +1806,11 @@ msgstr "N"
msgid "NO"
msgstr "NO"
#: src/pacman/util.c:1767
#, c-format
msgid "vsnprintf failure: Failed to cache prompt: Required size changed: %zu -> %i bytes\n"
msgstr "vsnprintf failure: Failed to cache prompt: Required size changed: %zu -> %i bytes\n"
#: src/pacman/util.c:1820
#, c-format
msgid "failed to allocate string\n"

View file

@ -1764,7 +1764,7 @@ static int question(short preset, const char *format, va_list args)
/* Just in case */
if ((size_t)format + 1 != prompt_cache_size) {
pm_printf(ALPM_LOG_ERROR, _("vsnprintf failure: Failed to cache prompt: Required size: %zu -> %i bytes\n"), prompt_cache_size, format_len + 1);
pm_printf(ALPM_LOG_ERROR, _("vsnprintf failure: Failed to cache prompt: Required size changed: %zu -> %i bytes\n"), prompt_cache_size, format_len + 1);
va_end(args_copy);
return 0;