diff --git a/locales/index.d.ts b/locales/index.d.ts index 13520ac58b..dfcf6b6689 100644 --- a/locales/index.d.ts +++ b/locales/index.d.ts @@ -3436,6 +3436,10 @@ export interface Locale extends ILocale { * 管理者情報が設定されていません。 */ "noMaintainerInformationWarning": string; + /** + * 問い合わせ先URLが設定されていません。 + */ + "noInquiryUrlWarning": string; /** * Botプロテクションが設定されていません。 */ diff --git a/locales/ja-JP.yml b/locales/ja-JP.yml index daf50b8853..f12c1ab4fc 100644 --- a/locales/ja-JP.yml +++ b/locales/ja-JP.yml @@ -855,6 +855,7 @@ administration: "管理" accounts: "アカウント" switch: "切り替え" noMaintainerInformationWarning: "管理者情報が設定されていません。" +noInquiryUrlWarning: "問い合わせ先URLが設定されていません。" noBotProtectionWarning: "Botプロテクションが設定されていません。" configure: "設定する" postToGallery: "ギャラリーへ投稿" diff --git a/package.json b/package.json index ec7134f36e..2ff23d3a74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sharkey", - "version": "2024.5.0-rc.9", + "version": "2024.5.0", "codename": "shonk", "repository": { "type": "git", diff --git a/packages/frontend/src/pages/admin/index.vue b/packages/frontend/src/pages/admin/index.vue index f0d56f1a6e..fae86246ee 100644 --- a/packages/frontend/src/pages/admin/index.vue +++ b/packages/frontend/src/pages/admin/index.vue @@ -12,11 +12,14 @@ SPDX-License-Identifier: AGPL-3.0-only - {{ i18n.ts.thereIsUnresolvedAbuseReportWarning }} {{ i18n.ts.check }} - {{ i18n.ts.noMaintainerInformationWarning }} {{ i18n.ts.configure }} - {{ i18n.ts.noBotProtectionWarning }} {{ i18n.ts.configure }} - {{ i18n.ts.noEmailServerWarning }} {{ i18n.ts.configure }} - {{ i18n.ts.pendingUserApprovals }} {{ i18n.ts.check }} +
+ {{ i18n.ts.thereIsUnresolvedAbuseReportWarning }} {{ i18n.ts.check }} + {{ i18n.ts.noMaintainerInformationWarning }} {{ i18n.ts.configure }} + {{ i18n.ts.noInquiryUrlWarning }} {{ i18n.ts.configure }} + {{ i18n.ts.noBotProtectionWarning }} {{ i18n.ts.configure }} + {{ i18n.ts.noEmailServerWarning }} {{ i18n.ts.configure }} + {{ i18n.ts.pendingUserApprovals }} {{ i18n.ts.check }} +
@@ -62,6 +65,7 @@ const pageProps = ref({}); let noMaintainerInformation = isEmpty(instance.maintainerName) || isEmpty(instance.maintainerEmail); let noBotProtection = !instance.disableRegistration && !instance.enableHcaptcha && !instance.enableRecaptcha && !instance.enableMcaptcha && !instance.enableTurnstile; let noEmailServer = !instance.enableEmail; +let noInquiryUrl = isEmpty(instance.inquiryUrl); const thereIsUnresolvedAbuseReport = ref(false); const pendingUserApprovals = ref(false); const currentPage = computed(() => router.currentRef.value.child); @@ -363,10 +367,6 @@ defineExpose({ > .nav { .lxpfedzu { - > .info { - margin: 16px 0; - } - > .banner { margin: 16px; diff --git a/packages/misskey-js/package.json b/packages/misskey-js/package.json index 6ec4674c08..4ff1a57309 100644 --- a/packages/misskey-js/package.json +++ b/packages/misskey-js/package.json @@ -1,7 +1,7 @@ { "type": "module", "name": "misskey-js", - "version": "2024.5.0-rc.9", + "version": "2024.5.0", "description": "Misskey SDK for JavaScript", "license": "MIT", "main": "./built/index.js",