Skip to content

Commit 744156b

Browse files
committed
translate locale by AI
1 parent 0879bb1 commit 744156b

File tree

6 files changed

+110
-110
lines changed

6 files changed

+110
-110
lines changed

locale/es-419/meta.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -880,5 +880,5 @@ utf8.len =
880880
'Retorna el número de caracteres en UTF-8 en el string `s` que empiezan entre las posiciones `i` y `j` (ambos inclusive).'
881881
utf8.offset =
882882
'Retorna la posición en bytes donde la codificación del caracter `n`-ésimo de `s` empieza, contado a partir de la posición `i`.'
883-
utf8.offset[55] = -- TODO: need translate!
884-
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'
883+
utf8.offset[55] =
884+
'Retorna la posición del carácter número `n` de `s` (contando desde la posición de byte `i`) como dos enteros: el índice (en bytes) donde empieza su codificación y el índice (en bytes) donde termina.'

locale/ja-jp/meta.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -876,5 +876,5 @@ utf8.len =
876876
'バイト位置 `i` から `j`(両方含む)の間に含まれるUTF-8文字の数を返す。'
877877
utf8.offset =
878878
'文字列 `s` における `n` 番目の文字が始まるバイト位置をを返す。`i` が指定された場合、`i` から数えたバイト位置を返す。'
879-
utf8.offset[55] = -- TODO: need translate!
880-
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'
879+
utf8.offset[55] =
880+
'文字列 `s` における `n` 番目の文字の位置を、2つの整数として返します(バイト位置 `i` から数えます):その文字のエンコードが開始するバイトインデックスと終了するバイトインデックス。'

locale/ja-jp/setting.lua

