From ddcbbaae1e9046af147f6020a55b15a0d9c51764 Mon Sep 17 00:00:00 2001 From: Muneyuki Noguchi Date: Sat, 30 Aug 2008 15:25:30 +0900 Subject: [PATCH] winemine: Add Japanese translation. --- programs/winemine/Ja.rc | 92 +++++++++++++++++++++++++++++++++++++++ programs/winemine/rsrc.rc | 1 + 2 files changed, 93 insertions(+) create mode 100644 programs/winemine/Ja.rc diff --git a/programs/winemine/Ja.rc b/programs/winemine/Ja.rc new file mode 100644 index 00000000000..c6bd52b43c3 --- /dev/null +++ b/programs/winemine/Ja.rc @@ -0,0 +1,92 @@ +/* + * WineMine + * Japanese Language Support + * + * Copyright 2000 Joshua Thielen + * Copyright 2003 Marcelo Duarte + * + * 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_JAPANESE, SUBLANG_DEFAULT + +STRINGTABLE { + IDS_APPNAME, "WineMine" + IDS_NOBODY, "Nobody" + IDS_ABOUT, "Copyright 2000 Joshua Thielen" +} + +MENU_WINEMINE MENU DISCARDABLE +{ + POPUP "オプション(&O)" { + MENUITEM "スタート(&N)\tF2", IDM_NEW + MENUITEM SEPARATOR + MENUITEM "?マークを使用(&M)", IDM_MARKQ + MENUITEM SEPARATOR + MENUITEM "初級(&B)", IDM_BEGINNER + MENUITEM "中級(&A)", IDM_ADVANCED + MENUITEM "上級(&E)", IDM_EXPERT + MENUITEM "盤面の変更(&C)", IDM_CUSTOM + MENUITEM SEPARATOR + MENUITEM "終了(&X)\tAlt+X", IDM_EXIT + } + POPUP "情報(&I)" { + MENUITEM "ハイスコア(&F)", IDM_TIMES + MENUITEM "WineMine について(&A)", IDM_ABOUT + } +} + +DLG_TIMES DIALOG DISCARDABLE 0, 0, 160, 80 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "Fastest Times" +{ + GROUPBOX "ハイスコア", IDIGNORE, 10, 10, 140, 45 + LTEXT "初級", IDIGNORE, 20, 20, 40, 8 + LTEXT "中級", IDIGNORE, 20, 30, 40, 8 + LTEXT "上級", IDIGNORE, 20, 40, 40, 8 + LTEXT "999", IDC_TIME1, 70, 20, 15, 8 + LTEXT "999", IDC_TIME2, 70, 30, 15, 8 + LTEXT "999", IDC_TIME3, 70, 40, 15, 8 + LTEXT "", IDC_NAME1, 90, 20, 55, 8 + LTEXT "", IDC_NAME2, 90, 30, 55, 8 + LTEXT "", IDC_NAME3, 90, 40, 55, 8 + DEFPUSHBUTTON "OK", IDOK, 55, 60, 50, 15 +} + +DLG_CONGRATS DIALOG DISCARDABLE 0, 0, 160, 60 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "おめでとう!" +{ + LTEXT "名前を入力しましょう", IDIGNORE, 10, 10, 150, 10 + EDITTEXT IDC_EDITNAME, 25, 20, 110, 12 + DEFPUSHBUTTON "OK", IDOK, 60, 40, 40, 15 +} + +DLG_CUSTOM DIALOG DISCARDABLE 0, 0, 100, 100 +STYLE DS_MODALFRAME | DS_3DLOOK | + WS_VISIBLE | WS_CAPTION | WS_SYSMENU | WS_POPUP +CAPTION "盤面の変更" +{ + LTEXT "Rows", IDIGNORE, 5, 5, 30, 10 + LTEXT "Cols", IDIGNORE, 5, 35, 30, 10 + LTEXT "Mines", IDIGNORE, 5, 65, 30, 10 + EDITTEXT IDC_EDITROWS, 5, 15, 20, 12, ES_NUMBER + EDITTEXT IDC_EDITCOLS, 5, 45, 20, 12, ES_NUMBER + EDITTEXT IDC_EDITMINES, 5, 75, 20, 12, ES_NUMBER + DEFPUSHBUTTON "OK", IDOK, 40, 30, 50, 15 + PUSHBUTTON "Cancel", IDCANCEL, 40, 50, 50, 15 +} diff --git a/programs/winemine/rsrc.rc b/programs/winemine/rsrc.rc index cb5e1e723c0..8387ad8a1bf 100644 --- a/programs/winemine/rsrc.rc +++ b/programs/winemine/rsrc.rc @@ -32,6 +32,7 @@ #include "Fi.rc" #include "Fr.rc" #include "It.rc" +#include "Ja.rc" #include "Ko.rc" #include "Nl.rc" #include "No.rc"