1
0
forked from aniani/vim

Updated runtime files, language files and translations.

This commit is contained in:
Bram Moolenaar
2013-05-21 21:01:10 +02:00
parent 774267bbb9
commit e6ae6225b4
31 changed files with 9258 additions and 2253 deletions

View File

@@ -37,6 +37,7 @@ LANGUAGES = \
CONVERTED = \
cs.cp1250 \
ja.sjis \
ja.euc-jp \
pl.cp1250 \
pl.UTF-8 \
ru.cp1251 \
@@ -77,6 +78,7 @@ MOFILES = \
MOCONVERTED = \
cs.cp1250.mo \
ja.sjis.mo \
ja.euc-jp.mo \
pl.cp1250.mo \
pl.UTF-8.mo \
ru.cp1251.mo \
@@ -115,6 +117,7 @@ CHECKFILES = \
zh_TW.ck \
cs.cp1250.ck \
ja.sjis.ck \
ja.euc-jp.ck \
pl.cp1250.ck \
pl.UTF-8.ck \
ru.cp1251.ck \
@@ -193,11 +196,15 @@ nb.po: no.po
ja.sjis.po: ja.po
@$(MAKE) sjiscorr
rm -f ja.sjis.po
iconv -f euc-jp -t cp932 ja.po | ./sjiscorr > ja.sjis.po
iconv -f utf-8 -t cp932 ja.po | ./sjiscorr > ja.sjis.po
sjiscorr: sjiscorr.c
$(CC) -o sjiscorr sjiscorr.c
ja.euc-jp.po: ja.po
iconv -f utf-8 -t euc-jp ja.po | \
sed -e 's/charset=utf-8/charset=euc-jp/' -e 's/# Original translations/# Generated from ja.po, DO NOT EDIT/' > ja.euc-jp.po
# Convert cs.po to create cs.cp1250.po.
cs.cp1250.po: cs.po
rm -f cs.cp1250.po

View File

@@ -107,3 +107,25 @@ language.
make xx.mo
Look out for syntax errors and fix them.
USING GETTEXT WITHOUT ICONV
When using gettext which doesn't support iconv, the encoding of the .mo file
must match your active encoding. For that you must convert and change
encoding of *.po file in advance of generating the *.mo file. For example, to
convert ja.po to EUC-JP (supposed as your system encoding):
(1) Convert the file encoding:
mv ja.po ja.po.orig
iconv -f utf-8 -t euc-jp ja.po.orig > ja.po
(2) Rewrite charset declaration in the file:
Open ja.po find this line:
"Content-Type: text/plain; charset=utf-8\n"
You should change "charset" like this:
"Content-Type: text/plain; charset=euc-jp\n"
There are examples in the Makefile for the conversions already supported.

6683
src/po/ja.euc-jp.po Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -3,17 +3,19 @@
# Do ":help uganda" in Vim to read copying and usage conditions.
# Do ":help credits" in Vim to see a list of people who contributed.
#
# Last Change: 17-Apr-2013.
# Last Change: 2013 May 19
#
# Copyright (C) 2001-12 MURAOKA Taro <koron.kaoriya@gmail.com>
# THIS FILE IS DISTRIBUTED UNDER THE VIM LICENSE.
#
# Original translations.
#
msgid ""
msgstr ""
"Project-Id-Version: Vim 7.3\n"
"Project-Id-Version: Vim 7.4\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2013-04-17 19:56+0900\n"
"PO-Revision-Date: 2013-04-17 20:00+0900\n"
"POT-Creation-Date: 2013-05-19 12:20+0900\n"
"PO-Revision-Date: 2013-05-19 12:30+0900\n"
"Last-Translator: MURAOKA Taro <koron.kaoriya@gmail.com>\n"
"Language-Team: MURAOKA Taro <koron.kaoriya@gmail.com>\n"
"Language: Japanese\n"
@@ -2656,9 +2658,11 @@ msgstr "E858:
msgid "E859: Failed to convert returned python object to vim value"
msgstr "E859: 返されたpythonオブジェクトをvimの値に変換できませんでした"
#, c-format
msgid "<buffer object (deleted) at %p>"
msgstr "<バッファオブジェクト (消去済み) %p>"
msgid "failed to run the code"
msgstr "コードの実行に失敗しました"
msgid "E863: return value must be an instance of str"
msgstr "E863: 戻り値は文字列のインスタンスでなければなりません"
msgid "E837: This Vim cannot execute :py3 after using :python"
msgstr "E837: このVimでは :python を使った後に :py3 を使えません"
@@ -2669,6 +2673,9 @@ msgstr "E860:
msgid "E861: Failed to convert returned python 3 object to vim value"
msgstr "E861: 返されたpython 3オブジェクトをvimの値に変換できませんでした"
msgid "index must be int or slice"
msgstr "インデックスは整数かスライスでなければなりません"
msgid "E265: $_ must be an instance of String"
msgstr "E265: $_ は文字列のインスタンスでなければなりません"
@@ -6521,33 +6528,27 @@ msgstr "writelines()
msgid "E264: Python: Error initialising I/O objects"
msgstr "E264: Python: I/Oオブジェクトの初期化エラー"
msgid "no such buffer"
msgstr "そのようなバッファはありません"
msgid "empty keys are not allowed"
msgstr "空のキーは許可されていません"
msgid "failed to add key to dictionary"
msgstr "辞書へのキーの追加に失敗しました"
msgid "Cannot delete DictionaryObject attributes"
msgstr "DictionaryObject属性を消せません"
msgid "Cannot modify fixed dictionary"
msgstr "固定された辞書は変更できません"
msgid "Only boolean objects are allowed"
msgstr "booleanオブジェクトだけが許可されています"
msgid "Cannot set this attribute"
msgstr "この属性は設定できません"
msgid "no such key in dictionary"
msgstr "辞書にそのようなキーはありません"
msgid "dict is locked"
msgstr "辞書はロックされています"
msgid "failed to add key to dictionary"
msgstr "辞書へのキーの追加に失敗しました"
msgid "list index out of range"
msgstr "リスト範囲外のインデックスです"
msgid "internal error: failed to get vim list item"
msgstr "内部エラー: vimのリスト要素の取得に失敗しました"
@@ -6569,15 +6570,54 @@ msgstr "
msgid "can only concatenate with lists"
msgstr "リストとのみ接続できます"
msgid "Cannot modify fixed list"
msgid "cannot delete vim.dictionary attributes"
msgstr "vim.dictionary属性は消せません"
msgid "cannot modify fixed list"
msgstr "固定されたリストは変更できません"
msgid "cannot set this attribute"
msgstr "この属性は設定できません"
msgid "'self' argument must be a dictionary"
msgstr "'self' 引数は辞書型の値でなければなりません"
msgid "failed to run function"
msgstr "関数の実行に失敗しました"
msgid "unable to get option value"
msgstr "オプションの値は取得できません"
msgid "unable to unset global option"
msgstr "グローバルオプションの設定解除はできません"
msgid "unable to unset option without global value"
msgstr "グローバル変数を使わずにオプションの設定解除はできません"
msgid "object must be integer"
msgstr "オブジェクトは整数でなければなりません"
msgid "object must be string"
msgstr "オブジェクトは文字列でなければなりません"
msgid "attempt to refer to deleted tab page"
msgstr "削除されたタブを参照しようとしました"
#, c-format
msgid "<tabpage object (deleted) at %p>"
msgstr "<タブページオブジェクト (消去済み) %p>"
#, c-format
msgid "<tabpage object (unknown) at %p>"
msgstr "<タブページオブジェクト (不明) %p>"
#, c-format
msgid "<tabpage %d>"
msgstr "<タブページ %d>"
msgid "no such tab page"
msgstr "そのようなタブページはありません"
msgid "attempt to refer to deleted window"
msgstr "削除されたウィンドウを参照しようとしました"
@@ -6605,6 +6645,34 @@ msgstr "
msgid "attempt to refer to deleted buffer"
msgstr "削除されたバッファを参照しようとしました"
#, c-format
msgid "<buffer object (deleted) at %p>"
msgstr "<バッファオブジェクト (消去済み) %p>"
msgid "key must be integer"
msgstr "キーは整数値でなければなりません"
msgid "expected vim.buffer object"
msgstr "vim.bufferオブジェクトを期待しています"
msgid "failed to switch to given buffer"
msgstr "指定されたバッファへの切り替えに失敗しました"
msgid "expected vim.window object"
msgstr "vim.windowオブジェクトを期待しています"
msgid "failed to find window in the current tab page"
msgstr "現在のタブには指定されたウィンドウがありませんでした"
msgid "did not switch to the specified window"
msgstr "指定されたウィンドウに切り替えませんでした"
msgid "expected vim.tabpage object"
msgstr "vim.tabpageオブジェクトを期待しています"
msgid "did not switch to the specified tab page"
msgstr "指定されたタブページに切り替えませんでした"
msgid "unable to convert to vim structure"
msgstr "vimの構\造体に変換できません"

View File

@@ -18,10 +18,10 @@ main(argc, argv)
{
for (p = buffer; *p != 0; p++)
{
if (strncmp(p, "charset=euc-jp", 14) == 0)
if (strncmp(p, "charset=utf-8", 13) == 0)
{
fputs("charset=cp932", stdout);
p += 13;
p += 12;
}
else if (strncmp(p, "ja.po - Japanese message file", 29) == 0)
{