Skip to content

Commit

Permalink
_urlWarning -> _externalNavigationWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Mar 24, 2024
1 parent 9114c55 commit 483bdc6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion locales/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9842,7 +9842,7 @@ export interface Locale extends ILocale {
*/
"summaryProxyDescription2": string;
};
"_urlWarning": {
"_externalNavigationWarning": {
/**
* 外部サイトに移動します
*/
Expand Down
2 changes: 1 addition & 1 deletion locales/ja-JP.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2622,7 +2622,7 @@ _urlPreviewSetting:
summaryProxyDescription: "Misskey本体ではなく、サマリープロキシを使用してプレビューを生成します。"
summaryProxyDescription2: "プロキシには下記パラメータがクエリ文字列として連携されます。プロキシ側がこれらをサポートしない場合、設定値は無視されます。"

_urlWarning:
_externalNavigationWarning:
title: "外部サイトに移動します"
description: "別のサイトに移動しようとしています。\nリンク先の安全性を十分に確認した上で進んでください。"
trustThisDomain: "今後{domain}のリンクを信頼する"
6 changes: 3 additions & 3 deletions packages/frontend/src/components/MkUrlWarningDialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.icon">
<i :class="$style.iconInner" class="ti ti-alert-triangle"></i>
</div>
<header :class="$style.title">{{ i18n.ts._urlWarning.title }}</header>
<div><Mfm :text="i18n.ts._urlWarning.description"/></div>
<header :class="$style.title">{{ i18n.ts._externalNavigationWarning.title }}</header>
<div><Mfm :text="i18n.ts._externalNavigationWarning.description"/></div>
<div class="_monospace" :class="$style.urlAddress">{{ url }}</div>
<div>
<MkSwitch v-model="trustThisDomain">{{ i18n.tsx._urlWarning.trustThisDomain({ domain }) }}</MkSwitch>
<MkSwitch v-model="trustThisDomain">{{ i18n.tsx._externalNavigationWarning.trustThisDomain({ domain }) }}</MkSwitch>
</div>
</div>
<div :class="$style.buttons">
Expand Down

0 comments on commit 483bdc6

Please sign in to comment.