/*
 * wordpad (Simplified and Traditional Chinese Resource)
 *
 * Copyright 2008 Hongbo Ni <hongbo.at.njstar.com>
 * Copyright 2010 Cheer Xiao <xiaqqaix.at.gmail.com>
 * Copyright 2017 Li Keqing <auroracloud4096.at.gmail.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
 */

LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED

IDM_MAINMENU MENU
BEGIN
    POPUP "文件(&F)"
    BEGIN
        MENUITEM "新建(&N)...\tCtrl+N", ID_FILE_NEW
        MENUITEM "打开(&O)...\tCtrl+O", ID_FILE_OPEN
        MENUITEM "保存(&S)\tCtrl+S", ID_FILE_SAVE
        MENUITEM "另存为(&A)...", ID_FILE_SAVEAS
        MENUITEM SEPARATOR
        MENUITEM "打印(&P)...\tCtrl+P", ID_PRINT
        MENUITEM "打印预览(&W)...", ID_PREVIEW
        MENUITEM "页面设置(&E)...", ID_PRINTSETUP
        MENUITEM SEPARATOR
        MENUITEM "退出(&X)", ID_FILE_EXIT
    END
    POPUP "编辑(&E)"
    BEGIN
        MENUITEM "撤销(&U)\tCtrl+Z", ID_EDIT_UNDO
        MENUITEM "重做(&E)\tCtrl+Y", ID_EDIT_REDO
        MENUITEM SEPARATOR
        MENUITEM "剪切(&T)\tCtrl+X", ID_EDIT_CUT
        MENUITEM "复制(&C)\tCtrl+C", ID_EDIT_COPY
        MENUITEM "粘贴(&P)\tCtrl+V", ID_EDIT_PASTE
        MENUITEM "删除(&D)\tDEL", ID_EDIT_CLEAR
        MENUITEM "全选(&S)\tCtrl+A", ID_EDIT_SELECTALL
        MENUITEM SEPARATOR
        MENUITEM "查找(&F)...\tCtrl+F", ID_FIND
        MENUITEM "找下一个(&N)\tF3", ID_FIND_NEXT
        MENUITEM "替换(&R)...\tCtrl+H", ID_REPLACE
        MENUITEM SEPARATOR
        MENUITEM "只读(&O)", ID_EDIT_READONLY
        MENUITEM "已改动(&M)", ID_EDIT_MODIFIED
        MENUITEM SEPARATOR
        POPUP "其他(&X)"
        BEGIN
            MENUITEM "选区信息(&I)", ID_EDIT_SELECTIONINFO /* 准确性待议 */
            MENUITEM "文字格式(&F)", ID_EDIT_CHARFORMAT
            MENUITEM "默认格式(&D)", ID_EDIT_DEFCHARFORMAT
            MENUITEM "段落格式(&H)", ID_EDIT_PARAFORMAT
            MENUITEM "获取文字(&G)", ID_EDIT_GETTEXT
        END
    END
    POPUP "视图(&V)"
    BEGIN
        MENUITEM "工具栏(&T)", ID_TOGGLE_TOOLBAR
        MENUITEM "格式工具栏(&F)", ID_TOGGLE_FORMATBAR
        MENUITEM "标尺(&R)", ID_TOGGLE_RULER
        MENUITEM "状态栏(&S)", ID_TOGGLE_STATUSBAR
        MENUITEM SEPARATOR
        MENUITEM "选项(&O)...", ID_VIEWPROPERTIES
    END
    POPUP "插入(&I)"
    BEGIN
        MENUITEM "日期时间(&D)...", ID_DATETIME
    END
    POPUP "格式(&O)"
    BEGIN
        MENUITEM "字体(&F)..", ID_FONTSETTINGS
        MENUITEM "项目符号(&B)", ID_BULLET
        MENUITEM "段落(&P)...", ID_PARAFORMAT
        MENUITEM "制表位(&T)...", ID_TABSTOPS
        POPUP "背景(&D)"
        BEGIN
            MENUITEM "系统(&S)\tCtrl+1", ID_BACK_1
            MENUITEM "淡黄色(&P)\tCtrl+2", ID_BACK_2
        END
    END
    POPUP "帮助(&H)"
    BEGIN
        MENUITEM "关于 &Wine 写字板", ID_ABOUT
    END
END

