From 20b7eb6cb1442ba872ebc4e5a3c8df50ebf50abe Mon Sep 17 00:00:00 2001 From: Marie Date: Sun, 3 Nov 2024 03:55:44 +0100 Subject: [PATCH] chore: fix locales --- locales/en-US.yml | 2 -- locales/index.d.ts | 28 ++++++++++++++++++++-------- locales/ja-JP.yml | 2 -- locales/ko-KR.yml | 2 -- sharkey-locales/en-US.yml | 8 ++++++++ sharkey-locales/ja-JP.yml | 6 ++++++ 6 files changed, 34 insertions(+), 14 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index 38e9b03acb..6ea7fb4f8d 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -2073,8 +2073,6 @@ _permissions: "read:mutes": "View your list of muted users" "write:mutes": "Edit your list of muted users" "write:notes": "Compose or delete notes" - "read:notes-schedule": "View your list of scheduled notes" - "write:notes-schedule": "Compose or delete scheduled notes" "read:notifications": "View your notifications" "write:notifications": "Manage your notifications" "read:reactions": "View your reactions" diff --git a/locales/index.d.ts b/locales/index.d.ts index 35fc028d8e..ee1c8d01c1 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -6947,6 +6947,10 @@ export interface Locale extends ILocale { * Can import notes */ "canImportNotes": string; + /** + * Maximum number of scheduled notes + */ + "scheduleNoteMax": string; }; "_condition": { /** @@ -8132,14 +8136,6 @@ export interface Locale extends ILocale { * ノートを作成・削除する */ "write:notes": string; - /** - * 予約投稿を見る - */ - "read:notes-schedule": string; - /** - * 予約投稿を作成・削除する - */ - "write:notes-schedule": string; /** * 通知を見る */ @@ -8416,6 +8412,14 @@ export interface Locale extends ILocale { * 違反を報告する */ "write:report-abuse": string; + /** + * View your list of scheduled notes + */ + "read:notes-schedule": string; + /** + * Compose or delete scheduled notes + */ + "write:notes-schedule": string; }; "_auth": { /** @@ -11382,6 +11386,14 @@ export interface Locale extends ILocale { * Remote followers may have incomplete or outdated activity */ "remoteFollowersWarning": string; + /** + * Schedule a note + */ + "schedulePost": string; + /** + * List of scheduled notes + */ + "schedulePostList": string; } declare const locales: { [lang: string]: Locale; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index 0d2229ac20..c448d4d50a 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -2121,8 +2121,6 @@ _permissions: "read:mutes": "ミュートを見る" "write:mutes": "ミュートを操作する" "write:notes": "ノートを作成・削除する" - "read:notes-schedule": "予約投稿を見る" - "write:notes-schedule": "予約投稿を作成・削除する" "read:notifications": "通知を見る" "write:notifications": "通知を操作する" "read:reactions": "リアクションを見る" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 351d5a23ce..414202adab 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -2080,8 +2080,6 @@ _permissions: "read:mutes": "뮤트 여부를 확인합니다" "write:mutes": "뮤트를 하거나 해제합니다" "write:notes": "노트를 작성하거나 삭제합니다" - "read:notes-schedule": "게시를 예약한 노트를 봅니다" - "write:notes-schedule": "노트 게시를 예약하거나 삭제합니다" "read:notifications": "알림을 확인합니다" "write:notifications": "알림을 모두 읽음 처리합니다" "read:reactions": "리액션을 확인합니다" diff --git a/sharkey-locales/en-US.yml b/sharkey-locales/en-US.yml index 163fd0b0ae..067a7a12d6 100644 --- a/sharkey-locales/en-US.yml +++ b/sharkey-locales/en-US.yml @@ -215,6 +215,7 @@ _role: btlAvailable: "Can view the bubble timeline" canImportNotes: "Can import notes" canUpdateBioMedia: "Allow users to edit their avatar or banner" + scheduleNoteMax: "Maximum number of scheduled notes" _condition: isLocked: "Private account" isExplorable: "Account is discoverable" @@ -397,3 +398,10 @@ _auth: allowed: "Allowed" _announcement: new: "New" + +schedulePost: "Schedule a note" +schedulePostList: "List of scheduled notes" + +_permissions: + "read:notes-schedule": "View your list of scheduled notes" + "write:notes-schedule": "Compose or delete scheduled notes" diff --git a/sharkey-locales/ja-JP.yml b/sharkey-locales/ja-JP.yml index 0977a2e564..43e29043d3 100644 --- a/sharkey-locales/ja-JP.yml +++ b/sharkey-locales/ja-JP.yml @@ -201,6 +201,7 @@ _role: btlAvailable: "バブルタイムラインの閲覧" canImportNotes: "ノートのインポートが可能" canUpdateBioMedia: "アイコンとバナーの更新を許可" + scheduleNoteMax: "予約投稿の最大数" _condition: isLocked: "鍵アカウントユーザー" isExplorable: "「アカウントを見つけやすくする」が有効なユーザー" @@ -375,3 +376,8 @@ _externalNavigationWarning: title: "外部サイトに移動します" description: "{host}を離れて外部サイトに移動します" trustThisDomain: "このデバイスで今後このドメインを信頼する" +schedulePost: "予約投稿" +schedulePostList: "予約投稿一覧" +_permissions: + "read:notes-schedule": "予約投稿を見る" + "write:notes-schedule": "予約投稿を作成・削除する"