1
0

merge: Change the recent external url warning popup to the one from Cherrypick/MisskeyIO (!648)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/648

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
This commit is contained in:
Hazelnoot
2024-10-06 17:56:36 +00:00
17 changed files with 297 additions and 28 deletions
+26 -4
View File
@@ -260,6 +260,18 @@ export interface Locale extends ILocale {
* プロフィールURLをコピー
*/
"copyProfileUrl": string;
/**
* 外部サイトへのリンク警告 除外リスト
*/
"trustedLinkUrlPatterns": string;
/**
* スペースで区切るとAND指定になり、改行で区切るとOR指定になります。スラッシュで囲むと正規表現になります。ドメイン名だけ書くと後方一致になります。
*/
"trustedLinkUrlPatternsDescription": string;
/**
* 開く
*/
"open": string;
/**
* ユーザーを検索
*/
@@ -1200,10 +1212,6 @@ export interface Locale extends ILocale {
* よろしいですか?
*/
"areYouSure": string;
/**
* 「{x}」を開きますか?
*/
"confirmRemoteUrl": ParameterizedString<"x">;
/**
* 保存しました
*/
@@ -10933,6 +10941,20 @@ export interface Locale extends ILocale {
*/
"native": string;
};
"_externalNavigationWarning": {
/**
* 外部サイトに移動します
*/
"title": string;
/**
* {host}を離れて外部サイトに移動します
*/
"description": ParameterizedString<"host">;
/**
* このデバイスで今後このドメインを信頼する
*/
"trustThisDomain": string;
};
}
declare const locales: {
[lang: string]: Locale;