mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-27 00:21:15 -03:00
builtin function: fix a misleading error message
Issue introduced in 7914c92824 (replaced the functions '--rename'
option with '--copy'., 2010-09-09).
This commit is contained in:
5
po/de.po
5
po/de.po
@@ -381,9 +381,10 @@ msgstr "%ls: Erwartete exakt zwei Namen (momentanen Funktionsnamen und den Neuen
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr "%ls: Erwartete generic | variable | signal | exit | job-id für --handlers-type\n"
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls: Funktion '%ls' existiert schon. Konnte Kopie '%ls' nicht anlegen\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
5
po/en.po
5
po/en.po
@@ -379,9 +379,10 @@ msgstr "%ls: Expected exactly two names (current function name, and new function
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr ""
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls: Function “%ls” already exists. Cannot create copy “%ls”\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
5
po/fr.po
5
po/fr.po
@@ -480,9 +480,10 @@ msgstr "%ls : Exactement deux noms attendus (noms de fonctions actuel et projet
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr ""
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls : La fonction '%ls' existe déjà. Impossible de créer la copie '%ls'\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
5
po/pl.po
5
po/pl.po
@@ -375,9 +375,10 @@ msgstr "%ls: Oczekiwano dokładnie dwóch nazw (nazwa obecnej funkcji i nazwa no
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr ""
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls: Funkcja '%ls' już istnieje. Nie można utworzyć kopii '%ls'\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
@@ -380,9 +380,10 @@ msgstr "%ls: Esperava exatamente dois nomes (nome atual da função, e novo nome
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr ""
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls: Função “%ls” já existe. Não é possivel criar cópia “%ls”\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
3
po/sv.po
3
po/sv.po
@@ -376,8 +376,9 @@ msgstr ""
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr ""
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
|
||||
@@ -373,9 +373,10 @@ msgstr "%ls: 预期有两个确切的名称(当前函数名称, 和新函数名
|
||||
msgid "%ls: Expected generic | variable | signal | exit | job-id for --handlers-type\n"
|
||||
msgstr "%ls: 对于 --handlers-type 选项,预期 generic | variable | signal | exit | job-id \n"
|
||||
|
||||
#
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy '%ls'\n"
|
||||
msgstr "%ls: 函数 '%ls' 已经存在 . 无法创建复制 '%ls'\n"
|
||||
msgid "%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%ls: Function '%ls' does not exist\n"
|
||||
|
||||
@@ -351,7 +351,7 @@ pub fn functions(parser: &Parser, streams: &mut IoStreams, args: &mut [&wstr]) -
|
||||
|
||||
if function::exists(new_func, parser) {
|
||||
streams.err.append(wgettext_fmt!(
|
||||
"%ls: Function '%ls' already exists. Cannot create copy '%ls'\n",
|
||||
"%ls: Function '%ls' already exists. Cannot create copy of '%ls'\n",
|
||||
cmd,
|
||||
new_func,
|
||||
current_func
|
||||
|
||||
Reference in New Issue
Block a user