Commit Graph

34 Commits

Author SHA1 Message Date
Eric Pouech 23817bb8d9 cmd: Bail out when full path name exceeds MAX_PATH.
This mimics native behavior and prevents buffer overflows.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-25 20:50:49 +01:00
Isira Seneviratne f4d4fba14c cmd: Correct capitalization of "Windows Explorer".
Signed-off-by: Isira Seneviratne <isirasen96@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 19:28:19 +02:00
Alistair Leslie-Hughes 21ade8538d cmd: Implement builtin mklink command.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-14 20:45:44 +01:00
Alex Henrie 660021d0fc cmd: Consistently wrap lines to 75 characters.
75 characters is the maximum length of a line before gettext breaks it,
so this convention will cause each translatable string to fit snugly
into the po files. It's also about what we were doing anyway, just not
consistently.

The biggest advantage to consistent line wrapping is that translators
will no longer have to guess where they should insert line breaks.

I have rewrapped the Catalan, Czech, Danish, German, Spanish, Finnish,
French, Croatian, Hungarian, Italian, Lithuanian, Norwegian, Dutch,
Polish, Portuguese, Romanian, Russian, Slovene, Swedish, Turkish, and
Ukranian translations so as to not burden their maintainers.

The Bulgarian, Greek, Esperanto, Farsi, Hindi, Malayalam, Oriya, Punjabi,
Romansh, Slovak, Serbian, Telugu, Thai, and Walloon translations did not
need to be rewrapped.

I removed Hebrew "translations" of cmd.rc that were just copies of the
English strings, and marked cmd.rc:142 as fuzzy if the translation
mentioned wine.conf.

Single-line translations that were 80 characters long or less were not
wrapped.

The Arabic, Japanese, Korean, and Chinese translations still need to be
rewrapped.
2015-07-06 14:49:40 +09:00
Alexandre Bique 483b7ebebf cmd: Update the string of the ver command. 2013-12-12 19:21:35 +01:00
Alexandre Julliard 5756ee09f3 makefiles: Add makedep pragmas for rc files that contain translations. 2013-11-05 20:38:19 +01:00
Francois Gouget c886ad824a cmd: Standardize the references to directories in the builtin command usage messages. 2013-10-01 19:22:45 +02:00
Francois Gouget b151052be4 cmd: Mention that the % must be doubled for FOR variables in batch files.
Also standardize on the 'Usage:' prefix for usage messages.
2013-10-01 19:16:30 +02:00
Francois Gouget c1eb9cf1b6 cmd: Remove an invalid comment in the FOR a usage message.
The % must be doubled for FOR variables. The removed comment was in fact documenting an old Wine bug.
2013-07-12 18:04:22 +02:00
Ann and Jason Edmeades 95279b87e4 cmd: Add set /a support. 2012-12-21 12:00:19 +01:00
Jason Edmeades fc847f868c cmd: Change what 'ver' issues. 2012-11-28 20:14:54 +01:00
Frédéric Delanoy 16d5f457e2 cmd: Display a clearer error message for not found commands. 2012-10-26 16:42:34 +02:00
Francois Gouget e0f4d5caf9 start: Fix the command line handling. 2012-06-28 01:38:40 +02:00
Francois Gouget da7e97bbe5 start: Remove the license and the /L option. 2012-03-01 17:29:10 +01:00
Frédéric Delanoy 7e6e783cbb cmd: Add short help for START command. 2012-02-11 19:11:54 +01:00
Alexandre Julliard 3c8d8f1e95 cmd: START needs to be an internal command. 2012-02-11 16:12:01 +01:00
Francois Gouget 02b12e1117 programs: Standardize references to the <Enter> key. 2012-01-25 11:53:06 +01:00
Francois Gouget af3d368aca cmd: Fix an internationalization issue in WCMD_ask_confirm().
Don't break the strings to translate in little chunks: this makes it
hard or even impossible to translate them correctly. For instance it
must be possible to insert an unbreakable space before question marks
for French.
2012-01-23 19:42:54 +01:00
Francois Gouget 34c0b74ace cmd: A few usage message tweaks and fixes. 2012-01-23 16:07:28 +01:00
Akihiro Sagawa 8a00eb8609 cmd: Improve the message when the volume has no label. 2011-12-15 17:46:31 +01:00
Francois Gouget 8ef901fa32 cmd: Use FormatMessage() for better internationalization support.
This makes it possible to reorder the format string placeholders in message translations.
2011-12-06 18:23:49 +01:00
Frédéric Delanoy e0ec3e400d cmd: Make PAUSE accept any keypress instead of a full input line. 2011-10-08 19:47:10 +02:00
Frédéric Delanoy 1361529289 cmd: Consistently use infinitive forms in commands help summary. 2011-10-08 19:41:39 +02:00
Christian Costa 908834feef cmd: Add help info for xcopy. 2011-09-09 15:00:14 +02:00
Francois Gouget cd411b613b cmd: Fix the indentation of the IF usage message. 2011-09-07 18:13:32 +02:00
Francois Gouget 106c1f0b63 cmd: Add a trailing full stops to a couple of usage messages. 2011-09-07 11:52:01 +02:00
Christian Costa 4aa865ed76 cmd: Remove attrib from builtins list. 2011-09-07 11:35:58 +02:00
Frédéric Delanoy caa8fc041d cmd: Add help for FTYPE command. 2011-08-30 17:07:31 +02:00
Frédéric Delanoy 49073440d7 cmd: Add help for ASSOC command. 2011-08-30 16:55:35 +02:00
Frédéric Delanoy 093547e158 cmd: Add help for setlocal/endlocal commands. 2011-07-26 18:19:23 +02:00
Frédéric Delanoy 91c4632941 cmd: Avoid printing an excess newline after version is displayed on startup. 2011-07-15 17:07:39 +02:00
Francois Gouget d770f86c9a programs: In English punctuations are not preceded by a space. 2011-03-30 18:23:40 +02:00
Francois Gouget 8067f7606c cmd: Add full stops to some parameter descriptions in the usage. 2011-03-16 14:14:23 +01:00
Alexandre Julliard 6864716caa cmd: Convert translations to po files. 2011-01-04 17:16:00 +01:00