From d6017c1bedfffa09ffe9016201e7339e783a826d Mon Sep 17 00:00:00 2001 From: Hongbo Ni Date: Sat, 30 Aug 2008 16:18:31 +1000 Subject: [PATCH] view: Add simplified and traditional Chinese resources. --- programs/view/Zh.rc | 124 ++++++++++++++++++++++++++++++++++++++++ programs/view/viewrc.rc | 1 + 2 files changed, 125 insertions(+) create mode 100644 programs/view/Zh.rc diff --git a/programs/view/Zh.rc b/programs/view/Zh.rc new file mode 100644 index 00000000000..84bd638481a --- /dev/null +++ b/programs/view/Zh.rc @@ -0,0 +1,124 @@ +/* + * View (Simplified and Traditional Chinese Resource) + * + * Copyright 2008 Hongbo Ni + * + * 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 + */ + +/* Chinese text is encoded in UTF-8 */ +#pragma code_page(65001) + +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED + +/* + * + * Menu + * + */ + +VIEW MENU +BEGIN + POPUP "文件(&F)" + BEGIN + MENUITEM "打开(&O)", IDM_OPEN + MENUITEM "退出(&x)", IDM_EXIT + END + POPUP "平移(&P)" + BEGIN + MENUITEM "放大至视窗(&S)", IDM_SET_EXT_TO_WIN + MENUITEM SEPARATOR + MENUITEM "左(&L)", IDM_LEFT + MENUITEM "右(&R)", IDM_RIGHT + MENUITEM "上(&U)", IDM_UP + MENUITEM "下(&D)", IDM_DOWN + END +END + + +/* + * + * Accelerator + * + */ + +VIEW ACCELERATORS +BEGIN + "Q", IDM_EXIT, VIRTKEY, CONTROL +END + + +/* + * + * String Table + * + */ + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "普通 Metafile 阅读器" +END + +LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL + +/* + * + * Menu + * + */ + +VIEW MENU +BEGIN + POPUP "檔案(&F)" + BEGIN + MENUITEM "開啟(&O)", IDM_OPEN + MENUITEM "結束(&x)", IDM_EXIT + END + POPUP "平移(&P)" + BEGIN + MENUITEM "放大至視窗(&S)", IDM_SET_EXT_TO_WIN + MENUITEM SEPARATOR + MENUITEM "左(&L)", IDM_LEFT + MENUITEM "右(&R)", IDM_RIGHT + MENUITEM "上(&U)", IDM_UP + MENUITEM "下(&D)", IDM_DOWN + END +END + + +/* + * + * Accelerator + * + */ + +VIEW ACCELERATORS +BEGIN + "Q", IDM_EXIT, VIRTKEY, CONTROL +END + + +/* + * + * String Table + * + */ + +STRINGTABLE DISCARDABLE +BEGIN + IDS_DESCRIPTION "普通 Metafile 閱讀器" +END + +#pragma code_page(default) diff --git a/programs/view/viewrc.rc b/programs/view/viewrc.rc index 1558b23b4d7..67a0dea327a 100644 --- a/programs/view/viewrc.rc +++ b/programs/view/viewrc.rc @@ -37,6 +37,7 @@ #include "Ru.rc" #include "Si.rc" #include "Tr.rc" +#include "Zh.rc" /* * Icon