Feat: 外部サイトからテーマ・プラグインのインストールができるように (#12034)
* Feat: 外部サイトからテーマ・プラグインのインストールができるように * Update Changelog * Change Changelog * Remove unnecessary imports * Update fetch-external-resources.ts * Update CHANGELOG.md * Update CHANGELOG.md
This commit is contained in:
parent
722584bf72
commit
f51bca41c5
15 changed files with 788 additions and 162 deletions
55
locales/index.d.ts
vendored
55
locales/index.d.ts
vendored
|
@ -2313,6 +2313,61 @@ export interface Locale {
|
|||
"attachedNotes": string;
|
||||
"thisPageCanBeSeenFromTheAuthor": string;
|
||||
};
|
||||
"_externalResourceInstaller": {
|
||||
"title": string;
|
||||
"checkVendorBeforeInstall": string;
|
||||
"_plugin": {
|
||||
"title": string;
|
||||
"metaTitle": string;
|
||||
};
|
||||
"_theme": {
|
||||
"title": string;
|
||||
"metaTitle": string;
|
||||
};
|
||||
"_meta": {
|
||||
"base": string;
|
||||
};
|
||||
"_vendorInfo": {
|
||||
"title": string;
|
||||
"endpoint": string;
|
||||
"hashVerify": string;
|
||||
};
|
||||
"_errors": {
|
||||
"_invalidParams": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_resourceTypeNotSupported": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_failedToFetch": {
|
||||
"title": string;
|
||||
"fetchErrorDescription": string;
|
||||
"parseErrorDescription": string;
|
||||
};
|
||||
"_hashUnmatched": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_pluginParseFailed": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_pluginInstallFailed": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_themeParseFailed": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
"_themeInstallFailed": {
|
||||
"title": string;
|
||||
"description": string;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
declare const locales: {
|
||||
[lang: string]: Locale;
|
||||
|
|
|
@ -2225,3 +2225,45 @@ _fileViewer:
|
|||
uploadedAt: "追加日"
|
||||
attachedNotes: "添付されているノート"
|
||||
thisPageCanBeSeenFromTheAuthor: "このページは、このファイルをアップロードしたユーザーしか閲覧できません。"
|
||||
|
||||
_externalResourceInstaller:
|
||||
title: "外部サイトからインストール"
|
||||
checkVendorBeforeInstall: "配布元が信頼できるかを確認した上でインストールしてください。"
|
||||
_plugin:
|
||||
title: "このプラグインをインストールしますか?"
|
||||
metaTitle: "プラグイン情報"
|
||||
_theme:
|
||||
title: "このテーマをインストールしますか?"
|
||||
metaTitle: "テーマ情報"
|
||||
_meta:
|
||||
base: "基本のカラースキーム"
|
||||
_vendorInfo:
|
||||
title: "配布元情報"
|
||||
endpoint: "参照したエンドポイント"
|
||||
hashVerify: "ファイル整合性の確認"
|
||||
_errors:
|
||||
_invalidParams:
|
||||
title: "パラメータが不足しています"
|
||||
description: "外部サイトからデータを取得するために必要な情報が不足しています。URLをお確かめください。"
|
||||
_resourceTypeNotSupported:
|
||||
title: "この外部リソースには対応していません"
|
||||
description: "この外部サイトから取得したリソースの種別には対応していません。サイト管理者にお問い合わせください。"
|
||||
_failedToFetch:
|
||||
title: "データの取得に失敗しました"
|
||||
fetchErrorDescription: "外部サイトとの通信に失敗しました。もう一度試しても改善しない場合、サイト管理者にお問い合わせください。"
|
||||
parseErrorDescription: "外部サイトから取得したデータが読み取れませんでした。サイト管理者にお問い合わせください。"
|
||||
_hashUnmatched:
|
||||
title: "正しいデータが取得できませんでした"
|
||||
description: "提供されたデータの整合性の確認に失敗しました。セキュリティ上、インストールは続行できません。サイト管理者にお問い合わせください。"
|
||||
_pluginParseFailed:
|
||||
title: "AiScript エラー"
|
||||
description: "データは取得できたものの、AiScriptの解析時にエラーがあったため読み込めませんでした。プラグインの作者にお問い合わせください。エラーの詳細はJavascriptコンソールをご確認ください。"
|
||||
_pluginInstallFailed:
|
||||
title: "プラグインのインストールに失敗しました"
|
||||
description: "プラグインのインストール中に問題が発生しました。もう一度お試しください。エラーの詳細はJavascriptコンソールをご覧ください。"
|
||||
_themeParseFailed:
|
||||
title: "テーマ解析エラー"
|
||||
description: "データは取得できたものの、テーマファイルの解析時にエラーがあったため読み込めませんでした。テーマの作者にお問い合わせください。エラーの詳細はJavascriptコンソールをご確認ください。"
|
||||
_themeInstallFailed:
|
||||
title: "テーマのインストールに失敗しました"
|
||||
description: "テーマのインストール中に問題が発生しました。もう一度お試しください。エラーの詳細はJavascriptコンソールをご覧ください。"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue