From d6ba3e26f814e38b91d96b510c96cce8998a51dd Mon Sep 17 00:00:00 2001 From: naskya Date: Sun, 26 Mar 2023 11:06:47 +0900 Subject: [PATCH] Update locale --- locales/en-US.yml | 2 +- locales/ja-JP.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 6c62f7a2c5..9ff283aa03 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -940,7 +940,7 @@ migrationConfirm: "Are you absolutely sure you want to migrate your acccount to defaultReaction: "Default emoji reaction for outgoing and incoming posts" license: "License" customKaTeXMacro: "Custom KaTeX Macro" -customKaTeXMacroDescription: "Set up macros to write mathematical expressions easily! The notation conforms to the LaTeX command definitions and is written as follows:\n```\n\\newcommand{\\name}{content}\n```\nMacros that take arguments are written as follows. In this example, `\\add{3}{foo}` expands to `3 + foo`.\n```\n\\newcommand{\\add}[2]{#1 + #2}\n```\nThe curly brackets surrounding the macro name can be changed to round or square brackets. This affects the brackets used for arguments. For example, these define automatically sized brackets `\\qty()`, `\\qty[]`, and `\\qty{}`:\n```\n\\newcommand(\\qty)[1]{\\left( #1 \\right)}\n\\newcommand[\\qty][1]{\\left[ #1 \\right]}\n\\newcommand{\\qty}[1]{\\left\\{ #1 \\right\\}}```\nOne and only one macro can be defined per line, and you can't break the line in the middle of the definition. Invalid lines are ignored. Only simple string substitution functions are supported; advanced syntax, such as conditional branching, cannot be used." +customKaTeXMacroDescription: "Set up macros to write mathematical expressions easily! The notation conforms to the LaTeX command definitions and is written as \\newcommand{\\name}{content} or \\newcommand{\\name}[number of arguments]{content}. For example, \\newcommand{\\add}[2]{#1 + #2} will expand \\add{3}{foo} to 3 + foo. The curly brackets surrounding the macro name can be changed to round or square brackets. This affects the brackets used for arguments. One (and only one) macro can be defined per line, and you can't break the line in the middle of the definition. Invalid lines are simply ignored. Only simple string substitution functions are supported; advanced syntax, such as conditional branching, cannot be used here." enableCustomKaTeXMacro: "Enable custom KaTeX macro" _sensitiveMediaDetection: diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0cbbc18f25..b7ead22e88 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -940,7 +940,7 @@ migrationConfirm: "本当にこのアカウントを {account} に引っ越し defaultReaction: "リモートとローカルの投稿に対するデフォルトの絵文字リアクション" license: "ライセンス" customKaTeXMacro: "カスタムKaTeXマクロ" -customKaTeXMacroDescription: "数式入力を楽にするためのマクロを設定しましょう!記法はLaTeXにおけるコマンドの定義と同様で、\n```\n\\newcommand{\\name}{content}\n```\nのように記述します。引数を取るマクロは`\\newcommand{\\add}[2]{#1 + #2}`のように記述します。この例では、`\\add{3}{foo}`が`3 + foo`に展開されます。\nまた、マクロの名前を囲む波括弧は丸括弧`()`および角括弧`[]`に変更できます。括弧を変更した場合、マクロの引数に使用する括弧が変更されます。\n例えば\n```\n\\newcommand(\\qty)[1]{\\left( #1 \\right)}\n\\newcommand[\\qty][1]{\\left[ #1 \\right]}\n\\newcommand{\\qty}[1]{\\left\\{ #1 \\right\\}}\n```\nとすれば自動で大きさが調整される括弧`\\qty()`, `\\qty[]`, `\\qty{}`を定義できます。\nマクロの定義は一行に一つのみで、途中で改行はできません。マクロの定義が無効な行は無視されます。文字列を単純に置換する機能のみに対応していて、条件分岐などの高度な構文は使用できません。" +customKaTeXMacroDescription: "数式入力を楽にするためのマクロを設定しましょう!記法はLaTeXにおけるコマンドの定義と同様に \\newcommand{\\name}{content} または \\newcommand{\\add}[2]{#1 + #2} のように記述します。後者の例では \\add{3}{foo} が 3 + foo に展開されます。また、マクロの名前を囲む波括弧を丸括弧 () および角括弧 [] に変更した場合、マクロの引数に使用する括弧が変更されます。マクロの定義は一行に一つのみで、途中で改行はできません。マクロの定義が無効な行は無視されます。文字列を単純に置換する機能のみに対応していて、条件分岐などの高度な構文は使用できません。" enableCustomKaTeXMacro: "カスタムKaTeXマクロを有効にする" _sensitiveMediaDetection: