[SHELL32] Move error message to rc files so can be translated (CORE-18786) (#4997)

CORE-18786
This commit is contained in:
Jose Carlos Jesus 2023-02-22 20:43:53 -04:00 committed by GitHub
parent a351943caa
commit 23cd14d78b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 80 additions and 4 deletions

View file

@ -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;

View file

@ -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 "Потвърдете изтриване на файла"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 "Επιβεβαίωση διαγραφής αρχείου"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 "וידוי מחיקת קובץ"

View file

@ -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 "फ़ाइल हटाए जाने की पुष्टि करें"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 "ファイル削除の確認"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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'?"

View file

@ -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"

View file

@ -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 "Подтверждение удаления файла"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 "Підтвердження вилучення файлу"

View file

@ -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 "确认文件删除"

View file

@ -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 "確認刪除檔案"

View file

@ -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 "確認刪除檔案"

View file

@ -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