IDM_POPUP MENU
BEGIN
    POPUP ""
    BEGIN
        MENUITEM "剪切(&T)", ID_EDIT_CUT
        MENUITEM "复制(&C)", ID_EDIT_COPY
        MENUITEM "粘贴(&P)", ID_EDIT_PASTE
        MENUITEM SEPARATOR
        MENUITEM "项目符号(&B)",       ID_BULLET
        MENUITEM "段落(&P)...",        ID_PARAFORMAT
    END
END

IDM_COLOR_POPUP MENU
BEGIN
    POPUP ""
    BEGIN
        MENUITEM "黑色",      ID_COLOR_BLACK /* 未找到“标准译名表” */
        MENUITEM "栗色",     ID_COLOR_MAROON
        MENUITEM "绿色",      ID_COLOR_GREEN
        MENUITEM "橄榄色",       ID_COLOR_OLIVE
        MENUITEM "藏青",        ID_COLOR_NAVY
        MENUITEM "紫色",      ID_COLOR_PURPLE
        MENUITEM "鸭翅绿",        ID_COLOR_TEAL
        MENUITEM "灰色",        ID_COLOR_GRAY
        MENUITEM "银色",      ID_COLOR_SILVER
        MENUITEM "红色",         ID_COLOR_RED
        MENUITEM "青柠色",        ID_COLOR_LIME
        MENUITEM "黄色",      ID_COLOR_YELLOW
        MENUITEM "蓝色",        ID_COLOR_BLUE
        MENUITEM "洋红",     ID_COLOR_FUCHSIA /* =magenta? */
        MENUITEM "水绿",        ID_COLOR_AQUA
        MENUITEM "白色",       ID_COLOR_WHITE
        MENUITEM "自动",   ID_COLOR_AUTOMATIC
    END
END

STRINGTABLE
BEGIN
    STRING_ALL_FILES,              "所有文件 (*.*)"
    STRING_TEXT_FILES_TXT,         "文本文件 (*.txt)"
    STRING_TEXT_FILES_UNICODE_TXT, "Unicode 文本文件 (*.txt)"
    STRING_RICHTEXT_FILES_RTF,     "RTF 富文本 (*.rtf)"
    STRING_NEWFILE_RICHTEXT,       "RTF 富文本"
    STRING_NEWFILE_TXT,            "文本文件 "
    STRING_NEWFILE_TXT_UNICODE,    "Unicode 文本文件"
    STRING_PRINTER_FILES_PRN,      "打印文件 (*.prn)"
END

STRINGTABLE
BEGIN
    STRING_ALIGN_LEFT,            "左"
    STRING_ALIGN_RIGHT,           "右"
    STRING_ALIGN_CENTER,          "中"
END

STRINGTABLE
BEGIN
    STRING_VIEWPROPS_TITLE,          "选项"
    STRING_VIEWPROPS_TEXT,           "文本文字"
    STRING_VIEWPROPS_RICHTEXT,       "富文本格式"
END

STRINGTABLE
BEGIN
    STRING_PREVIEW_PRINT,            "打印"
    STRING_PREVIEW_NEXTPAGE,         "下一页"
    STRING_PREVIEW_PREVPAGE,         "上一页"
    STRING_PREVIEW_TWOPAGES,         "双页"
    STRING_PREVIEW_ONEPAGE,          "单页"
    STRING_PREVIEW_ZOOMIN,           "放大"
    STRING_PREVIEW_ZOOMOUT,          "缩小"
    STRING_PREVIEW_CLOSE,            "关闭"
    STRING_PREVIEW_PAGE,             "页"
    STRING_PREVIEW_PAGES,            "页"
    STRING_UNITS_CM,                 "cm"
    STRING_UNITS_IN,                 "in"
    STRING_UNITS_INCH,               "英寸"
    STRING_UNITS_PT,                 "pt"
END

STRINGTABLE
BEGIN
    STRING_DEFAULT_FILENAME,     "文档"
    STRING_PROMPT_SAVE_CHANGES,  "要保存“%s”吗？"
    STRING_SEARCH_FINISHED,      "文件查找结束。"
    STRING_LOAD_RICHED_FAILED,   "RichEdit 加载失败。"
    STRING_SAVE_LOSEFORMATTING,  "你已经选择保存为文本文件，而这可能导致格式丢失。你确定要这么做吗？"
    STRING_INVALID_NUMBER,       "数字格式无效"
    STRING_OLE_STORAGE_NOT_SUPPORTED, "不支持 OLE 储存文件"
    STRING_WRITE_FAILED,              "不能保存文件。"
    STRING_WRITE_ACCESS_DENIED,       "你没有保存文件的权限。"
    STRING_OPEN_FAILED,               "不能打开文件。"
    STRING_OPEN_ACCESS_DENIED,        "你没有打开文件的权限。"
    STRING_PRINTING_NOT_IMPLEMENTED,  "打印功能尚未实现"
    STRING_MAX_TAB_STOPS,             "最多只能添加 32 个制表位宽度。"
