[VGAFONTEDIT] Add Chinese translation for VGA font edit utility. ROSAPPS-254 #resolve
authorZiliang Guo <drakekaizer666@gmail.com>
Mon, 5 Aug 2013 17:24:09 +0000 (17:24 +0000)
committerZiliang Guo <drakekaizer666@gmail.com>
Mon, 5 Aug 2013 17:24:09 +0000 (17:24 +0000)
svn path=/trunk/; revision=59643

rosapps/applications/devutils/vgafontedit/lang/zh-CN.rc [new file with mode: 0644]
rosapps/applications/devutils/vgafontedit/rsrc.rc

diff --git a/rosapps/applications/devutils/vgafontedit/lang/zh-CN.rc b/rosapps/applications/devutils/vgafontedit/lang/zh-CN.rc
new file mode 100644 (file)
index 0000000..c1c092a
--- /dev/null
@@ -0,0 +1,94 @@
+/*
+ * PROJECT:     ReactOS VGA Font Editor
+ * LICENSE:     GNU General Public License Version 2.0 or any later version
+ * FILE:        devutils/vgafontedit/lang/zh-CN.rc
+ * PURPOSE:     Simplified Chinese resource file
+ * COPYRIGHT:   Copyright 2008 Colin Finck <mail@colinfinck.de>
+ * TRANSLATOR:  BinSys <binsys@163.com>
+ */
+
+LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED
+
+IDD_ABOUT DIALOGEX 10, 10, 130, 62
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
+CAPTION "关于"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    ICON           IDI_MAIN,                     IDC_STATIC, 10, 10, 20, 20
+    LTEXT          "ReactOS VGA 字体 编辑器",    IDC_STATIC, 37, 10, 93, 10
+    LTEXT          "Copyright 2008 Colin Finck", IDC_STATIC, 37, 20, 93, 10
+    DEFPUSHBUTTON  "确定",                         IDCANCEL,   40, 44, 55, 15
+END
+
+IDD_EDITGLYPH DIALOGEX 32768, 32768, 246, 197
+STYLE DS_SHELLFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "编辑 字形"
+FONT 8, "MS Shell Dlg"
+BEGIN
+    CONTROL "", IDC_EDIT_GLYPH_TOOLBOX, TOOLBARCLASSNAMEA,          CCS_NODIVIDER | CCS_NORESIZE, 5, 5, 24, 82
+    CONTROL "", IDC_EDIT_GLYPH_EDIT,    EDIT_GLYPH_EDIT_CLASSW,     0, 39, 5, 160, 160
+    CONTROL "", IDC_EDIT_GLYPH_PREVIEW, EDIT_GLYPH_PREVIEW_CLASSW,  0, 209, 5, 32, 32
+
+    DEFPUSHBUTTON "确定", IDOK, 48, 177, 70, 14
+    PUSHBUTTON "取消", IDCANCEL, 125, 177, 70, 14
+END
+
+IDM_MAINMENU MENU
+BEGIN
+    POPUP "文件(&F)"
+    BEGIN
+        MENUITEM "新建(&N)\tCtrl+N", ID_FILE_NEW
+        MENUITEM "打开(&O)...\tCtrl+O", ID_FILE_OPEN
+        MENUITEM "关闭", ID_FILE_CLOSE
+        MENUITEM SEPARATOR
+        MENUITEM "保存\tCtrl+S", ID_FILE_SAVE
+        MENUITEM "另存为...", ID_FILE_SAVE_AS
+        MENUITEM SEPARATOR
+        MENUITEM "退出\tAlt+F4", ID_FILE_EXIT
+    END
+
+    POPUP "编辑(&E)"
+    BEGIN
+        MENUITEM "复制\tCtrl+C", ID_EDIT_COPY
+        MENUITEM "粘贴\tCtrl+V", ID_EDIT_PASTE
+        MENUITEM SEPARATOR
+        MENUITEM "编辑 字形...", ID_EDIT_GLYPH
+    END
+
+    POPUP "窗口(&W)"
+    BEGIN
+        MENUITEM "层叠(&C)", ID_WINDOW_CASCADE
+        MENUITEM "水平平铺(&H)", ID_WINDOW_TILE_HORZ
+        MENUITEM "垂直平铺(&V)", ID_WINDOW_TILE_VERT
+        MENUITEM "排列图标(&A)", ID_WINDOW_ARRANGE
+        MENUITEM SEPARATOR
+        MENUITEM "下一个(&t)\tCtrl+F6", ID_WINDOW_NEXT
+    END
+
+    POPUP "帮助(&H)"
+    BEGIN
+        MENUITEM "关于(&A)...", ID_HELP_ABOUT
+    END
+END
+
+STRINGTABLE
+BEGIN
+    IDS_OPENFILTER, "全部支持的格式 (*.bin,*.psf)|*.bin;*.psf|Binary Font Files (*.bin)|*.bin|PC Screen Fonts Version 1 (*.psf)|*.psf|"
+    IDS_SAVEFILTER, "二进制字体文件 (*.bin)|*.bin|"
+    IDS_OPENERROR, "打开文件时发生错误! (错误码 %1!u!)"
+    IDS_READERROR, "读取文件时发生错误! (错误码 %1!u!)"
+    IDS_WRITEERROR, "写入文件时发生错误! (错误码 %1!u!)"
+    IDS_UNSUPPORTEDFORMAT, "不支持的文件格式!"
+    IDS_UNSUPPORTEDPSF, "不支持的 PSF 字体格式! 编辑器仅支持非特殊模式 8x8 字体。"
+    IDS_DOCNAME, "字体 %1!u!"
+    IDS_SAVEPROMPT, "文件 ""%1"" 已更改,但未保存.\n\n是否保存文件?"
+    IDS_APPTITLE, "ReactOS VGA 字体 编辑器"
+    IDS_CLOSEEDIT, "请先关闭全部打开的编辑窗口。"
+
+    IDS_TOOLTIP_NEW, "新建"
+    IDS_TOOLTIP_OPEN, "打开"
+    IDS_TOOLTIP_SAVE, "保存"
+    IDS_TOOLTIP_EDIT_GLYPH, "编辑 字形"
+    IDS_TOOLTIP_COPY, "复制"
+    IDS_TOOLTIP_PASTE, "粘贴"
+END
index 826608b..3c06d6b 100644 (file)
@@ -43,3 +43,6 @@
 #ifdef LANGUAGE_UK_UA
     #include "lang/uk-UA.rc"
 #endif
 #ifdef LANGUAGE_UK_UA
     #include "lang/uk-UA.rc"
 #endif
+#ifdef LANGUAGE_ZH_CN
+    #include "lang/zh-CN.rc"
+#endif