Exceptions section

This commit is contained in:
Eric Bell 2024-12-14 17:06:18 -05:00
parent bae33f548d
commit 4cdc6e724e

View file

@ -182,7 +182,11 @@ class MsgText(Enum):
--config-override at the command line --config-override at the command line
""", """,
ja=""" ja="""
指定された {config_linewrap} の行折り返し値はジャーナル {journal}
設定された時間形式でタイムスタンプを表示するには{columns} 列分小さすぎます
このエラーを回避するには構成ファイルで行折り返し値を少なくとも {columns} 大きく
指定するかコマンド ラインで --config-override を使用して下さい
""", """,
) )
@ -195,6 +199,10 @@ class MsgText(Enum):
this journal to the new journal, then encrypt the new journal. this journal to the new journal, then encrypt the new journal.
""", """,
ja=""" ja="""
ジャーナル {journal_name} {journal_type} ジャーナルであるため暗号化できません
暗号化するにはファイルを参照する新しいジャーナルを作成しこのジャーナルを新しい
ジャーナルにエクスポートしてから新しいジャーナルを暗号化して下さい
""", """,
) )
@ -204,17 +212,19 @@ class MsgText(Enum):
of journal can't be encrypted. Please fix your config file. of journal can't be encrypted. Please fix your config file.
""", """,
ja=""" ja="""
ジャーナル "{journal_name}" の構成では 'encrypt' true に設定されていますが
このタイプのジャーナルは暗号化できません構成ファイルを修正してください
""", """,
) )
DecryptionFailedGeneric = T( DecryptionFailedGeneric = T(
en="The decryption of journal data failed.", en="The decryption of journal data failed.",
ja="", ja="ジャーナル データの復号化に失敗しました。",
) )
KeyboardInterruptMsg = T( KeyboardInterruptMsg = T(
en="Aborted by user", en="Aborted by user",
ja="", ja="ユーザーによって中止しました",
) )
CantReadTemplate = T( CantReadTemplate = T(
@ -226,17 +236,23 @@ class MsgText(Enum):
* {actual_template_path} * {actual_template_path}
""", """,
ja=""" ja="""
テンプレート ファイル {template_path} が見つかりません
次のパスがチェックされました:
* {jrnl_template_dir}{template_path}
* {actual_template_path}
""", """,
) )
NoNamedJournal = T( NoNamedJournal = T(
en="No '{journal_name}' journal configured\n{journals}", en="No '{journal_name}' journal configured\n{journals}",
ja="", ja="'{journal_name}' ジャーナルが設定されていません\n{journals}",
) )
# is that \n{journals} supposed to be there?
DoesNotExist = T( DoesNotExist = T(
en="{name} does not exist", en="{name} does not exist",
ja="", ja="{name} が存在しません",
) )
# --- Journal status ---# # --- Journal status ---#
@ -253,10 +269,12 @@ class MsgText(Enum):
en="{num} entry added", en="{num} entry added",
ja="", ja="",
) )
JournalCountModifiedSingular = T( JournalCountModifiedSingular = T(
en="{num} entry modified", en="{num} entry modified",
ja="", ja="",
) )
JournalCountDeletedSingular = T( JournalCountDeletedSingular = T(
en="{num} entry deleted", en="{num} entry deleted",
ja="", ja="",
@ -266,10 +284,12 @@ class MsgText(Enum):
en="{num} entries added", en="{num} entries added",
ja="", ja="",
) )
JournalCountModifiedPlural = T( JournalCountModifiedPlural = T(
en="{num} entries modified", en="{num} entries modified",
ja="", ja="",
) )
JournalCountDeletedPlural = T( JournalCountDeletedPlural = T(
en="{num} entries deleted", en="{num} entries deleted",
ja="", ja="",
@ -279,22 +299,27 @@ class MsgText(Enum):
en="Journal '{journal_name}' created at {filename}", en="Journal '{journal_name}' created at {filename}",
ja="", ja="",
) )
DirectoryCreated = T( DirectoryCreated = T(
en="Directory {directory_name} created", en="Directory {directory_name} created",
ja="", ja="",
) )
JournalEncrypted = T( JournalEncrypted = T(
en="Journal will be encrypted", en="Journal will be encrypted",
ja="", ja="",
) )
JournalEncryptedTo = T( JournalEncryptedTo = T(
en="Journal encrypted to {path}", en="Journal encrypted to {path}",
ja="", ja="",
) )
JournalDecryptedTo = T( JournalDecryptedTo = T(
en="Journal decrypted to {path}", en="Journal decrypted to {path}",
ja="", ja="",
) )
BackupCreated = T( BackupCreated = T(
en="Created a backup at {filename}", en="Created a backup at {filename}",
ja="", ja="",