wmic: Make an error message more general.

This commit is contained in:
Hans Leidekker 2024-04-02 14:35:47 +02:00 committed by Alexandre Julliard
parent ca89965a2e
commit c00da2e52d
53 changed files with 127 additions and 66 deletions

View file

@ -20634,7 +20634,9 @@ msgid "Help topics: "
msgstr "نصائح المساعدة: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "خطأ : سطر الأوامر غير مدعوم\n"
#: programs/wmic/wmic.rc:29

View file

@ -19288,7 +19288,9 @@ msgid "Help topics: "
msgstr "Temes d'ayuda: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: la llinia de comandos nun ta sofitada\n"
#: programs/wmic/wmic.rc:29

View file

@ -19266,8 +19266,9 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
msgid "Error: Command not supported\n"
msgstr "Файлът не е намерен.\n"
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -19517,7 +19517,9 @@ msgid "Help topics: "
msgstr "Temes d'ajuda: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: Línia d'ordres no compatible\n"
#: programs/wmic/wmic.rc:29

View file

@ -20027,7 +20027,9 @@ msgid "Help topics: "
msgstr "Témata nápovědy: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Chyba: příkazová řádka není podporovaná\n"
#: programs/wmic/wmic.rc:29

View file

@ -20560,7 +20560,7 @@ msgstr "Hjælp emner: "
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Fejl: Ugyldige kommando linje parametre\n"
#: programs/wmic/wmic.rc:29

View file

@ -19489,7 +19489,9 @@ msgid "Help topics: "
msgstr "Hilfethemen: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Fehler: Befehlszeile nicht unterstützt\n"
#: programs/wmic/wmic.rc:29

View file

@ -18825,7 +18825,7 @@ msgstr ""
#: programs/wmic/wmic.rc:28
#, fuzzy
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Επιλογές.\n"
#: programs/wmic/wmic.rc:29

View file

@ -19355,8 +19355,8 @@ msgid "Help topics: "
msgstr "Help topics: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: Command not supported\n"
#: programs/wmic/wmic.rc:29
msgid "Error: Alias not found\n"

View file

@ -19355,8 +19355,8 @@ msgid "Help topics: "
msgstr "Help topics: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: Command not supported\n"
#: programs/wmic/wmic.rc:29
msgid "Error: Alias not found\n"

View file

@ -19534,8 +19534,10 @@ msgid "Help topics: "
msgstr "Helpaj tempoj: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
#| msgid "Property set not found.\n"
msgid "Error: Command not supported\n"
msgstr "Ecaro ne estis trovita.\n"
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -19866,7 +19866,9 @@ msgid "Help topics: "
msgstr "Temas de ayuda: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: parámetros de línea de comandos no soportados\n"
#: programs/wmic/wmic.rc:29

View file

@ -19043,8 +19043,9 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
msgid "Error: Command not supported\n"
msgstr "'%s' پیدا نشد."
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -19314,7 +19314,9 @@ msgid "Help topics: "
msgstr "Ohjeen otsikot: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Virhe: Komentoriviä ei tueta\n"
#: programs/wmic/wmic.rc:29

View file

@ -20161,7 +20161,9 @@ msgid "Help topics: "
msgstr "Rubriques d'aide : "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Erreur : ligne de commande invalide\n"
#: programs/wmic/wmic.rc:29

View file

@ -20122,7 +20122,9 @@ msgid "Help topics: "
msgstr "נושאי העזרה: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Error: Command line not supported\n"
#: programs/wmic/wmic.rc:29

View file

@ -18470,7 +18470,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -19994,7 +19994,9 @@ msgid "Help topics: "
msgstr "Teme: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
"Greška: uneseni su nepoznati ili neispravni parametri naredbene linije\n"

View file

@ -20556,7 +20556,7 @@ msgstr "Súgó témák: "
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Hiba: Érvénytelen parancssor paraméterek\n"
#: programs/wmic/wmic.rc:29

View file

@ -20645,7 +20645,7 @@ msgstr "Argomenti di aiuto: "
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Errore: parametri della linea di comando non validi\n"
#: programs/wmic/wmic.rc:29

