From 16d5f457e202c9da88a7124d745006c83ce4c703 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Fri, 26 Oct 2012 13:47:52 +0200 Subject: [PATCH] cmd: Display a clearer error message for not found commands. --- po/ar.po | 5 +++++ po/bg.po | 5 +++++ po/ca.po | 5 +++++ po/cs.po | 5 +++++ po/da.po | 5 +++++ po/de.po | 5 +++++ po/el.po | 5 +++++ po/en.po | 6 ++++++ po/en_US.po | 6 ++++++ po/eo.po | 5 +++++ po/es.po | 5 +++++ po/fa.po | 5 +++++ po/fi.po | 5 +++++ po/fr.po | 5 +++++ po/he.po | 5 +++++ po/hi.po | 5 +++++ po/hu.po | 5 +++++ po/it.po | 5 +++++ po/ja.po | 5 +++++ po/ko.po | 5 +++++ po/lt.po | 5 +++++ po/ml.po | 5 +++++ po/nb_NO.po | 5 +++++ po/nl.po | 5 +++++ po/or.po | 5 +++++ po/pa.po | 5 +++++ po/pl.po | 5 +++++ po/pt_BR.po | 5 +++++ po/pt_PT.po | 5 +++++ po/rm.po | 5 +++++ po/ro.po | 5 +++++ po/ru.po | 5 +++++ po/sk.po | 5 +++++ po/sl.po | 5 +++++ po/sr_RS@cyrillic.po | 5 +++++ po/sr_RS@latin.po | 5 +++++ po/sv.po | 5 +++++ po/te.po | 5 +++++ po/th.po | 5 +++++ po/tr.po | 5 +++++ po/uk.po | 5 +++++ po/wa.po | 5 +++++ po/wine.pot | 5 +++++ po/zh_CN.po | 5 +++++ po/zh_TW.po | 5 +++++ programs/cmd/cmd.rc | 1 + programs/cmd/wcmd.h | 1 + programs/cmd/wcmdmain.c | 3 +-- 48 files changed, 230 insertions(+), 2 deletions(-) diff --git a/po/ar.po b/po/ar.po index f08b2462c8e..68a9f1e124d 100644 --- a/po/ar.po +++ b/po/ar.po @@ -9718,6 +9718,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/bg.po b/po/bg.po index 54aa767d589..39043298f8b 100644 --- a/po/bg.po +++ b/po/bg.po @@ -9856,6 +9856,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/ca.po b/po/ca.po index 5f7c51419bd..984f95f937e 100644 --- a/po/ca.po +++ b/po/ca.po @@ -10187,6 +10187,11 @@ msgstr " (Sí|No)" msgid " (Yes|No|All)" msgstr " (Sí|No|Tots)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Eina Diagnòstica de DirextX" diff --git a/po/cs.po b/po/cs.po index 6bad04be821..b4e61336ae6 100644 --- a/po/cs.po +++ b/po/cs.po @@ -10216,6 +10216,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/da.po b/po/da.po index 569bf0edb7d..5ad100f68f9 100644 --- a/po/da.po +++ b/po/da.po @@ -10101,6 +10101,11 @@ msgstr " (Ja|Nej)" msgid " (Yes|No|All)" msgstr " (Ja|Nej|Alle)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX diagnostiskværktøj" diff --git a/po/de.po b/po/de.po index 97fb4ed2545..b07dc2ad5ef 100644 --- a/po/de.po +++ b/po/de.po @@ -10150,6 +10150,11 @@ msgstr " (Ja|Nein)" msgid " (Yes|No|All)" msgstr " (Ja|Nein|Alle)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX Diagnosewerkzeug" diff --git a/po/el.po b/po/el.po index 7d1f023a865..993ca8c4ca9 100644 --- a/po/el.po +++ b/po/el.po @@ -9711,6 +9711,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/en.po b/po/en.po index ae896632c71..f80f381122d 100644 --- a/po/en.po +++ b/po/en.po @@ -10072,6 +10072,12 @@ msgstr " (Yes|No)" msgid " (Yes|No|All)" msgstr " (Yes|No|All)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" +"Can't recognise '%1' as an internal or external command, or batch script.\n" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX Diagnostic Tool" diff --git a/po/en_US.po b/po/en_US.po index 96313b69788..55811019099 100644 --- a/po/en_US.po +++ b/po/en_US.po @@ -10076,6 +10076,12 @@ msgstr " (Yes|No)" msgid " (Yes|No|All)" msgstr " (Yes|No|All)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX Diagnostic Tool" diff --git a/po/eo.po b/po/eo.po index 32a1682b3f3..ddb6f0cedbf 100644 --- a/po/eo.po +++ b/po/eo.po @@ -9575,6 +9575,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/es.po b/po/es.po index 8f8da02ea24..7904c3f0a26 100644 --- a/po/es.po +++ b/po/es.po @@ -10184,6 +10184,11 @@ msgstr " (Sí|No)" msgid " (Yes|No|All)" msgstr " (Sí|No|Todo)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Utilidad de Diagnóstico de DirectX" diff --git a/po/fa.po b/po/fa.po index b7af43ccdf2..01d3199c4ac 100644 --- a/po/fa.po +++ b/po/fa.po @@ -9719,6 +9719,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/fi.po b/po/fi.po index d870efb3c5c..1e6f51e49fd 100644 --- a/po/fi.po +++ b/po/fi.po @@ -10059,6 +10059,11 @@ msgstr " (Kyllä|Ei)" msgid " (Yes|No|All)" msgstr " (Kyllä|Ei|kAikki)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX-diagnostiikkatyökalu" diff --git a/po/fr.po b/po/fr.po index 22573b682a2..fb2aff7352b 100644 --- a/po/fr.po +++ b/po/fr.po @@ -10191,6 +10191,11 @@ msgstr " (Oui|Non)" msgid " (Yes|No|All)" msgstr " (Oui|Non|Tous)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Outil de diagnostic DirectX" diff --git a/po/he.po b/po/he.po index 6643d23eb93..83d90cd93f5 100644 --- a/po/he.po +++ b/po/he.po @@ -10152,6 +10152,11 @@ msgstr " (Yes|No)" msgid " (Yes|No|All)" msgstr " (Yes|No|All)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "כלי ניתוח ה־DirectX" diff --git a/po/hi.po b/po/hi.po index bebcf0b9093..4764c6e0155 100644 --- a/po/hi.po +++ b/po/hi.po @@ -9571,6 +9571,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/hu.po b/po/hu.po index 1cfc7452954..7dfb317d227 100644 --- a/po/hu.po +++ b/po/hu.po @@ -10103,6 +10103,11 @@ msgstr " (Igen|Nem)" msgid " (Yes|No|All)" msgstr " (Igen|Nem|Mind)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX diagnosztikai eszköz" diff --git a/po/it.po b/po/it.po index 691cded40a3..f5ac3bf82ae 100644 --- a/po/it.po +++ b/po/it.po @@ -10182,6 +10182,11 @@ msgstr " (Sì|No)" msgid " (Yes|No|All)" msgstr " (Sì|No|Tutti)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Strumento di Diagnostica DirectX" diff --git a/po/ja.po b/po/ja.po index 7c2872659f0..10cfe7df4f2 100644 --- a/po/ja.po +++ b/po/ja.po @@ -10071,6 +10071,11 @@ msgstr " (Yes|No)" msgid " (Yes|No|All)" msgstr " (Yes|No|All)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX 診断ツール" diff --git a/po/ko.po b/po/ko.po index bfc533c4681..2e68b5d3e58 100644 --- a/po/ko.po +++ b/po/ko.po @@ -10039,6 +10039,11 @@ msgstr "(예|아니오)" msgid " (Yes|No|All)" msgstr "(예|아니오|모두)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "다이렉트엑스 진단 도구" diff --git a/po/lt.po b/po/lt.po index 90491709439..085689d498c 100644 --- a/po/lt.po +++ b/po/lt.po @@ -10096,6 +10096,11 @@ msgstr " (Taip|Ne)" msgid " (Yes|No|All)" msgstr " (Taip|Ne|Visus)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX diagnostikos įrankis" diff --git a/po/ml.po b/po/ml.po index bf18f7027b3..402b9966659 100644 --- a/po/ml.po +++ b/po/ml.po @@ -9571,6 +9571,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/nb_NO.po b/po/nb_NO.po index de104b687a7..7f3b5a2cd70 100644 --- a/po/nb_NO.po +++ b/po/nb_NO.po @@ -10324,6 +10324,11 @@ msgstr " (Ja|Nei)" msgid " (Yes|No|All)" msgstr " (Ja|Nei|Alle)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/nl.po b/po/nl.po index 7a4378fc589..af43ed3e866 100644 --- a/po/nl.po +++ b/po/nl.po @@ -10240,6 +10240,11 @@ msgstr "%1? (Ja|Nee)\n" msgid " (Yes|No|All)" msgstr "%1? (Ja|Nee)\n" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Diagnostisch instrument voor DirectX" diff --git a/po/or.po b/po/or.po index e53df9a1606..e3ce18e269f 100644 --- a/po/or.po +++ b/po/or.po @@ -9571,6 +9571,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/pa.po b/po/pa.po index c4e956bc1a0..f0013f4a967 100644 --- a/po/pa.po +++ b/po/pa.po @@ -9571,6 +9571,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/pl.po b/po/pl.po index 82a43a3fcad..d1c64e109e6 100644 --- a/po/pl.po +++ b/po/pl.po @@ -10129,6 +10129,11 @@ msgstr " (Tak|Nie)" msgid " (Yes|No|All)" msgstr " (Tak|Nie|Wszystkie)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Narzędzie diagnostyki DirectX" diff --git a/po/pt_BR.po b/po/pt_BR.po index f64263e1a1a..c7508b3e863 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -10099,6 +10099,11 @@ msgstr " (Sim|Não)" msgid " (Yes|No|All)" msgstr " (Sim|Não|Tudo)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Ferramenta de Diagnóstico do DirectX" diff --git a/po/pt_PT.po b/po/pt_PT.po index 2aed9cde2fa..ad107ba0c11 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -10110,6 +10110,11 @@ msgstr " (Sim|Não)" msgid " (Yes|No|All)" msgstr " (Sim|Não|Todos)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Ferramenta de Diagnóstico do DirectX" diff --git a/po/rm.po b/po/rm.po index 98c4bcb66f1..68dedb07291 100644 --- a/po/rm.po +++ b/po/rm.po @@ -9632,6 +9632,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/ro.po b/po/ro.po index acb79bca801..a28e980789d 100644 --- a/po/ro.po +++ b/po/ro.po @@ -10306,6 +10306,11 @@ msgstr " (Da|Nu)" msgid " (Yes|No|All)" msgstr " (Da|Nu|Toate)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/ru.po b/po/ru.po index ac25189d6a7..43192767677 100644 --- a/po/ru.po +++ b/po/ru.po @@ -10062,6 +10062,11 @@ msgstr " (Y - да|N - нет)" msgid " (Yes|No|All)" msgstr " (Y - да|N - нет|A - все)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Утилита диагностики DirectX" diff --git a/po/sk.po b/po/sk.po index 9cfd0f01bff..55beb6ba9ad 100644 --- a/po/sk.po +++ b/po/sk.po @@ -9714,6 +9714,11 @@ msgstr " (Áno|Nie)" msgid " (Yes|No|All)" msgstr " (Áno|Nie|Všetky)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/sl.po b/po/sl.po index e408752b1ad..79c1b3e5f9e 100644 --- a/po/sl.po +++ b/po/sl.po @@ -10129,6 +10129,11 @@ msgstr " (Da|Ne)" msgid " (Yes|No|All)" msgstr " (Da|Ne|Vse)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Orodje za diagnostiko DirectX" diff --git a/po/sr_RS@cyrillic.po b/po/sr_RS@cyrillic.po index fa158a44c68..df75067a8d1 100644 --- a/po/sr_RS@cyrillic.po +++ b/po/sr_RS@cyrillic.po @@ -10049,6 +10049,11 @@ msgstr "%s? (Да|Не)\n" msgid " (Yes|No|All)" msgstr "%s? (Да|Не)\n" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/sr_RS@latin.po b/po/sr_RS@latin.po index ac7b09d0764..43c02b1827d 100644 --- a/po/sr_RS@latin.po +++ b/po/sr_RS@latin.po @@ -10149,6 +10149,11 @@ msgstr "%s? (Da|Ne)\n" msgid " (Yes|No|All)" msgstr "%s? (Da|Ne)\n" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/sv.po b/po/sv.po index 54aeaa4f2f6..cc69c3c980f 100644 --- a/po/sv.po +++ b/po/sv.po @@ -9978,6 +9978,11 @@ msgstr " (Ja|Nej)" msgid " (Yes|No|All)" msgstr " (Ja|Nej|Alla)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/te.po b/po/te.po index ade4fee3c82..1ab77dfdd29 100644 --- a/po/te.po +++ b/po/te.po @@ -9571,6 +9571,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/th.po b/po/th.po index e9a5e0522d4..53d051bec25 100644 --- a/po/th.po +++ b/po/th.po @@ -9736,6 +9736,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/tr.po b/po/tr.po index 2856266e03c..dd97a3bf6a8 100644 --- a/po/tr.po +++ b/po/tr.po @@ -9850,6 +9850,11 @@ msgstr " (Evet|Hayır)" msgid " (Yes|No|All)" msgstr " (Evet|Hayır|Tümü)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/uk.po b/po/uk.po index 6df6f00b924..3edb2f560fb 100644 --- a/po/uk.po +++ b/po/uk.po @@ -10112,6 +10112,11 @@ msgstr " (Так|Ні)" msgid " (Yes|No|All)" msgstr " (Так|Ні|Всі)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "Утиліта Діагностики DirectX" diff --git a/po/wa.po b/po/wa.po index eb0dfcaa93b..c028c3f84a2 100644 --- a/po/wa.po +++ b/po/wa.po @@ -9676,6 +9676,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/wine.pot b/po/wine.pot index 3d13271f0ea..107ed135065 100644 --- a/po/wine.pot +++ b/po/wine.pot @@ -9516,6 +9516,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/zh_CN.po b/po/zh_CN.po index 0cb1efaf2ee..98f452eedb4 100644 --- a/po/zh_CN.po +++ b/po/zh_CN.po @@ -9633,6 +9633,11 @@ msgstr "" msgid " (Yes|No|All)" msgstr "" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "" diff --git a/po/zh_TW.po b/po/zh_TW.po index 2a761ea1ed7..570d0eae838 100644 --- a/po/zh_TW.po +++ b/po/zh_TW.po @@ -9925,6 +9925,11 @@ msgstr " (是|否)" msgid " (Yes|No|All)" msgstr " (是|否|全部)" +#: cmd.rc:356 +msgid "" +"Can't recognize '%1' as an internal or external command, or batch script.\n" +msgstr "" + #: dxdiag.rc:27 msgid "DirectX Diagnostic Tool" msgstr "DirectX 診斷工具" diff --git a/programs/cmd/cmd.rc b/programs/cmd/cmd.rc index 6e639365a58..76f1bca8508 100644 --- a/programs/cmd/cmd.rc +++ b/programs/cmd/cmd.rc @@ -353,4 +353,5 @@ Enter HELP for further information on any of the above commands.\n" WCMD_VOLUMENOLABEL, "Volume in drive %1!c! has no label.\n" WCMD_YESNO, " (Yes|No)" WCMD_YESNOALL, " (Yes|No|All)" + WCMD_NO_COMMAND_FOUND, "Can't recognize '%1' as an internal or external command, or batch script.\n" } diff --git a/programs/cmd/wcmd.h b/programs/cmd/wcmd.h index 129b2325b6b..9922a8fbbd8 100644 --- a/programs/cmd/wcmd.h +++ b/programs/cmd/wcmd.h @@ -286,3 +286,4 @@ extern WCHAR version_string[]; #define WCMD_VOLUMENOLABEL 1037 #define WCMD_YESNO 1038 #define WCMD_YESNOALL 1039 +#define WCMD_NO_COMMAND_FOUND 1040 diff --git a/programs/cmd/wcmdmain.c b/programs/cmd/wcmdmain.c index 758892e0a52..89c1327686c 100644 --- a/programs/cmd/wcmdmain.c +++ b/programs/cmd/wcmdmain.c @@ -1230,8 +1230,7 @@ void WCMD_run_program (WCHAR *command, BOOL called) } /* Not found anywhere - give up */ - SetLastError(ERROR_FILE_NOT_FOUND); - WCMD_print_error (); + WCMD_output_stderr(WCMD_LoadMessage(WCMD_NO_COMMAND_FOUND), command); /* If a command fails to launch, it sets errorlevel 9009 - which does not seem to have any associated constant definition */