END

IDD_DATETIME DIALOGEX 30, 20, 130, 80
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "日期和时间"
FONT 9, "宋体"
BEGIN
    LTEXT        "可选格式",-1,3,2,100,15
    LISTBOX      IDC_DATETIME,3,12,80,65,LBS_NOINTEGRALHEIGHT | LBS_NOTIFY
    DEFPUSHBUTTON "确定(&O)",IDOK,87,12,40,12
    PUSHBUTTON   "取消(&C)",IDCANCEL,87,26,40,12
END

IDD_NEWFILE DIALOGEX 30, 20, 140, 80
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "新建"
FONT 9, "宋体"
BEGIN
    LTEXT        "新文件类型",-1,3,2,100,15
    LISTBOX      IDC_NEWFILE,3,12,90,65,LBS_NOINTEGRALHEIGHT
    DEFPUSHBUTTON "确定(&O)",IDOK,97,12,40,12
    PUSHBUTTON   "取消(&C)",IDCANCEL,97,26,40,12
END

IDD_PARAFORMAT DIALOGEX 30, 20, 220, 110
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "段落格式"
FONT 9, "宋体"
BEGIN
    GROUPBOX "缩进", -1, 10, 10, 140, 68
    LTEXT "左", -1, 15, 22, 60, 13
    EDITTEXT IDC_PARA_LEFT, 75, 20, 65, 13
    LTEXT "右", -1, 15, 40, 60, 13
    EDITTEXT IDC_PARA_RIGHT, 75, 38, 65, 13
    LTEXT "首行", -1, 15, 58, 60, 13
    EDITTEXT IDC_PARA_FIRST, 75, 56, 65, 13
    LTEXT "对齐", -1, 15, 87, 60, 13
    COMBOBOX IDC_PARA_ALIGN, 75, 85, 65, 60, CBS_DROPDOWNLIST
    DEFPUSHBUTTON "确定(&O)", IDOK, 160, 15, 50, 15
    PUSHBUTTON "取消(&C)", IDCANCEL, 160, 33, 50, 15
END

IDD_TABSTOPS DIALOGEX 30, 20, 200, 110
STYLE DS_SHELLFONT | DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "制表位"
FONT 9, "宋体"
BEGIN
    GROUPBOX "制表位宽度", -1, 10, 10, 120, 90
    COMBOBOX IDC_TABSTOPS, 20, 20, 100, 60, CBS_SIMPLE
    DEFPUSHBUTTON "添加(&A)", ID_TAB_ADD, 20, 80, 45, 15
    PUSHBUTTON "删除(&R)", ID_TAB_DEL, 72, 80, 45, 15
    PUSHBUTTON "确定(&O)", IDOK, 135, 15, 58, 15
    PUSHBUTTON "取消(&C)", IDCANCEL, 135, 33, 58, 15
    PUSHBUTTON "全部删除(&R)", ID_TAB_EMPTY, 135, 51, 58, 15
END

IDD_FORMATOPTS DIALOGEX 0, 0, 280, 110
STYLE DS_SHELLFONT | DS_SYSMODAL
CAPTION ""
FONT 9, "宋体"
BEGIN
    GROUPBOX "自动换行", -1, 5, 10, 145, 85
    RADIOBUTTON "不要自动换行", IDC_PAGEFMT_WN, 10, 25, 138, 15
    RADIOBUTTON "按窗口宽度(&W)", IDC_PAGEFMT_WW, 10, 45, 138, 15
    RADIOBUTTON "按纸张宽度(&M)", IDC_PAGEFMT_WM, 10, 65, 138, 15
    GROUPBOX "工具栏", -1, 155, 10, 115, 85
    CHECKBOX "工具栏(&T)", IDC_PAGEFMT_TB, 165, 20, 80, 15
    CHECKBOX "格式工具栏(&F)", IDC_PAGEFMT_FB, 165, 38, 80, 15
    CHECKBOX "标尺(&R)", IDC_PAGEFMT_RU, 165, 56, 80, 15
    CHECKBOX "状态栏(&S)", IDC_PAGEFMT_SB, 165, 74, 80, 15
    LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
END