View file

@ -19356,7 +19356,9 @@ msgid "Help topics: "
msgstr "ヘルプ トピック: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "エラー: コマンド ラインはサポートされていません\n"
#: programs/wmic/wmic.rc:29

View file

@ -18651,7 +18651,9 @@ msgid "Help topics: "
msgstr "დახმარების თემები: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "შეცდომა: ბრძანების სტრიქონი მხარდაჭერილიარაა\n"
#: programs/wmic/wmic.rc:29

View file

@ -19291,7 +19291,9 @@ msgid "Help topics: "
msgstr "도움말 항목: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "오류: 명령 줄은 지원하지 않습니다\n"
#: programs/wmic/wmic.rc:29

View file

@ -19381,7 +19381,9 @@ msgid "Help topics: "
msgstr "Žinyno temos: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Klaida: Komandos eilutė nepalaikoma\n"
#: programs/wmic/wmic.rc:29

View file

@ -18473,7 +18473,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -20091,7 +20091,9 @@ msgid "Help topics: "
msgstr "Emner i Hjelp: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Feil: Kommandolinjen støttes ikke\n"
#: programs/wmic/wmic.rc:29

View file

@ -18497,9 +18497,9 @@ msgid ""
"(provided by Wine) or native (taken from Windows or provided by the "
"application)."
msgstr ""
"Elke DLL (Dynamic Link Library) kan apart worden ingesteld op "
"'ingebouwd' (de versie van Wine) of 'windows' (afkomstig van Windows of "
"meegeleverd met een programma)."
"Elke DLL (Dynamic Link Library) kan apart worden ingesteld op 'ingebouwd' "
"(de versie van Wine) of 'windows' (afkomstig van Windows of meegeleverd met "
"een programma)."
#: programs/winecfg/winecfg.rc:199
msgid "&New override for library:"
@ -19450,7 +19450,9 @@ msgid "Help topics: "
msgstr "Help-onderwerpen: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Fout: Opdrachtregel niet ondersteund\n"
#: programs/wmic/wmic.rc:29

View file

@ -18455,7 +18455,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -18455,7 +18455,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -19422,7 +19422,9 @@ msgid "Help topics: "
msgstr "Tematy pomocy: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Błąd: Wiersz poleceń jest nieobsługiwany\n"
#: programs/wmic/wmic.rc:29

View file

@ -19727,7 +19727,9 @@ msgid "Help topics: "
msgstr "Tópicos de ajuda: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Erro: Parâmetros da linha de comandos não suportados\n"
#: programs/wmic/wmic.rc:29

View file

@ -20275,7 +20275,9 @@ msgid "Help topics: "
msgstr "Tópicos de ajuda: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Erro: Linha de comandos não suportada\n"
#: programs/wmic/wmic.rc:29

View file

@ -18600,7 +18600,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -20291,7 +20291,9 @@ msgid "Help topics: "
msgstr "Subiecte de ajutor: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Eroare: Linie de comandă nesuportată\n"
#: programs/wmic/wmic.rc:29

View file

@ -19693,7 +19693,9 @@ msgid "Help topics: "
msgstr "Содержание: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Ошибка: командная строка не поддерживается\n"
#: programs/wmic/wmic.rc:29

View file

@ -19272,7 +19272,9 @@ msgid "Help topics: "
msgstr "උදව් මාතෘකා:"
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "දෝෂය: විධාන රේඛාව සහාය නොදක්වයි\n"
#: programs/wmic/wmic.rc:29

View file

@ -19737,8 +19737,9 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
msgid "Error: Command not supported\n"
msgstr "Súbor nenájdený.\n"
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -20579,7 +20579,7 @@ msgstr "Teme pomoči: "
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Napaka: neveljaven parameter v ukazni vrstici\n"
#: programs/wmic/wmic.rc:29

View file

@ -19899,7 +19899,7 @@ msgstr ""
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
"Грешка: унесени су непознати или неисправни параметри наредбене линије\n"

