format strings: remove length modifier

This length modifier was reintroduced in
b7fe3190bb, which reverts
993b977c9b, a commit predating the removal
of redundant length modifiers in format strings.

Closes #11968
This commit is contained in:
Daniel Rainer
2025-10-17 23:27:39 +02:00
committed by Johannes Altmanninger
parent 07514c5df0
commit 8aeafa13c9
8 changed files with 29 additions and 29 deletions

View File

@@ -82,10 +82,6 @@ msgstr "$status ist kein gültiger Befehl. Siehe `help conditions`"
msgid "%.*s: invalid conversion specification"
msgstr "%.*s: Ungültige Umwandlungsspezifikation"
#, c-format
msgid "%ls: function name required"
msgstr "%ls: Brauche Funktionsnamen"
#, c-format
msgid "%s"
msgstr ""
@@ -718,6 +714,10 @@ msgstr "%s: Erwartete numerischen Wert"
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr "%s: Brauche Funktionsnamen"
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -80,10 +80,6 @@ msgstr ""
msgid "%.*s: invalid conversion specification"
msgstr "%.*s: invalid conversion specification"
#, c-format
msgid "%ls: function name required"
msgstr ""
#, c-format
msgid "%s"
msgstr ""
@@ -716,6 +712,10 @@ msgstr "%s: expected a numeric value"
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr ""
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -181,10 +181,6 @@ msgstr ""
msgid "%.*s: invalid conversion specification"
msgstr "%.*s : spécification de conversion invalide"
#, c-format
msgid "%ls: function name required"
msgstr ""
#, c-format
msgid "%s"
msgstr ""
@@ -817,6 +813,10 @@ msgstr "%s : valeur numérique attendue"
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr ""
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -76,10 +76,6 @@ msgstr ""
msgid "%.*s: invalid conversion specification"
msgstr ""
#, c-format
msgid "%ls: function name required"
msgstr ""
#, c-format
msgid "%s"
msgstr ""
@@ -712,6 +708,10 @@ msgstr "%s: oczekiwano wartości liczbowej"
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr ""
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -81,10 +81,6 @@ msgstr ""
msgid "%.*s: invalid conversion specification"
msgstr "%.*s: especificação de conversão inválida"
#, c-format
msgid "%ls: function name required"
msgstr ""
#, c-format
msgid "%s"
msgstr ""
@@ -717,6 +713,10 @@ msgstr "%s: esperava valor numérico"
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr ""
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -77,10 +77,6 @@ msgstr ""
msgid "%.*s: invalid conversion specification"
msgstr ""
#, c-format
msgid "%ls: function name required"
msgstr ""
#, c-format
msgid "%s"
msgstr ""
@@ -713,6 +709,10 @@ msgstr ""
msgid "%s: fish was not built with embedded files"
msgstr ""
#, c-format
msgid "%s: function name required"
msgstr ""
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr ""

View File

@@ -103,10 +103,6 @@ msgstr "$status 不是有效的命令。参见 `help conditions`"
msgid "%.*s: invalid conversion specification"
msgstr "%.*s: 无效的转换规范"
#, c-format
msgid "%ls: function name required"
msgstr "%ls: 函数名称是必须的"
#, c-format
msgid "%s"
msgstr "%s"
@@ -739,6 +735,10 @@ msgstr "%s: 预期收到数值"
msgid "%s: fish was not built with embedded files"
msgstr "%s: fish 构建时未包含嵌入文件"
#, c-format
msgid "%s: function name required"
msgstr "%s: 函数名称是必须的"
#, c-format
msgid "%s: given %d indexes but %d values\n"
msgstr "%s: 给定索引 %d 但只有 %d 个值\n"

View File

@@ -244,7 +244,7 @@ fn validate_function_name(
if argv.len() < 2 {
streams
.err
.append(wgettext_fmt!("%ls: function name required", cmd));
.append(wgettext_fmt!("%s: function name required", cmd));
return Err(STATUS_INVALID_ARGS);
}
*function_name = argv[1].to_owned();