zhaogaolong / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

menu.vim failed line 122 for non-English locale #269

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. LANG=zh_TW.UTF-8 gvim -u NONE

What is the expected output? 
No error

What do you see instead?
處理 /usr/share/vim/vim74/menu.vim 時發生錯誤:  (Error on processing 
/usr/share/vim/vim74/menu.vim)
行  122:
E329: No menu "&Print"

What version of the product are you using? On what operating system?
vim-7.4.160 in RHEL7

Actual package is vim-X11-7.4.160-1.el7.x86_64

Please provide any additional information below.
Other locales have same problem:

Japanses:
LANG=ja_JP.UTF-8 gvim -u /tmp/vimrc
/usr/share/vim/vim74/menu.vim の処理中にエラーが検出されました:
行  122:
E329: "&Print" というメニューはありません

Spanish:
LANG=es_ES.UTF-8 gvim -u /tmp/vimrc
Se ha detectado un error al procesar /usr/share/vim/vim74/menu.vim:
línea  122
E329: No existe el menú "&Print"

French:
LANG=fr_FR.UTF-8 gvim -u /tmp/vimrc
Erreur détectée en traitant /usr/share/vim/vim74/menu.vim :
ligne  122 :
E329: Aucun menu "&Print"

Original issue reported on code.google.com by dingyichen on 15 Oct 2014 at 12:49

GoogleCodeExporter commented 9 years ago
Please report the problem to the maintainer of the menu file (you'll find their 
contact dates in those files). I think, it should be those:

/usr/share/vim/vim74/runtime/lang/menu_zh_tw.utf-8.vim
/usr/share/vim/vim74/runtime/lang/menu_ja_jp.utf-8.vim
/usr/share/vim/vim74/runtime/lang/menu_es_es.latin1.vim
/usr/share/vim/vim74/runtime/lang/menu_fr_fr.latin1.vim

They will fix the issue and provide new translations for inclusion with Bram.

Original comment by chrisbr...@googlemail.com on 16 Oct 2014 at 9:42