diff --git a/locales/en-US.yml b/locales/en-US.yml index d27aa13724..7489c08da2 100644 --- a/locales/en-US.yml +++ b/locales/en-US.yml @@ -1247,6 +1247,7 @@ additionalPermissionsForFlash: "Allow to add permission to Play" thisFlashRequiresTheFollowingPermissions: "This Play requires the following permissions" doYouWantToAllowThisPlayToAccessYourAccount: "Do you want to allow this Play to access your account?" translateProfile: "Translate profile" +nsfwOpenBehavior: "NSFW media open behavior" _vibrations: click: "When an element is clicked" note: "When a new note is posted on the timeline" @@ -2522,3 +2523,6 @@ _imageCompressionMode: noResizeCompress: "Compression without resize" resizeCompressLossy: "Resize and lossy compression" noResizeCompressLossy: "Lossy compression without resize" +_nsfwOpenBehavior: + click: "Click to open" + doubleClick: "Double click to open" diff --git a/locales/index.d.ts b/locales/index.d.ts index bb25615825..01eee72b22 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -1252,6 +1252,7 @@ export interface Locale { "thisFlashRequiresTheFollowingPermissions": string; "doYouWantToAllowThisPlayToAccessYourAccount": string; "translateProfile": string; + "nsfwOpenBehavior": string; "_vibrations": { "click": string; "note": string; @@ -2712,6 +2713,10 @@ export interface Locale { }; }; }; + "_nsfwOpenBehavior": { + "click": string; + "doubleClick": string; + }; } declare const locales: { [lang: string]: Locale; diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index f89234e354..8dcb74ccd9 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -1249,6 +1249,7 @@ additionalPermissionsForFlash: "Playへの追加許可" thisFlashRequiresTheFollowingPermissions: "このPlayは以下の権限を要求しています" doYouWantToAllowThisPlayToAccessYourAccount: "このPlayによるアカウントへのアクセスを許可しますか?" translateProfile: "プロフィールを翻訳する" +nsfwOpenBehavior: "閲覧注意の開き方" _vibrations: click: "要素をクリックしたとき" @@ -2607,3 +2608,7 @@ _externalResourceInstaller: _themeInstallFailed: title: "テーマのインストールに失敗しました" description: "テーマのインストール中に問題が発生しました。もう一度お試しください。エラーの詳細はJavascriptコンソールをご覧ください。" + +_nsfwOpenBehavior: + click: "タップして開く" + doubleClick: "二回タップして開く" diff --git a/locales/ko-KR.yml b/locales/ko-KR.yml index a108b9994c..3fbc0deb70 100644 --- a/locales/ko-KR.yml +++ b/locales/ko-KR.yml @@ -1223,6 +1223,7 @@ additionalPermissionsForFlash: "Play에 대한 추가 권한" thisFlashRequiresTheFollowingPermissions: "이 Play는 다음 권한을 요구해요" doYouWantToAllowThisPlayToAccessYourAccount: "이 Play가 계정에 접근하도록 허용할까요?" translateProfile: "프로필 번역하기" +nsfwOpenBehavior: "열람주의 여는 방법" _vibrations: click: "요소를 클릭했을 때" note: "타임라인에 새 노트가 올라왔을 때" @@ -2447,3 +2448,6 @@ _externalResourceInstaller: _themeInstallFailed: title: "테마 설치에 실패했어요" description: "테마를 설치하는 동안 문제가 발생했어요. 다시 시도해 주세요. 오류에 대한 자세한 내용은 자바스크립트 콘솔을 참고해 주세요." +_nsfwOpenBehavior: + click: "탭하여 열기" + doubleClick: "더블 탭 하여 열기" diff --git a/packages/frontend/src/components/MkMediaImage.vue b/packages/frontend/src/components/MkMediaImage.vue index 7ca10e0bc7..1dc15b2c8c 100644 --- a/packages/frontend/src/components/MkMediaImage.vue +++ b/packages/frontend/src/components/MkMediaImage.vue @@ -4,10 +4,10 @@ SPDX-License-Identifier: AGPL-3.0-only -->