Commit 93b08c62 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

regedit: Update dialog messages related to key and value renaming.

parent ed5d1f26
......@@ -12168,13 +12168,13 @@ msgstr "خطأ : تعذر إضافة المفاتيح للجهاز البعيد\
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11789,13 +11789,13 @@ msgstr "Наистина ли искате да изтриете '%1'?"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12018,13 +12018,13 @@ msgstr "regedit: No s'ha pogut obrir la clau de registre '%1'.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11859,13 +11859,13 @@ msgstr "Chyba: Nepodařilo se přidat klíče na vzdálený stroj\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12123,13 +12123,13 @@ msgstr "Fejl: Kunne ikke tilføje nøgler til fjern maskinen\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11997,13 +11997,13 @@ msgstr "regedit: Der Schlüssel '%1' konnte nicht geöffnet werden.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11567,13 +11567,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11913,18 +11913,18 @@ msgstr "Unable to create a new registry value."
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
#: regedit.rc:217
......
......@@ -11913,18 +11913,18 @@ msgstr "Unable to create a new registry value."
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
#: regedit.rc:217
......
......@@ -11475,13 +11475,13 @@ msgstr "Ĉu vi estas certa pri forigo de '%1'?"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12202,13 +12202,13 @@ msgstr "Error: No se puede agregar claves al equipo remoto\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11565,13 +11565,13 @@ msgstr "پرونده‌های متنی (*.txt).\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11900,13 +11900,13 @@ msgstr "regedit: Rekisteriavainta '%1' ei voida avata.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12062,13 +12062,13 @@ msgstr "regedit : impossible d'ouvrir la clé de registre « %1 ».\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11943,13 +11943,13 @@ msgstr "Error: Unable to add keys to remote machine\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11360,13 +11360,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11678,13 +11678,13 @@ msgstr "Datoteka se ne može otvoriti."
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12120,13 +12120,13 @@ msgstr "Hiba: nem lehet kulcsokat hozzáadni a távoli gépnél\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12203,13 +12203,13 @@ msgstr "Errore: impossibile aggiungere chiavi alla macchina remota\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11904,13 +11904,13 @@ msgstr "regedit: レジストリ キー '%1' を開けません。\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12190,13 +12190,13 @@ msgstr "오류: 원격 머신에 키를 더하는 것은 가능하지 않습니
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11923,13 +11923,13 @@ msgstr "regedit: Nepavyko atverti registro rakto „%1“.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11360,13 +11360,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11916,13 +11916,13 @@ msgstr "regedit: Kan ikke åpne registernøkkelen \"%1\".\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12168,13 +12168,13 @@ msgstr "Fout: Sleutels konden niet toegevoegd worden aan de remote machine\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11360,13 +11360,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11360,13 +11360,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12003,13 +12003,13 @@ msgstr "Błąd: Błąd dostępu do zdalnej maszyny\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11980,13 +11980,13 @@ msgstr "regedit: Não foi possível abrir a chave de registro '%1'.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11998,13 +11998,13 @@ msgstr "Erro: Incapaz de adicionar chaves à máquina remota\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11450,13 +11450,13 @@ msgstr "Tuot las datotecas (*.*).\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11933,13 +11933,13 @@ msgstr "regedit: Nu s-a putut deschide cheia de registru „%1”.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11922,13 +11922,13 @@ msgstr "regedit: не удалось открыть ключ «%1».\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11644,13 +11644,13 @@ msgstr "Chyba: Nemožno ukončiť proces \"%1\".\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12144,13 +12144,13 @@ msgstr "Napaka: ni mogoče dodati ključa na oddaljen računalnik\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12054,13 +12054,13 @@ msgstr "Желите ли да избришете „%1“?"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12205,13 +12205,13 @@ msgstr "Želite li da izbrišete „%1“?"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11817,13 +11817,13 @@ msgstr "reg: Kan inte få tillgång till fjärrmaskin\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11360,13 +11360,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11605,13 +11605,13 @@ msgstr "แฟ้มตํารา (*.txt).\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11932,13 +11932,13 @@ msgstr "regedit: '%1' kayıt anahtarı açılamıyor.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12009,13 +12009,13 @@ msgstr "regedit: Неможливо відкрити ключ '%1'.\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11513,13 +11513,13 @@ msgstr "Fitchîs tekse (*.txt).\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11295,13 +11295,13 @@ msgstr ""
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -11709,13 +11709,13 @@ msgstr "regedit: 无法打开注册表键 '%1'。\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -12075,13 +12075,13 @@ msgstr "錯誤:無法加入索引鍵到遠端機器\n"
#: regedit.rc:215
msgid ""
"Unable to rename the selected key.\n"
"Unable to rename the key '%1'.\n"
"The specified key name already exists."
msgstr ""
#: regedit.rc:216
msgid ""
"Unable to rename the selected value.\n"
"Unable to rename the value '%1'.\n"
"The specified value name already exists."
msgstr ""
......
......@@ -493,7 +493,10 @@ BOOL RenameValue(HWND hwnd, HKEY hKeyRoot, LPCWSTR keyPath, LPCWSTR oldName, LPC
return FALSE;
}
/* check if value already exists */
if (check_value(hwnd, hKey, newName)) goto done;
if (check_value(hwnd, hKey, newName)) {
error_code_messagebox(hwnd, IDS_VALUE_EXISTS, oldName);
goto done;
}
value = read_value(hwnd, hKey, oldName, &type, &len);
if(!value) goto done;
lRet = RegSetValueExW(hKey, newName, 0, type, (BYTE*)value, len);
......@@ -554,7 +557,7 @@ BOOL RenameKey(HWND hwnd, HKEY hRootKey, LPCWSTR keyPath, LPCWSTR newName)
if (disposition == REG_OPENED_EXISTING_KEY)
lRet = ERROR_FILE_EXISTS;
if (lRet != ERROR_SUCCESS) {
error_code_messagebox(hwnd, IDS_KEY_EXISTS);
error_code_messagebox(hwnd, IDS_KEY_EXISTS, srcSubKey);
goto done;
}
......
......@@ -211,8 +211,8 @@ BEGIN
IDS_SET_VALUE_FAILED "Unable to modify the selected registry value."
IDS_CREATE_KEY_FAILED "Unable to create a new registry key."
IDS_CREATE_VALUE_FAILED "Unable to create a new registry value."
IDS_KEY_EXISTS "Unable to rename the selected key.\nThe specified key name already exists."
IDS_VALUE_EXISTS "Unable to rename the selected value.\nThe specified value name already exists."
IDS_KEY_EXISTS "Unable to rename the key '%1'.\nThe specified key name already exists."
IDS_VALUE_EXISTS "Unable to rename the value '%1'.\nThe specified value name already exists."
IDS_DELETE_KEY_FAILED "Unable to delete the selected registry key."
IDS_RENAME_KEY_FAILED "Unable to rename the selected registry key."
IDS_RENAME_VALUE_FAILED "Unable to rename the selected registry value."
......
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