Cumulative changes

Move to translateable (System Default) message
Move change language to Tools menu
Redesign the language dialog
Add the translators' name to the About dialog, to make the translation process more attractive
This commit is contained in:
Laci bá
2021-11-13 22:36:13 +01:00
parent 3fa1e88d7d
commit 7ae10144ad
5 changed files with 50 additions and 29 deletions

View File

@@ -62,7 +62,6 @@ BEGIN
MENUITEM "&Linear", IDM_VID_FILTER_LINEAR
END
MENUITEM "Hi&DPI scaling", IDM_VID_HIDPI
MENUITEM "Dis&play language...", IDM_VID_PROG_SETT
MENUITEM SEPARATOR
MENUITEM "&Fullscreen\tCtrl+Alt+PageUP", IDM_VID_FULLSCREEN
POPUP "Fullscreen &stretch mode"
@@ -99,6 +98,8 @@ BEGIN
BEGIN
MENUITEM "&Settings...", IDM_CONFIG
MENUITEM "&Update status bar icons", IDM_UPDATE_ICONS
MENUITEM SEPARATOR
MENUITEM "Change dis&play language...", IDM_VID_PROG_SETT
# ifdef USE_DISCORD
MENUITEM SEPARATOR
MENUITEM "Enable &Discord integration", IDM_DISCORD
@@ -270,20 +271,17 @@ END
// Dialog
//
DLG_PROG_SETT DIALOG DISCARDABLE 0, 0, 286, 86
DLG_PROG_SETT DIALOG DISCARDABLE 0, 0, 240, 86
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Change Display Language"
FONT 9, "Segoe UI"
BEGIN
DEFPUSHBUTTON "OK", IDOK, 166, 64, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 222, 64, 50, 14
COMBOBOX IDC_COMBO_LANG, 10, 18, 266, 16, CBS_DROPDOWNLIST | CBS_HASSTRINGS
#if 0
AUTOCHECKBOX "Use these settings as global &defaults", IDC_CHECKBOX_GLOBAL, 8, 67, 152, 8
#endif
PUSHBUTTON "&System Language", IDC_BUTTON_SYSTEM, 120, 35, 82, 14
PUSHBUTTON "&Default", IDC_BUTTON_DEFAULT, 206, 35, 60, 14
LTEXT "Language:", 0, 9, 8, 34, 8
DEFPUSHBUTTON "OK", IDOK, 123, 65, 50, 14
PUSHBUTTON "Cancel", IDCANCEL, 179, 65, 50, 14
COMBOBOX IDC_COMBO_LANG, 13, 18, 213, 22, CBS_DROPDOWNLIST | CBS_HASSTRINGS
AUTOCHECKBOX "Save these settings as &global defaults", IDC_CHECKBOX_GLOBAL, 13, 50, 217, 8 , WS_DISABLED
PUSHBUTTON "&Default", IDC_BUTTON_DEFAULT, 162, 32, 60, 14
LTEXT "Language:", 0, 13, 8, 34, 8
END
DLG_STATUS DIALOG DISCARDABLE 0, 0, 186, 386
@@ -834,7 +832,20 @@ BEGIN
IDS_2123 "Save"
IDS_2124 "About 86Box"
IDS_2125 "86Box v" EMU_VERSION
IDS_2126 "An emulator of old computers\n\nAuthors: Sarah Walker, Miran Grca, Fred N. van Kempen (waltje), SA1988, MoochMcGee, reenigne, leilei, JohnElliott, greatpsycho, and others.\n\nReleased under the GNU General Public License version 2. See LICENSE for more information."
IDS_2126 "An emulator of old computers\n\n"
"Authors: Sarah Walker, Miran Grca, Fred N. van Kempen (waltje), SA1988, MoochMcGee, reenigne, leilei, JohnElliott, greatpsycho, and others.\n\n"
/*
Translate the following line as "Translated by: <your name goes here>\n\n".
If there were previous translators, don't erase their name, just add yours to the end of line.
*/
"This is the program's base language.\n\n"
"Released under the GNU General Public License version 2 or later. See LICENSE for more information."
IDS_2127 "OK"
IDS_2128 "Hardware not available"
#ifdef _WIN32
@@ -979,7 +990,7 @@ BEGIN
IDS_6146 "1.5%% below perfect RPM"
IDS_6147 "2%% below perfect RPM"
IDS_7168 "English (United States)"
IDS_7168 "(System Default)"
END
#define IDS_LANG_ENUS IDS_7168