cmd: Change what 'ver' issues.

This commit is contained in:
Jason Edmeades 2012-11-26 21:06:52 +00:00 committed by Alexandre Julliard
parent 722c2b1008
commit fc847f868c
47 changed files with 101 additions and 49 deletions

View File

@ -9722,7 +9722,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9866,7 +9866,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10200,7 +10200,9 @@ msgid "Wine Command Prompt"
msgstr "Línia d'Ordres del Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Versió de CMD %1!S!\n"
#: cmd.rc:350

View File

@ -10230,7 +10230,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10114,7 +10114,9 @@ msgid "Wine Command Prompt"
msgstr "Wine kommandoprompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
#: cmd.rc:350

View File

@ -10156,7 +10156,9 @@ msgid "Wine Command Prompt"
msgstr "Wine Befehlsprozessor"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
#: cmd.rc:350

View File

@ -9715,7 +9715,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10077,8 +10077,8 @@ msgid "Wine Command Prompt"
msgstr "Wine Command Prompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Wine CMD Version %1!S!\n"
#: cmd.rc:350
msgid "More? "

View File

@ -10081,8 +10081,8 @@ msgid "Wine Command Prompt"
msgstr "Wine Command Prompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Wine CMD Version %1!S!\n"
#: cmd.rc:350
msgid "More? "

View File

@ -9586,7 +9586,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10197,7 +10197,9 @@ msgid "Wine Command Prompt"
msgstr "Símbolo del sistema de Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD Versión %1!S!\n"
#: cmd.rc:350

View File

@ -9723,7 +9723,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10064,7 +10064,9 @@ msgid "Wine Command Prompt"
msgstr "Winen komentokehote"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD versio %1!S!\n"
#: cmd.rc:350

View File

@ -10206,7 +10206,9 @@ msgid "Wine Command Prompt"
msgstr "Invite de commande Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD version %1!S!\n"
#: cmd.rc:350

View File

@ -10164,7 +10164,9 @@ msgid "Wine Command Prompt"
msgstr "Wine Command Prompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
#: cmd.rc:350

View File

@ -9574,7 +9574,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10116,7 +10116,9 @@ msgid "Wine Command Prompt"
msgstr "Wine parancssor"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD verzió %1!S!\n"
#: cmd.rc:350

View File

@ -10195,7 +10195,9 @@ msgid "Wine Command Prompt"
msgstr "Prompt dei comandi di Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Versione di CMD %1!S!\n"
#: cmd.rc:350

View File

@ -10084,7 +10084,9 @@ msgid "Wine Command Prompt"
msgstr "Wine コマンド プロンプト"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD バージョン %1!S!\n"
#: cmd.rc:350

View File

@ -10044,7 +10044,9 @@ msgid "Wine Command Prompt"
msgstr "Wine 명령 프롬프트"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD 버젼 %1!S!\n"
#: cmd.rc:350

View File

@ -10101,7 +10101,9 @@ msgid "Wine Command Prompt"
msgstr "Wine komandų interpretatorius"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD versija %1!S!\n"
#: cmd.rc:350

View File

@ -9574,7 +9574,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10336,7 +10336,7 @@ msgstr ""
#: cmd.rc:349
#, fuzzy
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CA-versjon"
#: cmd.rc:350

View File

@ -10251,7 +10251,9 @@ msgid "Wine Command Prompt"
msgstr "Wine Command Prompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD versie %1!S!\n"
#: cmd.rc:350

View File

@ -9574,7 +9574,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9574,7 +9574,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10142,7 +10142,9 @@ msgid "Wine Command Prompt"
msgstr "Wiersz Poleceń Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Wersja CMD %1!S!\n"
#: cmd.rc:350

View File

@ -10112,7 +10112,9 @@ msgid "Wine Command Prompt"
msgstr "Prompt de Comando Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Versão do CMD %1!S!\n"
#: cmd.rc:350

View File

@ -10123,7 +10123,9 @@ msgid "Wine Command Prompt"
msgstr "Prompt de Comandos do Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "A versão do CMD é %1!S!\n"
#: cmd.rc:350

View File

@ -9637,7 +9637,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10318,7 +10318,9 @@ msgid "Wine Command Prompt"
msgstr "Linia de comandă Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD versiunea %1!S!\n"
#: cmd.rc:350

View File

@ -10075,7 +10075,9 @@ msgid "Wine Command Prompt"
msgstr "Приглашение командной строки Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Версия CMD %1!S!\n"
#: cmd.rc:350

View File

@ -9724,7 +9724,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10142,7 +10142,9 @@ msgid "Wine Command Prompt"
msgstr "Ukazni poziv Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Različica CMD %1!S!\n"
#: cmd.rc:350

View File

@ -10059,7 +10059,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10159,7 +10159,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9991,7 +9991,9 @@ msgid "Wine Command Prompt"
msgstr "Wine kommandoprompt"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD Version %1!S!\n"
#: cmd.rc:350

View File

@ -9574,7 +9574,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9740,7 +9740,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9858,7 +9858,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -10125,7 +10125,9 @@ msgid "Wine Command Prompt"
msgstr "Командний рядок Wine"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "Версія CMD %1!S!\n"
#: cmd.rc:350

View File

@ -9681,7 +9681,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9519,7 +9519,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9646,7 +9646,7 @@ msgid "Wine Command Prompt"
msgstr ""
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr ""
#: cmd.rc:350

View File

@ -9938,7 +9938,9 @@ msgid "Wine Command Prompt"
msgstr "Wine 命令提示符號"
#: cmd.rc:349
msgid "CMD Version %1!S!\n"
#, fuzzy
#| msgid "CMD Version %1!S!\n"
msgid "Wine CMD Version %1!S!\n"
msgstr "CMD 版本 %1!S!\n"
#: cmd.rc:350

View File

@ -346,7 +346,7 @@ Enter HELP <command> for further information on any of the above commands.\n"
WCMD_NOPATH, "PATH not found\n"
WCMD_ANYKEY,"Press any key to continue... "
WCMD_CONSTITLE,"Wine Command Prompt"
WCMD_VERSION,"CMD Version %1!S!\n"
WCMD_VERSION,"Wine CMD Version %1!S!\n"
WCMD_MOREPROMPT, "More? "
WCMD_LINETOOLONG, "The input line is too long.\n"
WCMD_VOLUMELABEL, "Volume in drive %1!c! is %2\n"

View File

@ -2318,12 +2318,20 @@ int wmain (int argc, WCHAR *argvW[])
static const WCHAR promptW[] = {'P','R','O','M','P','T','\0'};
static const WCHAR defaultpromptW[] = {'$','P','$','G','\0'};
CMD_LIST *toExecute = NULL; /* Commands left to be executed */
OSVERSIONINFOW osv;
char osver[50];
srand(time(NULL));
/* Get the windows version being emulated */
osv.dwOSVersionInfoSize = sizeof(osv);
GetVersionExW(&osv);
/* Pre initialize some messages */
strcpyW(anykey, WCMD_LoadMessage(WCMD_ANYKEY));
cmd = WCMD_format_string(WCMD_LoadMessage(WCMD_VERSION), PACKAGE_VERSION);
sprintf(osver, "%d.%d.%d (%s)", osv.dwMajorVersion, osv.dwMinorVersion,
osv.dwBuildNumber, PACKAGE_VERSION);
cmd = WCMD_format_string(WCMD_LoadMessage(WCMD_VERSION), osver);
strcpyW(version_string, cmd);
LocalFree(cmd);
cmd = NULL;