From 2b77d24f0f937d1d108ec9aa95b4ee59e5cd6654 Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Tue, 24 May 2016 12:48:26 +0000 Subject: [PATCH] reg: Update general help logic. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- po/ar.po | 16 ++++++++++++++++ po/bg.po | 14 ++++++++++++++ po/ca.po | 16 ++++++++++++++++ po/cs.po | 16 ++++++++++++++++ po/da.po | 16 ++++++++++++++++ po/de.po | 16 ++++++++++++++++ po/el.po | 14 ++++++++++++++ po/en.po | 12 ++++++++++++ po/en_US.po | 12 ++++++++++++ po/eo.po | 16 ++++++++++++++++ po/es.po | 16 ++++++++++++++++ po/fa.po | 12 ++++++++++++ po/fi.po | 16 ++++++++++++++++ po/fr.po | 16 ++++++++++++++++ po/he.po | 16 ++++++++++++++++ po/hi.po | 12 ++++++++++++ po/hr.po | 16 ++++++++++++++++ po/hu.po | 16 ++++++++++++++++ po/it.po | 16 ++++++++++++++++ po/ja.po | 16 ++++++++++++++++ po/ko.po | 16 ++++++++++++++++ po/lt.po | 16 ++++++++++++++++ po/ml.po | 12 ++++++++++++ po/nb_NO.po | 16 ++++++++++++++++ po/nl.po | 16 ++++++++++++++++ po/or.po | 12 ++++++++++++ po/pa.po | 12 ++++++++++++ po/pl.po | 16 ++++++++++++++++ po/pt_BR.po | 16 ++++++++++++++++ po/pt_PT.po | 16 ++++++++++++++++ po/rm.po | 12 ++++++++++++ po/ro.po | 16 ++++++++++++++++ po/ru.po | 16 ++++++++++++++++ po/sk.po | 14 ++++++++++++++ po/sl.po | 16 ++++++++++++++++ po/sr_RS@cyrillic.po | 14 ++++++++++++++ po/sr_RS@latin.po | 14 ++++++++++++++ po/sv.po | 16 ++++++++++++++++ po/te.po | 12 ++++++++++++ po/th.po | 12 ++++++++++++ po/tr.po | 16 ++++++++++++++++ po/uk.po | 16 ++++++++++++++++ po/wa.po | 12 ++++++++++++ po/wine.pot | 12 ++++++++++++ po/zh_CN.po | 16 ++++++++++++++++ po/zh_TW.po | 16 ++++++++++++++++ programs/reg/reg.c | 13 ++++++++++--- programs/reg/reg.h | 3 +++ programs/reg/reg.rc | 3 +++ 49 files changed, 694 insertions(+), 3 deletions(-) diff --git a/po/ar.po b/po/ar.po index 4e30d7354cd..eea7bca519d 100644 --- a/po/ar.po +++ b/po/ar.po @@ -11900,6 +11900,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "خطأ : اسم المفتاح غير سليم\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "خطأ: خيار عير سليم '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "ال&سجل" diff --git a/po/bg.po b/po/bg.po index 13e6bac6363..d5ddc0c6473 100644 --- a/po/bg.po +++ b/po/bg.po @@ -11516,6 +11516,20 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +msgid "reg: Invalid syntax. " +msgstr "Невалидни знаци в пътя.\n" + +#: reg.rc:57 +#, fuzzy +msgid "reg: Invalid option [%1]. " +msgstr "Невалидни знаци в пътя.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Регистър" diff --git a/po/ca.po b/po/ca.po index e4a5de14718..6b32c325e04 100644 --- a/po/ca.po +++ b/po/ca.po @@ -11779,6 +11779,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Error: Nom de clau invàlid\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "desinstal·lador: Opció invàlida [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registre" diff --git a/po/cs.po b/po/cs.po index 1da05dc61f9..b995b0f06df 100644 --- a/po/cs.po +++ b/po/cs.po @@ -11587,6 +11587,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Chyba: Neplatný název klíče\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Chyba: neplatná volba „%c“.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registr" diff --git a/po/da.po b/po/da.po index 75dc1b746a9..49031ed026a 100644 --- a/po/da.po +++ b/po/da.po @@ -11853,6 +11853,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Fejl: Ugyldigt nøgle navn\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Fejl: Ugyldig valgmulighed '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/de.po b/po/de.po index b6503506062..b65989ef889 100644 --- a/po/de.po +++ b/po/de.po @@ -11727,6 +11727,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Suche abgeschlossen. Gefundene Übereinstimmungen: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: Ungültiger Schlüsselname\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "Uninstaller: Ungültige Option [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registrierung" diff --git a/po/el.po b/po/el.po index 8416c60b26c..1b798259555 100644 --- a/po/el.po +++ b/po/el.po @@ -11302,6 +11302,20 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +msgid "reg: Invalid syntax. " +msgstr "Μη έγγυρος(οι) χαρακτήρας(ες) στο μονοπάτι.\n" + +#: reg.rc:57 +#, fuzzy +msgid "reg: Invalid option [%1]. " +msgstr "Μη έγγυρος(οι) χαρακτήρας(ες) στο μονοπάτι.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/en.po b/po/en.po index 8c13ef6fed6..a7f65130703 100644 --- a/po/en.po +++ b/po/en.po @@ -11651,6 +11651,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Search complete. Number of matches found: %1!d!\n" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "reg: Invalid syntax. " + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "reg: Invalid option [%1]. " + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "Type \"REG /?\" for help.\n" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/en_US.po b/po/en_US.po index 6b133bbd462..99ac3b43e70 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -11651,6 +11651,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Search complete. Number of matches found: %1!d!\n" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "reg: Invalid syntax. " + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "reg: Invalid option [%1]. " + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "Type \"REG /?\" for help.\n" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/eo.po b/po/eo.po index 65bff640784..0dde9220727 100644 --- a/po/eo.po +++ b/po/eo.po @@ -11206,6 +11206,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Invalid share name.\n" +msgid "reg: Invalid syntax. " +msgstr "Nevalida nomo de kunuzata aparato.\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Invalid version option.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Nevalida eldono-elekto.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registrejo" diff --git a/po/es.po b/po/es.po index b4bed8d40f8..1432ce714ec 100644 --- a/po/es.po +++ b/po/es.po @@ -11932,6 +11932,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Error: nombre de clave inválido\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Error: Opción '%c' inválida.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/fa.po b/po/fa.po index 23d5f54516e..2929dec67a8 100644 --- a/po/fa.po +++ b/po/fa.po @@ -11296,6 +11296,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/fi.po b/po/fi.po index 2f66e59c36a..d3bf52a3633 100644 --- a/po/fi.po +++ b/po/fi.po @@ -11630,6 +11630,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Haku on valmis. Osumia: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: Avaimen nimi ei kelpaa\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: Virheellinen valitsin [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Rekisteri" diff --git a/po/fr.po b/po/fr.po index 68f23b7683b..d7d5a83b111 100644 --- a/po/fr.po +++ b/po/fr.po @@ -11791,6 +11791,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg : nom de clé invalide\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller : option [%1] invalide\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registre" diff --git a/po/he.po b/po/he.po index 8d122e128eb..a7e703fc181 100644 --- a/po/he.po +++ b/po/he.po @@ -11677,6 +11677,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Error: Invalid key name\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Error: Invalid option '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&רישום המערכת" diff --git a/po/hi.po b/po/hi.po index d8211ccefd7..08ded8ff9f1 100644 --- a/po/hi.po +++ b/po/hi.po @@ -11103,6 +11103,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/hr.po b/po/hr.po index 3af5e744ff2..78550aeaeb9 100644 --- a/po/hr.po +++ b/po/hr.po @@ -11410,6 +11410,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Greška: Neispravan naziv ključa\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Greška: Neispravna opcija '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registar" diff --git a/po/hu.po b/po/hu.po index c18b46d7a46..8c051d61d25 100644 --- a/po/hu.po +++ b/po/hu.po @@ -11847,6 +11847,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Hiba: Érvénytelen kulcsnév\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Hiba: Érvénytelen opció '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Fájl" diff --git a/po/it.po b/po/it.po index e9cc3a5a68c..9a01db48dc6 100644 --- a/po/it.po +++ b/po/it.po @@ -11933,6 +11933,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Errore: nome della chiave non valido\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Errore: opzione non valida '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/ja.po b/po/ja.po index 604cc429e3e..d3517c90491 100644 --- a/po/ja.po +++ b/po/ja.po @@ -11635,6 +11635,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "検索が完了しました。該当箇所の数: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: キー名が無効です\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: 無効なオプション [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "レジストリ(&R)" diff --git a/po/ko.po b/po/ko.po index f9d6415acbd..c7412aad1ba 100644 --- a/po/ko.po +++ b/po/ko.po @@ -11922,6 +11922,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "오류: 올바르지 않은 키 이름\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "오류: 올바르지 않은 옵션 '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "레지스트리(&R)" diff --git a/po/lt.po b/po/lt.po index bae9657cc4f..a5b58e2a731 100644 --- a/po/lt.po +++ b/po/lt.po @@ -11655,6 +11655,22 @@ msgstr "reg: Nepavyko užbaigti nurodytos operacijos. Įvyko netikėta klaida.\n msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Paieška baigta. Rasta atitikimų: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: Netinkamas rakto vardas\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "šalinimo programa: Netinkamas parametras [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "R&egistras" diff --git a/po/ml.po b/po/ml.po index a789ca3f12a..f420f9e74fb 100644 --- a/po/ml.po +++ b/po/ml.po @@ -11103,6 +11103,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index 9d23bd67a74..1fd01b8bf74 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -11646,6 +11646,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Søk fullført. Antall treff: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: Ugyldig nøkkelnavn\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: [%1] er et ugyldig valg.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/nl.po b/po/nl.po index 727a048b644..ae553f5c154 100644 --- a/po/nl.po +++ b/po/nl.po @@ -11899,6 +11899,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Fout: Foutieve sleutelnaam\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Fout: Ongeldige optie '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registerbestand" diff --git a/po/or.po b/po/or.po index 78528d807c2..1ebd77ae7a3 100644 --- a/po/or.po +++ b/po/or.po @@ -11103,6 +11103,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/pa.po b/po/pa.po index 2c6749ad0f6..774a281c6ed 100644 --- a/po/pa.po +++ b/po/pa.po @@ -11103,6 +11103,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/pl.po b/po/pl.po index a6c80ef2745..284c7d65786 100644 --- a/po/pl.po +++ b/po/pl.po @@ -11735,6 +11735,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Błąd: Niewłaściwa nazwa klucza\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "usuwanie programów: Nieprawidłowa opcja [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Rejestr" diff --git a/po/pt_BR.po b/po/pt_BR.po index e5b5aaea03f..69c58e65ba6 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -11742,6 +11742,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Erro: Nome de chave inválido\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: Opção inválida [%1].\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registro" diff --git a/po/pt_PT.po b/po/pt_PT.po index 9fde16a4690..34d51dcbb22 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -11724,6 +11724,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Erro: Nome de chave inválido\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Erro: opção inválida '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registo" diff --git a/po/rm.po b/po/rm.po index eaf48a2fd74..7cc4434b8f3 100644 --- a/po/rm.po +++ b/po/rm.po @@ -11181,6 +11181,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/ro.po b/po/ro.po index 15e18609a93..c2392f7ca61 100644 --- a/po/ro.po +++ b/po/ro.po @@ -11943,6 +11943,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Eroare: Nume de cheie nevalid\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Eroare: Opțiune nevalidă „%c”.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registru" diff --git a/po/ru.po b/po/ru.po index c3259ce4bce..b98cf997b97 100644 --- a/po/ru.po +++ b/po/ru.po @@ -11652,6 +11652,22 @@ msgstr "reg: не удалось завершить операцию. Произ msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Поиск завершён. Найдено совпадений: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: неверное имя раздела\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: неверная опция [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Реестр" diff --git a/po/sk.po b/po/sk.po index 32e93283764..6bf86d432c8 100644 --- a/po/sk.po +++ b/po/sk.po @@ -11375,6 +11375,20 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Invalid name.\n" +msgid "reg: Invalid syntax. " +msgstr "Nesprávny názov.\n" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Registry" diff --git a/po/sl.po b/po/sl.po index b6267992fd3..5174d816a82 100644 --- a/po/sl.po +++ b/po/sl.po @@ -11876,6 +11876,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Napaka: neveljavno ime ključa\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "Napaka: neveljavna možnost '%c'.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index 1a62a53f123..5f4c68d3054 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -11768,6 +11768,20 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +msgid "reg: Invalid syntax. " +msgstr "Неисправна синтакса.\n" + +#: reg.rc:57 +#, fuzzy +msgid "reg: Invalid option [%1]. " +msgstr "Неисправна синтакса" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index 07bf6481d64..fb4aaf1b0b8 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -11907,6 +11907,20 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +msgid "reg: Invalid syntax. " +msgstr "Neispravna sintaksa.\n" + +#: reg.rc:57 +#, fuzzy +msgid "reg: Invalid option [%1]. " +msgstr "Neispravna sintaksa" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/sv.po b/po/sv.po index 987d0631196..cfd177d20c8 100644 --- a/po/sv.po +++ b/po/sv.po @@ -11548,6 +11548,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: Ogiltigt nyckelnamn\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: Flaggan [%1] är ogiltig\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Register" diff --git a/po/te.po b/po/te.po index 2e6fc7ce44b..9d0460d1b90 100644 --- a/po/te.po +++ b/po/te.po @@ -11103,6 +11103,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/th.po b/po/th.po index 9efe48870e9..7412fa6ed47 100644 --- a/po/th.po +++ b/po/th.po @@ -11334,6 +11334,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/tr.po b/po/tr.po index 7aa357c863b..8c371bbdde3 100644 --- a/po/tr.po +++ b/po/tr.po @@ -11704,6 +11704,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "Hata: Geçersiz anahtar adı\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: '%1' geçersiz seçenek.\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Kayıt" diff --git a/po/uk.po b/po/uk.po index 4fa1f79e89e..2c9943dd1cb 100644 --- a/po/uk.po +++ b/po/uk.po @@ -11737,6 +11737,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "Пошук завершено. Знайдено збігів: %1!d!\n" +#: reg.rc:56 +#, fuzzy +#| msgid "reg: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "reg: невірне ім'я ключа\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: Невірний параметр [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "&Реєстр" diff --git a/po/wa.po b/po/wa.po index 1fcf966ebf7..c281c10a118 100644 --- a/po/wa.po +++ b/po/wa.po @@ -11242,6 +11242,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 245ec3b0eef..9ebcf710c20 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -11039,6 +11039,18 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +msgid "reg: Invalid syntax. " +msgstr "" + +#: reg.rc:57 +msgid "reg: Invalid option [%1]. " +msgstr "" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 3ee5c0b6ca4..58db706aa32 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -11207,6 +11207,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "错误:键名无效\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "uninstaller: Invalid option [%1]\n" +msgid "reg: Invalid option [%1]. " +msgstr "uninstaller: 无效的选项 [%1]\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "注册表(&R)" diff --git a/po/zh_TW.po b/po/zh_TW.po index f4eecdc025d..fb5a2af6497 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -11807,6 +11807,22 @@ msgstr "" msgid "Search complete. Number of matches found: %1!d!\n" msgstr "" +#: reg.rc:56 +#, fuzzy +#| msgid "Error: Invalid key name\n" +msgid "reg: Invalid syntax. " +msgstr "錯誤:無效的索引鍵名稱\n" + +#: reg.rc:57 +#, fuzzy +#| msgid "Error: Invalid option '%c'.\n" +msgid "reg: Invalid option [%1]. " +msgstr "錯誤:無效的選項 %c。\n" + +#: reg.rc:58 +msgid "Type \"REG /?\" for help.\n" +msgstr "" + #: regedit.rc:34 msgid "&Registry" msgstr "註冊表(&R)" diff --git a/programs/reg/reg.c b/programs/reg/reg.c index f8c610378f9..f048f1e6958 100644 --- a/programs/reg/reg.c +++ b/programs/reg/reg.c @@ -894,8 +894,14 @@ int wmain(int argc, WCHAR *argvW[]) static const WCHAR slashVEW[] = {'/','v','e',0}; static const WCHAR slashHelpW[] = {'/','?',0}; - if (argc < 2 || !lstrcmpW(argvW[1], slashHelpW) - || !lstrcmpiW(argvW[1], slashHW)) + if (argc == 1) + { + output_message(STRING_INVALID_SYNTAX); + output_message(STRING_REG_HELP); + return 1; + } + + if (!lstrcmpW(argvW[1], slashHelpW) || !lstrcmpiW(argvW[1], slashHW)) { output_message(STRING_USAGE); return 0; @@ -1032,7 +1038,8 @@ int wmain(int argc, WCHAR *argvW[]) } else { - output_message(STRING_INVALID_CMDLINE); + output_message(STRING_INVALID_OPTION, argvW[1]); + output_message(STRING_REG_HELP); return 1; } } diff --git a/programs/reg/reg.h b/programs/reg/reg.h index 102284eaf72..eeee4c99ad1 100644 --- a/programs/reg/reg.h +++ b/programs/reg/reg.h @@ -47,3 +47,6 @@ #define STRING_VALUEALL_FAILED 124 #define STRING_GENERAL_FAILURE 125 #define STRING_MATCHES_FOUND 126 +#define STRING_INVALID_SYNTAX 127 +#define STRING_INVALID_OPTION 128 +#define STRING_REG_HELP 129 diff --git a/programs/reg/reg.rc b/programs/reg/reg.rc index 23144a3ecb7..eb752b736f0 100644 --- a/programs/reg/reg.rc +++ b/programs/reg/reg.rc @@ -52,4 +52,7 @@ STRINGTABLE STRING_VALUEALL_FAILED, "reg: Unable to delete all registry values in '%1'. An unexpected error occurred.\n" STRING_GENERAL_FAILURE, "reg: Unable to complete the specified operation. An unexpected error occurred.\n" STRING_MATCHES_FOUND, "Search complete. Number of matches found: %1!d!\n" + STRING_INVALID_SYNTAX, "reg: Invalid syntax. " + STRING_INVALID_OPTION, "reg: Invalid option [%1]. " + STRING_REG_HELP, "Type \"REG /?\" for help.\n" }