Author: tfaber
Date: Sat May 6 09:27:32 2017
New Revision: 74484
URL:
http://svn.reactos.org/svn/reactos?rev=74484&view=rev
Log:
[MMSYS]
- Make browse dialog title and filter localizable. Based on a patch by Katayama Hirofumi
MZ.
CORE-12903
Modified:
trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc
trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc
trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc
trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc
trunk/reactos/dll/cpl/mmsys/lang/en-US.rc
trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc
trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc
trunk/reactos/dll/cpl/mmsys/lang/he-IL.rc
trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc
trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc
trunk/reactos/dll/cpl/mmsys/lang/ja-JP.rc
trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc
trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc
trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc
trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc
trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc
trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc
trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc
trunk/reactos/dll/cpl/mmsys/lang/sq-AL.rc
trunk/reactos/dll/cpl/mmsys/lang/tr-TR.rc
trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc
trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc
trunk/reactos/dll/cpl/mmsys/lang/zh-TW.rc
trunk/reactos/dll/cpl/mmsys/resource.h
trunk/reactos/dll/cpl/mmsys/sounds.c
Modified: trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/bg-BG.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/bg-BG.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "ÐÑпÑоÑ"
5850 "ÐÑÑкане на РеакÑÐС"
5851 "ÐÑÑков избоÑник"
- 5852 "Ðзлизане Ð¾Ñ Ð ÐµÐ°ÐºÑÐС"
- 5853 "Ðлизане в РеакÑÐС"
+ IDS_REACTOS_LOGOFF "Ðзлизане Ð¾Ñ Ð ÐµÐ°ÐºÑÐС"
+ IDS_REACTOS_LOGON "Ðлизане в РеакÑÐС"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/cs-CZ.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -266,7 +266,9 @@
5849 "Otázka"
5850 "SpuÅ¡tÄnà systému ReactOS"
5851 "OtevÅenà nabÃdky Start"
- 5852 "Odhlášenà od systému ReactOS"
- 5853 "PÅihlášenà k systému ReactOS"
+ IDS_REACTOS_LOGOFF "Odhlášenà od systému ReactOS"
+ IDS_REACTOS_LOGON "PÅihlášenà k systému ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/de-DE.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/de-DE.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Frage"
5850 "ReactOS starten"
5851 "Startmenü"
- 5852 "ReactOS-Abmeldung"
- 5853 "ReactOS-Anmeldung"
+ IDS_REACTOS_LOGOFF "ReactOS-Abmeldung"
+ IDS_REACTOS_LOGON "ReactOS-Anmeldung"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/el-GR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/el-GR.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Start ReactOS"
5851 "Start Menu"
- 5852 "ReactOS Logoff"
- 5853 "ReactOS Logon"
+ IDS_REACTOS_LOGOFF "ReactOS Logoff"
+ IDS_REACTOS_LOGON "ReactOS Logon"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/en-US.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/en-US.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/en-US.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/en-US.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Start ReactOS"
5851 "Start Menu"
- 5852 "ReactOS Logoff"
- 5853 "ReactOS Logon"
+ IDS_REACTOS_LOGOFF "ReactOS Logoff"
+ IDS_REACTOS_LOGON "ReactOS Logon"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/es-ES.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/es-ES.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Pregunta"
5850 "Iniciar ReactOS"
5851 "Menú Inicio"
- 5852 "Cierre de sesión de ReactOS"
- 5853 "Inicio de sesión en ReactOS"
+ IDS_REACTOS_LOGOFF "Cierre de sesión de ReactOS"
+ IDS_REACTOS_LOGON "Inicio de sesión en ReactOS"
5854 "Explorador de ReactOS"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/fr-FR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/fr-FR.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Démarrer ReactOS"
5851 "Menu démarrer"
- 5852 "Déconnexion ReactOS"
- 5853 "Connexion ReactOS"
+ IDS_REACTOS_LOGOFF "Déconnexion ReactOS"
+ IDS_REACTOS_LOGON "Connexion ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/he-IL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/he-IL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/he-IL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/he-IL.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -263,7 +263,9 @@
5849 "ש×××"
5850 "×ת××ת ReactOS"
5851 "תפר×× ×ת××"
- 5852 "ReactOS × ×ת×ק"
- 5853 "ReactOS ×ת××ר×ת"
+ IDS_REACTOS_LOGOFF "ReactOS × ×ת×ק"
+ IDS_REACTOS_LOGON "ReactOS ×ת××ר×ת"
5854 "ReactOS ס××ר"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/id-ID.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/id-ID.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Start ReactOS"
5851 "Start Menu"
- 5852 "ReactOS Logoff"
- 5853 "ReactOS Logon"
+ IDS_REACTOS_LOGOFF "ReactOS Logoff"
+ IDS_REACTOS_LOGON "ReactOS Logon"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/it-IT.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/it-IT.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Domanda"
5850 "Avvio ReactOS"
5851 "Menu avvio"
- 5852 "Fine sessione di ReactOS"
- 5853 "Inizio sessione di ReactOS"
+ IDS_REACTOS_LOGOFF "Fine sessione di ReactOS"
+ IDS_REACTOS_LOGON "Inizio sessione di ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/ja-JP.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/ja-JP.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/ja-JP.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/ja-JP.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "質å"
5850 "ReactOSã®éå§"
5851 "ã¡ãã¥ã¼ã®éå§"
- 5852 "ReactOSãã°ãªã"
- 5853 "ReactOSãã°ãªã³"
+ IDS_REACTOS_LOGOFF "ReactOSãã°ãªã"
+ IDS_REACTOS_LOGON "ReactOSãã°ãªã³"
5854 "ReactOSã¨ã¯ã¹ããã¼ã©ã¼"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/nl-NL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/nl-NL.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Start ReactOS"
5851 "Start Menu"
- 5852 "ReactOS Logoff"
- 5853 "ReactOS Logon"
+ IDS_REACTOS_LOGOFF "ReactOS Logoff"
+ IDS_REACTOS_LOGON "ReactOS Logon"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/no-NO.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/no-NO.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Spørsmål"
5850 "Start ReactOS"
5851 "Start Meny"
- 5852 "ReactOS Logg av"
- 5853 "ReactOS Logg på"
+ IDS_REACTOS_LOGOFF "ReactOS Logg av"
+ IDS_REACTOS_LOGON "ReactOS Logg på"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/pl-PL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/pl-PL.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -274,7 +274,9 @@
5849 "Znak zapytania"
5850 "Uruchomienie ReactOS"
5851 "Menu Start"
- 5852 "Wylogowanie z ReactOS"
- 5853 "Logowanie do ReactOS"
+ IDS_REACTOS_LOGOFF "Wylogowanie z ReactOS"
+ IDS_REACTOS_LOGON "Logowanie do ReactOS"
5854 "Eksplorator ReactOS"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/pt-BR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/pt-BR.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "Question"
5850 "Start ReactOS"
5851 "Start Menu"
- 5852 "ReactOS Logoff"
- 5853 "ReactOS Logon"
+ IDS_REACTOS_LOGOFF "ReactOS Logoff"
+ IDS_REACTOS_LOGON "ReactOS Logon"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/ro-RO.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/ro-RO.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -266,7 +266,9 @@
5849 "Ãntrebare"
5850 "Pornire ReactOS"
5851 "Meniul Pornire"
- 5852 "IeÈire din ReactOS"
- 5853 "Intrare în ReactOS"
+ IDS_REACTOS_LOGOFF "IeÈire din ReactOS"
+ IDS_REACTOS_LOGON "Intrare în ReactOS"
5854 "Explorator ReactOS"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/ru-RU.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/ru-RU.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -261,7 +261,9 @@
5849 "ÐопÑоÑ"
5850 "ÐапÑÑк ReactOS"
5851 "Ðлавное менÑ"
- 5852 "ÐÑÑ
од из ReactOS"
- 5853 "ÐÑ
од в ReactOS"
+ IDS_REACTOS_LOGOFF "ÐÑÑ
од из ReactOS"
+ IDS_REACTOS_LOGON "ÐÑ
од в ReactOS"
5854 "ÐÑоводник ReactOS"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/sk-SK.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/sk-SK.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -266,7 +266,9 @@
5849 "Otázka"
5850 "Spustenie systému ReactOS"
5851 "Ponuka Å tart"
- 5852 "Odhlásenie zo systému ReactOS"
- 5853 "Prihlásenie do systému ReactOS"
+ IDS_REACTOS_LOGOFF "Odhlásenie zo systému ReactOS"
+ IDS_REACTOS_LOGON "Prihlásenie do systému ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/sq-AL.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/sq-AL.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/sq-AL.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/sq-AL.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -265,7 +265,9 @@
5849 "Pyetje"
5850 "Fillo ReactOS"
5851 "Fillo Menune"
- 5852 "Dil ReactOS"
- 5853 "Hyr ReactOS"
+ IDS_REACTOS_LOGOFF "Dil ReactOS"
+ IDS_REACTOS_LOGON "Hyr ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/tr-TR.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/tr-TR.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/tr-TR.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/tr-TR.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -263,7 +263,9 @@
5849 "Soru"
5850 "ReactOS'u BaÅlat"
5851 "BaÅlat Seçkesi"
- 5852 "Oturumu Kapat"
- 5853 "Oturum Aç"
+ IDS_REACTOS_LOGOFF "Oturumu Kapat"
+ IDS_REACTOS_LOGON "Oturum Aç"
5854 "ReactOS Gezgini"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/uk-UA.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/uk-UA.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -269,7 +269,9 @@
5849 "ÐапиÑаннÑ"
5850 "ÐапÑÑк ReactOS"
5851 "Ðоловне менÑ"
- 5852 "ÐиÑ
Ñд Ñз ReactOS"
- 5853 "ÐÑ
Ñд до ReactOS"
+ IDS_REACTOS_LOGOFF "ÐиÑ
Ñд Ñз ReactOS"
+ IDS_REACTOS_LOGON "ÐÑ
Ñд до ReactOS"
5854 "ReactOS Explorer"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/zh-CN.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/zh-CN.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -268,7 +268,9 @@
5849 "é®é¢"
5850 "å¯å¨ ReactOS"
5851 "ãå¼å§ãèå"
- 5852 "ReactOS 注é"
- 5853 "ReactOS ç»å½"
+ IDS_REACTOS_LOGOFF "ReactOS 注é"
+ IDS_REACTOS_LOGON "ReactOS ç»å½"
5854 "ReactOS æµè§å¨"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/lang/zh-TW.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/lang/zh-TW.r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/lang/zh-TW.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/lang/zh-TW.rc [iso-8859-1] Sat May 6 09:27:32 2017
@@ -267,7 +267,9 @@
5849 "åé¡"
5850 "åå ReactOS"
5851 "ãéå§ãé¸å®"
- 5852 "ReactOS ç»åº"
- 5853 "ReactOS ç»å
¥"
+ IDS_REACTOS_LOGOFF "ReactOS ç»åº"
+ IDS_REACTOS_LOGON "ReactOS ç»å
¥"
5854 "ReactOS ç覽å¨"
-END
+ IDS_BROWSE_FOR_SOUND "Search for new sounds"
+ IDS_WAVE_FILES_FILTER "Wave Files (*.wav)|*.wav|"
+END
Modified: trunk/reactos/dll/cpl/mmsys/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/resource.h?r…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/resource.h [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/resource.h [iso-8859-1] Sat May 6 09:27:32 2017
@@ -69,6 +69,8 @@
#define IDS_REACTOS_LOGOFF 5852
#define IDS_REACTOS_LOGON 5853
#define IDS_REACTOS_DEFAULT_SCHEME 5856
+#define IDS_BROWSE_FOR_SOUND 6144
+#define IDS_WAVE_FILES_FILTER 6166
/* Strings */
#define IDS_CPLNAME 1000
Modified: trunk/reactos/dll/cpl/mmsys/sounds.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/mmsys/sounds.c?rev…
==============================================================================
--- trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/mmsys/sounds.c [iso-8859-1] Sat May 6 09:27:32 2017
@@ -56,6 +56,23 @@
TCHAR szDefault[MAX_PATH];
+/* A filter string is a list separated by NULL and ends with double NULLs. */
+LPWSTR MakeFilter(LPWSTR psz)
+{
+ WCHAR *pch;
+
+ ASSERT(psz[0] != UNICODE_NULL &&
+ psz[wcslen(psz) - 1] == L'|');
+ for (pch = psz; *pch != UNICODE_NULL; pch++)
+ {
+ /* replace vertical bar with NULL */
+ if (*pch == L'|')
+ {
+ *pch = UNICODE_NULL;
+ }
+ }
+ return psz;
+}
PLABEL_MAP FindLabel(PAPP_MAP pAppMap, TCHAR * szName)
{
@@ -337,7 +354,7 @@
/* Associate the value with the item in the combobox */
SendDlgItemMessage(hwndDlg, IDC_SOUND_SCHEME, CB_SETITEMDATA, (WPARAM)lResult,
(LPARAM)pScheme);
- /* Optionally, select the profile */
+ /* Optionally, select the profile */
if (SetDefault)
SendDlgItemMessage(hwndDlg, IDC_SOUND_SCHEME, CB_SETCURSEL, (WPARAM)lResult,
(LPARAM)0);
@@ -922,6 +939,7 @@
{
OPENFILENAMEW ofn;
WCHAR filename[MAX_PATH];
+ WCHAR szFilter[256], szTitle[256];
LPWSTR pFileName;
LRESULT lResult;
@@ -964,11 +982,12 @@
ofn.hwndOwner = hwndDlg;
ofn.lpstrFile = filename;
ofn.lpstrFile[0] = L'\0';
- ofn.nMaxFile = MAX_PATH;
- ofn.lpstrFilter = L"Wave Files (*.wav)\0*.wav\0"; //FIXME
non-nls
+ ofn.nMaxFile = _countof(filename);
+ LoadStringW(hApplet, IDS_WAVE_FILES_FILTER, szFilter,
_countof(szFilter));
+ ofn.lpstrFilter = MakeFilter(szFilter);
ofn.nFilterIndex = 0;
- ofn.lpstrFileTitle = L"Search for new sounds"; //FIXME
non-nls
- ofn.nMaxFileTitle = wcslen(ofn.lpstrFileTitle);
+ LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle,
_countof(szTitle));
+ ofn.lpstrTitle = szTitle;
ofn.lpstrInitialDir = NULL;
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;