https://git.reactos.org/?p=reactos.git;a=commitdiff;h=23cd14d78bbfc8421ba78…
commit 23cd14d78bbfc8421ba7830ed71b6088e5a1e40f
Author: Jose Carlos Jesus <zecarlos1957(a)hotmail.com>
AuthorDate: Wed Feb 22 20:43:53 2023 -0400
Commit: GitHub <noreply(a)github.com>
CommitDate: Thu Feb 23 09:43:53 2023 +0900
[SHELL32] Move error message to rc files so can be translated (CORE-18786) (#4997)
CORE-18786
---
dll/win32/shell32/CNewMenu.cpp | 6 ++++--
dll/win32/shell32/lang/bg-BG.rc | 2 ++
dll/win32/shell32/lang/ca-ES.rc | 2 ++
dll/win32/shell32/lang/cs-CZ.rc | 2 ++
dll/win32/shell32/lang/da-DK.rc | 2 ++
dll/win32/shell32/lang/de-DE.rc | 2 ++
dll/win32/shell32/lang/el-GR.rc | 2 ++
dll/win32/shell32/lang/en-GB.rc | 2 ++
dll/win32/shell32/lang/en-US.rc | 2 ++
dll/win32/shell32/lang/es-ES.rc | 2 ++
dll/win32/shell32/lang/et-EE.rc | 2 ++
dll/win32/shell32/lang/eu-ES.rc | 2 ++
dll/win32/shell32/lang/fi-FI.rc | 2 ++
dll/win32/shell32/lang/fr-FR.rc | 2 ++
dll/win32/shell32/lang/he-IL.rc | 2 ++
dll/win32/shell32/lang/hi-IN.rc | 2 ++
dll/win32/shell32/lang/hu-HU.rc | 2 ++
dll/win32/shell32/lang/id-ID.rc | 2 ++
dll/win32/shell32/lang/it-IT.rc | 2 ++
dll/win32/shell32/lang/ja-JP.rc | 2 ++
dll/win32/shell32/lang/ko-KR.rc | 2 ++
dll/win32/shell32/lang/nl-NL.rc | 2 ++
dll/win32/shell32/lang/no-NO.rc | 2 ++
dll/win32/shell32/lang/pl-PL.rc | 2 ++
dll/win32/shell32/lang/pt-BR.rc | 2 ++
dll/win32/shell32/lang/pt-PT.rc | 6 ++++--
dll/win32/shell32/lang/ro-RO.rc | 2 ++
dll/win32/shell32/lang/ru-RU.rc | 2 ++
dll/win32/shell32/lang/sk-SK.rc | 2 ++
dll/win32/shell32/lang/sl-SI.rc | 2 ++
dll/win32/shell32/lang/sq-AL.rc | 2 ++
dll/win32/shell32/lang/sv-SE.rc | 2 ++
dll/win32/shell32/lang/tr-TR.rc | 2 ++
dll/win32/shell32/lang/uk-UA.rc | 2 ++
dll/win32/shell32/lang/zh-CN.rc | 2 ++
dll/win32/shell32/lang/zh-HK.rc | 2 ++
dll/win32/shell32/lang/zh-TW.rc | 2 ++
dll/win32/shell32/shresdef.h | 2 ++
38 files changed, 80 insertions(+), 4 deletions(-)
diff --git a/dll/win32/shell32/CNewMenu.cpp b/dll/win32/shell32/CNewMenu.cpp
index 87559e017f4..f3ec59cf3da 100644
--- a/dll/win32/shell32/CNewMenu.cpp
+++ b/dll/win32/shell32/CNewMenu.cpp
@@ -565,8 +565,10 @@ HRESULT CNewMenu::NewItemByNonCommand(SHELLNEW_ITEM *pItem, LPWSTR
wszName,
}
else
{
- StringCbPrintfW(wszBuf, sizeof(wszBuf), L"Cannot create file: %s",
wszName);
- MessageBoxW(NULL, wszBuf, L"Cannot create file", MB_OK | MB_ICONERROR);
// FIXME load localized error msg
+ CStringW Caption(MAKEINTRESOURCEW(IDS_CREATEFILE_CAPTION));
+ CStringW Message(MAKEINTRESOURCEW(IDS_CREATEFILE_DENIED));
+ Message.FormatMessage(Message.GetString(), wszName);
+ MessageBoxW(0, Message, Caption, MB_ICONEXCLAMATION | MB_OK);
}
return S_OK;
diff --git a/dll/win32/shell32/lang/bg-BG.rc b/dll/win32/shell32/lang/bg-BG.rc
index 889ca032828..be62be7fa57 100644
--- a/dll/win32/shell32/lang/bg-BG.rc
+++ b/dll/win32/shell32/lang/bg-BG.rc
@@ -809,6 +809,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Потвърдете изтриване на файла"
diff --git a/dll/win32/shell32/lang/ca-ES.rc b/dll/win32/shell32/lang/ca-ES.rc
index cb45cb2c1be..b96f2a33e8e 100644
--- a/dll/win32/shell32/lang/ca-ES.rc
+++ b/dll/win32/shell32/lang/ca-ES.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/cs-CZ.rc b/dll/win32/shell32/lang/cs-CZ.rc
index 585feead1c6..a5508bc23ac 100644
--- a/dll/win32/shell32/lang/cs-CZ.rc
+++ b/dll/win32/shell32/lang/cs-CZ.rc
@@ -814,6 +814,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Složku '%1' nebylo možné vytvořit"
IDS_CREATEFOLDER_CAPTION "Složku nebylo možné vytvořit"
IDS_DELETEITEM_CAPTION "Potvrdit odstranění souboru"
diff --git a/dll/win32/shell32/lang/da-DK.rc b/dll/win32/shell32/lang/da-DK.rc
index 150485e6b78..f8041238667 100644
--- a/dll/win32/shell32/lang/da-DK.rc
+++ b/dll/win32/shell32/lang/da-DK.rc
@@ -814,6 +814,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Bekræft sletning af fil"
diff --git a/dll/win32/shell32/lang/de-DE.rc b/dll/win32/shell32/lang/de-DE.rc
index cef3e293e0d..a9cccf0065f 100644
--- a/dll/win32/shell32/lang/de-DE.rc
+++ b/dll/win32/shell32/lang/de-DE.rc
@@ -809,6 +809,8 @@ BEGIN
IDS_MOVEERROR "'%s' kann nicht verschoben werden: %s"
IDS_COPYERROR "'%s' kann nicht kopiert werden: %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED " Der Ordner kann nicht erstellt werden
'%1'"
IDS_CREATEFOLDER_CAPTION " Der Ordner kann nicht erstellt werden."
IDS_DELETEITEM_CAPTION "Bestätigung: Objekt löschen"
diff --git a/dll/win32/shell32/lang/el-GR.rc b/dll/win32/shell32/lang/el-GR.rc
index e9f7631ff40..7ad21a193db 100644
--- a/dll/win32/shell32/lang/el-GR.rc
+++ b/dll/win32/shell32/lang/el-GR.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Επιβεβαίωση διαγραφής αρχείου"
diff --git a/dll/win32/shell32/lang/en-GB.rc b/dll/win32/shell32/lang/en-GB.rc
index cf7b1bcb2b4..723449a545c 100644
--- a/dll/win32/shell32/lang/en-GB.rc
+++ b/dll/win32/shell32/lang/en-GB.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/en-US.rc b/dll/win32/shell32/lang/en-US.rc
index 0370c2a3b91..6597e6198ba 100644
--- a/dll/win32/shell32/lang/en-US.rc
+++ b/dll/win32/shell32/lang/en-US.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/es-ES.rc b/dll/win32/shell32/lang/es-ES.rc
index dfbe955e01b..18ed800d0c0 100644
--- a/dll/win32/shell32/lang/es-ES.rc
+++ b/dll/win32/shell32/lang/es-ES.rc
@@ -817,6 +817,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "No se pudo crear la carpeta '%1'"
IDS_CREATEFOLDER_CAPTION "No se pudo crear la carpeta"
IDS_DELETEITEM_CAPTION "Confirmar eliminación de archivos"
diff --git a/dll/win32/shell32/lang/et-EE.rc b/dll/win32/shell32/lang/et-EE.rc
index cfab4569ab2..7e4881deeef 100644
--- a/dll/win32/shell32/lang/et-EE.rc
+++ b/dll/win32/shell32/lang/et-EE.rc
@@ -815,6 +815,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Ei saa luua kausta '%1'"
IDS_CREATEFOLDER_CAPTION "Ei saa kausta luua"
IDS_DELETEITEM_CAPTION "Kinnita faili kustutamine"
diff --git a/dll/win32/shell32/lang/eu-ES.rc b/dll/win32/shell32/lang/eu-ES.rc
index ae68e1d936f..36928e4af05 100644
--- a/dll/win32/shell32/lang/eu-ES.rc
+++ b/dll/win32/shell32/lang/eu-ES.rc
@@ -813,6 +813,8 @@ BEGIN
IDS_MOVEERRORSUBFOLDER "Ezin da lekuz aldatu '%s': La carpeta de destino
es un subdirectorio de la de origen."
IDS_COPYERRORSUBFOLDER "Ezin da kopiatu '%s': La carpeta de destino es
un subdirectorio de la de origen."
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Ezin da sortu '%1'"
IDS_CREATEFOLDER_CAPTION "Ezin da sortu karpeta"
IDS_DELETEITEM_CAPTION "Fitxategi ezabatzea baieztatu"
diff --git a/dll/win32/shell32/lang/fi-FI.rc b/dll/win32/shell32/lang/fi-FI.rc
index d2774cb54a0..6938479bb4d 100644
--- a/dll/win32/shell32/lang/fi-FI.rc
+++ b/dll/win32/shell32/lang/fi-FI.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Vahvista tiedoston tuhoaminen"
diff --git a/dll/win32/shell32/lang/fr-FR.rc b/dll/win32/shell32/lang/fr-FR.rc
index beffc7cd40f..8f0d20c740a 100644
--- a/dll/win32/shell32/lang/fr-FR.rc
+++ b/dll/win32/shell32/lang/fr-FR.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Impossible de créer le dossier '%1'"
IDS_CREATEFOLDER_CAPTION "Impossible de créer un dossier"
IDS_DELETEITEM_CAPTION "Confirmer la suppression du fichier"
diff --git a/dll/win32/shell32/lang/he-IL.rc b/dll/win32/shell32/lang/he-IL.rc
index c7dbb920ea5..6b69cd4a248 100644
--- a/dll/win32/shell32/lang/he-IL.rc
+++ b/dll/win32/shell32/lang/he-IL.rc
@@ -810,6 +810,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "וידוי מחיקת קובץ"
diff --git a/dll/win32/shell32/lang/hi-IN.rc b/dll/win32/shell32/lang/hi-IN.rc
index 3e467d0990b..10e30d44a12 100644
--- a/dll/win32/shell32/lang/hi-IN.rc
+++ b/dll/win32/shell32/lang/hi-IN.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "फ़ोल्डर '%1' बनाने में असमर्थ"
IDS_CREATEFOLDER_CAPTION "फ़ोल्डर बनाने में असमर्थ"
IDS_DELETEITEM_CAPTION "फ़ाइल हटाए जाने की पुष्टि करें"
diff --git a/dll/win32/shell32/lang/hu-HU.rc b/dll/win32/shell32/lang/hu-HU.rc
index 3d5b3a3d051..ee0b93401b7 100644
--- a/dll/win32/shell32/lang/hu-HU.rc
+++ b/dll/win32/shell32/lang/hu-HU.rc
@@ -807,6 +807,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Nem sikerült a(z) '%1' mappa
létrehozása."
IDS_CREATEFOLDER_CAPTION "Nem sikerült létrehozni a mappát"
IDS_DELETEITEM_CAPTION "Állomány törlés megerősítése"
diff --git a/dll/win32/shell32/lang/id-ID.rc b/dll/win32/shell32/lang/id-ID.rc
index f39db662892..c1a90895bf7 100644
--- a/dll/win32/shell32/lang/id-ID.rc
+++ b/dll/win32/shell32/lang/id-ID.rc
@@ -805,6 +805,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Tidak bisa membuat folder folder '%1'"
IDS_CREATEFOLDER_CAPTION "Tidak bisa membuat folder"
IDS_DELETEITEM_CAPTION "Konfirmasi Penghapusan Berkas"
diff --git a/dll/win32/shell32/lang/it-IT.rc b/dll/win32/shell32/lang/it-IT.rc
index b84dd2aa607..4fd5b36705f 100644
--- a/dll/win32/shell32/lang/it-IT.rc
+++ b/dll/win32/shell32/lang/it-IT.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confermare la cancellazione del file"
diff --git a/dll/win32/shell32/lang/ja-JP.rc b/dll/win32/shell32/lang/ja-JP.rc
index 3bf8ede3010..b4cb4538eff 100644
--- a/dll/win32/shell32/lang/ja-JP.rc
+++ b/dll/win32/shell32/lang/ja-JP.rc
@@ -805,6 +805,8 @@ BEGIN
IDS_MOVEERROR "移動できません '%s': %s"
IDS_COPYERROR "コピーできません '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "フォルダ '%1' を作成できません"
IDS_CREATEFOLDER_CAPTION "フォルダを作成できません"
IDS_DELETEITEM_CAPTION "ファイル削除の確認"
diff --git a/dll/win32/shell32/lang/ko-KR.rc b/dll/win32/shell32/lang/ko-KR.rc
index c2ac56c7fdc..39fcd10f167 100644
--- a/dll/win32/shell32/lang/ko-KR.rc
+++ b/dll/win32/shell32/lang/ko-KR.rc
@@ -815,6 +815,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/nl-NL.rc b/dll/win32/shell32/lang/nl-NL.rc
index d9317f6817d..03533b2dd17 100644
--- a/dll/win32/shell32/lang/nl-NL.rc
+++ b/dll/win32/shell32/lang/nl-NL.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/no-NO.rc b/dll/win32/shell32/lang/no-NO.rc
index 2b389f122bc..54708e59847 100644
--- a/dll/win32/shell32/lang/no-NO.rc
+++ b/dll/win32/shell32/lang/no-NO.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Bekreft filsletting"
diff --git a/dll/win32/shell32/lang/pl-PL.rc b/dll/win32/shell32/lang/pl-PL.rc
index 3163b1d614e..73213eea15e 100644
--- a/dll/win32/shell32/lang/pl-PL.rc
+++ b/dll/win32/shell32/lang/pl-PL.rc
@@ -814,6 +814,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Nie można utworzyć folderu '%1'"
IDS_CREATEFOLDER_CAPTION "Nie można utworzyć folderu"
IDS_DELETEITEM_CAPTION "Potwierdź usunięcie pliku"
diff --git a/dll/win32/shell32/lang/pt-BR.rc b/dll/win32/shell32/lang/pt-BR.rc
index e5f662489df..f410e8a957f 100644
--- a/dll/win32/shell32/lang/pt-BR.rc
+++ b/dll/win32/shell32/lang/pt-BR.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Não foi possível criar o ficheiro %1"
+ IDS_CREATEFILE_CAPTION "Erro ao criar o ficheiro"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirmar exclusão de arquivo"
diff --git a/dll/win32/shell32/lang/pt-PT.rc b/dll/win32/shell32/lang/pt-PT.rc
index 6da36e57473..b8eec0444b2 100644
--- a/dll/win32/shell32/lang/pt-PT.rc
+++ b/dll/win32/shell32/lang/pt-PT.rc
@@ -808,8 +808,10 @@ BEGIN
IDS_MOVEERROR "Impossivel mover '%s': %s"
IDS_COPYERROR "Impossivel copiar '%s': %s"
- IDS_CREATEFOLDER_DENIED "Impossivel criar pasta '%1'"
- IDS_CREATEFOLDER_CAPTION "Impossivel criar pasta"
+ IDS_CREATEFILE_DENIED "Não foi possível criar o ficheiro %1"
+ IDS_CREATEFILE_CAPTION "Erro ao criar o ficheiro"
+ IDS_CREATEFOLDER_DENIED "Não foi possível criar a pasta '%1'"
+ IDS_CREATEFOLDER_CAPTION "Erro ao criar pasta"
IDS_DELETEITEM_CAPTION "Confirmar exclusão do ficheiro"
IDS_DELETEFOLDER_CAPTION "Confirmar exclusão da pasta"
IDS_DELETEITEM_TEXT "Tem a certeza que deseja excluir '%1'?"
diff --git a/dll/win32/shell32/lang/ro-RO.rc b/dll/win32/shell32/lang/ro-RO.rc
index 5dd1b2527de..a329d63ae92 100644
--- a/dll/win32/shell32/lang/ro-RO.rc
+++ b/dll/win32/shell32/lang/ro-RO.rc
@@ -810,6 +810,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Nu poate fi creat un dosar cu numele „%1”"
IDS_CREATEFOLDER_CAPTION "Nu poate fi creat dosar"
IDS_DELETEITEM_CAPTION "Confirmarea ștergerii fișierului"
diff --git a/dll/win32/shell32/lang/ru-RU.rc b/dll/win32/shell32/lang/ru-RU.rc
index 7315b78d1ef..b3931478987 100644
--- a/dll/win32/shell32/lang/ru-RU.rc
+++ b/dll/win32/shell32/lang/ru-RU.rc
@@ -815,6 +815,8 @@ BEGIN
IDS_MOVEERROR "Не удаётся переместить '%s': %s"
IDS_COPYERROR "Не удаётся скопировать '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Невозможно создать папку '%1'"
IDS_CREATEFOLDER_CAPTION "Невозможно создать папку"
IDS_DELETEITEM_CAPTION "Подтверждение удаления файла"
diff --git a/dll/win32/shell32/lang/sk-SK.rc b/dll/win32/shell32/lang/sk-SK.rc
index dc275f972bc..27135d0645f 100644
--- a/dll/win32/shell32/lang/sk-SK.rc
+++ b/dll/win32/shell32/lang/sk-SK.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Potvrdenie odstránenia súboru"
diff --git a/dll/win32/shell32/lang/sl-SI.rc b/dll/win32/shell32/lang/sl-SI.rc
index 3cd81c7ecec..81a8f6375a5 100644
--- a/dll/win32/shell32/lang/sl-SI.rc
+++ b/dll/win32/shell32/lang/sl-SI.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Confirm File Deletion"
diff --git a/dll/win32/shell32/lang/sq-AL.rc b/dll/win32/shell32/lang/sq-AL.rc
index e5ec851050a..3c42675ecb9 100644
--- a/dll/win32/shell32/lang/sq-AL.rc
+++ b/dll/win32/shell32/lang/sq-AL.rc
@@ -812,6 +812,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Unable to create the folder '%1'"
IDS_CREATEFOLDER_CAPTION "Unable to create folder"
IDS_DELETEITEM_CAPTION "Konfirmo fshirjen e dokumentit"
diff --git a/dll/win32/shell32/lang/sv-SE.rc b/dll/win32/shell32/lang/sv-SE.rc
index 223fb02b50f..e4964c77566 100644
--- a/dll/win32/shell32/lang/sv-SE.rc
+++ b/dll/win32/shell32/lang/sv-SE.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Kunde inte skapa mappen '%1'"
IDS_CREATEFOLDER_CAPTION "Kunde inte skapa mapp"
IDS_DELETEITEM_CAPTION "Bekräfta borttagning av fil"
diff --git a/dll/win32/shell32/lang/tr-TR.rc b/dll/win32/shell32/lang/tr-TR.rc
index 0abbb8380c6..3c6a1d8c3c2 100644
--- a/dll/win32/shell32/lang/tr-TR.rc
+++ b/dll/win32/shell32/lang/tr-TR.rc
@@ -810,6 +810,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED """%1"" dizini
oluşturulamıyor."
IDS_CREATEFOLDER_CAPTION "Dizin Oluşturulamıyor"
IDS_DELETEITEM_CAPTION "Dosya Silmeyi Onayla"
diff --git a/dll/win32/shell32/lang/uk-UA.rc b/dll/win32/shell32/lang/uk-UA.rc
index 8fa830b900c..13ef5465f5d 100644
--- a/dll/win32/shell32/lang/uk-UA.rc
+++ b/dll/win32/shell32/lang/uk-UA.rc
@@ -808,6 +808,8 @@ BEGIN
IDS_MOVEERROR "Cannot move '%s': %s"
IDS_COPYERROR "Cannot copy '%s': %s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "Не вдалося створити папку '%1'"
IDS_CREATEFOLDER_CAPTION "Не вдалося створити папку"
IDS_DELETEITEM_CAPTION "Підтвердження вилучення файлу"
diff --git a/dll/win32/shell32/lang/zh-CN.rc b/dll/win32/shell32/lang/zh-CN.rc
index 4e0bf96736d..a8020c94bfb 100644
--- a/dll/win32/shell32/lang/zh-CN.rc
+++ b/dll/win32/shell32/lang/zh-CN.rc
@@ -816,6 +816,8 @@ BEGIN
IDS_MOVEERROR "无法移动“%s”:%s"
IDS_COPYERROR "无法复制“%s”:%s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "无法创建文件夹“%1”"
IDS_CREATEFOLDER_CAPTION "无法创建文件夹"
IDS_DELETEITEM_CAPTION "确认文件删除"
diff --git a/dll/win32/shell32/lang/zh-HK.rc b/dll/win32/shell32/lang/zh-HK.rc
index 28f0577cb10..851bbe22524 100644
--- a/dll/win32/shell32/lang/zh-HK.rc
+++ b/dll/win32/shell32/lang/zh-HK.rc
@@ -814,6 +814,8 @@ BEGIN
IDS_MOVEERROR "無法移動「%s」:%s"
IDS_COPYERROR "無法複製「%s」:%s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "無法建立資料夾「%1」"
IDS_CREATEFOLDER_CAPTION "無法建立資料夾"
IDS_DELETEITEM_CAPTION "確認刪除檔案"
diff --git a/dll/win32/shell32/lang/zh-TW.rc b/dll/win32/shell32/lang/zh-TW.rc
index 371f99222a2..8f8584eb0c0 100644
--- a/dll/win32/shell32/lang/zh-TW.rc
+++ b/dll/win32/shell32/lang/zh-TW.rc
@@ -815,6 +815,8 @@ BEGIN
IDS_MOVEERROR "無法移動「%s」:%s"
IDS_COPYERROR "無法複製「%s」:%s"
+ IDS_CREATEFILE_DENIED "Could not create file %1"
+ IDS_CREATEFILE_CAPTION "Error creating file"
IDS_CREATEFOLDER_DENIED "無法建立資料夾「%1」"
IDS_CREATEFOLDER_CAPTION "無法建立資料夾"
IDS_DELETEITEM_CAPTION "確認刪除檔案"
diff --git a/dll/win32/shell32/shresdef.h b/dll/win32/shell32/shresdef.h
index 33f7bfe3b2c..f7a72000745 100644
--- a/dll/win32/shell32/shresdef.h
+++ b/dll/win32/shell32/shresdef.h
@@ -117,6 +117,8 @@
#define IDS_DRIVE_REMOVABLE 76
#define IDS_FS_UNKNOWN 77
+#define IDS_CREATEFILE_CAPTION 126
+#define IDS_CREATEFILE_DENIED 127
#define IDS_CREATEFOLDER_DENIED 128
#define IDS_CREATEFOLDER_CAPTION 129
#define IDS_DELETEITEM_CAPTION 130