https://git.reactos.org/?p=reactos.git;a=commitdiff;h=da9f43e76fac44f5c76bf…
commit da9f43e76fac44f5c76bfe9650011e04576dd945
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Thu Apr 30 18:24:11 2020 +0300
Commit: Stanislav Motylkov <x86corez(a)gmail.com>
CommitDate: Thu Apr 30 20:58:33 2020 +0300
[HOTPLUG] Add Russian translation
Also made some cosmetic fixes and added missing menu in Indonesian translation
Addendum to 2125fec, bfdd626 and b8dd046.
---
dll/cpl/hotplug/hotplug.rc | 3 +++
dll/cpl/hotplug/lang/de-DE.rc | 4 ++--
dll/cpl/hotplug/lang/en-US.rc | 4 ++--
dll/cpl/hotplug/lang/id-ID.rc | 16 ++++++++++++++--
dll/cpl/hotplug/lang/pt-PT.rc | 4 ++--
dll/cpl/hotplug/lang/ru-RU.rc | 30 ++++++++++++++++++++++++++++++
6 files changed, 53 insertions(+), 8 deletions(-)
diff --git a/dll/cpl/hotplug/hotplug.rc b/dll/cpl/hotplug/hotplug.rc
index 000d7a4178c..d8d0d822a57 100644
--- a/dll/cpl/hotplug/hotplug.rc
+++ b/dll/cpl/hotplug/hotplug.rc
@@ -39,3 +39,6 @@ IDI_HOTPLUG ICON "resources/1.ico"
#ifdef LANGUAGE_PT_PT
#include "lang/pt-PT.rc"
#endif
+#ifdef LANGUAGE_RU_RU
+ #include "lang/ru-RU.rc"
+#endif
diff --git a/dll/cpl/hotplug/lang/de-DE.rc b/dll/cpl/hotplug/lang/de-DE.rc
index f1f2366abe9..3d5157eacfc 100644
--- a/dll/cpl/hotplug/lang/de-DE.rc
+++ b/dll/cpl/hotplug/lang/de-DE.rc
@@ -6,14 +6,14 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
| WS_SYS
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_HOTPLUG, IDC_SAFE_REMOVE_ICON, 7, 10, 20, 20
- LTEXT "Wählen Sie das Gerät aus, das Sie entfernen möchten, und klicken Sie auf
""Beenden"". Sie erhalten eine Benachrichtigung, wenn Sie das Gerät
sicher entfernen können.", IDC_STATIC, 36, 12, 234, 24, WS_CHILD | WS_VISIBLE |
WS_GROUP
+ LTEXT "Wählen Sie das Gerät aus, das Sie entfernen möchten, und klicken Sie auf
""Beenden"". Sie erhalten eine Benachrichtigung, wenn Sie das Gerät
sicher entfernen können.", IDC_STATIC, 36, 10, 234, 24, WS_CHILD | WS_VISIBLE |
WS_GROUP
LTEXT "&Hardwarekomponenten:", IDC_STATIC, 7, 42, 248, 8, WS_CHILD |
WS_VISIBLE | WS_GROUP
CONTROL "", IDC_SAFE_REMOVE_DEVICE_TREE, "SysTreeView32",
TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_CHILD |
WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 7, 52, 264, 102
LTEXT "", IDC_SAFE_REMOVE_TEXT, 7, 156, 264, 16, WS_CHILD | WS_VISIBLE |
WS_GROUP
PUSHBUTTON "E&igenschaften", IDC_SAFE_REMOVE_PROPERTIES, 158, 178, 55,
14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "B&eenden", IDC_SAFE_REMOVE_STOP, 216, 178, 55, 14, WS_CHILD
| WS_VISIBLE | WS_TABSTOP
CONTROL "", IDC_STATIC, "static", SS_CENTER | SS_SUNKEN |
WS_CHILD | WS_VISIBLE, 7, 200, 264, 1
- AUTOCHECKBOX "&Gerätekomponenten anzeigen",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 112, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ AUTOCHECKBOX "&Gerätekomponenten anzeigen",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 140, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Schließen", IDCLOSE, 216, 224, 55, 14, WS_CHILD |
WS_VISIBLE | WS_TABSTOP
END
diff --git a/dll/cpl/hotplug/lang/en-US.rc b/dll/cpl/hotplug/lang/en-US.rc
index 77aa94c1cb2..e2b89d0cc6f 100644
--- a/dll/cpl/hotplug/lang/en-US.rc
+++ b/dll/cpl/hotplug/lang/en-US.rc
@@ -6,14 +6,14 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
| WS_SYS
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_HOTPLUG, IDC_SAFE_REMOVE_ICON, 7, 10, 20, 20
- LTEXT "Select the device you want to unplug or eject, and then click Stop. When
ReactOS notifies you that it is safe to do so unplug the device from your computer.",
IDC_STATIC, 36, 12, 234, 24, WS_CHILD | WS_VISIBLE | WS_GROUP
+ LTEXT "Select the device you want to unplug or eject, and then click Stop. When
ReactOS notifies you that it is safe to do so unplug the device from your computer.",
IDC_STATIC, 36, 10, 234, 24, WS_CHILD | WS_VISIBLE | WS_GROUP
LTEXT "&Hardware devices:", IDC_STATIC, 7, 42, 248, 8, WS_CHILD |
WS_VISIBLE | WS_GROUP
CONTROL "", IDC_SAFE_REMOVE_DEVICE_TREE, "SysTreeView32",
TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_CHILD |
WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 7, 52, 264, 102
LTEXT "", IDC_SAFE_REMOVE_TEXT, 7, 156, 264, 16, WS_CHILD | WS_VISIBLE |
WS_GROUP
PUSHBUTTON "&Properties", IDC_SAFE_REMOVE_PROPERTIES, 158, 178, 55, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Stop", IDC_SAFE_REMOVE_STOP, 216, 178, 55, 14, WS_CHILD |
WS_VISIBLE | WS_TABSTOP
CONTROL "", IDC_STATIC, "static", SS_CENTER | SS_SUNKEN |
WS_CHILD | WS_VISIBLE, 7, 200, 264, 1
- AUTOCHECKBOX "&Display device components",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 112, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ AUTOCHECKBOX "&Display device components",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 140, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Close", IDCLOSE, 216, 224, 55, 14, WS_CHILD | WS_VISIBLE |
WS_TABSTOP
END
diff --git a/dll/cpl/hotplug/lang/id-ID.rc b/dll/cpl/hotplug/lang/id-ID.rc
index 5751959c165..9373f36fc64 100644
--- a/dll/cpl/hotplug/lang/id-ID.rc
+++ b/dll/cpl/hotplug/lang/id-ID.rc
@@ -6,13 +6,25 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
| WS_SYS
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_HOTPLUG, IDC_SAFE_REMOVE_ICON, 7, 10, 20, 20
- LTEXT "Pilih perangkat yang ingin Anda cabut atau keluarkan, lalu klik Berhenti.
Ketika ReactOS memberi tahu Anda bahwa itu aman untuk dilakukan, cabut perangkat dari
komputer Anda.", IDC_STATIC, 36, 12, 234, 24, WS_CHILD | WS_VISIBLE | WS_GROUP
+ LTEXT "Pilih perangkat yang ingin Anda cabut atau keluarkan, lalu klik Berhenti.
Ketika ReactOS memberi tahu Anda bahwa itu aman untuk dilakukan, cabut perangkat dari
komputer Anda.", IDC_STATIC, 36, 10, 234, 24, WS_CHILD | WS_VISIBLE | WS_GROUP
LTEXT "Peran&gkat keras:", IDC_STATIC, 7, 42, 248, 8, WS_CHILD |
WS_VISIBLE | WS_GROUP
CONTROL "", IDC_SAFE_REMOVE_DEVICE_TREE, "SysTreeView32",
TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_CHILD |
WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 7, 52, 264, 102
LTEXT "", IDC_SAFE_REMOVE_TEXT, 7, 156, 264, 16, WS_CHILD | WS_VISIBLE |
WS_GROUP
PUSHBUTTON "&Properti", IDC_SAFE_REMOVE_PROPERTIES, 158, 178, 55, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Berhenti", IDC_SAFE_REMOVE_STOP, 216, 178, 55, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
CONTROL "", IDC_STATIC, "static", SS_CENTER | SS_SUNKEN |
WS_CHILD | WS_VISIBLE, 7, 200, 264, 1
- AUTOCHECKBOX "Ta&mpilkan komponen perangkat",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 112, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ AUTOCHECKBOX "Ta&mpilkan komponen perangkat",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 140, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Tutup", IDCLOSE, 216, 224, 55, 14, WS_CHILD | WS_VISIBLE |
WS_TABSTOP
END
+
+
+/* Menus */
+
+IDM_POPUP_DEVICE_TREE MENU
+BEGIN
+ POPUP ""
+ BEGIN
+ MENUITEM "Stop", IDM_STOP
+ MENUITEM "Properties", IDM_PROPERTIES
+ END
+END
diff --git a/dll/cpl/hotplug/lang/pt-PT.rc b/dll/cpl/hotplug/lang/pt-PT.rc
index 91a1df26953..50e56abe08b 100644
--- a/dll/cpl/hotplug/lang/pt-PT.rc
+++ b/dll/cpl/hotplug/lang/pt-PT.rc
@@ -6,14 +6,14 @@ STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
| WS_SYS
FONT 8, "MS Shell Dlg"
BEGIN
ICON IDI_HOTPLUG, IDC_SAFE_REMOVE_ICON, 7, 10, 20, 20
- LTEXT "Seleccione o dispositivo que quer desligar ou ejectar e em seguida clique
em ""Parar"". Quando o ReactOS o avisar que o pode fazer, desligue o
dispositivo do seu computador.", IDC_STATIC, 36, 12, 234, 24, WS_CHILD | WS_VISIBLE |
WS_GROUP
+ LTEXT "Seleccione o dispositivo que quer desligar ou ejectar e em seguida clique
em ""Parar"". Quando o ReactOS o avisar que o pode fazer, desligue o
dispositivo do seu computador.", IDC_STATIC, 36, 10, 234, 24, WS_CHILD | WS_VISIBLE |
WS_GROUP
LTEXT "Dispositivos de &hardware:", IDC_STATIC, 7, 42, 248, 8, WS_CHILD
| WS_VISIBLE | WS_GROUP
CONTROL "", IDC_SAFE_REMOVE_DEVICE_TREE, "SysTreeView32",
TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_CHILD |
WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 7, 52, 264, 102
LTEXT "", IDC_SAFE_REMOVE_TEXT, 7, 156, 264, 16, WS_CHILD | WS_VISIBLE |
WS_GROUP
PUSHBUTTON "&Propriedades", IDC_SAFE_REMOVE_PROPERTIES, 158, 178, 55,
14, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Parar", IDC_SAFE_REMOVE_STOP, 216, 178, 55, 14, WS_CHILD |
WS_VISIBLE | WS_TABSTOP
CONTROL "", IDC_STATIC, "static", SS_CENTER | SS_SUNKEN |
WS_CHILD | WS_VISIBLE, 7, 200, 264, 1
- AUTOCHECKBOX "&Mostrar os componentes do dispositivo",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 112, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ AUTOCHECKBOX "&Mostrar os componentes do dispositivo",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 140, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
PUSHBUTTON "&Fechar", IDCLOSE, 216, 224, 55, 14, WS_CHILD | WS_VISIBLE
| WS_TABSTOP
END
diff --git a/dll/cpl/hotplug/lang/ru-RU.rc b/dll/cpl/hotplug/lang/ru-RU.rc
new file mode 100644
index 00000000000..005bbf14483
--- /dev/null
+++ b/dll/cpl/hotplug/lang/ru-RU.rc
@@ -0,0 +1,30 @@
+LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
+
+IDD_SAFE_REMOVE_HARDWARE_DIALOG DIALOGEX 0, 0, 278, 245
+CAPTION "Безопасное извлечение устройств"
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+FONT 8, "MS Shell Dlg"
+BEGIN
+ ICON IDI_HOTPLUG, IDC_SAFE_REMOVE_ICON, 7, 10, 20, 20
+ LTEXT "Выберите устройство, которое вы хотите отключить, и нажмите
""Остановить"". Как только ReactOS оповестит вас, что это можно
безопасно сделать, отключите устройство от вашего компьютера.", IDC_STATIC, 36, 10,
234, 24, WS_CHILD | WS_VISIBLE | WS_GROUP
+ LTEXT "&Подключённые устройства:", IDC_STATIC, 7, 42, 248, 8, WS_CHILD
| WS_VISIBLE | WS_GROUP
+ CONTROL "", IDC_SAFE_REMOVE_DEVICE_TREE, "SysTreeView32",
TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | WS_CHILD |
WS_VISIBLE | WS_BORDER | WS_GROUP | WS_TABSTOP, 7, 52, 264, 102
+ LTEXT "", IDC_SAFE_REMOVE_TEXT, 7, 156, 264, 16, WS_CHILD | WS_VISIBLE |
WS_GROUP
+ PUSHBUTTON "&Свойства", IDC_SAFE_REMOVE_PROPERTIES, 158, 178, 55, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&Остановить", IDC_SAFE_REMOVE_STOP, 216, 178, 55, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ CONTROL "", IDC_STATIC, "static", SS_CENTER | SS_SUNKEN |
WS_CHILD | WS_VISIBLE, 7, 200, 264, 1
+ AUTOCHECKBOX "Показать &компоненты устройств",
IDC_SAFE_REMOVE_DISPLAY_COMPONENTS, 7, 208, 140, 10, WS_CHILD | WS_VISIBLE | WS_TABSTOP
+ PUSHBUTTON "&Закрыть", IDCLOSE, 216, 224, 55, 14, WS_CHILD | WS_VISIBLE
| WS_TABSTOP
+END
+
+
+/* Menus */
+
+IDM_POPUP_DEVICE_TREE MENU
+BEGIN
+ POPUP ""
+ BEGIN
+ MENUITEM "Остановить", IDM_STOP
+ MENUITEM "Свойства", IDM_PROPERTIES
+ END
+END