"Editor" section

This commit is contained in:
Eric Bell 2024-12-14 18:00:14 -05:00
parent 103366c24a
commit 1a1b91aae5

View file

@ -332,15 +332,19 @@ class MsgText(Enum):
To finish writing, press {how_to_quit} on a blank line. To finish writing, press {how_to_quit} on a blank line.
""", """,
ja=""" ja="""
エントリ書き込み中
書き込みを終了するには空白行で {how_to_quit} を押して下さい
""", """,
) )
HowToQuitWindows = T( HowToQuitWindows = T(
en="Ctrl+z and then Enter", en="Ctrl+z and then Enter",
ja="", ja="Ctrl+z を押してから Enter を押して下さい",
) )
HowToQuitLinux = T( HowToQuitLinux = T(
en="Ctrl+d", en="Ctrl+d",
ja="", ja="Ctrl+d",
) )
EditorMisconfigured = T( EditorMisconfigured = T(
@ -351,6 +355,10 @@ class MsgText(Enum):
editor: '{editor_key}' editor: '{editor_key}'
""", """,
ja=""" ja="""
このファイルまたはディレクトリはありません: '{editor_key}'
構成ファイルの 'editor' キーにエラーがないか確認してください:
エディター: '{editor_key}'
""", """,
) )
@ -358,13 +366,20 @@ class MsgText(Enum):
en=""" en="""
There is no editor configured There is no editor configured
To use the --edit option, please specify an editor your config file: To use the --edit option, please specify an editor in your config file:
{config_file} {config_file}
For examples of how to configure an external editor, see: For examples of how to configure an external editor, see:
https://jrnl.sh/en/stable/external-editors/ https://jrnl.sh/en/stable/external-editors/
""", """,
ja=""" ja="""
エディターが設定されていません
--edit オプションを使用するには構成ファイルでエディターを指定してください:
{config_file}
外部エディタを設定する例については次を見てください:
https://jrnl.sh/en/stable/external-editors/
""", """,
) )
@ -377,12 +392,17 @@ class MsgText(Enum):
To delete all entries, use the --delete option. To delete all entries, use the --delete option.
""", """,
ja=""" ja="""
エディタからテキストを受信しませんでしたすべてのエントリを削除しようとしましたか?
これは少し極端なため操作はキャンセルされました
すべてのエントリを削除するには--delete オプションを使用して下さい
""", """,
) )
NoEditsReceived = T( NoEditsReceived = T(
en="No edits to save, because nothing was changed", en="No edits to save, because nothing was changed",
ja="", ja="変更がなかったため、保存する編集はありません",
) )
NoTextReceived = T( NoTextReceived = T(
@ -390,13 +410,16 @@ class MsgText(Enum):
No entry to save, because no text was received No entry to save, because no text was received
""", """,
ja=""" ja="""
テキストが受信されてないため保存するエントリがありません
""", """,
) )
NoChangesToTemplate = T( NoChangesToTemplate = T(
en=""" en="""
No entry to save, because the template was not changed No entry to save, because the template was not changed
""", """,
ja=""" ja="""
テンプレートが変更されていないため保存するエントリがありません
""", """,
) )