https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f222e89d8685089ae0727…
commit f222e89d8685089ae072704dba9b3633d27e32d1
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Fri Dec 14 19:52:41 2018 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Fri Dec 14 19:56:44 2018 +0900
[SHELL32] Localize caption of Folder Options
CORE-15247
---
dll/win32/browseui/lang/bg-BG.rc | 1 +
dll/win32/browseui/lang/de-DE.rc | 1 +
dll/win32/browseui/lang/en-US.rc | 1 +
dll/win32/browseui/lang/es-ES.rc | 1 +
dll/win32/browseui/lang/et-EE.rc | 1 +
dll/win32/browseui/lang/fr-FR.rc | 1 +
dll/win32/browseui/lang/he-IL.rc | 1 +
dll/win32/browseui/lang/it-IT.rc | 1 +
dll/win32/browseui/lang/ja-JP.rc | 1 +
dll/win32/browseui/lang/pl-PL.rc | 1 +
dll/win32/browseui/lang/pt-BR.rc | 1 +
dll/win32/browseui/lang/ro-RO.rc | 1 +
dll/win32/browseui/lang/ru-RU.rc | 1 +
dll/win32/browseui/lang/sq-AL.rc | 1 +
dll/win32/browseui/lang/tr-TR.rc | 1 +
dll/win32/browseui/lang/uk-UA.rc | 1 +
dll/win32/browseui/lang/zh-CN.rc | 1 +
dll/win32/browseui/lang/zh-TW.rc | 1 +
dll/win32/browseui/resource.h | 1 +
dll/win32/browseui/shellbrowser.cpp | 3 ++-
20 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/dll/win32/browseui/lang/bg-BG.rc b/dll/win32/browseui/lang/bg-BG.rc
index 5c1d7147a6..006ed5ef5f 100644
--- a/dll/win32/browseui/lang/bg-BG.rc
+++ b/dll/win32/browseui/lang/bg-BG.rc
@@ -286,6 +286,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/de-DE.rc b/dll/win32/browseui/lang/de-DE.rc
index 6f90562347..5a558d83cb 100644
--- a/dll/win32/browseui/lang/de-DE.rc
+++ b/dll/win32/browseui/lang/de-DE.rc
@@ -304,6 +304,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Zurück zu %s"
IDS_FORWARD "Vorwärts zu %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
diff --git a/dll/win32/browseui/lang/en-US.rc b/dll/win32/browseui/lang/en-US.rc
index 55ab3f33ab..a565ae78c4 100644
--- a/dll/win32/browseui/lang/en-US.rc
+++ b/dll/win32/browseui/lang/en-US.rc
@@ -304,6 +304,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/es-ES.rc b/dll/win32/browseui/lang/es-ES.rc
index 1834f99b0e..82dea9d8e0 100644
--- a/dll/win32/browseui/lang/es-ES.rc
+++ b/dll/win32/browseui/lang/es-ES.rc
@@ -294,6 +294,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Volver a %s"
IDS_FORWARD "Ir a %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/et-EE.rc b/dll/win32/browseui/lang/et-EE.rc
index 6bf81a6af9..71285ef8cc 100644
--- a/dll/win32/browseui/lang/et-EE.rc
+++ b/dll/win32/browseui/lang/et-EE.rc
@@ -293,6 +293,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Tagasi lehele %s"
IDS_FORWARD "Edasi lehele %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/fr-FR.rc b/dll/win32/browseui/lang/fr-FR.rc
index c0ad390896..c4a21ef8f6 100644
--- a/dll/win32/browseui/lang/fr-FR.rc
+++ b/dll/win32/browseui/lang/fr-FR.rc
@@ -304,6 +304,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Retour vers %s"
IDS_FORWARD "Avancer vers %s"
+ IDS_FOLDER_OPTIONS "Options des dossiers"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/he-IL.rc b/dll/win32/browseui/lang/he-IL.rc
index 480ddfe23a..54d42d0bad 100644
--- a/dll/win32/browseui/lang/he-IL.rc
+++ b/dll/win32/browseui/lang/he-IL.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/it-IT.rc b/dll/win32/browseui/lang/it-IT.rc
index 824282c79b..b6b7822c51 100644
--- a/dll/win32/browseui/lang/it-IT.rc
+++ b/dll/win32/browseui/lang/it-IT.rc
@@ -286,6 +286,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/ja-JP.rc b/dll/win32/browseui/lang/ja-JP.rc
index 289efbe4e0..d9f678b16b 100644
--- a/dll/win32/browseui/lang/ja-JP.rc
+++ b/dll/win32/browseui/lang/ja-JP.rc
@@ -304,6 +304,7 @@ STRINGTABLE
BEGIN
IDS_BACK "%s へ戻る"
IDS_FORWARD "%s へ進む"
+ IDS_FOLDER_OPTIONS "フォルダ オプション"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/pl-PL.rc b/dll/win32/browseui/lang/pl-PL.rc
index 5a984c34f3..296ce91352 100644
--- a/dll/win32/browseui/lang/pl-PL.rc
+++ b/dll/win32/browseui/lang/pl-PL.rc
@@ -294,6 +294,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Powrót do %s"
IDS_FORWARD "Naprzód do %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/pt-BR.rc b/dll/win32/browseui/lang/pt-BR.rc
index b0962c5af4..b9eaa654de 100644
--- a/dll/win32/browseui/lang/pt-BR.rc
+++ b/dll/win32/browseui/lang/pt-BR.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Voltar para %s"
IDS_FORWARD "Avançar para %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/ro-RO.rc b/dll/win32/browseui/lang/ro-RO.rc
index 1573b1adb7..5fb9f9808d 100644
--- a/dll/win32/browseui/lang/ro-RO.rc
+++ b/dll/win32/browseui/lang/ro-RO.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Înapoi la %s"
IDS_FORWARD "Înainte la %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/ru-RU.rc b/dll/win32/browseui/lang/ru-RU.rc
index 405d7d850f..810159f270 100644
--- a/dll/win32/browseui/lang/ru-RU.rc
+++ b/dll/win32/browseui/lang/ru-RU.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Назад на ""%s"""
IDS_FORWARD "Вперед на ""%s"""
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/sq-AL.rc b/dll/win32/browseui/lang/sq-AL.rc
index 8426297702..55148f9283 100644
--- a/dll/win32/browseui/lang/sq-AL.rc
+++ b/dll/win32/browseui/lang/sq-AL.rc
@@ -305,6 +305,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/tr-TR.rc b/dll/win32/browseui/lang/tr-TR.rc
index ada68a7c58..e2810b33ee 100644
--- a/dll/win32/browseui/lang/tr-TR.rc
+++ b/dll/win32/browseui/lang/tr-TR.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Geri (%s Adresine)"
IDS_FORWARD "İleri (%s Adresine)"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/uk-UA.rc b/dll/win32/browseui/lang/uk-UA.rc
index 81079169f3..6fc780761a 100644
--- a/dll/win32/browseui/lang/uk-UA.rc
+++ b/dll/win32/browseui/lang/uk-UA.rc
@@ -288,6 +288,7 @@ STRINGTABLE
BEGIN
IDS_BACK "Back to %s"
IDS_FORWARD "Forward to %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/zh-CN.rc b/dll/win32/browseui/lang/zh-CN.rc
index 966ad73633..cc1b92d2f5 100644
--- a/dll/win32/browseui/lang/zh-CN.rc
+++ b/dll/win32/browseui/lang/zh-CN.rc
@@ -307,6 +307,7 @@ STRINGTABLE
BEGIN
IDS_BACK "返回到 %s"
IDS_FORWARD "前进到 %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/lang/zh-TW.rc b/dll/win32/browseui/lang/zh-TW.rc
index 852cca206e..199879edba 100644
--- a/dll/win32/browseui/lang/zh-TW.rc
+++ b/dll/win32/browseui/lang/zh-TW.rc
@@ -306,6 +306,7 @@ STRINGTABLE
BEGIN
IDS_BACK "返回到 %s"
IDS_FORWARD "前進到 %s"
+ IDS_FOLDER_OPTIONS "Folder Options"
END
STRINGTABLE
diff --git a/dll/win32/browseui/resource.h b/dll/win32/browseui/resource.h
index b974515bf2..dc0d8e62c6 100644
--- a/dll/win32/browseui/resource.h
+++ b/dll/win32/browseui/resource.h
@@ -123,6 +123,7 @@
#define IDS_UP 58434
#define IDS_BACK 58689
#define IDS_FORWARD 58690
+#define IDS_FOLDER_OPTIONS 58691
#define IDS_CANCELLING 16
#define IDS_REMAINING 17
diff --git a/dll/win32/browseui/shellbrowser.cpp b/dll/win32/browseui/shellbrowser.cpp
index dbafbbe860..ae981734e6 100644
--- a/dll/win32/browseui/shellbrowser.cpp
+++ b/dll/win32/browseui/shellbrowser.cpp
@@ -1361,11 +1361,12 @@ HRESULT CShellBrowser::DoFolderOptions()
#endif
// show sheet
+ CStringW strFolderOptions(MAKEINTRESOURCEW(IDS_FOLDER_OPTIONS));
m_PropSheet.dwSize = sizeof(PROPSHEETHEADER);
m_PropSheet.dwFlags = 0;
m_PropSheet.hwndParent = m_hWnd;
m_PropSheet.hInstance = _AtlBaseModule.GetResourceInstance();
- m_PropSheet.pszCaption = _T("Folder Options");
+ m_PropSheet.pszCaption = strFolderOptions;
m_PropSheet.nStartPage = 0;
PropertySheet(&m_PropSheet);
return S_OK;