Lines changed: 100 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -6,129 +6,129 @@ config.addonManager.repositoryBranch =
66
"アドオンマネージャーが使用するgitブランチを指定します。"
77
config.addonManager.repositoryPath =
88
"アドオンマネージャーが使用するgitパスを指定します。"
9-
config.addonRepositoryPath = -- TODO: need translate!
10-
"Specifies the addon repository path (not related to the addon manager)."
11-
config.runtime.version = -- TODO: need translate!
12-
"Lua runtime version."
13-
config.runtime.path = -- TODO: need translate!
9+
config.addonRepositoryPath =
10+
"アドオンのリポジトリパスを指定します(アドオンマネージャーとは無関係です)。"
11+
config.runtime.version =
12+
"Lua のランタイムバージョン。"
13+
config.runtime.path =
1414
[[
15-
When using `require`, how to find the file based on the input name.
16-
Setting this config to `?/init.lua` means that when you enter `require 'myfile'`, `${workspace}/myfile/init.lua` will be searched from the loaded files.
17-
if `runtime.pathStrict` is `false`, `${workspace}/**/myfile/init.lua` will also be searched.
18-
If you want to load files outside the workspace, you need to set `Lua.workspace.library` first.
15+
`require` を使用する際、入力名に基づいてファイルを探す方法。
16+
この設定を `?/init.lua` にすると、`require 'myfile'` と入力したとき、読み込まれたファイルから `${workspace}/myfile/init.lua` が検索されます。
17+
`runtime.pathStrict` `false` の場合、`${workspace}/**/myfile/init.lua` も検索対象になります。
18+
ワークスペース外のファイルを読み込みたい場合は、先に `Lua.workspace.library` を設定する必要があります。
1919
]]
20-
config.runtime.pathStrict = -- TODO: need translate!
21-
'When enabled, `runtime.path` will only search the first level of directories, see the description of `runtime.path`.'
22-
config.runtime.special = -- TODO: need translate!
23-
[[The custom global variables are regarded as some special built-in variables, and the language server will provide special support
24-
The following example shows that 'include' is treated as' require '.
20+
config.runtime.pathStrict =
21+
'有効にすると、`runtime.path` は最上位のディレクトリ階層のみを検索します。詳細は `runtime.path` の説明を参照してください。'
22+
config.runtime.special =
23+
[[カスタムのグローバル変数を一部の特別な組み込み変数として扱い、言語サーバーが特別なサポートを提供します。
24+
以下の例では、`include` を `require` として扱います。
2525
```json
2626
"Lua.runtime.special" : {
2727
"include" : "require"
2828
}
2929
```
3030
]]
31-
config.runtime.unicodeName = -- TODO: need translate!
32-
"Allows Unicode characters in name."
33-
config.runtime.nonstandardSymbol = -- TODO: need translate!
34-
"Supports non-standard symbols. Make sure that your runtime environment supports these symbols."
35-
config.runtime.plugin = -- TODO: need translate!
36-
"Plugin path. Please read [wiki](https://luals.github.io/wiki/plugins) to learn more."
37-
config.runtime.pluginArgs = -- TODO: need translate!
38-
"Additional arguments for the plugin."
39-
config.runtime.fileEncoding = -- TODO: need translate!
40-
"File encoding. The `ansi` option is only available under the `Windows` platform."
41-
config.runtime.builtin = -- TODO: need translate!
31+
config.runtime.unicodeName =
32+
"名前に Unicode 文字を使用できるようにします。"
33+
config.runtime.nonstandardSymbol =
34+
"非標準の記号をサポートします。ランタイム環境がこれらの記号をサポートしていることを確認してください。"
35+
config.runtime.plugin =
36+
"プラグインのパス。詳細は [wiki](https://luals.github.io/wiki/plugins) を参照してください。"
37+
config.runtime.pluginArgs =
38+
"プラグインに渡す追加引数。"
39+
config.runtime.fileEncoding =
40+
"ファイルのエンコーディング。`ansi` オプションは `Windows` プラットフォームでのみ利用可能です。"
41+
config.runtime.builtin =
4242
[[
43-
Adjust the enabled state of the built-in library. You can disable (or redefine) the non-existent library according to the actual runtime environment.
43+
組み込みライブラリの有効状態を調整します。実際のランタイム環境に応じて、存在しないライブラリを無効化(または再定義)できます。
4444
45-
* `default`: Indicates that the library will be enabled or disabled according to the runtime version
46-
* `enable`: always enable
47-
* `disable`: always disable
45+
* `default`: ランタイムバージョンに応じてライブラリを有効/無効にします
46+
* `enable`: 常に有効
47+
* `disable`: 常に無効
4848
]]
49-
config.runtime.meta = -- TODO: need translate!
50-
'Format of the directory name of the meta files.'
51-
config.diagnostics.enable = -- TODO: need translate!
52-
"Enable diagnostics."
53-
config.diagnostics.disable = -- TODO: need translate!
54-
"Disabled diagnostic (Use code in hover brackets)."
55-
config.diagnostics.globals = -- TODO: need translate!
56-
"Defined global variables."
57-
config.diagnostics.globalsRegex = -- TODO: need translate!
58-
"Find defined global variables using regex."
59-
config.diagnostics.severity = -- TODO: need translate!
49+
config.runtime.meta =
50+
'メタファイルのディレクトリ名の形式。'
51+
config.diagnostics.enable =
52+
"診断を有効にします。"
53+
config.diagnostics.disable =
54+
"無効化する診断(ホバーの括弧内に表示されるコードを使用)。"
55+
config.diagnostics.globals =
56+
"定義済みのグローバル変数。"
57+
config.diagnostics.globalsRegex =
58+
"正規表現で定義済みのグローバル変数を検索します。"
59+
config.diagnostics.severity =
6060
[[
61-
Modify the diagnostic severity.
61+
診断の重大度を変更します。
6262
63-
End with `!` means override the group setting `diagnostics.groupSeverity`.
63+
末尾に `!` を付けると、グループ設定 `diagnostics.groupSeverity` を上書きします。
6464
]]
65-
config.diagnostics.neededFileStatus = -- TODO: need translate!
65+
config.diagnostics.neededFileStatus =
6666
[[
67-
* Opened: only diagnose opened files
68-
* Any: diagnose all files
69-
* None: disable this diagnostic
67+
* Opened: 開いているファイルのみを診断
68+
* Any: すべてのファイルを診断
69+
* None: この診断を無効化
7070
71-
End with `!` means override the group setting `diagnostics.groupFileStatus`.
71+
末尾に `!` を付けると、グループ設定 `diagnostics.groupFileStatus` を上書きします。
7272
]]
73-
config.diagnostics.groupSeverity = -- TODO: need translate!
73+
config.diagnostics.groupSeverity =
7474
[[
75-
Modify the diagnostic severity in a group.
76-
`Fallback` means that diagnostics in this group are controlled by `diagnostics.severity` separately.
77-
Other settings will override individual settings without end of `!`.
75+
グループ内の診断の重大度を変更します。
76+
`Fallback` は、このグループ内の診断が個別に `diagnostics.severity` によって制御されることを意味します。
77+
その他の設定は、末尾に `!` が付いていない個別の設定を上書きします。
7878
]]
79-
config.diagnostics.groupFileStatus = -- TODO: need translate!
79+
config.diagnostics.groupFileStatus =
8080
[[
81-
Modify the diagnostic needed file status in a group.
81+
グループ内の診断対象ファイル状態を変更します。
8282
83-
* Opened: only diagnose opened files
84-
* Any: diagnose all files
85-
* None: disable this diagnostic
83+
* Opened: 開いているファイルのみを診断
84+
* Any: すべてのファイルを診断
85+
* None: この診断を無効化
8686
87-
`Fallback` means that diagnostics in this group are controlled by `diagnostics.neededFileStatus` separately.
88-
Other settings will override individual settings without end of `!`.
87+
`Fallback` は、このグループ内の診断が個別に `diagnostics.neededFileStatus` によって制御されることを意味します。
88+
その他の設定は、末尾に `!` が付いていない個別の設定を上書きします。
8989
]]
90-
config.diagnostics.workspaceEvent = -- TODO: need translate!
91-
"Set the time to trigger workspace diagnostics."
92-
config.diagnostics.workspaceEvent.OnChange = -- TODO: need translate!
93-
"Trigger workspace diagnostics when the file is changed."
94-
config.diagnostics.workspaceEvent.OnSave = -- TODO: need translate!
95-
"Trigger workspace diagnostics when the file is saved."
96-
config.diagnostics.workspaceEvent.None = -- TODO: need translate!
97-
"Disable workspace diagnostics."
98-
config.diagnostics.workspaceDelay = -- TODO: need translate!
99-
"Latency (milliseconds) for workspace diagnostics."
100-
config.diagnostics.workspaceRate = -- TODO: need translate!
101-
"Workspace diagnostics run rate (%). Decreasing this value reduces CPU usage, but also reduces the speed of workspace diagnostics. The diagnosis of the file you are currently editing is always done at full speed and is not affected by this setting."
102-
config.diagnostics.libraryFiles = -- TODO: need translate!
103-
"How to diagnose files loaded via `Lua.workspace.library`."
104-
config.diagnostics.libraryFiles.Enable = -- TODO: need translate!
105-
"Always diagnose these files."
106-
config.diagnostics.libraryFiles.Opened = -- TODO: need translate!
107-
"Only when these files are opened will it be diagnosed."
108-
config.diagnostics.libraryFiles.Disable = -- TODO: need translate!
109-
"These files are not diagnosed."
110-
config.diagnostics.ignoredFiles = -- TODO: need translate!
111-
"How to diagnose ignored files."
112-
config.diagnostics.ignoredFiles.Enable = -- TODO: need translate!
113-
"Always diagnose these files."
114-
config.diagnostics.ignoredFiles.Opened = -- TODO: need translate!
115-
"Only when these files are opened will it be diagnosed."
116-
config.diagnostics.ignoredFiles.Disable = -- TODO: need translate!
117-
"These files are not diagnosed."
118-
config.diagnostics.disableScheme = -- TODO: need translate!
119-
'Do not diagnose Lua files that use the following scheme.'
120-
config.diagnostics.validScheme = -- TODO: need translate!
121-
'Enable diagnostics for Lua files that use the following scheme.'
122-
config.diagnostics.unusedLocalExclude = -- TODO: need translate!
123-
'Do not diagnose `unused-local` when the variable name matches the following pattern.'
124-
config.workspace.ignoreDir = -- TODO: need translate!
125-
"Ignored files and directories (Use `.gitignore` grammar)."-- .. example.ignoreDir,
126-
config.workspace.ignoreSubmodules = -- TODO: need translate!
127-
"Ignore submodules."
128-
config.workspace.useGitIgnore = -- TODO: need translate!
129-
"Ignore files list in `.gitignore` ."
130-
config.workspace.maxPreload = -- TODO: need translate!
131-
"Max preloaded files."
90+
config.diagnostics.workspaceEvent =
91+
"ワークスペース診断をトリガーするタイミングを設定します。"
92+
config.diagnostics.workspaceEvent.OnChange =
93+
"ファイルが変更されたときにワークスペース診断をトリガーします。"
94+
config.diagnostics.workspaceEvent.OnSave =
95+
"ファイルが保存されたときにワークスペース診断をトリガーします。"
96+
config.diagnostics.workspaceEvent.None =
97+
"ワークスペース診断を無効にします。"
98+
config.diagnostics.workspaceDelay =
99+
"ワークスペース診断の待ち時間(ミリ秒)。"
100+
config.diagnostics.workspaceRate =
101+
"ワークスペース診断の実行レート(%)。この値を下げると CPU 使用率は低下しますが、ワークスペース診断の速度も低下します。現在編集中のファイルの診断は常に全速で行われ、この設定の影響を受けません。"
102+
config.diagnostics.libraryFiles =
103+
"`Lua.workspace.library` 経由で読み込まれたファイルをどのように診断するか。"
104+
config.diagnostics.libraryFiles.Enable =
105+
"常にこれらのファイルを診断します。"
106+
config.diagnostics.libraryFiles.Opened =
107+
"これらのファイルが開かれているときのみ診断します。"
108+
config.diagnostics.libraryFiles.Disable =
109+
"これらのファイルは診断しません。"
110+
config.diagnostics.ignoredFiles =
111+
"無視されているファイルをどのように診断するか。"
112+
config.diagnostics.ignoredFiles.Enable =
113+
"常にこれらのファイルを診断します。"
114+
config.diagnostics.ignoredFiles.Opened =
115+
"これらのファイルが開かれているときのみ診断します。"
116+
config.diagnostics.ignoredFiles.Disable =
117+
"これらのファイルは診断しません。"
118+
config.diagnostics.disableScheme =
119+
'次のスキームを使用する Lua ファイルは診断しません。'
120+
config.diagnostics.validScheme =
121+
'次のスキームを使用する Lua ファイルの診断を有効にします。'
122+
config.diagnostics.unusedLocalExclude =
123+
'変数名が次のパターンに一致する場合、`unused-local` を診断しません。'
124+
config.workspace.ignoreDir =
125+
"無視するファイルとディレクトリ(`.gitignore` の構文を使用)。"-- .. example.ignoreDir,
126+
config.workspace.ignoreSubmodules =
127+
"サブモジュールを無視します。"
128+
config.workspace.useGitIgnore =
129+
"`.gitignore` に記載されたファイルを無視します。"
130+
config.workspace.maxPreload =
131+
"プリロードする最大ファイル数。"
132132
config.workspace.preloadFileSize =
133133
"プリロード時にこの値(KB)より大きいファイルをスキップします。"
134134
config.workspace.library =

locale/pt-br/meta.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -881,5 +881,5 @@ utf8.len =
881881
'Retorna o número de caracteres UTF-8 na string `s` que começa entre as posições `i` e `j` (ambos inclusos).'
882882
utf8.offset =
883883
'Retorna a posição (em bytes) onde a codificação do `n`-ésimo caractere de `s` inícia (contando a partir da posição `i`).'
884-
utf8.offset[55] = -- TODO: need translate!
885-
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'
884+
utf8.offset[55] =
885+
'Retorna a posição do n-ésimo caractere de `s` (contando a partir da posição de byte `i`) como dois inteiros: o índice (em bytes) onde sua codificação começa e o índice (em bytes) onde ela termina.'

locale/zh-cn/meta.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,5 +860,5 @@ utf8.len =
860860
'返回字符串 `s` 中 从位置 `i` 到 `j` 间 (包括两端) UTF-8 字符的个数。'
861861
utf8.offset =
862862
'返回编码在 `s` 中的第 `n` 个字符的开始位置(按字节数) (从位置 `i` 处开始统计)。'
863-
utf8.offset[55] = -- TODO: need translate!
864-
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'
863+
utf8.offset[55] =
864+
'返回字符串 `s` 中第 `n` 个字符的位置(从字节位置 `i` 开始计数),以两个整数表示:其编码开始的字节索引和结束的字节索引。'

locale/zh-tw/meta.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -864,5 +864,5 @@ utf8.len =
864864
'回傳字串 `s` 中 從位置 `i` 到 `j` 間 (包括兩端) UTF-8 字元的個數。'
865865
utf8.offset =
866866
'回傳編碼在 `s` 中的第 `n` 個字元的開始位置(按位元組數)(從位置 `i` 處開始統計)。'
867-
utf8.offset[55] = -- TODO: need translate!
868-
'Returns the position of the n-th character of s (counting from byte position i) as two integers: The index (in bytes) where its encoding starts and the index (in bytes) where it ends.'
867+
utf8.offset[55] =
868+
'以兩個整數回傳字串 `s` 中第 `n` 個字元的位置(從位元組位置 `i` 開始計數):其編碼開始的位元組索引與結束的位元組索引。'

0 commit comments

Comments
 (0)