Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix syntax errors in the Japanese locale #2882

Merged
merged 2 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased
<!-- Add all new changes here. They will be moved under a version at release -->
* `FIX` Fixed an issue preventing to set the locale to Japanese

## 3.11.0
* `NEW` Added support for Japanese locale
Expand Down
3 changes: 1 addition & 2 deletions locale/ja-jp/meta.lua
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@ string.lower =
'文字列内のすべての大文字を小文字に取り換えた文字列を返す。'
string.match =
'文字列の中から `pattern` に最初にマッチした部分を返す(§6.4.1 を参照)。マッチしたものがない場合、`nil` を返す。'
'文字列 `s` の中で `pattern`(§6.4.1 を参照)に一致する最初の部分を見つける。見つかった場合、そのキャプチャされた値を返す。見つからなければ `nil` を返す。'
string.pack =
'第一引数で指定されたフォーマットに沿って、可変数の引数をバイナリ文字列にシリアライズしたものを返す(§6.4.2 を参照)。'
string.packsize =
Expand Down Expand Up @@ -744,7 +743,7 @@ utf8 =
utf8.char =
'0個以上の整数を受け取り、それぞれを対応するUTF-8文字に変換し、これらの文字を連結した文字列を返す。'
utf8.charpattern =
'1つのUTF-8文字にマッチするパターンを返す。このパターンを用いる際には、対象の文字列が有効なUTF-8文字列である必要がある。
'1つのUTF-8文字にマッチするパターンを返す。このパターンを用いる際には、対象の文字列が有効なUTF-8文字列である必要がある。'
utf8.codes =
[[
次の構文において`p`が各UTF-8文字のバイト位置、`c`が各UTF-8文字の文字コードとなるような値を返す。無効なバイトシーケンスが文字列に含まれた場合にはエラーを出す。
Expand Down
1 change: 0 additions & 1 deletion locale/ja-jp/script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,6 @@ COMMAND_MARK_GLOBAL =
'グローバル変数として指定します'
COMMAND_REMOVE_SPACE =
'すべての行末スペースを削除します'
'Clear all postemptive spaces'
COMMAND_ADD_BRACKETS =
'括弧を追加します。'
COMMAND_RUNTIME_VERSION =
Expand Down
Loading