Skip to content

Commit bcc9161

Browse files
committed
Improve translation about spelling (#65)
1 parent a006a26 commit bcc9161

File tree

2 files changed

+31
-32
lines changed

2 files changed

+31
-32
lines changed

doc/options.jax

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7006,14 +7006,14 @@ Note 1番目の形式では、行全体がオプション指定に使われる
70067006
スペリング候補の方法を指定する。コマンド |z=| と関数 |spellsuggest()|
70077007
の両方に適用される。次の要素のコンマ区切りのリストになる:
70087008

7009-
best 英語にもっともよく対応している内部メソッド。「高速に」
7010-
似た相異点を発見し、音の近さによるスコア判定を少しして
7011-
順序を改善する
7009+
best 英語にもっともよく対応している内部メソッド。"fast" 方
7010+
式と同じように相異点を発見した上で、音の近さによるスコ
7011+
ア判定を少し用いて順序を改善する
70127012

70137013
double 2つの方法を用い、その結果を混合させる内部メソッド。第
7014-
一の方法は「高速」で、第二の方法は候補と修正対象の音が
7014+
一の方法は "fast" で、第二の方法は候補と修正対象の音が
70157015
どれだけ似ているかを計算する。これは言語が sound
7016-
folding を指定するときだけ機能する。時間がかかるかもし
7016+
folding を明示するときだけ機能する。時間がかかるかもし
70177017
れず、必ずしもよい結果を出すとは限らない。
70187018

70197019
fast 文字の挿入、削除、交換など、単純な相異だけを判定する内

doc/spell.jax

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ Vim は 'runtimepath' のディレクトリの中の "spell" という名前の
288288
LL 言語名
289289
EEE 'encoding' の値
290290

291-
"LL" の値は 'spelllang' から来るが、地域名を除く
291+
"LL" の値は 'spelllang' の値が使われるが、地域名は除外される
292292
例:
293293
'spelllang' LL ~
294294
en_us en
@@ -307,29 +307,29 @@ LL.EEE.add.spl という名前のファイルが追加でロードされる。
307307
|zw| で正しい単語や間違った単語を追加するファイルである。
308308

309309
例外:
310-
- Vim uses "latin1" when 'encoding' is "iso-8859-15". The euro sign doesn't
311-
matter for spelling.
310+
- Vim は、'encoding' "iso-8859-15" のとき "latin1" を使う。ユーロマークは
311+
スペルチェックに影響しない。
312312
- When no spell file for 'encoding' is found "ascii" is tried. This only
313313
works for languages where nearly all words are ASCII, such as English. It
314314
helps when 'encoding' is not "latin1", such as iso-8859-2, and English text
315315
is being edited. For the ".add" files the same name as the found main
316316
spell file is used.
317317

318-
For example, with these values:
319-
'runtimepath' is "~/.vim,/usr/share/vim70,~/.vim/after"
320-
'encoding' is "iso-8859-2"
321-
'spelllang' is "pl"
318+
例えば、以下の値が設定されている場合:
319+
'runtimepath' "~/.vim,/usr/share/vim70,~/.vim/after"
320+
'encoding' "iso-8859-2"
321+
'spelllang' "pl"
322322

323-
Vim will look for:
323+
Vim は以下を探す:
324324
1. ~/.vim/spell/pl.iso-8859-2.spl
325325
2. /usr/share/vim70/spell/pl.iso-8859-2.spl
326326
3. ~/.vim/spell/pl.iso-8859-2.add.spl
327327
4. /usr/share/vim70/spell/pl.iso-8859-2.add.spl
328328
5. ~/.vim/after/spell/pl.iso-8859-2.add.spl
329329

330-
This assumes 1. is not found and 2. is found.
330+
ここでは、1. が見つからず、2. が見つかったと仮定している。
331331

332-
If 'encoding' is "latin1" Vim will look for:
332+
もし 'encoding' "latin1" ならば Vim は以下を探す:
333333
1. ~/.vim/spell/pl.latin1.spl
334334
2. /usr/share/vim70/spell/pl.latin1.spl
335335
3. ~/.vim/after/spell/pl.latin1.spl
@@ -340,14 +340,14 @@ If 'encoding' is "latin1" Vim will look for:
340340
This assumes none of them are found (Polish doesn't make sense when leaving
341341
out the non-ASCII characters).
342342

343-
Spelling for EBCDIC is currently not supported.
343+
EBCDIC 向けのスペルチェックは現在サポートされていない。
344344

345345
現在の 'encoding' でスペルファイルが利用できないかもしれない。スペルファイルの
346346
作成の仕方については |spell-mkspell| を参照せよ。"iconv" でスペルファイルを変
347347
換するのは機能しないだろう!
348348

349-
Note: on VMS ".{enc}.spl" is changed to "_{enc}.spl" to avoid trouble with
350-
filenames.
349+
Note: VMS ではファイル名によるトラブルを避けるため、".{enc}.spl"
350+
"_{enc}.spl" に変更されている。
351351

352352
*spell-sug-file* *E781*
353353
If there is a file with exactly the same name as the ".spl" file but ending in
@@ -417,12 +417,12 @@ so that comments in C, shell and Vim code can be spell checked.
417417

418418
構文ハイライト *spell-syntax*
419419

420-
Files that use syntax highlighting can specify where spell checking should be
421-
done:
420+
構文ハイライトを使用するファイルでは、どこでスペルチェックを行うべきか指定する
421+
ことができる:
422422

423-
1. everywhere default
424-
2. in specific items use "contains=@Spell"
425-
3. everywhere but specific items use "contains=@NoSpell"
423+
1. どこでも 規定
424+
2. 指定の要素 "contains=@Spell" を使用する
425+
3. 指定の要素以外どこでも "contains=@NoSpell" を使用する
426426

427427
For the second method adding the @NoSpell cluster will disable spell checking
428428
again. This can be used, for example, to add @Spell to the comments of a
@@ -455,17 +455,16 @@ Note that the default scripts don't set 'spellcapcheck' if it was changed from
455455
the default value. This assumes the user prefers another value then.
456456

457457

458-
DOUBLE SCORING *spell-double-scoring*
458+
二重スコア付け *spell-double-scoring*
459459

460-
The 'spellsuggest' option can be used to select "double" scoring. This
461-
mechanism is based on the principle that there are two kinds of spelling
462-
mistakes:
460+
"double" 方式のスコア付けを選択するために 'spellsuggest' オプションを使用でき
461+
る。この機構は、綴り間違いには2種類あるという原則に基づいている:
463462

464-
1. You know how to spell the word, but mistype something. This results in a
463+
1. 単語の綴りは知っているが、何らかのミスタイプをする場合。This results in a
465464
small editing distance (character swapped/omitted/inserted) and possibly a
466465
word that sounds completely different.
467466

468-
2. You don't know how to spell the word and type something that sounds right.
467+
2. 単語の綴りを知らず、単語が正しく聞こえるようにタイプする場合。
469468
The edit distance can be big but the word is similar after sound-folding.
470469

471470
Since scores for these two mistakes will be very different we use a list
@@ -603,10 +602,10 @@ section that is required for the spell file to work. In this case it's
603602
probably a good idea to upgrade your Vim.
604603

605604

606-
スペルファイルをダンプ
605+
スペルファイルのダンプ
607606

608-
If for some reason you want to check what words are supported by the currently
609-
used spelling files, use this command:
607+
もし何らかの理由で、現在使っているスペルファイルでどんな単語がサポートされてい
608+
るかをチェックしたい場合、以下のコマンドを使用できる:
610609

611610
*:spelldump* *:spelld*
612611
:spelld[ump] Open a new window and fill it with all currently valid

0 commit comments

Comments
 (0)