From 7da775df1081e5a345a9f7c4cc96c6d98665257a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Sun, 14 Apr 2024 01:43:03 +0900 Subject: [PATCH] =?UTF-8?q?spec(frontend):=20=E3=83=A1=E3=82=A2=E3=83=89?= =?UTF-8?q?=E8=AA=8D=E8=A8=BC=E3=81=8C=E7=BE=A9=E5=8B=99=E5=8C=96=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=82=8B=E3=81=AE=E3=81=AB=E3=83=A1?= =?UTF-8?q?=E3=82=A2=E3=83=89=E3=81=8C=E7=99=BB=E9=8C=B2=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=AA=E3=81=84=E3=83=BB=E8=AA=8D=E8=A8=BC=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E7=99=BB?= =?UTF-8?q?=E9=8C=B2=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E4=BF=83?= =?UTF-8?q?=E3=81=99=20(MisskeyIO#608)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- locales/en-US.yml | 2 ++ locales/index.d.ts | 8 ++++++++ locales/ja-JP.yml | 2 ++ locales/ko-KR.yml | 2 ++ packages/frontend/src/pages/settings/email.vue | 13 ++++++++----- .../frontend/src/ui/_common_/announcements.vue | 15 +++++++++++++++ 6 files changed, 37 insertions(+), 5 deletions(-) diff --git a/locales/en-US.yml b/locales/en-US.yml index d66264e2b..5609803ff 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -749,6 +749,8 @@ loadRawImages: "Load original images instead of showing thumbnails" disableShowingAnimatedImages: "Don't play animated images" highlightSensitiveMedia: "Highlight sensitive media" verificationEmailSent: "A verification email has been sent. Please follow the included link to complete verification." +emailRegistrationRequired: "Email registration required" +emailRegistrationRequiredBanner: "{instance} requires email registration. Click here to register your email address." notSet: "Not set" emailVerified: "Email has been verified" noteFavoritesCount: "Number of favorite notes" diff --git a/locales/index.d.ts b/locales/index.d.ts index c0b67e541..f5ba524a0 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -3008,6 +3008,14 @@ export interface Locale extends ILocale { * 確認のメールを送信しました。メールに記載されたリンクにアクセスして、設定を完了してください。 */ "verificationEmailSent": string; + /** + * メールアドレスの登録が必要です + */ + "emailRegistrationRequired": string; + /** + * {instance}はメールアドレスの登録が必要です。ここをクリックしてメールアドレスを登録してください。 + */ + "emailRegistrationRequiredBanner": ParameterizedString<"instance">; /** * 未設定 */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index e3f80a0d2..ca49714ee 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -748,6 +748,8 @@ loadRawImages: "添付画像のサムネイルをオリジナル画質にする" disableShowingAnimatedImages: "アニメーション画像を再生しない" highlightSensitiveMedia: "メディアがセンシティブであることを分かりやすく表示" verificationEmailSent: "確認のメールを送信しました。メールに記載されたリンクにアクセスして、設定を完了してください。" +emailRegistrationRequired: "メールアドレスの登録が必要です" +emailRegistrationRequiredBanner: "{instance}はメールアドレスの登録が必要です。ここをクリックしてメールアドレスを登録してください。" notSet: "未設定" emailVerified: "メールアドレスが確認されました" noteFavoritesCount: "お気に入りノートの数" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index 138a1bedb..afe3248c8 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -748,6 +748,8 @@ loadRawImages: "첨부한 이미지의 썸네일을 원본화질로 표시" disableShowingAnimatedImages: "움직이는 이미지를 자동으로 재생하지 않음" highlightSensitiveMedia: "미디어가 민감한 내용이라는 것을 알기 쉽게 표시" verificationEmailSent: "확인 메일을 발송하였습니다. 설정을 완료하려면 메일에 첨부된 링크를 확인해 주세요." +emailRegistrationRequired: "이메일 주소 등록이 필요합니다" +emailRegistrationRequiredBanner: "{instance}에서는 이메일 주소 등록이 필요합니다. 여기를 클릭하여 이메일 주소를 등록해 주세요." notSet: "설정되지 않음" emailVerified: "메일 주소가 확인되었습니다." noteFavoritesCount: "즐겨찾기한 노트 수" diff --git a/packages/frontend/src/pages/settings/email.vue b/packages/frontend/src/pages/settings/email.vue index f22664756..ef7369bf5 100644 --- a/packages/frontend/src/pages/settings/email.vue +++ b/packages/frontend/src/pages/settings/email.vue @@ -7,11 +7,14 @@ SPDX-License-Identifier: AGPL-3.0-only
- - - - - +
+ {{ i18n.ts.emailRegistrationRequired }} + + + + + +
diff --git a/packages/frontend/src/ui/_common_/announcements.vue b/packages/frontend/src/ui/_common_/announcements.vue index 362c29e6c..ad9965504 100644 --- a/packages/frontend/src/ui/_common_/announcements.vue +++ b/packages/frontend/src/ui/_common_/announcements.vue @@ -5,6 +5,18 @@ SPDX-License-Identifier: AGPL-3.0-only