]> repos.lx-s.de Git - winmute.git/commitdiff
Started translating the endpoint management dialog..
authorlx-s <lx-s@users.noreply.github.com>
Fri, 8 Dec 2023 20:43:02 +0000 (21:43 +0100)
committerlx-s <lx-s@users.noreply.github.com>
Fri, 8 Dec 2023 20:43:02 +0000 (21:43 +0100)
Translations/wm_de/resource.h
Translations/wm_de/wm_de.rc
WinMute/SettingsDlg.cpp
WinMute/WinMute.rc
WinMute/resource.h

index 8b3a1ed8c752f2436144d30db845a2518854a031..9e13f24e5ee5ca2b54b67f40535ea02e447893ba 100644 (file)
@@ -59,6 +59,7 @@
 #define IDS_SETTINGS_TAB_QUIET_HOURS    1012
 #define IDS_SETTINGS_TAB_BLUETOOTH      1013
 #define IDS_SETTINGS_TAB_WIFI           1014
+#define IDS_SETTINGS_TITLE              1015
 #define IDS_SETTINGS_GENERAL_RUN_ON_STARTUP 1050
 #define IDS_SETTINGS_GENERAL_ENABLE_LOGGING 1051
 #define IDS_SETTINGS_GENERAL_OPEN_LOG_FILE 1052
 #define IDS_SETTINGS_MUTE_WHEN_COMPUTER_GOES_TO_SLEEP 1212
 #define IDS_SETTINGS_MUTE_WHEN_USER_LOGS_OUT 1213
 #define IDS_SETTINGS_MUTE_WHEN_RDP_SESSION_STARTS 1214
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_TITLE 1250
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_LIST_BEHAVIOUR_TITLE 1251
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ONLY_LISTED 1252
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ALL_BUT_LISTED 1253
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_ENDPOINTS_TITLE 1254
 #define IDS_SETTINGS_QUIETHOURS_INTRO   1300
 #define IDS_SETTINGS_QUIETHOURS_ENABLE  1301
 #define IDS_SETTINGS_QUIETHOURS_START_TIME_LABEL 1302
index 14abe4d180c2f9503fdca5ccb23ee90c2de7c54f..02cfa56a6ab2cb0bd029a7c9634db939c6c86544 100644 (file)
Binary files a/Translations/wm_de/wm_de.rc and b/Translations/wm_de/wm_de.rc differ
index 4c66a5f2ae013607601ad8f8715bf629f71dcd4e..b6a334b2d5e2db3e4dd5fddfe418cf158cdeb083 100644 (file)
@@ -142,6 +142,8 @@ INT_PTR CALLBACK SettingsDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lPar
       
       dlgData->hTabCtrl = GetDlgItem(hDlg, IDC_SETTINGS_TAB);
 
+      SetWindowText(hDlg, i18n.GetTextW(IDS_SETTINGS_TITLE).c_str());
+
       i18n.SetItemText(hDlg, IDOK, IDS_SETTINGS_BTN_SAVE);
       i18n.SetItemText(hDlg, IDCANCEL, IDS_SETTINGS_BTN_CANCEL);
 
index 97384cb5d76fdeecef13b66647f76c54d22b5476..ea8ead77ba512aaada34b8d9c689a6581ba9e05c 100644 (file)
@@ -223,8 +223,8 @@ BEGIN
                     "Button",BS_AUTORADIOBUTTON,13,19,99,10
     CONTROL         "Mute all but the listed endpoints",IDC_ENDPOINT_LIST_IS_BLOCKLIST,
                     "Button",BS_AUTORADIOBUTTON,13,32,118,10
-    GROUPBOX        "List behaviour",IDC_STATIC,7,7,227,41
-    GROUPBOX        "Endpoints",IDC_STATIC,7,48,227,128
+    GROUPBOX        "List behaviour",IDC_GROUP_LIST_BEHAVIOUR,7,7,227,41
+    GROUPBOX        "Endpoints",IDC_GROUP_ENDPOINTS,7,48,227,128
 END
 
 IDD_MANAGE_ENDPOINTS_ADD DIALOGEX 0, 0, 201, 62
@@ -648,6 +648,7 @@ BEGIN
     IDS_SETTINGS_TAB_QUIETHOURS "Quiet Hours"
     IDS_SETTINGS_TAB_BLUETOOTH "Bluetooth"
     IDS_SETTINGS_TAB_WIFI   "WLAN"
+    IDS_SETTINGS_TITLE      "Settings"
 END
 
 STRINGTABLE
@@ -743,6 +744,17 @@ BEGIN
     IDS_ABOUT_CLOSE_BTN     "OK"
 END
 
+STRINGTABLE
+BEGIN
+    IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_TITLE "Manage audio endpoints"
+    IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_LIST_BEHAVIOUR_TITLE "List behaviour"
+    IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ONLY_LISTED 
+                            "Mute only listed endpoints"
+    IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ALL_BUT_LISTED 
+                            "Mute all but listed endpoints"
+    IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_ENDPOINTS_TITLE "Endpoints"
+END
+
 #endif    // English (United Kingdom) resources
 /////////////////////////////////////////////////////////////////////////////
 
index 67b7bc628ae24065ff070b857a9a6d211d44f786..0dedabfa110e2cc59adad49ef3df1cdcbc2eda47 100644 (file)
 #define IDC_OPENLOG                     1014
 #define IDS_SETTINGS_TAB_WIFI           1014
 #define IDC_LICENSETEXT                 1015
+#define IDS_SETTINGS_TITLE              1015
 #define IDC_ABOUT_TAB                   1016
 #define IDC_ABOUTTEXT                   1019
 #define IDC_TITLE                       1020
 #define IDC_QUIET_HOURS_FORCE_UNMUTE_DESCRIPTION 1062
 #define IDC_WIFI_INTRO                  1063
 #define IDC_WIFI_NAME_LABEL             1064
+#define IDC_GROUP_LIST_BEHAVIOUR        1066
+#define IDC_GROUP_ENDPOINTS             1067
 #define IDS_SETTINGS_BLUETOOTH_ADD_DLG_TITLE 1101
 #define IDS_SETTINGS_BLUETOOTH_EDIT_DLG_TITLE 1102
 #define IDS_SETTINGS_BLUETOOTH_ADD_DLG_DEVICE_NAME_LABEL 1103
 #define IDS_SETTINGS_MUTE_WHEN_COMPUTER_GOES_TO_SLEEP 1212
 #define IDS_SETTINGS_MUTE_WHEN_USER_LOGS_OUT 1213
 #define IDS_SETTINGS_MUTE_WHEN_RDP_SESSION_STARTS 1214
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_TITLE 1250
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_LIST_BEHAVIOUR_TITLE 1251
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ONLY_LISTED 1252
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_MUTE_ALL_BUT_LISTED 1253
+#define IDS_SETTINGS_MUTE_MANAGE_ENDPOINTS_ENDPOINTS_TITLE 1254
 #define IDS_SETTINGS_QUIETHOURS_INTRO   1300
 #define IDS_SETTINGS_QUIETHOURS_ENABLE  1301
 #define IDS_SETTINGS_QUIETHOURS_START_TIME_LABEL 1302
 #ifndef APSTUDIO_READONLY_SYMBOLS
 #define _APS_NEXT_RESOURCE_VALUE        141
 #define _APS_NEXT_COMMAND_VALUE         40041
-#define _APS_NEXT_CONTROL_VALUE         1066
+#define _APS_NEXT_CONTROL_VALUE         1068
 #define _APS_NEXT_SYMED_VALUE           101
 #endif
 #endif