reactos/base/applications/osk/lang/ru-RU.rc
Bișoc George d000a1e1c6 [OSK] Implement "Use Click Sound" feature
- Implement the save/load handler for this feature
- Check the "Use Click Sound" item state accordingly depending if it's enabled or disabled
- Use PlaySoundW() to play the wave sound file from resource
- Add the WAV sound click file. The work is made thanks to Midori Mizuno
2019-03-01 00:13:47 +01:00

306 lines
14 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* PROJECT: ReactOS On-Screen Keyboard
* LICENSE: GPL - See COPYING in the top level directory
* FILE: base/applications/osk/lang/ru-RU.rc
* PURPOSE: On screen keyboard (Russian resources)
* PROGRAMMERS: Denis ROBERT
*/
LANGUAGE LANG_RUSSIAN, SUBLANG_NEUTRAL
MAIN_DIALOG_ENHANCED_KB DIALOGEX DISCARDABLE 0, 0, 463, 115
CAPTION "Экранная клавиатура"
FONT 8, "MS Shell Dlg"
MENU IDR_OSK_MENU
STYLE WS_SYSMENU | WS_MINIMIZEBOX
EXSTYLE WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_APPWINDOW
BEGIN
PUSHBUTTON "Esc",SCAN_CODE_110,3,3,15,15
PUSHBUTTON "F1",SCAN_CODE_112,43,3,15,15
PUSHBUTTON "F2",SCAN_CODE_113,63,3,15,15
PUSHBUTTON "F3",SCAN_CODE_114,83,3,15,15
PUSHBUTTON "F4",SCAN_CODE_115,103,3,15,15
PUSHBUTTON "F5",SCAN_CODE_116,143,3,15,15
PUSHBUTTON "F6",SCAN_CODE_117,163,3,15,15
PUSHBUTTON "F7",SCAN_CODE_118,183,3,15,15
PUSHBUTTON "F8",SCAN_CODE_119,203,3,15,15
PUSHBUTTON "F9",SCAN_CODE_120,243,3,15,15
PUSHBUTTON "F10",SCAN_CODE_121,263,3,15,15
PUSHBUTTON "F11",SCAN_CODE_122,283,3,15,15
PUSHBUTTON "F12",SCAN_CODE_123,303,3,15,15
PUSHBUTTON "Prn",SCAN_CODE_124,323,3,15,15
PUSHBUTTON "Stop",SCAN_CODE_125,343,3,15,15
PUSHBUTTON "Attn",SCAN_CODE_126,363,3,15,15
PUSHBUTTON "ё",SCAN_CODE_1,3,22,15,15
PUSHBUTTON "1",SCAN_CODE_2,23,22,15,15
PUSHBUTTON "2",SCAN_CODE_3,43,22,15,15
PUSHBUTTON "3",SCAN_CODE_4,63,22,15,15
PUSHBUTTON "4",SCAN_CODE_5,83,22,15,15
PUSHBUTTON "5",SCAN_CODE_6,103,22,15,15
PUSHBUTTON "6",SCAN_CODE_7,123,22,15,15
PUSHBUTTON "7",SCAN_CODE_8,143,22,15,15
PUSHBUTTON "8",SCAN_CODE_9,163,22,15,15
PUSHBUTTON "9",SCAN_CODE_10,183,22,15,15
PUSHBUTTON "0",SCAN_CODE_11,203,22,15,15
PUSHBUTTON "-",SCAN_CODE_12,223,22,15,15
PUSHBUTTON "=",SCAN_CODE_13,243,22,15,15
PUSHBUTTON "<--",SCAN_CODE_15,263,22,55,15,BS_ICON
PUSHBUTTON "Tab",SCAN_CODE_16,3,41,35,15,BS_ICON
PUSHBUTTON "й",SCAN_CODE_17,42,41,15,15
PUSHBUTTON "ц",SCAN_CODE_18,61,41,15,15
PUSHBUTTON "у",SCAN_CODE_19,80,41,15,15
PUSHBUTTON "к",SCAN_CODE_20,99,41,15,15
PUSHBUTTON "е",SCAN_CODE_21,118,41,15,15
PUSHBUTTON "н",SCAN_CODE_22,137,41,15,15
PUSHBUTTON "г",SCAN_CODE_23,156,41,15,15
PUSHBUTTON "ш",SCAN_CODE_24,175,41,15,15
PUSHBUTTON "щ",SCAN_CODE_25,194,41,15,15
PUSHBUTTON "з",SCAN_CODE_26,213,41,15,15
PUSHBUTTON "х",SCAN_CODE_27,232,41,15,15
PUSHBUTTON "ъ",SCAN_CODE_28,251,41,15,15
PUSHBUTTON "lock",SCAN_CODE_30,3,60,46,15,BS_ICON
PUSHBUTTON "ф",SCAN_CODE_31,53,60,15,15
PUSHBUTTON "ы",SCAN_CODE_32,72,60,15,15
PUSHBUTTON "в",SCAN_CODE_33,91,60,15,15
PUSHBUTTON "а",SCAN_CODE_34,110,60,15,15
PUSHBUTTON "п",SCAN_CODE_35,129,60,15,15
PUSHBUTTON "р",SCAN_CODE_36,148,60,15,15
PUSHBUTTON "о",SCAN_CODE_37,167,60,15,15
PUSHBUTTON "л",SCAN_CODE_38,186,60,15,15
PUSHBUTTON "д",SCAN_CODE_39,205,60,15,15
PUSHBUTTON "ж",SCAN_CODE_40,224,60,15,15
PUSHBUTTON "э",SCAN_CODE_41,243,60,15,15
PUSHBUTTON "\\",SCAN_CODE_42,270,41,48,15
PUSHBUTTON "ret",SCAN_CODE_43,262,60,56,15,BS_ICON
PUSHBUTTON "shift",SCAN_CODE_44,3,79,57,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "я",SCAN_CODE_46,64,79,15,15
PUSHBUTTON "ч",SCAN_CODE_47,83,79,15,15
PUSHBUTTON "с",SCAN_CODE_48,102,79,15,15
PUSHBUTTON "м",SCAN_CODE_49,121,79,15,15
PUSHBUTTON "и",SCAN_CODE_50,140,79,15,15
PUSHBUTTON "т",SCAN_CODE_51,159,79,15,15
PUSHBUTTON "ь",SCAN_CODE_52,178,79,15,15
PUSHBUTTON "б",SCAN_CODE_53,197,79,15,15
PUSHBUTTON "ю",SCAN_CODE_54,216,79,15,15
PUSHBUTTON ".",SCAN_CODE_55,235,79,15,15
PUSHBUTTON "shift",SCAN_CODE_57,254,79,64,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ctrl",SCAN_CODE_58,3,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "v",SCAN_CODE_84,343,98,15,15,BS_ICON
PUSHBUTTON "ROS",SCAN_CODE_127,30,98,24,15,BS_ICON
PUSHBUTTON "alt",SCAN_CODE_60,57,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "",SCAN_CODE_61,84,98,125,15 //space
PUSHBUTTON "alt",SCAN_CODE_62,213,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ROS",SCAN_CODE_128,240,98,24,15,BS_ICON
PUSHBUTTON "menu",SCAN_CODE_129,267,98,24,15,BS_ICON
PUSHBUTTON "ctrl",SCAN_CODE_64,294,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ins",SCAN_CODE_75,323,22,15,15
PUSHBUTTON "del",SCAN_CODE_76,323,41,15,15
PUSHBUTTON "hm",SCAN_CODE_80,343,22,15,15
PUSHBUTTON "end",SCAN_CODE_81,343,41,15,15
PUSHBUTTON "pup",SCAN_CODE_85,363,22,15,15
PUSHBUTTON "pdn",SCAN_CODE_86,363,41,15,15
PUSHBUTTON "<-",SCAN_CODE_79,323,98,15,15,BS_ICON
PUSHBUTTON "^",SCAN_CODE_83,343,79,15,15,BS_ICON
PUSHBUTTON "->",SCAN_CODE_89,363,98,15,15,BS_ICON
PUSHBUTTON "nlk",SCAN_CODE_90,383,22,15,15
PUSHBUTTON "7",SCAN_CODE_91,383,41,15,15
PUSHBUTTON "4",SCAN_CODE_92,383,60,15,15
PUSHBUTTON "1",SCAN_CODE_93,383,79,15,15
PUSHBUTTON "/",SCAN_CODE_95,403,22,15,15
PUSHBUTTON "8",SCAN_CODE_96,403,41,15,15
PUSHBUTTON "5",SCAN_CODE_97,403,60,15,15
PUSHBUTTON "2",SCAN_CODE_98,403,79,15,15
PUSHBUTTON "0",SCAN_CODE_99,383,98,34,15
PUSHBUTTON "*",SCAN_CODE_100,423,22,15,15
PUSHBUTTON "9",SCAN_CODE_101,423,41,15,15
PUSHBUTTON "6",SCAN_CODE_102,423,60,15,15
PUSHBUTTON "3",SCAN_CODE_103,423,79,15,15
PUSHBUTTON ".",SCAN_CODE_104,423,98,15,15
PUSHBUTTON "-",SCAN_CODE_105,443,22,15,15
PUSHBUTTON "+",SCAN_CODE_106,443,41,15,35
PUSHBUTTON "ent",SCAN_CODE_108,443,78,15,35
CTEXT "Num",IDC_STATIC,383,3,21,8
CONTROL "",IDC_LED_NUM,"Static",SS_CENTER|SS_NOTIFY,391,15,4,3
CTEXT "Caps",IDC_STATIC,408,3,21,8
CONTROL "",IDC_LED_CAPS,"Static",SS_CENTER|SS_NOTIFY,417,15,4,3
CTEXT "Scroll",IDC_STATIC,433,3,21,8
CONTROL "",IDC_LED_SCROLL,"Static",SS_CENTER|SS_NOTIFY,443,15,4,3
END
MAIN_DIALOG_STANDARD_KB DIALOGEX DISCARDABLE 0, 0, 362, 115
CAPTION "On screen keyboard"
FONT 8, "MS Shell Dlg"
MENU IDR_OSK_MENU
STYLE WS_SYSMENU | WS_MINIMIZEBOX
EXSTYLE WS_EX_TOPMOST | WS_EX_NOACTIVATE | WS_EX_APPWINDOW
BEGIN
PUSHBUTTON "Esc",SCAN_CODE_110,3,3,15,15
PUSHBUTTON "F1",SCAN_CODE_112,43,3,15,15
PUSHBUTTON "F2",SCAN_CODE_113,63,3,15,15
PUSHBUTTON "F3",SCAN_CODE_114,83,3,15,15
PUSHBUTTON "F4",SCAN_CODE_115,103,3,15,15
PUSHBUTTON "F5",SCAN_CODE_116,123,3,15,15
PUSHBUTTON "F6",SCAN_CODE_117,143,3,15,15
PUSHBUTTON "F7",SCAN_CODE_118,183,3,15,15
PUSHBUTTON "F8",SCAN_CODE_119,203,3,15,15
PUSHBUTTON "F9",SCAN_CODE_120,223,3,15,15
PUSHBUTTON "F10",SCAN_CODE_121,243,3,15,15
PUSHBUTTON "F11",SCAN_CODE_122,263,3,15,15
PUSHBUTTON "F12",SCAN_CODE_123,283,3,15,15
PUSHBUTTON "Prn",SCAN_CODE_124,304,3,15,15
PUSHBUTTON "Stop",SCAN_CODE_125,324,3,15,15
PUSHBUTTON "Attn",SCAN_CODE_126,344,3,15,15
PUSHBUTTON "`",SCAN_CODE_1,3,22,15,15
PUSHBUTTON "1",SCAN_CODE_2,23,22,15,15
PUSHBUTTON "2",SCAN_CODE_3,43,22,15,15
PUSHBUTTON "3",SCAN_CODE_4,63,22,15,15
PUSHBUTTON "4",SCAN_CODE_5,83,22,15,15
PUSHBUTTON "5",SCAN_CODE_6,103,22,15,15
PUSHBUTTON "6",SCAN_CODE_7,123,22,15,15
PUSHBUTTON "7",SCAN_CODE_8,143,22,15,15
PUSHBUTTON "8",SCAN_CODE_9,163,22,15,15
PUSHBUTTON "9",SCAN_CODE_10,183,22,15,15
PUSHBUTTON "0",SCAN_CODE_11,203,22,15,15
PUSHBUTTON "-",SCAN_CODE_12,223,22,15,15
PUSHBUTTON "=",SCAN_CODE_13,243,22,15,15
PUSHBUTTON "<--",SCAN_CODE_15,263,22,36,15,BS_ICON
PUSHBUTTON "Tab",SCAN_CODE_16,3,41,35,15,BS_ICON
PUSHBUTTON "q",SCAN_CODE_17,42,41,15,15
PUSHBUTTON "w",SCAN_CODE_18,61,41,15,15
PUSHBUTTON "e",SCAN_CODE_19,80,41,15,15
PUSHBUTTON "r",SCAN_CODE_20,99,41,15,15
PUSHBUTTON "t",SCAN_CODE_21,118,41,15,15
PUSHBUTTON "y",SCAN_CODE_22,137,41,15,15
PUSHBUTTON "u",SCAN_CODE_23,156,41,15,15
PUSHBUTTON "i",SCAN_CODE_24,175,41,15,15
PUSHBUTTON "o",SCAN_CODE_25,194,41,15,15
PUSHBUTTON "p",SCAN_CODE_26,213,41,15,15
PUSHBUTTON "[",SCAN_CODE_27,232,41,15,15
PUSHBUTTON "]",SCAN_CODE_28,251,41,15,15
PUSHBUTTON "lock",SCAN_CODE_30,3,60,46,15,BS_ICON
PUSHBUTTON "a",SCAN_CODE_31,53,60,15,15
PUSHBUTTON "s",SCAN_CODE_32,72,60,15,15
PUSHBUTTON "d",SCAN_CODE_33,91,60,15,15
PUSHBUTTON "f",SCAN_CODE_34,110,60,15,15
PUSHBUTTON "g",SCAN_CODE_35,129,60,15,15
PUSHBUTTON "h",SCAN_CODE_36,148,60,15,15
PUSHBUTTON "j",SCAN_CODE_37,167,60,15,15
PUSHBUTTON "k",SCAN_CODE_38,186,60,15,15
PUSHBUTTON "l",SCAN_CODE_39,205,60,15,15
PUSHBUTTON ";",SCAN_CODE_40,224,60,15,15
PUSHBUTTON "'",SCAN_CODE_41,243,60,15,15
PUSHBUTTON "\\",SCAN_CODE_29,270,41,30,15
PUSHBUTTON "ret",SCAN_CODE_43,262,60,38,15,BS_ICON
PUSHBUTTON "shift",SCAN_CODE_44,3,79,57,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "z",SCAN_CODE_46,64,79,15,15
PUSHBUTTON "x",SCAN_CODE_47,83,79,15,15
PUSHBUTTON "c",SCAN_CODE_48,102,79,15,15
PUSHBUTTON "v",SCAN_CODE_49,121,79,15,15
PUSHBUTTON "b",SCAN_CODE_50,140,79,15,15
PUSHBUTTON "n",SCAN_CODE_51,159,79,15,15
PUSHBUTTON "m",SCAN_CODE_52,178,79,15,15
PUSHBUTTON ",",SCAN_CODE_53,197,79,15,15
PUSHBUTTON ".",SCAN_CODE_54,216,79,15,15
PUSHBUTTON "/",SCAN_CODE_55,235,79,15,15
PUSHBUTTON "shift",SCAN_CODE_57,254,79,45,15,BS_ICON|BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ctrl",SCAN_CODE_58,3,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "v",SCAN_CODE_84,324,98,15,15,BS_ICON
PUSHBUTTON "ROS",SCAN_CODE_127,30,98,24,15,BS_ICON
PUSHBUTTON "alt",SCAN_CODE_60,57,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "",SCAN_CODE_61,84,98,106,15 //space
PUSHBUTTON "alt",SCAN_CODE_62,194,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ROS",SCAN_CODE_128,221,98,24,15,BS_ICON
PUSHBUTTON "menu",SCAN_CODE_129,248,98,24,15,BS_ICON
PUSHBUTTON "ctrl",SCAN_CODE_64,275,98,24,15,BS_PUSHLIKE|BS_AUTOCHECKBOX
PUSHBUTTON "ins",SCAN_CODE_75,304,22,15,15
PUSHBUTTON "del",SCAN_CODE_76,304,41,15,15
PUSHBUTTON "hm",SCAN_CODE_80,324,22,15,15
PUSHBUTTON "end",SCAN_CODE_81,324,41,15,15
PUSHBUTTON "pup",SCAN_CODE_85,344,22,15,15
PUSHBUTTON "pdn",SCAN_CODE_86,344,41,15,15
PUSHBUTTON "<-",SCAN_CODE_79,304,98,15,15,BS_ICON
PUSHBUTTON "^",SCAN_CODE_83,324,79,15,15,BS_ICON
PUSHBUTTON "->",SCAN_CODE_89,344,98,15,15,BS_ICON
PUSHBUTTON "nlk",SCAN_CODE_90,364,22,15,15
PUSHBUTTON "7",SCAN_CODE_91,364,41,15,15
PUSHBUTTON "4",SCAN_CODE_92,364,60,15,15
PUSHBUTTON "1",SCAN_CODE_93,364,79,15,15
PUSHBUTTON "/",SCAN_CODE_95,384,22,15,15
PUSHBUTTON "8",SCAN_CODE_96,384,41,15,15
PUSHBUTTON "5",SCAN_CODE_97,384,60,15,15
PUSHBUTTON "2",SCAN_CODE_98,384,79,15,15
PUSHBUTTON "0",SCAN_CODE_99,364,98,34,15
PUSHBUTTON "*",SCAN_CODE_100,404,22,15,15
PUSHBUTTON "9",SCAN_CODE_101,404,41,15,15
PUSHBUTTON "6",SCAN_CODE_102,404,60,15,15
PUSHBUTTON "3",SCAN_CODE_103,404,79,15,15
PUSHBUTTON ".",SCAN_CODE_104,404,98,15,15
PUSHBUTTON "-",SCAN_CODE_105,424,22,15,15
PUSHBUTTON "+",SCAN_CODE_106,424,41,15,35
PUSHBUTTON "ent",SCAN_CODE_108,424,78,15,35
CTEXT "Num",IDC_STATIC,364,3,21,8
CONTROL "",IDC_LED_NUM,"Static",SS_CENTER|SS_NOTIFY,372,15,4,3
CTEXT "Caps",IDC_STATIC,389,3,21,8
CONTROL "",IDC_LED_CAPS,"Static",SS_CENTER|SS_NOTIFY,398,15,4,3
CTEXT "Scroll",IDC_STATIC,414,3,21,8
CONTROL "",IDC_LED_SCROLL,"Static",SS_CENTER|SS_NOTIFY,424,15,4,3
END
IDR_OSK_MENU MENU DISCARDABLE
BEGIN
POPUP "File"
BEGIN
MENUITEM "&Exit", IDM_EXIT
END
POPUP "Keyboard"
BEGIN
MENUITEM "Enhanced Keyboard", IDM_ENHANCED_KB, CHECKED
MENUITEM "Standard Keyboard", IDM_STANDARD_KB
MENUITEM SEPARATOR
MENUITEM "Regular Layout", IDM_REG_LAYOUT, CHECKED, GRAYED
MENUITEM "Block Layout", IDM_BLOCK_LAYOUT, GRAYED
MENUITEM SEPARATOR
MENUITEM "101 keys", IDM_101_KEYS, CHECKED, GRAYED
MENUITEM "102 keys", IDM_102_KEYS, GRAYED
MENUITEM "106 keys", IDM_106_KEYS, GRAYED
END
POPUP "Settings"
BEGIN
MENUITEM "Always on Top", IDM_ON_TOP, CHECKED, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Use Click Sound", IDM_CLICK_SOUND
MENUITEM SEPARATOR
MENUITEM "&Typing Mode...", IDM_TYPE_MODE, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Font...", IDM_FONT, GRAYED
END
POPUP "Help"
BEGIN
MENUITEM "&Help Topics", IDM_HELP_TOPICS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&About On-Screen Keyboard...", IDM_ABOUT
END
END
IDD_WARNINGDIALOG_OSK DIALOGEX 0, 0, 250, 97
STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION
CAPTION "On-Screen Keyboard"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK", IDOK, 193, 76, 50, 14
ICON IDI_OSK, IDC_STATIC, 7, 17, 20, 20
LTEXT "On-Screen Keyboard provides a minimum level of functionality for mobility-impaired users. Mobility-impaired users will need a utility program with higher functionality for daily use.", IDC_STATIC, 36, 7, 207, 33
CONTROL "Do not show this message again", IDC_SHOWWARNINGCHECK, "Button",
BS_AUTOCHECKBOX | WS_TABSTOP, 43, 80, 137, 10
END
STRINGTABLE
BEGIN
STRING_OSK "On-Screen Keyboard"
STRING_AUTHORS "Copyright Denis Robert"
END
/* EOF */