View file

@ -20105,7 +20105,7 @@ msgstr "Teme pomoći: "
#: programs/wmic/wmic.rc:28
#, fuzzy
#| msgid "Error: Invalid command line parameters\n"
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
"Greška: uneseni su nepoznati ili neispravni parametri naredbene linije\n"

View file

@ -20231,7 +20231,9 @@ msgid "Help topics: "
msgstr "Hjälprubriker: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Fel: Kommandoraden stöds inte\n"
#: programs/wmic/wmic.rc:29

View file

@ -18431,7 +18431,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -18455,7 +18455,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -19153,8 +19153,9 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
msgid "Error: Command not supported\n"
msgstr "ไม่พบแฟ้ม.\n"
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -19482,7 +19482,9 @@ msgid "Help topics: "
msgstr "Yardım konuları: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Hata: Komut satırı desteklenmiyor\n"
#: programs/wmic/wmic.rc:29

View file

@ -19507,7 +19507,9 @@ msgid "Help topics: "
msgstr "Розділи Довідки: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "Помилка: Командний рядок не підтримується\n"
#: programs/wmic/wmic.rc:29

View file

@ -18994,8 +18994,9 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgstr ""
#, fuzzy
msgid "Error: Command not supported\n"
msgstr "'%s' pout nén esse trové."
#: programs/wmic/wmic.rc:29
#, fuzzy

View file

@ -18346,7 +18346,7 @@ msgid "Help topics: "
msgstr ""
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr ""
#: programs/wmic/wmic.rc:29

View file

@ -19093,7 +19093,9 @@ msgid "Help topics: "
msgstr "帮助主题: "
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "错误: 不支持此命令行\n"
#: programs/wmic/wmic.rc:29

View file

@ -19242,7 +19242,9 @@ msgid "Help topics: "
msgstr "說明主題:"
#: programs/wmic/wmic.rc:28
msgid "Error: Command line not supported\n"
#, fuzzy
#| msgid "Error: Command line not supported\n"
msgid "Error: Command not supported\n"
msgstr "錯誤: 不支援命令列\n"
#: programs/wmic/wmic.rc:29

View file

@ -341,7 +341,7 @@ static int process_args( int argc, WCHAR *argv[] )
int i;
for (i = 0; i < argc && argv[i][0] == '/'; i++)
WINE_FIXME( "command line switch %s not supported\n", debugstr_w(argv[i]) );
WINE_FIXME( "switch %s not supported\n", debugstr_w(argv[i]) );
if (i >= argc)
goto not_supported;
@ -351,7 +351,7 @@ static int process_args( int argc, WCHAR *argv[] )
return 0;
}
if (!wcsicmp( argv[i], L"class") || !wcsicmp( argv[i], L"context" ))
if (!wcsicmp( argv[i], L"class" ) || !wcsicmp( argv[i], L"context" ))
{
WINE_FIXME( "command %s not supported\n", debugstr_w(argv[i]) );
goto not_supported;
@ -388,7 +388,7 @@ static int process_args( int argc, WCHAR *argv[] )
}
not_supported:
output_error( STRING_CMDLINE_NOT_SUPPORTED );
output_error( STRING_COMMAND_NOT_SUPPORTED );
return 1;
}

View file

@ -18,7 +18,7 @@
#include <windef.h>
#define STRING_CMDLINE_NOT_SUPPORTED 101
#define STRING_COMMAND_NOT_SUPPORTED 101
#define STRING_ALIAS_NOT_FOUND 102
#define STRING_INVALID_QUERY 103
#define STRING_INVALID_PATH 104

View file

@ -24,7 +24,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE
{
STRING_CMDLINE_NOT_SUPPORTED, "Error: Command line not supported\n"
STRING_COMMAND_NOT_SUPPORTED, "Error: Command not supported\n"
STRING_ALIAS_NOT_FOUND, "Error: Alias not found\n"
STRING_INVALID_QUERY, "Error: Invalid query\n"
STRING_INVALID_PATH, "Error: Invalid syntax for PATH\n"