Index: base/applications/regedit/lang/bg-BG.rc =================================================================== --- base/applications/regedit/lang/bg-BG.rc (revision 55484) +++ base/applications/regedit/lang/bg-BG.rc (working copy) @@ -446,7 +446,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Да бъдат ли добавени данните в регистъра?" - IDS_IMPORTED_OK "Сведенията са добавени в регистъра" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/cs-CZ.rc =================================================================== --- base/applications/regedit/lang/cs-CZ.rc (revision 55484) +++ base/applications/regedit/lang/cs-CZ.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Přidat data do registru?" - IDS_IMPORTED_OK "Data přidána do registru." + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/de-DE.rc =================================================================== --- base/applications/regedit/lang/de-DE.rc (revision 55484) +++ base/applications/regedit/lang/de-DE.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/el-GR.rc =================================================================== --- base/applications/regedit/lang/el-GR.rc (revision 55484) +++ base/applications/regedit/lang/el-GR.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/en-US.rc =================================================================== --- base/applications/regedit/lang/en-US.rc (revision 55484) +++ base/applications/regedit/lang/en-US.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/es-ES.rc =================================================================== --- base/applications/regedit/lang/es-ES.rc (revision 55484) +++ base/applications/regedit/lang/es-ES.rc (working copy) @@ -434,7 +434,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Agregar los datos al registro?" - IDS_IMPORTED_OK "La información ha sido agregada al registro" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/fr-FR.rc =================================================================== --- base/applications/regedit/lang/fr-FR.rc (revision 55484) +++ base/applications/regedit/lang/fr-FR.rc (working copy) @@ -434,7 +434,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/hu-HU.rc =================================================================== --- base/applications/regedit/lang/hu-HU.rc (revision 55484) +++ base/applications/regedit/lang/hu-HU.rc (working copy) @@ -432,7 +432,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/id-ID.rc =================================================================== --- base/applications/regedit/lang/id-ID.rc (revision 55484) +++ base/applications/regedit/lang/id-ID.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/it-IT.rc =================================================================== --- base/applications/regedit/lang/it-IT.rc (revision 55484) +++ base/applications/regedit/lang/it-IT.rc (working copy) @@ -434,7 +434,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Aggiungere l'informazione al registro?" - IDS_IMPORTED_OK "L'informazione è stata aggiunta al registro" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/ja-JP.rc =================================================================== --- base/applications/regedit/lang/ja-JP.rc (revision 55484) +++ base/applications/regedit/lang/ja-JP.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/ko-KR.rc =================================================================== --- base/applications/regedit/lang/ko-KR.rc (revision 55484) +++ base/applications/regedit/lang/ko-KR.rc (working copy) @@ -416,7 +416,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/nl-NL.rc =================================================================== --- base/applications/regedit/lang/nl-NL.rc (revision 55484) +++ base/applications/regedit/lang/nl-NL.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/no-NO.rc =================================================================== --- base/applications/regedit/lang/no-NO.rc (revision 55484) +++ base/applications/regedit/lang/no-NO.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/pl-PL.rc =================================================================== --- base/applications/regedit/lang/pl-PL.rc (revision 55484) +++ base/applications/regedit/lang/pl-PL.rc (working copy) @@ -438,7 +438,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Czy dodać dane do rejestru?" - IDS_IMPORTED_OK "Dane dopisane do rejestru" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/pt-BR.rc =================================================================== --- base/applications/regedit/lang/pt-BR.rc (revision 55484) +++ base/applications/regedit/lang/pt-BR.rc (working copy) @@ -432,7 +432,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/pt-PT.rc =================================================================== --- base/applications/regedit/lang/pt-PT.rc (revision 55484) +++ base/applications/regedit/lang/pt-PT.rc (working copy) @@ -433,7 +433,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/ro-RO.rc =================================================================== --- base/applications/regedit/lang/ro-RO.rc (revision 55484) +++ base/applications/regedit/lang/ro-RO.rc (working copy) @@ -429,7 +429,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Adăugați data în registru?" - IDS_IMPORTED_OK "Informația adăugată în registru" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/ru-RU.rc =================================================================== --- base/applications/regedit/lang/ru-RU.rc (revision 55484) +++ base/applications/regedit/lang/ru-RU.rc (working copy) @@ -428,7 +428,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Добавить данные в реестр?" - IDS_IMPORTED_OK "Информация добавлена в реестр" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/sk-SK.rc =================================================================== --- base/applications/regedit/lang/sk-SK.rc (revision 55484) +++ base/applications/regedit/lang/sk-SK.rc (working copy) @@ -416,7 +416,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/sl-SI.rc =================================================================== --- base/applications/regedit/lang/sl-SI.rc (revision 55484) +++ base/applications/regedit/lang/sl-SI.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/sv-SE.rc =================================================================== --- base/applications/regedit/lang/sv-SE.rc (revision 55484) +++ base/applications/regedit/lang/sv-SE.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/th-TH.rc =================================================================== --- base/applications/regedit/lang/th-TH.rc (revision 55484) +++ base/applications/regedit/lang/th-TH.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Add the data to the registry?" - IDS_IMPORTED_OK "Information added to the registry" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/uk-UA.rc =================================================================== --- base/applications/regedit/lang/uk-UA.rc (revision 55484) +++ base/applications/regedit/lang/uk-UA.rc (working copy) @@ -432,7 +432,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "Додати дані до реєстру?" - IDS_IMPORTED_OK "Інформація була додана до реєстру" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/zh-CN.rc =================================================================== --- base/applications/regedit/lang/zh-CN.rc (revision 55484) +++ base/applications/regedit/lang/zh-CN.rc (working copy) @@ -431,7 +431,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "增加资料到注册表?" - IDS_IMPORTED_OK "资料已被加到注册表" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/lang/zh-TW.rc =================================================================== --- base/applications/regedit/lang/zh-TW.rc (revision 55484) +++ base/applications/regedit/lang/zh-TW.rc (working copy) @@ -432,7 +432,7 @@ STRINGTABLE DISCARDABLE BEGIN IDS_IMPORT_PROMPT "新增資料至登錄?" - IDS_IMPORTED_OK "資料已被新增至登錄" + IDS_IMPORTED_OK "The keys and values contained in '%1' have been successfully added to the registry." END STRINGTABLE DISCARDABLE Index: base/applications/regedit/regedit.c =================================================================== --- base/applications/regedit/regedit.c (revision 55484) +++ base/applications/regedit/regedit.c (working copy) @@ -162,11 +162,20 @@ exit(5); } import_registry_file(fp); - get_file_name(&s, filename); LoadString(hInst, IDS_APP_TITLE, szTitle, sizeof(szTitle)); LoadString(hInst, IDS_IMPORTED_OK, szText, sizeof(szTitle)); + + TCHAR szBuffer[MAX_PATH + 256]; + DWORD_PTR pArgs[] = { (DWORD_PTR)filename }; + + PathUnquoteSpaces(filename); + FormatMessage(FORMAT_MESSAGE_FROM_STRING|FORMAT_MESSAGE_ARGUMENT_ARRAY, + szText, 0, 0, szBuffer, sizeof(szBuffer), (va_list*)pArgs); + + /* Exit the loop */ + get_file_name(&s, filename); /* show successful import */ - MessageBox(NULL, szText, szTitle, MB_OK); + MessageBox(NULL, szBuffer, szTitle, MB_OK); } break; }