Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Notepad (Japanese resources) |
| 3 | * |
| 4 | * Copyright 1997,98 Marcel Baur <mbaur@g26.ethz.ch> |
| 5 | * Proofread 1998 by David Lee Lambert <lamber45@egr.msu.edu> |
| 6 | * Copyright 2002 Sylvain Petreolle <spetreolle@yahoo.fr> |
| 7 | * |
| 8 | * This library is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU Lesser General Public |
| 10 | * License as published by the Free Software Foundation; either |
| 11 | * version 2.1 of the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This library is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 | * Lesser General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU Lesser General Public |
| 19 | * License along with this library; if not, write to the Free Software |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 21 | */ |
| 22 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 23 | /* UTF-8 */ |
| 24 | #pragma code_page(65001) |
| 25 | |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 26 | LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT |
| 27 | |
| 28 | MAIN_MENU MENU |
| 29 | { |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 30 | POPUP "ファイル(&F)" { |
| 31 | MENUITEM "新規作成(&N)\tCtrl+N", CMD_NEW |
| 32 | MENUITEM "開く(&O)...\tCtrl+O", CMD_OPEN |
| 33 | MENUITEM "保存(&S)\tCtrl+S", CMD_SAVE |
| 34 | MENUITEM "名前を付けて保存(&A)...", CMD_SAVE_AS |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 35 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 36 | MENUITEM "印刷(&P)...\tCtrl+P", CMD_PRINT |
| 37 | MENUITEM "ページ設定(&T)...", CMD_PAGE_SETUP |
| 38 | MENUITEM "プリンタの設定(&R)...", CMD_PRINTER_SETUP |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 39 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 40 | MENUITEM "終了(&X)", CMD_EXIT |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 41 | } |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 42 | POPUP "編集(&E)" { |
| 43 | MENUITEM "元に戻す(&U)\tCtrl+Z", CMD_UNDO |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 44 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 45 | MENUITEM "切り取り(&T)\tCtrl+X", CMD_CUT |
| 46 | MENUITEM "コピー(&C)\tCtrl+C", CMD_COPY |
| 47 | MENUITEM "貼り付け(&P)\tCtrl+V", CMD_PASTE |
| 48 | MENUITEM "削除(&D)\tDel", CMD_DELETE |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 49 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 50 | MENUITEM "すべて選択(&A)\tCtrl+A", CMD_SELECT_ALL |
| 51 | MENUITEM "日付と時刻(&T)\tF5", CMD_TIME_DATE |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 52 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 53 | MENUITEM "長い行を折り返す(&W)", CMD_WRAP |
| 54 | MENUITEM "フォント(&F)...", CMD_FONT |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 55 | } |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 56 | POPUP "検索(&S)" { |
| 57 | MENUITEM "検索(&S)...\tCtrl+F", CMD_SEARCH |
| 58 | MENUITEM "次を検索(&S)\tF3", CMD_SEARCH_NEXT |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 59 | } |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 60 | POPUP "ヘルプ(&H)" { |
| 61 | MENUITEM "目次(&C)", CMD_HELP_CONTENTS |
| 62 | MENUITEM "検索(&S)...", CMD_HELP_SEARCH |
| 63 | MENUITEM "ヘルプの使い方(&H)", CMD_HELP_ON_HELP |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 64 | MENUITEM SEPARATOR |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 65 | MENUITEM "メモ帳について(&A)", CMD_HELP_ABOUT_NOTEPAD |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 66 | } |
| 67 | } |
| 68 | |
| 69 | /* Dialog `Page setup' */ |
| 70 | |
| 71 | DIALOG_PAGESETUP DIALOG 0, 0, 225, 95 |
| 72 | STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU |
Muneyuki Noguchi | f94ab4f | 2008-09-25 10:34:05 +0900 | [diff] [blame] | 73 | FONT 9, "MS Shell Dlg" |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 74 | CAPTION "ページ設定" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 75 | { |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 76 | LTEXT "ヘッダ(&H):", 0x140, 10, 07, 40, 15 |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 77 | EDITTEXT IDC_PAGESETUP_HEADERVALUE, 60, 05,110, 12, WS_BORDER | WS_TABSTOP |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 78 | LTEXT "フッタ(&F):", 0x142, 10, 24, 40, 15 |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 79 | EDITTEXT IDC_PAGESETUP_FOOTERVALUE, 60, 22,110, 12, WS_BORDER | WS_TABSTOP |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 80 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 81 | GROUPBOX "マージン(&M):", 0x144, 10, 43,160, 45 |
| 82 | LTEXT "左(&L):", 0x145, 20, 55, 30, 10, WS_CHILD |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 83 | EDITTEXT IDC_PAGESETUP_LEFTVALUE, 50, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 84 | LTEXT "上(&T):", 0x148, 20, 73, 30, 10, WS_CHILD |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 85 | EDITTEXT IDC_PAGESETUP_TOPVALUE, 50, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 86 | LTEXT "右(&R):", 0x14B, 100, 55, 30, 10, WS_CHILD |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 87 | EDITTEXT IDC_PAGESETUP_RIGHTVALUE, 130, 55, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 88 | LTEXT "下(&B):", 0x14E,100, 73, 30, 10, WS_CHILD |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 89 | EDITTEXT IDC_PAGESETUP_BOTTOMVALUE, 130, 73, 35, 11, WS_CHILD | WS_BORDER | WS_TABSTOP |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 90 | |
Jonathan Ernst | 8eff913 | 2005-10-07 15:02:03 +0000 | [diff] [blame] | 91 | DEFPUSHBUTTON "OK", IDOK, 180, 3, 40, 15, WS_TABSTOP |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 92 | PUSHBUTTON "キャンセル", IDCANCEL, 180, 21, 40, 15, WS_TABSTOP |
| 93 | PUSHBUTTON "ヘルプ(&H)", IDHELP, 180, 39, 40, 15, WS_TABSTOP |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 94 | } |
| 95 | |
| 96 | STRINGTABLE DISCARDABLE |
| 97 | { |
Rolf Kalbermatter | 3cae920 | 2007-04-01 20:52:08 +0200 | [diff] [blame] | 98 | STRING_PAGESETUP_HEADERVALUE, "&f" |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 99 | STRING_PAGESETUP_FOOTERVALUE, "&p ページ" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 100 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 101 | STRING_NOTEPAD, "メモ帳" |
| 102 | STRING_ERROR, "エラー" |
| 103 | STRING_WARNING, "警告" |
| 104 | STRING_INFO, "情報" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 105 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 106 | STRING_UNTITLED, "(無題)" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 107 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 108 | STRING_ALL_FILES, "全てのファイル (*.*)" |
| 109 | STRING_TEXT_FILES_TXT, "テキストファイル (*.txt)" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 110 | |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 111 | STRING_TOOLARGE, "ファイル '%s' のサイズは大きすぎるため、メモ帳では編集できません。\n \ |
| 112 | 別のエディタを使用して下さい。" |
| 113 | STRING_NOTEXT, "何も入力されていません。\ |
| 114 | \n何か入力してから実行して下さい。" |
| 115 | STRING_DOESNOTEXIST, "ファイル '%s'\nは存在しません\n\n \ |
| 116 | 新しいファイルを作成しますか ?" |
| 117 | STRING_NOTSAVED, "ファイル '%s'\nは変更されています\n\n \ |
| 118 | 変更を保存しますか ?" |
| 119 | STRING_NOTFOUND, "'%s' は見つかりませんでした" |
| 120 | STRING_OUT_OF_MEMORY, "この操作を実行するためのメモリが\ |
| 121 | 足りません。\nメモリの空きを増やすためにいくつかのアプリケーションを\n終了して\ |
| 122 | 下さい。" |
Hajime Segawa | 76e280b | 2004-06-28 23:50:22 +0000 | [diff] [blame] | 123 | |
| 124 | } |
Muneyuki Noguchi | 9898c87 | 2008-10-11 23:16:18 +0900 | [diff] [blame] | 125 | |
| 126 | #pragma code_page(default) |