1/* FontSub by Katayama Hirofumi MZ 2 * 3 * To the extent possible under law, the person who associated CC0 with 4 * FontSub has waived all copyright and related or neighboring rights 5 * to FontSub. 6 * 7 * You should have received a copy of the CC0 legalcode along with this 8 * work. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. 9 */ 10 11/* UTF-8 */ 12#pragma code_page(65001) 13 14LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US 15 161 MENU 17BEGIN 18 POPUP "&File" 19 BEGIN 20 MENUITEM "&Import From...\tCtrl+O", ID_IMPORT 21 MENUITEM "&Export To...\tCtrl+S", ID_EXPORT 22 MENUITEM SEPARATOR 23 MENUITEM "Re&load from Registry\tCtrl+L", ID_RELOAD 24 MENUITEM "Update &Registry\tCtrl+U", ID_UPDATE_REGISTRY 25 MENUITEM SEPARATOR 26 MENUITEM "Open in Reg&edit", ID_OPEN_REGKEY 27 MENUITEM SEPARATOR 28 MENUITEM "E&xit\tAlt+F4", ID_EXIT 29 END 30 POPUP "&Edit" 31 BEGIN 32 MENUITEM "&New Item\tCtrl+N", ID_NEW 33 MENUITEM SEPARATOR 34 MENUITEM "&Edit Item\tEnter", ID_EDIT 35 MENUITEM SEPARATOR 36 MENUITEM "&Delete Item\tDel", ID_DELETE 37 END 38 POPUP "&Help" 39 BEGIN 40 MENUITEM "&About...", ID_ABOUT 41 END 42END 43 442 MENU 45BEGIN 46 POPUP "Popup" 47 BEGIN 48 MENUITEM "&New Item\tCtrl+N", ID_NEW 49 MENUITEM SEPARATOR 50 MENUITEM "&Edit Item\tEnter", ID_EDIT 51 MENUITEM SEPARATOR 52 MENUITEM "&Delete Item\tDel", ID_DELETE 53 END 54END 55 56STRINGTABLE 57BEGIN 58 IDS_TITLE, "Font Substitutes Editor" 59 IDS_FONTNAME, "Font Name" 60 IDS_SUBSTITUTE, "Substitute" 61 IDS_ENTERNAME, "(Please enter a font name...)" 62 IDS_IMPORT, "Import" 63 IDS_EXPORT, "Export" 64 IDS_CANTIMPORT, "Could not import." 65 IDS_CANTEXPORT, "Could not export." 66 IDS_INPFILTER, "Registry Files (*.reg)|*.reg|All Files (*.*)|*.*|" 67 IDS_OUTFILTER, "Registry Files (*.reg)|*.reg|" 68 IDS_QUERYUPDATE, "Substitutes info has been modified. Update registry now?" 69 IDS_ALREADYEXISTS, "The same name already exists." 70 IDS_ENTERNAME2, "Enter the font name." 71 IDS_QUERYDELETE, "Do you really want to delete this item?" 72 IDS_CANTOPENKEY, "Could not open the registry key." 73 IDS_REBOOTNOW, "Registry was updated. Reboot system now?" 74 IDS_ABOUT, "FontSub (Font Substitute Editor) Version 0.5\r\nby Katayama Hirofumi MZ and The ReactOS Team\r\n\r\nThis software was released under CC0 1.0 license." 75END 76 77IDD_ADD DIALOGEX 0, 0, 315, 65 78STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU 79CAPTION "Add Substitute Item" 80FONT 10, "MS Shell Dlg" 81BEGIN 82 CONTROL "Font &Name:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15 83 CONTROL "", cmb1, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 6, 120, 120 84 CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120 85 CONTROL "&Substitute:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15 86 CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120 87 CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120 88 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14 89 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14 90END 91 92IDD_EDIT DIALOGEX 0, 0, 315, 65 93STYLE DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_CAPTION | WS_SYSMENU 94CAPTION "Edit Substitute Item" 95FONT 10, "MS Shell Dlg" 96BEGIN 97 CONTROL "Font &Name:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 5, 55, 15 98 CONTROL "", edt1, "EDIT", ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_DISABLED | WS_BORDER | WS_TABSTOP, 70, 6, 120, 14 99 CONTROL "", cmb3, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 6, 115, 120 100 CONTROL "&Substitute:", -1, "STATIC", SS_RIGHT | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE | WS_GROUP, 5, 25, 55, 15 101 CONTROL "", cmb2, "ComboBoxEx32", CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 70, 26, 120, 120 102 CONTROL "", cmb4, "ComboBoxEx32", CBS_DROPDOWNLIST | WS_HSCROLL | WS_VSCROLL | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 195, 26, 115, 120 103 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 175, 45, 60, 14 104 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 240, 45, 60, 14 105 CONTROL "&Delete", psh1, "BUTTON", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 5, 45, 60, 14 106END 107