Commit 6aacb090 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

attrib: Use FormatMessageW() for better internationalization support.

parent 7eadf7bb
...@@ -7519,9 +7519,9 @@ msgid "" ...@@ -7519,9 +7519,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "تعذّر إيجاد '%s'." msgstr "تعذّر إيجاد '%s'."
#: attrib.rc:47 #: attrib.rc:47
...@@ -7994,6 +7994,11 @@ msgstr "" ...@@ -7994,6 +7994,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "تعذّر إيجاد '%s'."
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7638,9 +7638,9 @@ msgid "" ...@@ -7638,9 +7638,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Файлът не е намерен" msgstr "Файлът не е намерен"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8112,6 +8112,11 @@ msgstr "" ...@@ -8112,6 +8112,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Файлът не е намерен"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7711,8 +7711,9 @@ msgstr "" ...@@ -7711,8 +7711,9 @@ msgstr ""
"Encara no Implementat\n" "Encara no Implementat\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s: Fitxer No Trobat\n" msgstr "%s: Fitxer No Trobat\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8411,6 +8412,10 @@ msgstr "Falta la paràmetre\n" ...@@ -8411,6 +8412,10 @@ msgstr "Falta la paràmetre\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Error de sintaxi\n" msgstr "Error de sintaxi\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: Fitxer No Trobat\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Cap ajuda disponible per %s\n" msgstr "Cap ajuda disponible per %s\n"
......
...@@ -7845,9 +7845,10 @@ msgid "" ...@@ -7845,9 +7845,10 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgstr "" msgid "%1: File Not Found\n"
msgstr "Soubor nebyl nalezen"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8491,6 +8492,10 @@ msgstr "" ...@@ -8491,6 +8492,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7902,8 +7902,9 @@ msgstr "" ...@@ -7902,8 +7902,9 @@ msgstr ""
"Ikke implementeret endnu\n" "Ikke implementeret endnu\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Filen ikke fundet\n" msgstr "%s : Filen ikke fundet\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8535,6 +8536,10 @@ msgstr "Argument mangler\n" ...@@ -8535,6 +8536,10 @@ msgstr "Argument mangler\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntaks fejl\n" msgstr "Syntaks fejl\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Filen ikke fundet\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Ingen hjælp tilgængelig for %s\n" msgstr "Ingen hjælp tilgængelig for %s\n"
......
...@@ -7724,8 +7724,9 @@ msgstr "" ...@@ -7724,8 +7724,9 @@ msgstr ""
"Noch nicht implementiert\n" "Noch nicht implementiert\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Datei nicht gefunden\n" msgstr "%s : Datei nicht gefunden\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8439,6 +8440,10 @@ msgstr "Argument fehlt\n" ...@@ -8439,6 +8440,10 @@ msgstr "Argument fehlt\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntaxfehler\n" msgstr "Syntaxfehler\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Datei nicht gefunden\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Hilfe für %s ist nicht verfügbar\n" msgstr "Hilfe für %s ist nicht verfügbar\n"
......
...@@ -7544,9 +7544,9 @@ msgid "" ...@@ -7544,9 +7544,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Το αρχείο δε βρέθηκε" msgstr "Το αρχείο δε βρέθηκε"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8018,6 +8018,11 @@ msgstr "" ...@@ -8018,6 +8018,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Το αρχείο δε βρέθηκε"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7574,9 +7574,9 @@ msgstr "" ...@@ -7574,9 +7574,9 @@ msgstr ""
"Not Yet Implemented\n" "Not Yet Implemented\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "%s: File Not Found\n" msgstr "%1: File Not Found\n"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8210,6 +8210,10 @@ msgstr "Argument missing\n" ...@@ -8210,6 +8210,10 @@ msgstr "Argument missing\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntax error\n" msgstr "Syntax error\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: File Not Found\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "No help available for %s\n" msgstr "No help available for %s\n"
......
...@@ -7672,9 +7672,9 @@ msgstr "" ...@@ -7672,9 +7672,9 @@ msgstr ""
"Not Yet Implemented\n" "Not Yet Implemented\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "%s: File Not Found\n" msgstr "%1: File Not Found\n"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8352,6 +8352,10 @@ msgstr "Argument missing\n" ...@@ -8352,6 +8352,10 @@ msgstr "Argument missing\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntax error\n" msgstr "Syntax error\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: File Not Found\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "No help available for %s\n" msgstr "No help available for %s\n"
......
...@@ -7640,9 +7640,9 @@ msgid "" ...@@ -7640,9 +7640,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Dosiero ne estis trovita" msgstr "Dosiero ne estis trovita"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8120,6 +8120,11 @@ msgstr "" ...@@ -8120,6 +8120,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Dosiero ne estis trovita"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -8063,8 +8063,9 @@ msgstr "" ...@@ -8063,8 +8063,9 @@ msgstr ""
"No implementado\n" "No implementado\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Archivo no encontrado\n" msgstr "%s : Archivo no encontrado\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8729,6 +8730,10 @@ msgstr "Argumento faltante\n" ...@@ -8729,6 +8730,10 @@ msgstr "Argumento faltante\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Error de sintaxis\n" msgstr "Error de sintaxis\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Archivo no encontrado\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "No hay ayuda disponible para %s\n" msgstr "No hay ayuda disponible para %s\n"
......
...@@ -7521,9 +7521,9 @@ msgid "" ...@@ -7521,9 +7521,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "'%s' پیدا نشد." msgstr "'%s' پیدا نشد."
#: attrib.rc:47 #: attrib.rc:47
...@@ -7996,6 +7996,11 @@ msgstr "" ...@@ -7996,6 +7996,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "'%s' پیدا نشد."
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7743,9 +7743,9 @@ msgid "" ...@@ -7743,9 +7743,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Tiedostoa ei löydy" msgstr "Tiedostoa ei löydy"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8223,6 +8223,11 @@ msgstr "" ...@@ -8223,6 +8223,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Tiedostoa ei löydy"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7733,8 +7733,9 @@ msgstr "" ...@@ -7733,8 +7733,9 @@ msgstr ""
"Pas encore implémenté\n" "Pas encore implémenté\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : fichier non trouvé\n" msgstr "%s : fichier non trouvé\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8449,6 +8450,10 @@ msgstr "Argument manquant\n" ...@@ -8449,6 +8450,10 @@ msgstr "Argument manquant\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Erreur de syntaxe\n" msgstr "Erreur de syntaxe\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : fichier non trouvé\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Pas d'aide disponible pour %s\n" msgstr "Pas d'aide disponible pour %s\n"
......
...@@ -7777,8 +7777,9 @@ msgstr "" ...@@ -7777,8 +7777,9 @@ msgstr ""
"Not Yet Implemented\n" "Not Yet Implemented\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s: File Not Found\n" msgstr "%s: File Not Found\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8422,6 +8423,10 @@ msgstr "Argument missing\n" ...@@ -8422,6 +8423,10 @@ msgstr "Argument missing\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntax error\n" msgstr "Syntax error\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: File Not Found\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "No help available for %s\n" msgstr "No help available for %s\n"
......
...@@ -7431,8 +7431,8 @@ msgid "" ...@@ -7431,8 +7431,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7905,6 +7905,10 @@ msgstr "" ...@@ -7905,6 +7905,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7939,9 +7939,9 @@ msgid "" ...@@ -7939,9 +7939,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Fájl nem található" msgstr "Fájl nem található"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8419,6 +8419,11 @@ msgstr "" ...@@ -8419,6 +8419,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Fájl nem található"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7700,8 +7700,9 @@ msgstr "" ...@@ -7700,8 +7700,9 @@ msgstr ""
"Non ancora implementato\n" "Non ancora implementato\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : File non trovato\n" msgstr "%s : File non trovato\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8403,6 +8404,10 @@ msgstr "Manca un parametro\n" ...@@ -8403,6 +8404,10 @@ msgstr "Manca un parametro\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Errore di sintassi\n" msgstr "Errore di sintassi\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : File non trovato\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Nessun aiuto disponibile per %s\n" msgstr "Nessun aiuto disponibile per %s\n"
......
...@@ -7647,8 +7647,9 @@ msgstr "" ...@@ -7647,8 +7647,9 @@ msgstr ""
"まだ実装されていません\n" "まだ実装されていません\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s: ファイルが見つかりません\n" msgstr "%s: ファイルが見つかりません\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8336,6 +8337,10 @@ msgstr "引数がありません\n" ...@@ -8336,6 +8337,10 @@ msgstr "引数がありません\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "構文エラー\n" msgstr "構文エラー\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: ファイルが見つかりません\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "%s に対するヘルプはありません\n" msgstr "%s に対するヘルプはありません\n"
......
...@@ -7640,8 +7640,9 @@ msgstr "" ...@@ -7640,8 +7640,9 @@ msgstr ""
"아직 구현되지 않았습니다\n" "아직 구현되지 않았습니다\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s :파일을 찾을 수 없습니다\n" msgstr "%s :파일을 찾을 수 없습니다\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8319,6 +8320,10 @@ msgstr "인수가 없습니다\n" ...@@ -8319,6 +8320,10 @@ msgstr "인수가 없습니다\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "문법 오류\n" msgstr "문법 오류\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s :파일을 찾을 수 없습니다\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "%s를 위한 어떠한 도움말도 찾을 수 없습니다\n" msgstr "%s를 위한 어떠한 도움말도 찾을 수 없습니다\n"
......
...@@ -7686,8 +7686,9 @@ msgstr "" ...@@ -7686,8 +7686,9 @@ msgstr ""
"Dar nerealizuota\n" "Dar nerealizuota\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s: failas nerastas\n" msgstr "%s: failas nerastas\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8364,6 +8365,10 @@ msgstr "Trūksta argumento\n" ...@@ -8364,6 +8365,10 @@ msgstr "Trūksta argumento\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Sintaksės klaida\n" msgstr "Sintaksės klaida\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s: failas nerastas\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Nėra informacijos apie %s\n" msgstr "Nėra informacijos apie %s\n"
......
...@@ -7431,8 +7431,8 @@ msgid "" ...@@ -7431,8 +7431,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7905,6 +7905,10 @@ msgstr "" ...@@ -7905,6 +7905,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7953,9 +7953,10 @@ msgid "" ...@@ -7953,9 +7953,10 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgstr "" msgid "%1: File Not Found\n"
msgstr "Fant ikke filen\n"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8606,6 +8607,10 @@ msgstr "" ...@@ -8606,6 +8607,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7811,8 +7811,9 @@ msgstr "" ...@@ -7811,8 +7811,9 @@ msgstr ""
"Nog niet geïmplementeerd\n" "Nog niet geïmplementeerd\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Bestand Niet Gevonden\n" msgstr "%s : Bestand Niet Gevonden\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8465,6 +8466,10 @@ msgstr "Argument ontbreekt\n" ...@@ -8465,6 +8466,10 @@ msgstr "Argument ontbreekt\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Fout in de syntax\n" msgstr "Fout in de syntax\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Bestand Niet Gevonden\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Geen help beschikbaar voor %s\n" msgstr "Geen help beschikbaar voor %s\n"
......
...@@ -7431,8 +7431,8 @@ msgid "" ...@@ -7431,8 +7431,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7905,6 +7905,10 @@ msgstr "" ...@@ -7905,6 +7905,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7431,8 +7431,8 @@ msgid "" ...@@ -7431,8 +7431,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7905,6 +7905,10 @@ msgstr "" ...@@ -7905,6 +7905,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7695,8 +7695,9 @@ msgstr "" ...@@ -7695,8 +7695,9 @@ msgstr ""
"Jeszcze niezaimplementowane\n" "Jeszcze niezaimplementowane\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Plik nie znaleziony\n" msgstr "%s : Plik nie znaleziony\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8338,6 +8339,10 @@ msgstr "Brakuje argumentu\n" ...@@ -8338,6 +8339,10 @@ msgstr "Brakuje argumentu\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Błąd składni\n" msgstr "Błąd składni\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Plik nie znaleziony\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Plik pomocy nie istnieje dla %s\n" msgstr "Plik pomocy nie istnieje dla %s\n"
......
...@@ -7980,8 +7980,9 @@ msgstr "" ...@@ -7980,8 +7980,9 @@ msgstr ""
"Ainda não implementado\n" "Ainda não implementado\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Arquivo Não Encontrado\n" msgstr "%s : Arquivo Não Encontrado\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8633,6 +8634,10 @@ msgstr "Faltando argumento\n" ...@@ -8633,6 +8634,10 @@ msgstr "Faltando argumento\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Erro de sintaxe\n" msgstr "Erro de sintaxe\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Arquivo Não Encontrado\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Sem ajuda disponível para %s\n" msgstr "Sem ajuda disponível para %s\n"
......
...@@ -7987,9 +7987,10 @@ msgid "" ...@@ -7987,9 +7987,10 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgstr "" msgid "%1: File Not Found\n"
msgstr "Ficheiro não encontrado\n"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8646,6 +8647,10 @@ msgstr "" ...@@ -8646,6 +8647,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7464,8 +7464,8 @@ msgid "" ...@@ -7464,8 +7464,8 @@ msgid ""
"\n" "\n"
msgstr "Na implementa" msgstr "Na implementa"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7939,6 +7939,10 @@ msgstr "" ...@@ -7939,6 +7939,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -8229,8 +8229,9 @@ msgstr "" ...@@ -8229,8 +8229,9 @@ msgstr ""
"Încă neimplementat\n" "Încă neimplementat\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : fișier negăsit\n" msgstr "%s : fișier negăsit\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8865,6 +8866,10 @@ msgstr "Argument lipsă\n" ...@@ -8865,6 +8866,10 @@ msgstr "Argument lipsă\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Eroare de sintaxă\n" msgstr "Eroare de sintaxă\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : fișier negăsit\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Nu există ajutor pentru %s\n" msgstr "Nu există ajutor pentru %s\n"
......
...@@ -7665,8 +7665,9 @@ msgstr "" ...@@ -7665,8 +7665,9 @@ msgstr ""
"Ещё не выполнено\n" "Ещё не выполнено\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Файл не найден\n" msgstr "%s : Файл не найден\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8352,6 +8353,10 @@ msgstr "Отсутствует аргумент\n" ...@@ -8352,6 +8353,10 @@ msgstr "Отсутствует аргумент\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Синтаксическая ошибка\n" msgstr "Синтаксическая ошибка\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Файл не найден\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Справка для %s отсутствует\n" msgstr "Справка для %s отсутствует\n"
......
...@@ -7549,9 +7549,9 @@ msgid "" ...@@ -7549,9 +7549,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Súbor nenájdený" msgstr "Súbor nenájdený"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8024,6 +8024,11 @@ msgstr "" ...@@ -8024,6 +8024,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Súbor nenájdený"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7710,9 +7710,9 @@ msgstr "" ...@@ -7710,9 +7710,9 @@ msgstr ""
"Ni še podprto\n" "Ni še podprto\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "%s : datoteke ni mogoče najti\n" msgstr "%s : datoteke ni mogoče najti\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8363,6 +8363,11 @@ msgstr "Argument manjka\n" ...@@ -8363,6 +8363,11 @@ msgstr "Argument manjka\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Skladenjska napaka\n" msgstr "Skladenjska napaka\n"
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "%s : datoteke ni mogoče najti\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Za ukaz %s pomoč ni na voljo\n" msgstr "Za ukaz %s pomoč ni na voljo\n"
......
...@@ -7828,9 +7828,9 @@ msgid "" ...@@ -7828,9 +7828,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Датотека није пронађена" msgstr "Датотека није пронађена"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8303,6 +8303,11 @@ msgstr "" ...@@ -8303,6 +8303,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Датотека није пронађена"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7876,9 +7876,9 @@ msgid "" ...@@ -7876,9 +7876,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "Datoteka nije pronađena" msgstr "Datoteka nije pronađena"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8351,6 +8351,11 @@ msgstr "" ...@@ -8351,6 +8351,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "Datoteka nije pronađena"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7682,8 +7682,9 @@ msgstr "" ...@@ -7682,8 +7682,9 @@ msgstr ""
"Ännu ej implementerat\n" "Ännu ej implementerat\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : kunde inte hitta filen\n" msgstr "%s : kunde inte hitta filen\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8326,6 +8327,10 @@ msgstr "Argument saknas\n" ...@@ -8326,6 +8327,10 @@ msgstr "Argument saknas\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Syntaxfel\n" msgstr "Syntaxfel\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : kunde inte hitta filen\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Ingen hjälp tillgänglig för %s\n" msgstr "Ingen hjälp tillgänglig för %s\n"
......
...@@ -7431,8 +7431,8 @@ msgid "" ...@@ -7431,8 +7431,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7905,6 +7905,10 @@ msgstr "" ...@@ -7905,6 +7905,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7534,9 +7534,9 @@ msgid "" ...@@ -7534,9 +7534,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "ไม่พบแฟ้ม" msgstr "ไม่พบแฟ้ม"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8014,6 +8014,11 @@ msgstr "" ...@@ -8014,6 +8014,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "ไม่พบแฟ้ม"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7960,9 +7960,10 @@ msgid "" ...@@ -7960,9 +7960,10 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgstr "" msgid "%1: File Not Found\n"
msgstr "Dosya bulunamadı"
#: attrib.rc:47 #: attrib.rc:47
msgid "" msgid ""
...@@ -8609,6 +8610,10 @@ msgstr "" ...@@ -8609,6 +8610,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7683,8 +7683,9 @@ msgstr "" ...@@ -7683,8 +7683,9 @@ msgstr ""
"Ще не реалізовано\n" "Ще не реалізовано\n"
"\n" "\n"
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" #, fuzzy
msgid "%1: File Not Found\n"
msgstr "%s : Файл не знайдено\n" msgstr "%s : Файл не знайдено\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8320,6 +8321,10 @@ msgstr "Відсутній аргумент\n" ...@@ -8320,6 +8321,10 @@ msgstr "Відсутній аргумент\n"
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "Синтаксична помилка\n" msgstr "Синтаксична помилка\n"
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr "%s : Файл не знайдено\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "Немає довідки для %s\n" msgstr "Немає довідки для %s\n"
......
...@@ -7493,9 +7493,9 @@ msgid "" ...@@ -7493,9 +7493,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "'%s' pout nén esse trové." msgstr "'%s' pout nén esse trové."
#: attrib.rc:47 #: attrib.rc:47
...@@ -7973,6 +7973,11 @@ msgstr "" ...@@ -7973,6 +7973,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "'%s' pout nén esse trové."
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7408,8 +7408,8 @@ msgid "" ...@@ -7408,8 +7408,8 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "" msgstr ""
#: attrib.rc:47 #: attrib.rc:47
...@@ -7881,6 +7881,10 @@ msgstr "" ...@@ -7881,6 +7881,10 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
msgid "%s: File Not Found\n"
msgstr ""
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7778,9 +7778,9 @@ msgid "" ...@@ -7778,9 +7778,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "找不到文件\n" msgstr "找不到文件\n"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8258,6 +8258,11 @@ msgstr "" ...@@ -8258,6 +8258,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "找不到文件\n"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -7819,9 +7819,9 @@ msgid "" ...@@ -7819,9 +7819,9 @@ msgid ""
"\n" "\n"
msgstr "" msgstr ""
#: attrib.rc:28 cmd.rc:302 #: attrib.rc:28
#, fuzzy #, fuzzy
msgid "%s: File Not Found\n" msgid "%1: File Not Found\n"
msgstr "找不到檔案" msgstr "找不到檔案"
#: attrib.rc:47 #: attrib.rc:47
...@@ -8299,6 +8299,11 @@ msgstr "" ...@@ -8299,6 +8299,11 @@ msgstr ""
msgid "Syntax error\n" msgid "Syntax error\n"
msgstr "" msgstr ""
#: cmd.rc:302
#, fuzzy
msgid "%s: File Not Found\n"
msgstr "找不到檔案"
#: cmd.rc:303 #: cmd.rc:303
msgid "No help available for %s\n" msgid "No help available for %s\n"
msgstr "" msgstr ""
......
...@@ -45,7 +45,7 @@ static WCHAR *ATTRIB_LoadMessage(UINT id) { ...@@ -45,7 +45,7 @@ static WCHAR *ATTRIB_LoadMessage(UINT id) {
* and hence required WriteConsoleW to output it, however if file i/o is * and hence required WriteConsoleW to output it, however if file i/o is
* redirected, it needs to be WriteFile'd using OEM (not ANSI) format * redirected, it needs to be WriteFile'd using OEM (not ANSI) format
* ========================================================================= */ * ========================================================================= */
static int ATTRIB_wprintf(const WCHAR *format, ...) { static int __cdecl ATTRIB_wprintf(const WCHAR *format, ...) {
static WCHAR *output_bufW = NULL; static WCHAR *output_bufW = NULL;
static char *output_bufA = NULL; static char *output_bufA = NULL;
...@@ -53,7 +53,7 @@ static int ATTRIB_wprintf(const WCHAR *format, ...) { ...@@ -53,7 +53,7 @@ static int ATTRIB_wprintf(const WCHAR *format, ...) {
static BOOL traceOutput = FALSE; static BOOL traceOutput = FALSE;
#define MAX_WRITECONSOLE_SIZE 65535 #define MAX_WRITECONSOLE_SIZE 65535
va_list parms; __ms_va_list parms;
DWORD nOut; DWORD nOut;
int len; int len;
DWORD res = 0; DWORD res = 0;
...@@ -71,11 +71,13 @@ static int ATTRIB_wprintf(const WCHAR *format, ...) { ...@@ -71,11 +71,13 @@ static int ATTRIB_wprintf(const WCHAR *format, ...) {
return 0; return 0;
} }
va_start(parms, format); __ms_va_start(parms, format);
len = vsnprintfW(output_bufW, MAX_WRITECONSOLE_SIZE/sizeof(WCHAR), format, parms); SetLastError(NO_ERROR);
va_end(parms); len = FormatMessageW(FORMAT_MESSAGE_FROM_STRING, format, 0, 0, output_bufW,
if (len < 0) { MAX_WRITECONSOLE_SIZE/sizeof(*output_bufW), &parms);
WINE_FIXME("String too long.\n"); __ms_va_end(parms);
if (len == 0 && GetLastError() != NO_ERROR) {
WINE_FIXME("Could not format string: le=%u, fmt=%s\n", GetLastError(), wine_dbgstr_w(format));
return 0; return 0;
} }
...@@ -178,7 +180,7 @@ int wmain(int argc, WCHAR *argv[]) ...@@ -178,7 +180,7 @@ int wmain(int argc, WCHAR *argv[])
fd.dwFileAttributes |= FILE_ATTRIBUTE_NORMAL; fd.dwFileAttributes |= FILE_ATTRIBUTE_NORMAL;
SetFileAttributesW(name, fd.dwFileAttributes); SetFileAttributesW(name, fd.dwFileAttributes);
} else { } else {
static const WCHAR fmt[] = {'%','s',' ',' ',' ','%','s','\n','\0'}; static const WCHAR fmt[] = {'%','1',' ',' ',' ','%','2','\n','\0'};
if (fd.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) { if (fd.dwFileAttributes & FILE_ATTRIBUTE_HIDDEN) {
flags[0] = 'H'; flags[0] = 'H';
} }
......
...@@ -25,7 +25,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT ...@@ -25,7 +25,7 @@ LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
STRINGTABLE STRINGTABLE
{ {
STRING_NYI, "Not Yet Implemented\n\n" STRING_NYI, "Not Yet Implemented\n\n"
STRING_FILENOTFOUND, "%s: File Not Found\n" STRING_FILENOTFOUND, "%1: File Not Found\n"
STRING_HELP, STRING_HELP,
"ATTRIB - Displays or changes file attributes.\n\ "ATTRIB - Displays or changes file attributes.\n\
\n\ \n\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment