From aeb10751ed9ee0ca8725183b20565b87e47d9616 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 92c09ffe12..e181b13f33 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": { /** @@ -8140,14 +8144,6 @@ export interface Locale extends ILocale { * ノートを作成・削除する */ "write:notes": string; - /** - * 予約投稿を見る - */ - "read:notes-schedule": string; - /** - * 予約投稿を作成・削除する - */ - "write:notes-schedule": string; /** * 通知を見る */ @@ -8424,6 +8420,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": { /** @@ -11436,6 +11440,14 @@ export interface Locale extends ILocale { * Select a follow relationship... */ "selectFollowRelationship": 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 827112facc..79c362cfd8 100644 --- a/sharkey-locales/en-US.yml +++ b/sharkey-locales/en-US.yml @@ -225,6 +225,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" @@ -414,3 +415,10 @@ _deck: following: "Following" selectFollowRelationship: "Select a follow relationship..." + +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 22bd5235ca..46566c39ac 100644 --- a/sharkey-locales/ja-JP.yml +++ b/sharkey-locales/ja-JP.yml @@ -210,6 +210,7 @@ _role: btlAvailable: "バブルタイムラインの閲覧" canImportNotes: "ノートのインポートが可能" canUpdateBioMedia: "アイコンとバナーの更新を許可" + scheduleNoteMax: "予約投稿の最大数" _condition: isLocked: "鍵アカウントユーザー" isExplorable: "「アカウントを見つけやすくする」が有効なユーザー" @@ -384,3 +385,8 @@ _externalNavigationWarning: title: "外部サイトに移動します" description: "{host}を離れて外部サイトに移動します" trustThisDomain: "このデバイスで今後このドメインを信頼する" +schedulePost: "予約投稿" +schedulePostList: "予約投稿一覧" +_permissions: + "read:notes-schedule": "予約投稿を見る" + "write:notes-schedule": "予約投稿を作成・削除する"