[PATCH] cmd: Match the Windows ver output.
Some programs parse this string to get the Windows version! Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> --- cmd seems to use the same string for "cmd /c ver" and the first line of "cmd /?". On Windows 10 neither string is translated in the locales I checked (French, Japanese, Chinese, Hebrew). That does not prove it's never translated but it does look like it isn't. So maybe that justifies moving the string out of the resource file so it does not appear in the PO files. If so I can resubmit a modified version. programs/cmd/cmd.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/cmd/cmd.rc b/programs/cmd/cmd.rc index fa604a6db56..04401dc4886 100644 --- a/programs/cmd/cmd.rc +++ b/programs/cmd/cmd.rc @@ -393,7 +393,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,"Microsoft Windows %1!S!\n" + WCMD_VERSION,"Microsoft Windows [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" -- 2.20.1
Hello, Do you have any program name in mind that does that parsing? Regards, Hermès Bélusca -----Original Message----- From: wine-devel <wine-devel-bounces(a)winehq.org> On Behalf Of Francois Gouget Sent: 27. siječnja 2021. 21:38 To: Wine Devel <wine-devel(a)winehq.org> Subject: [PATCH] cmd: Match the Windows ver output. Some programs parse this string to get the Windows version! Signed-off-by: Francois Gouget <fgouget(a)codeweavers.com> --- cmd seems to use the same string for "cmd /c ver" and the first line of "cmd /?". On Windows 10 neither string is translated in the locales I checked (French, Japanese, Chinese, Hebrew). That does not prove it's never translated but it does look like it isn't. So maybe that justifies moving the string out of the resource file so it does not appear in the PO files. If so I can resubmit a modified version. programs/cmd/cmd.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/cmd/cmd.rc b/programs/cmd/cmd.rc index fa604a6db56..04401dc4886 100644 --- a/programs/cmd/cmd.rc +++ b/programs/cmd/cmd.rc @@ -393,7 +393,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,"Microsoft Windows %1!S!\n" + WCMD_VERSION,"Microsoft Windows [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" -- 2.20.1
On Wed, 27 Jan 2021, Hermès BÉLUSCA-MAÏTO wrote:
Hello, Do you have any program name in mind that does that parsing?
Unfortunately all I have is a user report who did not provide the name of the application (we asked :-( ). -- Francois Gouget <fgouget(a)codeweavers.com>
participants (2)
-
Francois Gouget -
Hermès BÉLUSCA-MAÏTO