https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ba17d87636aae02273abf…
commit ba17d87636aae02273abfd784a22b5c0aa2fecf9
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Feb 15 09:52:58 2020 +0900
Commit: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
CommitDate: Sat Feb 15 09:52:58 2020 +0900
[SYSSETUP] Improve resource ATTENTION comments
---
dll/win32/syssetup/lang/bg-BG.rc | 2 +-
dll/win32/syssetup/lang/cs-CZ.rc | 2 +-
dll/win32/syssetup/lang/da-DK.rc | 2 +-
dll/win32/syssetup/lang/de-DE.rc | 2 +-
dll/win32/syssetup/lang/el-GR.rc | 2 +-
dll/win32/syssetup/lang/en-US.rc | 2 +-
dll/win32/syssetup/lang/es-ES.rc | 2 +-
dll/win32/syssetup/lang/et-EE.rc | 2 +-
dll/win32/syssetup/lang/fi-FI.rc | 2 +-
dll/win32/syssetup/lang/fr-FR.rc | 2 +-
dll/win32/syssetup/lang/he-IL.rc | 2 +-
dll/win32/syssetup/lang/hi-IN.rc | 2 +-
dll/win32/syssetup/lang/hu-HU.rc | 2 +-
dll/win32/syssetup/lang/id-ID.rc | 2 +-
dll/win32/syssetup/lang/it-IT.rc | 2 +-
dll/win32/syssetup/lang/ja-JP.rc | 2 +-
dll/win32/syssetup/lang/lt-LT.rc | 2 +-
dll/win32/syssetup/lang/nl-NL.rc | 2 +-
dll/win32/syssetup/lang/no-NO.rc | 2 +-
dll/win32/syssetup/lang/pl-PL.rc | 2 +-
dll/win32/syssetup/lang/pt-BR.rc | 2 +-
dll/win32/syssetup/lang/pt-PT.rc | 2 +-
dll/win32/syssetup/lang/ro-RO.rc | 2 +-
dll/win32/syssetup/lang/ru-RU.rc | 2 +-
dll/win32/syssetup/lang/sk-SK.rc | 2 +-
dll/win32/syssetup/lang/sq-AL.rc | 2 +-
dll/win32/syssetup/lang/sv-SE.rc | 2 +-
dll/win32/syssetup/lang/th-TH.rc | 2 +-
dll/win32/syssetup/lang/tr-TR.rc | 2 +-
dll/win32/syssetup/lang/uk-UA.rc | 2 +-
dll/win32/syssetup/lang/zh-CN.rc | 2 +-
dll/win32/syssetup/lang/zh-TW.rc | 2 +-
32 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/dll/win32/syssetup/lang/bg-BG.rc b/dll/win32/syssetup/lang/bg-BG.rc
index 81818e58615..bd45825696e 100644
--- a/dll/win32/syssetup/lang/bg-BG.rc
+++ b/dll/win32/syssetup/lang/bg-BG.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Подкарване на устройствата..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/cs-CZ.rc b/dll/win32/syssetup/lang/cs-CZ.rc
index 0f6f313dfc2..612df4cd96a 100644
--- a/dll/win32/syssetup/lang/cs-CZ.rc
+++ b/dll/win32/syssetup/lang/cs-CZ.rc
@@ -227,7 +227,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Instaluji zařízení..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/da-DK.rc b/dll/win32/syssetup/lang/da-DK.rc
index bb8ae55b40d..e6a6b4adbf8 100644
--- a/dll/win32/syssetup/lang/da-DK.rc
+++ b/dll/win32/syssetup/lang/da-DK.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programmer"
diff --git a/dll/win32/syssetup/lang/de-DE.rc b/dll/win32/syssetup/lang/de-DE.rc
index 49311538f63..0b0fdab539a 100644
--- a/dll/win32/syssetup/lang/de-DE.rc
+++ b/dll/win32/syssetup/lang/de-DE.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Geräte werden installiert..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programme"
diff --git a/dll/win32/syssetup/lang/el-GR.rc b/dll/win32/syssetup/lang/el-GR.rc
index da95c35a699..d5d49ce27f9 100644
--- a/dll/win32/syssetup/lang/el-GR.rc
+++ b/dll/win32/syssetup/lang/el-GR.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Εγκατάσταση συσκευών..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/en-US.rc b/dll/win32/syssetup/lang/en-US.rc
index fa52280a237..ec146f004bf 100644
--- a/dll/win32/syssetup/lang/en-US.rc
+++ b/dll/win32/syssetup/lang/en-US.rc
@@ -241,7 +241,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/es-ES.rc b/dll/win32/syssetup/lang/es-ES.rc
index 2e72c99934f..7a66a88564c 100644
--- a/dll/win32/syssetup/lang/es-ES.rc
+++ b/dll/win32/syssetup/lang/es-ES.rc
@@ -229,7 +229,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Instalando dispositivos..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Archivos de programa"
diff --git a/dll/win32/syssetup/lang/et-EE.rc b/dll/win32/syssetup/lang/et-EE.rc
index 49b7eb6328f..0e49c09f878 100644
--- a/dll/win32/syssetup/lang/et-EE.rc
+++ b/dll/win32/syssetup/lang/et-EE.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Seadmete paigaldamine..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programmifailid"
diff --git a/dll/win32/syssetup/lang/fi-FI.rc b/dll/win32/syssetup/lang/fi-FI.rc
index 03c77e75adc..a58259b4849 100644
--- a/dll/win32/syssetup/lang/fi-FI.rc
+++ b/dll/win32/syssetup/lang/fi-FI.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/fr-FR.rc b/dll/win32/syssetup/lang/fr-FR.rc
index 2589e57a737..5f8319a0fb0 100644
--- a/dll/win32/syssetup/lang/fr-FR.rc
+++ b/dll/win32/syssetup/lang/fr-FR.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installation des périphériques en cours..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/he-IL.rc b/dll/win32/syssetup/lang/he-IL.rc
index 55e3fd67cf4..3bbb674e7f0 100644
--- a/dll/win32/syssetup/lang/he-IL.rc
+++ b/dll/win32/syssetup/lang/he-IL.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "מתקין התקנים..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/hi-IN.rc b/dll/win32/syssetup/lang/hi-IN.rc
index f10a2609bb9..bab78ec78a8 100644
--- a/dll/win32/syssetup/lang/hi-IN.rc
+++ b/dll/win32/syssetup/lang/hi-IN.rc
@@ -229,7 +229,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "डिवाइस का इन्स्टलेशन..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\प्रोग्राम फाइलें"
diff --git a/dll/win32/syssetup/lang/hu-HU.rc b/dll/win32/syssetup/lang/hu-HU.rc
index ee1f9bd42b7..231124bb334 100644
--- a/dll/win32/syssetup/lang/hu-HU.rc
+++ b/dll/win32/syssetup/lang/hu-HU.rc
@@ -220,7 +220,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Eszközök telepítése..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/id-ID.rc b/dll/win32/syssetup/lang/id-ID.rc
index f611941f2d1..3dcb44a89c3 100644
--- a/dll/win32/syssetup/lang/id-ID.rc
+++ b/dll/win32/syssetup/lang/id-ID.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Memasang perangkat..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Berkas Program"
diff --git a/dll/win32/syssetup/lang/it-IT.rc b/dll/win32/syssetup/lang/it-IT.rc
index 8920cd372ab..a015df09b7e 100644
--- a/dll/win32/syssetup/lang/it-IT.rc
+++ b/dll/win32/syssetup/lang/it-IT.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installazione dei dispositivi in corso..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programmi"
diff --git a/dll/win32/syssetup/lang/ja-JP.rc b/dll/win32/syssetup/lang/ja-JP.rc
index 3c67332a409..3bb56ac7b88 100644
--- a/dll/win32/syssetup/lang/ja-JP.rc
+++ b/dll/win32/syssetup/lang/ja-JP.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "デバイスをインストールしています..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/lt-LT.rc b/dll/win32/syssetup/lang/lt-LT.rc
index 65da0ae4000..f6963f6ae1e 100644
--- a/dll/win32/syssetup/lang/lt-LT.rc
+++ b/dll/win32/syssetup/lang/lt-LT.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/nl-NL.rc b/dll/win32/syssetup/lang/nl-NL.rc
index 89b254054df..6042e86dfee 100644
--- a/dll/win32/syssetup/lang/nl-NL.rc
+++ b/dll/win32/syssetup/lang/nl-NL.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/no-NO.rc b/dll/win32/syssetup/lang/no-NO.rc
index 11b507f583a..8ffbf0e2362 100644
--- a/dll/win32/syssetup/lang/no-NO.rc
+++ b/dll/win32/syssetup/lang/no-NO.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installerer enheter..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Programfiler"
diff --git a/dll/win32/syssetup/lang/pl-PL.rc b/dll/win32/syssetup/lang/pl-PL.rc
index 3caea4d4cae..6fee059bde5 100644
--- a/dll/win32/syssetup/lang/pl-PL.rc
+++ b/dll/win32/syssetup/lang/pl-PL.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Instalacja urządzeń..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/pt-BR.rc b/dll/win32/syssetup/lang/pt-BR.rc
index 94e78749e12..e92271ec7ac 100644
--- a/dll/win32/syssetup/lang/pt-BR.rc
+++ b/dll/win32/syssetup/lang/pt-BR.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Instalando dispositivos..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Arquivos de programas"
diff --git a/dll/win32/syssetup/lang/pt-PT.rc b/dll/win32/syssetup/lang/pt-PT.rc
index 6148b63983a..ee132f19011 100644
--- a/dll/win32/syssetup/lang/pt-PT.rc
+++ b/dll/win32/syssetup/lang/pt-PT.rc
@@ -221,7 +221,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "A instalar dispositivos..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Arquivos de programas"
diff --git a/dll/win32/syssetup/lang/ro-RO.rc b/dll/win32/syssetup/lang/ro-RO.rc
index ef846e5f5c4..2263f7ae3f7 100644
--- a/dll/win32/syssetup/lang/ro-RO.rc
+++ b/dll/win32/syssetup/lang/ro-RO.rc
@@ -230,7 +230,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Dispozitive în curs de instalare…"
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Fișiere de program"
diff --git a/dll/win32/syssetup/lang/ru-RU.rc b/dll/win32/syssetup/lang/ru-RU.rc
index d2d99a5abc0..6523d54b298 100644
--- a/dll/win32/syssetup/lang/ru-RU.rc
+++ b/dll/win32/syssetup/lang/ru-RU.rc
@@ -224,7 +224,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Установка оборудования..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/sk-SK.rc b/dll/win32/syssetup/lang/sk-SK.rc
index bd0558c7f9d..ecc0f85b7e2 100644
--- a/dll/win32/syssetup/lang/sk-SK.rc
+++ b/dll/win32/syssetup/lang/sk-SK.rc
@@ -227,7 +227,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Inštalujem zariadenia..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/sq-AL.rc b/dll/win32/syssetup/lang/sq-AL.rc
index 4bd954fcf59..7302d3d2c71 100644
--- a/dll/win32/syssetup/lang/sq-AL.rc
+++ b/dll/win32/syssetup/lang/sq-AL.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Instalimi Pajisjeve..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Dokumente Programi"
diff --git a/dll/win32/syssetup/lang/sv-SE.rc b/dll/win32/syssetup/lang/sv-SE.rc
index 893a9ed8c72..0f9a98dc64e 100644
--- a/dll/win32/syssetup/lang/sv-SE.rc
+++ b/dll/win32/syssetup/lang/sv-SE.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installerar enheter..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program"
diff --git a/dll/win32/syssetup/lang/th-TH.rc b/dll/win32/syssetup/lang/th-TH.rc
index 5b6ddee906d..e2728a298ca 100644
--- a/dll/win32/syssetup/lang/th-TH.rc
+++ b/dll/win32/syssetup/lang/th-TH.rc
@@ -240,7 +240,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Installing devices..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\โปรแกรมไฟล์"
diff --git a/dll/win32/syssetup/lang/tr-TR.rc b/dll/win32/syssetup/lang/tr-TR.rc
index 6cc3224e4e0..0c3e0ad29b5 100644
--- a/dll/win32/syssetup/lang/tr-TR.rc
+++ b/dll/win32/syssetup/lang/tr-TR.rc
@@ -223,7 +223,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Aygıtlar kuruluyor..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\İzlence Kütükleri"
diff --git a/dll/win32/syssetup/lang/uk-UA.rc b/dll/win32/syssetup/lang/uk-UA.rc
index e2eb75512b8..64e4a7d5514 100644
--- a/dll/win32/syssetup/lang/uk-UA.rc
+++ b/dll/win32/syssetup/lang/uk-UA.rc
@@ -229,7 +229,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "Встановлення пристроїв..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
STRINGTABLE
BEGIN
IDS_PROGRAMFILES "%SystemDrive%\\Program Files"
diff --git a/dll/win32/syssetup/lang/zh-CN.rc b/dll/win32/syssetup/lang/zh-CN.rc
index 9b76c052180..0df21c9f029 100644
--- a/dll/win32/syssetup/lang/zh-CN.rc
+++ b/dll/win32/syssetup/lang/zh-CN.rc
@@ -223,7 +223,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "正在安装设备驱动程序..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
/* If there is no special situation, please DO NOT change English folder names
into Chinese, or it may cause problems in the system. */
diff --git a/dll/win32/syssetup/lang/zh-TW.rc b/dll/win32/syssetup/lang/zh-TW.rc
index 93c7bae0428..1dd4c0d7dc6 100644
--- a/dll/win32/syssetup/lang/zh-TW.rc
+++ b/dll/win32/syssetup/lang/zh-TW.rc
@@ -244,7 +244,7 @@ BEGIN
IDS_STATUS_INSTALL_DEV "正在安裝裝置驅動程式..."
END
-/* ATTENTION: Synchronize the translation of these strings with shell32 */
+/* ATTENTION: Synchronize the translation with dll/win32/shell32/lang */
/* ATTENTION: If there is no special situation, please DO NOT change
English folder names into Chinese, or it may cause problems in the system. */
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=747d50c52e9f4e2806003…
commit 747d50c52e9f4e28060032513cfbe52be8f48776
Author: Dmitry Borisov <di.sean(a)protonmail.com>
AuthorDate: Sat Feb 15 00:22:17 2020 +0600
Commit: GitHub <noreply(a)github.com>
CommitDate: Fri Feb 14 19:22:17 2020 +0100
[FREELDR] Separate PC beep routines out into its own file (#2347)
- Remove now unused i386rtl.c (and it doesn't contains RTL functions nowadays).
- Separate PC beep routines out into its own file.
- Also use delay function instead of BIOS interrupts.
- Improve as well the accuracy of KeStallExecutionProcessor() by using the same HW delay function.
---
boot/freeldr/freeldr/CMakeLists.txt | 5 +-
boot/freeldr/freeldr/arch/i386/i386rtl.c | 117 -----------------------------
boot/freeldr/freeldr/arch/i386/ntoskrnl.c | 46 +-----------
boot/freeldr/freeldr/arch/i386/pc/machpc.c | 26 +++++++
boot/freeldr/freeldr/arch/i386/pc/pcbeep.c | 39 ++++++++++
5 files changed, 69 insertions(+), 164 deletions(-)
diff --git a/boot/freeldr/freeldr/CMakeLists.txt b/boot/freeldr/freeldr/CMakeLists.txt
index 5b32b2e74eb..dd8bc31703e 100644
--- a/boot/freeldr/freeldr/CMakeLists.txt
+++ b/boot/freeldr/freeldr/CMakeLists.txt
@@ -121,7 +121,6 @@ if(ARCH STREQUAL "i386")
arch/i386/hwpci.c
arch/i386/i386bug.c
arch/i386/i386idt.c
- arch/i386/i386rtl.c
arch/i386/i386vid.c
disk/scsiport.c)
@@ -129,6 +128,7 @@ if(ARCH STREQUAL "i386")
list(APPEND FREELDR_ARC_SOURCE
# FIXME: Abstract things better so we don't need to include /pc/* here
arch/i386/pc/machpc.c # machxbox.c depends on it
+ arch/i386/pc/pcbeep.c # machxbox.c depends on it
arch/i386/pc/pcdisk.c # hwdisk.c depends on it
arch/i386/pc/pcmem.c # hwacpi.c/xboxmem.c depends on it
arch/i386/xbox/machxbox.c
@@ -142,6 +142,7 @@ if(ARCH STREQUAL "i386")
else()
list(APPEND FREELDR_ARC_SOURCE
arch/i386/pc/machpc.c
+ arch/i386/pc/pcbeep.c
arch/i386/pc/pccons.c
arch/i386/pc/pcdisk.c
arch/i386/pc/pcmem.c
@@ -169,9 +170,9 @@ elseif(ARCH STREQUAL "amd64")
arch/i386/hwdisk.c
arch/i386/hwpci.c
arch/i386/i386bug.c
- arch/i386/i386rtl.c
arch/i386/i386vid.c
arch/i386/pc/machpc.c
+ arch/i386/pc/pcbeep.c
arch/i386/pc/pccons.c
arch/i386/pc/pcdisk.c
arch/i386/pc/pcmem.c
diff --git a/boot/freeldr/freeldr/arch/i386/i386rtl.c b/boot/freeldr/freeldr/arch/i386/i386rtl.c
deleted file mode 100644
index e4ef701da52..00000000000
--- a/boot/freeldr/freeldr/arch/i386/i386rtl.c
+++ /dev/null
@@ -1,117 +0,0 @@
-/*
- * FreeLoader
- * Copyright (C) 1998-2003 Brian Palmer <brianp(a)sginet.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#include <freeldr.h>
-
-void sound(int freq);
-void delay(unsigned msec);
-
-VOID PcBeep(VOID)
-{
- sound(700);
- delay(200);
- sound(0);
-}
-
-void delay(unsigned msec)
-{
- REGS Regs;
- unsigned usec;
- unsigned msec_this;
-
- // Int 15h AH=86h
- // BIOS - WAIT (AT,PS)
- //
- // AH = 86h
- // CX:DX = interval in microseconds
- // Return:
- // CF clear if successful (wait interval elapsed)
- // CF set on error or AH=83h wait already in progress
- // AH = status (see #00496)
-
- // Note: The resolution of the wait period is 977 microseconds on
- // many systems because many BIOSes use the 1/1024 second fast
- // interrupt from the AT real-time clock chip which is available on INT 70;
- // because newer BIOSes may have much more precise timers available, it is
- // not possible to use this function accurately for very short delays unless
- // the precise behavior of the BIOS is known (or found through testing)
-
- while (msec)
- {
- msec_this = msec;
-
- if (msec_this > 4000)
- {
- msec_this = 4000;
- }
-
- usec = msec_this * 1000;
-
- Regs.b.ah = 0x86;
- Regs.w.cx = usec >> 16;
- Regs.w.dx = usec & 0xffff;
- Int386(0x15, &Regs, &Regs);
-
- msec -= msec_this;
- }
-}
-
-void sound(int freq)
-{
- int scale;
-
- if (freq == 0)
- {
- WRITE_PORT_UCHAR((PUCHAR)0x61, READ_PORT_UCHAR((PUCHAR)0x61) & ~3);
- return;
- }
-
- scale = 1193046 / freq;
- WRITE_PORT_UCHAR((PUCHAR)0x43, 0xb6);
- WRITE_PORT_UCHAR((PUCHAR)0x42, scale & 0xff);
- WRITE_PORT_UCHAR((PUCHAR)0x42, scale >> 8);
- WRITE_PORT_UCHAR((PUCHAR)0x61, READ_PORT_UCHAR((PUCHAR)0x61) | 3);
-}
-
-VOID __cdecl ChainLoadBiosBootSectorCode(
- IN UCHAR BootDrive OPTIONAL,
- IN ULONG BootPartition OPTIONAL)
-{
- REGS Regs;
-
- RtlZeroMemory(&Regs, sizeof(Regs));
-
- /* Set the boot drive and the boot partition */
- Regs.b.dl = (UCHAR)(BootDrive ? BootDrive : FrldrBootDrive);
- Regs.b.dh = (UCHAR)(BootPartition ? BootPartition : FrldrBootPartition);
-
- /*
- * Don't stop the floppy drive motor when we are just booting a bootsector,
- * a drive, or a partition. If we were to stop the floppy motor, the BIOS
- * wouldn't be informed and if the next read is to a floppy then the BIOS
- * will still think the motor is on and this will result in a read error.
- */
- // DiskStopFloppyMotor();
-
- Relocator16Boot(&Regs,
- /* Stack segment:pointer */
- 0x0000, 0x7C00,
- /* Code segment:pointer */
- 0x0000, 0x7C00);
-}
diff --git a/boot/freeldr/freeldr/arch/i386/ntoskrnl.c b/boot/freeldr/freeldr/arch/i386/ntoskrnl.c
index 3c30cad41ce..21f8425d6c5 100644
--- a/boot/freeldr/freeldr/arch/i386/ntoskrnl.c
+++ b/boot/freeldr/freeldr/arch/i386/ntoskrnl.c
@@ -10,11 +10,6 @@
#include <ntoskrnl.h>
-/* For KeStallExecutionProcessor */
-#if defined(_M_IX86) || defined(_M_AMD64)
-#include <arch/pc/pcbios.h>
-#endif
-
/* FUNCTIONS *****************************************************************/
VOID
@@ -99,44 +94,5 @@ NTAPI
KeStallExecutionProcessor(
IN ULONG MicroSeconds)
{
-#if defined(_M_IX86) || defined(_M_AMD64)
- REGS Regs;
- ULONG usec_this;
-
- // Int 15h AH=86h
- // BIOS - WAIT (AT,PS)
- //
- // AH = 86h
- // CX:DX = interval in microseconds
- // Return:
- // CF clear if successful (wait interval elapsed)
- // CF set on error or AH=83h wait already in progress
- // AH = status (see #00496)
-
- // Note: The resolution of the wait period is 977 microseconds on
- // many systems because many BIOSes use the 1/1024 second fast
- // interrupt from the AT real-time clock chip which is available on INT 70;
- // because newer BIOSes may have much more precise timers available, it is
- // not possible to use this function accurately for very short delays unless
- // the precise behavior of the BIOS is known (or found through testing)
-
- while (MicroSeconds)
- {
- usec_this = MicroSeconds;
-
- if (usec_this > 4000000)
- {
- usec_this = 4000000;
- }
-
- Regs.b.ah = 0x86;
- Regs.w.cx = usec_this >> 16;
- Regs.w.dx = usec_this & 0xffff;
- Int386(0x15, &Regs, &Regs);
-
- MicroSeconds -= usec_this;
- }
-#else
- #error unimplemented
-#endif
+ StallExecutionProcessor(MicroSeconds);
}
diff --git a/boot/freeldr/freeldr/arch/i386/pc/machpc.c b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
index b0b1ee9694b..d4259de92aa 100644
--- a/boot/freeldr/freeldr/arch/i386/pc/machpc.c
+++ b/boot/freeldr/freeldr/arch/i386/pc/machpc.c
@@ -1416,6 +1416,32 @@ PcHwIdle(VOID)
*/
}
+VOID __cdecl ChainLoadBiosBootSectorCode(
+ IN UCHAR BootDrive OPTIONAL,
+ IN ULONG BootPartition OPTIONAL)
+{
+ REGS Regs;
+
+ RtlZeroMemory(&Regs, sizeof(Regs));
+
+ /* Set the boot drive and the boot partition */
+ Regs.b.dl = (UCHAR)(BootDrive ? BootDrive : FrldrBootDrive);
+ Regs.b.dh = (UCHAR)(BootPartition ? BootPartition : FrldrBootPartition);
+
+ /*
+ * Don't stop the floppy drive motor when we are just booting a bootsector,
+ * a drive, or a partition. If we were to stop the floppy motor, the BIOS
+ * wouldn't be informed and if the next read is to a floppy then the BIOS
+ * will still think the motor is on and this will result in a read error.
+ */
+ // DiskStopFloppyMotor();
+
+ Relocator16Boot(&Regs,
+ /* Stack segment:pointer */
+ 0x0000, 0x7C00,
+ /* Code segment:pointer */
+ 0x0000, 0x7C00);
+}
/******************************************************************************/
diff --git a/boot/freeldr/freeldr/arch/i386/pc/pcbeep.c b/boot/freeldr/freeldr/arch/i386/pc/pcbeep.c
new file mode 100644
index 00000000000..d499d8f50ca
--- /dev/null
+++ b/boot/freeldr/freeldr/arch/i386/pc/pcbeep.c
@@ -0,0 +1,39 @@
+/*
+ * PROJECT: FreeLoader
+ * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
+ * PURPOSE: Hardware-specific beep routine
+ * COPYRIGHT: Copyright 1998-2003 Brian Palmer (brianp(a)reactos.org)
+ */
+
+#include <freeldr.h>
+
+#if defined(SARCH_XBOX)
+#define CLOCK_TICK_RATE 1125000
+#else
+#define CLOCK_TICK_RATE 1193182
+#endif
+
+static VOID
+Sound(USHORT Frequency)
+{
+ USHORT Scale;
+
+ if (Frequency == 0)
+ {
+ WRITE_PORT_UCHAR((PUCHAR)0x61, READ_PORT_UCHAR((PUCHAR)0x61) & ~3);
+ return;
+ }
+
+ Scale = CLOCK_TICK_RATE / Frequency;
+ WRITE_PORT_UCHAR((PUCHAR)0x43, 0xB6);
+ WRITE_PORT_UCHAR((PUCHAR)0x42, Scale & 0xFF);
+ WRITE_PORT_UCHAR((PUCHAR)0x42, Scale >> 8);
+ WRITE_PORT_UCHAR((PUCHAR)0x61, READ_PORT_UCHAR((PUCHAR)0x61) | 3);
+}
+
+VOID PcBeep(VOID)
+{
+ Sound(700);
+ StallExecutionProcessor(100000);
+ Sound(0);
+}