From 99f4159f6e70427cae2f1fe2c44640de40cfdeb8 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Mon, 31 Aug 2009 14:37:26 +0900 Subject: [PATCH] menutranslate for MacVim menus --- runtime/lang/menu_ja_jp.utf-8.macvim.vim | 286 ++++++------------------------- 1 file changed, 51 insertions(+), 235 deletions(-) diff --git a/runtime/lang/menu_ja_jp.utf-8.macvim.vim b/runtime/lang/menu_ja_jp.utf-8.macvim.vim index e5175aa8..d1691f0c 100644 --- a/runtime/lang/menu_ja_jp.utf-8.macvim.vim +++ b/runtime/lang/menu_ja_jp.utf-8.macvim.vim @@ -59,7 +59,7 @@ menutrans Find\ and\ Rep&lace\.\.\. 置換\.\.\. menutrans Find\ and\ Rep&lace:%s 置換:%s menutrans Find\ and\ Rep&lace:s 置換:s "menutrans Options\.\.\. オプション\.\.\. -menutrans Settings\ &Window 設定ウィンドウ +menutrans Settings\ &Window 設定ウインドウ menutrans Startup\ &Settings 起動時の設定 " Edit/Global Settings @@ -138,7 +138,7 @@ menutrans &Next\ Error:cn 次のエラーへ:cn menutrans &Previous\ Error:cp 前のエラーへ:cp menutrans &Older\ List:cold 古いリスト:cold menutrans N&ewer\ List:cnew 新しいリスト:cnew -menutrans Error\ &Window エラーウィンドウ +menutrans Error\ &Window エラーウインドウ menutrans &Update:cwin 更新:cwin menutrans &Open:copen 開く:copen menutrans &Close:cclose 閉じる:cclose @@ -202,7 +202,7 @@ menutrans [No\ File] [無題] let g:menutrans_no_file = "[無題]" " Window menu -menutrans &Window ウィンドウ +menutrans &Window ウインドウ menutrans &New^Wn 新規作成^Wn menutrans S&plit^Ws 分割^Ws menutrans Sp&lit\ To\ #^W^^ 裏バッファへ分割^W^^ @@ -260,11 +260,11 @@ if has("toolbar") tmenu ToolBar.FindPrev 前を検索 tmenu ToolBar.Replace 置換... if 0 " disabled; These are in the Windows menu - tmenu ToolBar.New 新規ウィンドウ作成 - tmenu ToolBar.WinSplit ウィンドウ分割 - tmenu ToolBar.WinMax ウィンドウ最大化 - tmenu ToolBar.WinMin ウィンドウ最小化 - tmenu ToolBar.WinClose ウィンドウを閉じる + tmenu ToolBar.New 新規ウインドウ作成 + tmenu ToolBar.WinSplit ウインドウ分割 + tmenu ToolBar.WinMax ウインドウ最大化 + tmenu ToolBar.WinMin ウインドウ最小化 + tmenu ToolBar.WinClose ウインドウを閉じる endif tmenu ToolBar.LoadSesn セッション読込 tmenu ToolBar.SaveSesn セッション保存 @@ -334,244 +334,60 @@ if has('iconv') an 10.396.120.130 ファイル.エンコード指定\.\.\..保存\.\.\..UTF-8fenc=utf-8 :set fenc=utf-8 \| w endif -" filler to avoid the line above being recognized as a modeline -" filler -" filler -" filler - - -" -" Extra menus -" "--------------------------------------------------------------------------- -" Japanese menu +" Extra Japanese menus "--------------------------------------------------------------------------- " File menu - -aunmenu ファイル.新規作成 -aunmenu ファイル.-SEP4- -aunmenu ファイル.終了 -aunmenu ファイル.保存して終了 - -an 10.290 ファイル.新規ウインドウ -an 10.295 ファイル.新規タブ :tabnew -an 10.310 ファイル.開く\.\.\. -an 10.325 ファイル.最近開いたファイル -an 10.328 ファイル.-SEP0- -an 10.330 ファイル.ウインドウを閉じる:qa :conf qa -an 10.332 ファイル.閉じる :conf q -an 10.341 ファイル.すべてを保存 :browse conf wa -an 10.350 ファイル.名前を付けて保存\.\.\.:sav :browse confirm saveas - +menut New\ Window 新規ウインドウ +menut New\ Tab 新規タブ +menut Open\.\.\. 開く\.\.\. +menut Open\ Recent 最近開いたファイル +menut Close\ Window:qa ウインドウを閉じる:qa +menut Close 閉じる +menut Save\ All すべてを保存 +menut Save\ As\.\.\.:sav 名前を付けて保存\.\.\.:sav " Edit menu +menut Find 検索 +menut Find\.\.\. 検索\.\.\. +menut Find\ Next 次を検索 +menut Find\ Previous 前を検索 +menut Use\ Selection\ for\ Find 選択部分を検索に使用 + +menut Font フォント +menut Show\ Fonts フォントパネルを表示 +menut Bigger 大きく +menut Smaller 小さく +menut Special\ Characters\.\.\. 特殊文字\.\.\. -" The following function is aken from menu.vim -fun! s:FixFText() - " Fix text in nameless register to be used with :promptfind. - return substitute(@", "[\r\n]", '\\n', 'g') -endfun - -aunmenu 編集.検索 -aunmenu 編集.置換 - -an 20.410.10 編集.検索.検索\.\.\. :promptfind -vnoremenu 編集.検索.検索\.\.\. y:promptfind =FixFText() -an 20.410.20 編集.検索.次を検索 -an 20.410.30 編集.検索.前を検索 -vmenu 20.410.35 編集.検索.選択部分を検索に使用 y:let @/=@": - -an 20.470 編集.-SEP4- -an 20.475.10 編集.フォント.フォントパネルを表示 -an 20.475.20 編集.フォント.-SEP5- -an 20.475.30 編集.フォント.大きく -an 20.475.40 編集.フォント.小さく -an 20.480 編集.特殊文字\.\.\. - - -" Window menu (should be next to Help so give it a high priority) -aunmenu ウィンドウ - -an 9998.300 ウインドウ.しまう -an 9998.301 ウインドウ.すべてをしまう -an 9998.310 ウインドウ.拡大/縮小 -an 9998.311 ウインドウ.すべてを拡大 -an 9998.320 ウインドウ.フルスクリーンモード切り替え :set invfullscreen -an 9998.330 ウインドウ.-SEP1- -" TODO! Grey out if no windows are visible. -an 9998.331 ウインドウ.次のウインドウ -an 9998.332 ウインドウ.前のウインドウ -an 9998.333 ウインドウ.-SEP2- -" TODO! Grey out if no tabs are visible. -an 9998.340 ウインドウ.次のタブを選択 :tabnext -an 9998.350 ウインドウ.前のタブを選択 :tabprevious -an 9998.360 ウインドウ.-SEP3- -an 9998.370 ウインドウ.すべてを手前に移動 - +" Window menu +menut Minimize しまう +menut Minimize\ All すべてをしまう +menut Zoom 拡大/縮小 +menut Zoom\ All すべてを拡大 +menut Toggle\ Full\ Screen\ Mode フルスクリーンモード切り替え +an 9998.331 ウインドウ.次のウインドウ +macm ウインドウ.次のウインドウ key= action=selectNextWindow: +an 9998.332 ウインドウ.前のウインドウ +macm ウインドウ.前のウインドウ key= action=selectPreviousWindow: +an 9998.333 ウインドウ.-SEP2- +menut Select\ Next\ Tab 次のタブを選択 +menut Select\ Previous\ Tab 前のタブを選択 +menut Bring\ All\ To\ Front すべてを手前に移動 " Help menu -an 9999.1 ヘルプ.MacVim\ ヘルプ :h gui_mac -an 9999.2 ヘルプ.MacVim\ Webサイト -an 9999.3 ヘルプ.-sep0- +menut MacVim\ Help MacVim\ ヘルプ +menut MacVim\ Website MacVim\ Webサイト +an 9999.4 ヘルプ.MacVim-KaoriYa\ Webサイト +macm ヘルプ.MacVim-KaoriYa\ Webサイト action=openWebsiteKaoriYa: +an 9999.5 &ヘルプ.-sep0- -" -" Toolbar -" -" These items are special ('*' means zero or more arbitrary characters): -" -space*- an empty space -" -flexspace*- a flexible space -" -*- a separator item - -" Remove some items so that all items are visible at the default window size. -"aunmenu ToolBar.Undo -"aunmenu ToolBar.Redo -"aunmenu ToolBar.-sep2- -"aunmenu ToolBar.Cut -"aunmenu ToolBar.Copy -"aunmenu ToolBar.Paste -"aunmenu ToolBar.-sep3- -aunmenu ToolBar.Replace -aunmenu ToolBar.FindNext -aunmenu ToolBar.FindPrev -aunmenu ToolBar.-sep5- -aunmenu ToolBar.-sep6- -aunmenu ToolBar.RunCtags -aunmenu ToolBar.TagJump -"aunmenu ToolBar.-sep7- -aunmenu ToolBar.FindHelp - -"an 1.295 ToolBar.-flexspace7- - - - -" This is so that HIG Cmd and Option movement mappings can be disabled by -" adding the line -" let macvim_skip_cmd_opt_movement = 1 -" to the user .vimrc -" -if !exists("macvim_skip_cmd_opt_movement") - no - no! - no - no! - - no - no! - no - no! - - no - ino - map { - imap { - - no - ino - map } - imap } - - imap - imap -endif " !exists("macvim_skip_cmd_opt_movement") - - -" This is so that the HIG shift movement related settings can be enabled by -" adding the line -" let macvim_hig_shift_movement = 1 -" to the user .vimrc (not .gvimrc!). -" -if exists("macvim_hig_shift_movement") - " Shift + special movement key (, etc.) and mouse starts insert mode - set selectmode=mouse,key - set keymodel=startsel,stopsel - - " HIG related shift + special movement key mappings - nn - vn - ino - nn - vn - ino - - nn - vn - ino - nn - vn - ino - - nn - vn - ino - - nn - vn - ino -endif " exists("macvim_hig_shift_movement") - - - -" -" Set up menu key equivalents (these should always have the 'D' modifier set), -" action bindings, and alternate items. -" -" Note: menu items which should execute an action are bound to ; the -" action message is specified here via the :macmenu command. -" +" filler to avoid the line above being recognized as a modeline +" filler +" filler +" filler -macm ファイル.新規ウインドウ key= action=newWindow: -macm ファイル.新規タブ key= -macm ファイル.開く\.\.\. key= action=fileOpen: -macm ファイル.タブで開く key= -macm ファイル.最近開いたファイル action=recentFilesDummy: -macm ファイル.ウインドウを閉じる key= -macm ファイル.閉じる key= action=performClose: -macm ファイル.保存 key= -macm ファイル.すべてを保存 key= alt=YES -macm ファイル.名前を付けて保存\.\.\. key= -macm ファイル.印刷 key= - -macm 編集.取り消す key= action=undo: -macm 編集.やり直す key= action=redo: -macm 編集.カット key= action=cut: -macm 編集.コピー key= action=copy: -macm 編集.ペースト key= action=paste: -macm 編集.全て選択 key= action=selectAll: -macm 編集.検索.検索\.\.\. key= -macm 編集.検索.次を検索 key= action=findNext: -macm 編集.検索.前を検索 key= action=findPrevious: -macm 編集.検索.選択部分を検索に使用 key= -macm 編集.特殊文字\.\.\. key= -macm 編集.フォント.フォントパネルを表示 action=orderFrontFontPanel: -macm 編集.フォント.大きく key= action=fontSizeUp: -macm 編集.フォント.小さく key= action=fontSizeDown: -macm 編集.特殊文字\.\.\. action=orderFrontCharacterPalette: - -macm ツール.スペリング.次のエラー key= -macm ツール.スペリング.修正候補 key= -macm ツール.メイク key= -macm ツール.エラーリスト key= -macm ツール.メッセージリスト key= -macm ツール.次のエラーへ key= -macm ツール.前のエラーへ key= -macm ツール.古いリスト key= -macm ツール.新しいリスト key= - -macm ウインドウ.しまう key= action=performMiniaturize: -macm ウインドウ.すべてをしまう key= action=miniaturizeAll: alt=YES -macm ウインドウ.拡大/縮小 key= action=performZoom: -macm ウインドウ.すべてを拡大 key= action=zoomAll: alt=YES -macm ウインドウ.フルスクリーンモード切り替え key= -macm ウインドウ.次のウインドウ key= action=selectNextWindow: -macm ウインドウ.前のウインドウ key= action=selectPreviousWindow: -macm ウインドウ.次のタブを選択 key= -macm ウインドウ.前のタブを選択 key= - -macm ウインドウ.すべてを手前に移動 action=arrangeInFront: - -macm ヘルプ.MacVim\ ヘルプ key= -macm ヘルプ.MacVim\ Webサイト action=openWebsite: -- 2.11.4.GIT