diff --git a/public/locales/jp/translation.json b/public/locales/jp/translation.json new file mode 100644 index 0000000..1a6ab12 --- /dev/null +++ b/public/locales/jp/translation.json @@ -0,0 +1,126 @@ +{ + "Home": "ホーム", + "Samples": "サンプル", + "Legends": "凡例", + "Edit": "編集", + "You have to select nodes first": "最初にノードを選択してください", + "Test": "テスト", + "You can select nodes by dragging or clicking on the graph": "グラフ上でドラッグまたはクリックしてノードを選択できます", + "Input a regular expression": "正規表現を入力してください", + "Characters": "文字", + "Direct match characters": "文字列に直接マッチさせる", + "Character classes": "文字クラス", + "Distinguish different types of characters": "異なる種類の文字を区別する", + "Ranges": "範囲", + "One of": "いずれか", + "Matches any one of the enclosed characters": "いずれかの文字に一致する", + "None of": "これ以外", + "Matches anything that is not enclosed in the brackets": "指定した以外の任意の文字に一致する", + "Choice": "または", + "Group": "グループ", + "Matches either \"x\" or \"y\"": "「x」または「y」に一致する", + "Quantifier": "量指定子", + "Indicate numbers of characters or expressions to match": "一致させる文字または式の数を指定する", + "Matches x and remembers the match": "x に一致し、その一致を記憶する", + "Matches \"x\" but does not remember the match": "x に一致するが、その一致は記憶しない", + "Matches \"x\" and stores it on the groups property of the returned matches under the name specified by ": "「x」に一致し、その一致を で指定された名前で groups プロパティに保存する", + "Back reference": "後方参照", + "A back reference to match group #1": "グループ #1 への後方参照", + "A back reference to match group #Name": "グループ #Name への後方参照", + "Assertion": "アサーション", + "Begins with": "先頭", + "Ends with": "末尾", + "Matches the beginning of input": "入力の先頭に一致する", + "Followed by:": "次に続く:", + "Not followed by:": "次に続かない:", + "Preceded by:": "前にある:", + "Not preceded by:": "前にない:", + "WordBoundary": "単語境界", + "NonWordBoundary": "非単語境界", + "Matches \"x\" only if \"x\" is followed by \"y\"": "「x」の次に「y」に続く場合にのみ「x」に一致する", + "Global search": "グローバル検索", + "Case-insensitive": "大文字と小文字を区別", + "Multi-line": "複数行", + "Add A Case": "テストケースを追加する", + "Insert around": "ノードを挿入", + "Group selection": "グループ化", + "Lookaround assertion": "先読み/後読みアサーション", + "Before": "前に挿入", + "Parallel": "「または」", + "After": "後に挿入", + "show more": "もっと表示する", + "show less": "よく使うものだけ表示する", + "Expression": "式", + "Content": "内容", + "An Empty Range": "レンジを追加", + "Capturing group": "キャプチャする", + "Non-capturing group": "キャプチャしない", + "Named capturing group": "名前付きキャプチャ", + "Capturing": "キャプチャする", + "Non-cap": "キャプチャしない", + "Named cap": "名前付きキャプチャ", + "Lookahead assertion": "先読みアサーション", + "Lookbehind assertion": "後読みアサーション", + "Lookahead": "先読み", + "Lookbehind": "後読み", + "Type": "タイプ", + "Value": "値", + "Simple string": "単純な文字列", + "Character class": "文字クラス", + "Character range": "文字範囲", + "Beginning Assertion": "先頭", + "End Assertion": "末尾", + "Word Boundary Assertion": "単語境界", + "The input will be escaped automatically.": "入力は自動的にエスケープされます。", + "Negate": "否定する", + "negate": "否定する", + "Any character": "任意の文字", + "Any digit": "任意の数字", + "Non-digit": "数字以外の文字", + "Any alphanumeric": "英数字", + "Non-alphanumeric": "英数字以外の文字", + "White space": "空白文字", + "Non-white space": "空白以外の文字", + "Horizontal tab": "水平タブ", + "Carriage return": "キャリッジリターン", + "Linefeed": "改行文字", + "Vertical tab": "垂直タブ", + "Form-feed": "フォームフィード", + "Backspace": "バックスペース", + "NUL": "NUL", + "\\b Backspace": "\\b バックスペース", + "\\t Horizontal Tab": "\\t 水平タブ", + "\\n Line Feed": "\\n 改行", + "\\v Vertical Tab": "\\v 垂直タブ", + "\\f Form Feed": "\\f フォームフィード", + "\\r Carriage Return": "\\r キャリッジリターン", + "ASCII symbol": "ASCII文字", + "Unicode symbol": "Unicode文字", + "Class": "クラス", + "Back Reference": "逆参照", + "Choose one": "一つ選ぶ", + "UnGroup": "グループ解除する", + "Cancel assertion": "断言を解除する", + "times": "回数", + "custom": "カスタム", + "1 (default)": "1(デフォルト)", + "0 or 1": "あるかないか", + "0 or more": "0回以上", + "1 or more": "1回以上", + "greedy": "貪欲に", + "Greedy": "貪欲にマッチ", + "1. Whole Numbers": "1. 整数", + "2. Decimal Numbers": "2. 小数", + "3. Whole + Decimal Numbers": "3. 整数と小数", + "4. Negative, Positive Whole + Decimal Numbers": "4. 正負の整数と小数", + "6. Date Format YYYY-MM-dd": "6. 日付形式 YYYY-MM-dd", + "Flags: ": "フラグ: ", + "Flag: ": "フラグ: ", + "Allows . to match newline": "ドットが改行に一致することを許可", + "Settings: ": "設定: ", + "include escape ": "エスケープ文字を含む", + "Copy permalink": "パーマリンクをコピー", + "Permalink copied.": "パーマリンクがコピーされました", + "Empty": "空", + "Group's name": "グループ名" +} diff --git a/src/components/language-select/index.tsx b/src/components/language-select/index.tsx index 5aecb50..6466a46 100644 --- a/src/components/language-select/index.tsx +++ b/src/components/language-select/index.tsx @@ -22,6 +22,7 @@ export function LanguageSelect() { English 简体中文 Русский + 日本語 diff --git a/src/modules/home/regex-input.tsx b/src/modules/home/regex-input.tsx index 5b67d61..6d3f9f1 100644 --- a/src/modules/home/regex-input.tsx +++ b/src/modules/home/regex-input.tsx @@ -100,7 +100,7 @@ const RegexInput: React.FC = ({ >
- {label} + {t(label)}
)