Translate English built from template literals in attributes
i18n-literals now flags a template literal in a UI attribute or prop when
there are words between its values: `Remove ${email}`, `${name} — shared by
${owner}`. It cannot be a catalogue key as written, so neither the key
exemption nor the sentence-shape test applies. A template that is only
punctuation around values, like `${name} (${size})`, is left alone.
The twelve it found are now keys with placeholders: the quota bar title,
the address menu's label, a folder's subfolder unread count, a recipient
chip's remove button, the contact editor's title, shared and available
calendars and address books, the date and time fields' labels, the
attachment title's fallback name, and the free/busy bar. The bar showed
the raw JMAP busyStatus ("confirmed") and now says Busy, Tentative or
Unavailable.
11 new keys in all nine catalogues. Remove {address}, Date, Time, Busy and
Tentative already existed.
This commit is contained in:
@@ -1204,6 +1204,17 @@ export const catalog: Catalog = {
|
||||
"Send now instead": "予約をやめて今すぐ送信",
|
||||
"Switch to plain text": "プレーンテキストに切り替え",
|
||||
"Switch to rich text": "リッチテキストに切り替え",
|
||||
"{used} of {total} used": "{total} 中 {used} を使用",
|
||||
"Actions for {address}": "{address} の操作",
|
||||
"{here} here, {inSubfolders} in subfolders": "このフォルダー {here}、サブフォルダー {inSubfolders}",
|
||||
"Edit {name}": "{name} を編集",
|
||||
"{name} — shared by {owner}": "{name} — {owner} が共有",
|
||||
"{name} — from {owner}": "{name} — {owner} から",
|
||||
"{label} (date)": "{label}(日付)",
|
||||
"{label} (time)": "{label}(時刻)",
|
||||
"{status}: {start} – {end}": "{status}:{start}~{end}",
|
||||
"Unavailable": "不在",
|
||||
"Attachment": "添付ファイル",
|
||||
"QR code": "QR コード",
|
||||
"Draft discarded": "下書きを破棄しました",
|
||||
"Draft saved": "下書きを保存しました",
|
||||
|
||||
Reference in New Issue
Block a user