fix
This commit is contained in:
parent
8cdab6613a
commit
9217d9bff5
|
@ -915,7 +915,7 @@ caption: "Auto Caption"
|
||||||
splash: "Splash Screen"
|
splash: "Splash Screen"
|
||||||
updateAvailable: "There might be an update available!"
|
updateAvailable: "There might be an update available!"
|
||||||
swipeOnDesktop: "Allow mobile-style swiping on desktop"
|
swipeOnDesktop: "Allow mobile-style swiping on desktop"
|
||||||
logoUrl: "Logo URL"
|
logoImageUrl: "Logo URL"
|
||||||
|
|
||||||
_sensitiveMediaDetection:
|
_sensitiveMediaDetection:
|
||||||
description: "Reduces the effort of server moderation through automatically recognizing NSFW media via Machine Learning. This will slightly increase the load on the server."
|
description: "Reduces the effort of server moderation through automatically recognizing NSFW media via Machine Learning. This will slightly increase the load on the server."
|
||||||
|
|
|
@ -915,7 +915,7 @@ caption: "自動キャプション"
|
||||||
splash: "スプラッシュスクリーン"
|
splash: "スプラッシュスクリーン"
|
||||||
updateAvailable: "アップデートがありますよ"
|
updateAvailable: "アップデートがありますよ"
|
||||||
swipeOnDesktop: "デスクトップでモバイルスタイルのスワイプを可能にする"
|
swipeOnDesktop: "デスクトップでモバイルスタイルのスワイプを可能にする"
|
||||||
logoUrl: "ロゴのURL"
|
logoImageUrl: "ロゴのURL"
|
||||||
|
|
||||||
_sensitiveMediaDetection:
|
_sensitiveMediaDetection:
|
||||||
description: "機械学習を使って自動でセンシティブなメディアを検出し、モデレーションに役立てることができます。サーバーの負荷が少し増えます。"
|
description: "機械学習を使って自動でセンシティブなメディアを検出し、モデレーションに役立てることができます。サーバーの負荷が少し増えます。"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "12.119.0-calc.1-rc.9",
|
"version": "12.119.0-calc.1-rc.9.1",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -45,7 +45,7 @@ export const paramDef = {
|
||||||
themeColor: { type: 'string', nullable: true, pattern: '^#[0-9a-fA-F]{6}$' },
|
themeColor: { type: 'string', nullable: true, pattern: '^#[0-9a-fA-F]{6}$' },
|
||||||
mascotImageUrl: { type: 'string', nullable: true },
|
mascotImageUrl: { type: 'string', nullable: true },
|
||||||
bannerUrl: { type: 'string', nullable: true },
|
bannerUrl: { type: 'string', nullable: true },
|
||||||
logoUrl: { type: 'string', nullable: true },
|
logoImageUrl: { type: 'string', nullable: true },
|
||||||
errorImageUrl: { type: 'string', nullable: true },
|
errorImageUrl: { type: 'string', nullable: true },
|
||||||
iconUrl: { type: 'string', nullable: true },
|
iconUrl: { type: 'string', nullable: true },
|
||||||
backgroundImageUrl: { type: 'string', nullable: true },
|
backgroundImageUrl: { type: 'string', nullable: true },
|
||||||
|
@ -194,8 +194,8 @@ export default define(meta, paramDef, async (ps, me) => {
|
||||||
set.bannerUrl = ps.bannerUrl;
|
set.bannerUrl = ps.bannerUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ps.logoUrl !== undefined) {
|
if (ps.logoImageUrl !== undefined) {
|
||||||
set.logoUrl = ps.logoUrl;
|
set.logoImageUrl = ps.logoImageUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ps.iconUrl !== undefined) {
|
if (ps.iconUrl !== undefined) {
|
||||||
|
|
|
@ -71,9 +71,9 @@
|
||||||
<template #label>{{ i18n.ts.bannerUrl }}</template>
|
<template #label>{{ i18n.ts.bannerUrl }}</template>
|
||||||
</FormInput>
|
</FormInput>
|
||||||
|
|
||||||
<FormInput v-model="logoUrl" class="_formBlock">
|
<FormInput v-model="logoImageUrl" class="_formBlock">
|
||||||
<template #prefix><i class="fas fa-link"></i></template>
|
<template #prefix><i class="fas fa-link"></i></template>
|
||||||
<template #label>{{ i18n.ts.logoUrl }}</template>
|
<template #label>{{ i18n.ts.logoImageUrl }}</template>
|
||||||
</FormInput>
|
</FormInput>
|
||||||
|
|
||||||
<FormInput v-model="backgroundImageUrl" class="_formBlock">
|
<FormInput v-model="backgroundImageUrl" class="_formBlock">
|
||||||
|
@ -196,7 +196,7 @@ let maintainerName: string | null = $ref(null);
|
||||||
let maintainerEmail: string | null = $ref(null);
|
let maintainerEmail: string | null = $ref(null);
|
||||||
let iconUrl: string | null = $ref(null);
|
let iconUrl: string | null = $ref(null);
|
||||||
let bannerUrl: string | null = $ref(null);
|
let bannerUrl: string | null = $ref(null);
|
||||||
let logoUrl: string | null = $ref(null);
|
let logoImageUrl: string | null = $ref(null);
|
||||||
let backgroundImageUrl: string | null = $ref(null);
|
let backgroundImageUrl: string | null = $ref(null);
|
||||||
let themeColor: any = $ref(null);
|
let themeColor: any = $ref(null);
|
||||||
let defaultLightTheme: any = $ref(null);
|
let defaultLightTheme: any = $ref(null);
|
||||||
|
@ -226,7 +226,7 @@ async function init() {
|
||||||
tosUrl = meta.tosUrl;
|
tosUrl = meta.tosUrl;
|
||||||
iconUrl = meta.iconUrl;
|
iconUrl = meta.iconUrl;
|
||||||
bannerUrl = meta.bannerUrl;
|
bannerUrl = meta.bannerUrl;
|
||||||
logoUrl = meta.logoUrl;
|
logoImageUrl = meta.logoImageUrl;
|
||||||
backgroundImageUrl = meta.backgroundImageUrl;
|
backgroundImageUrl = meta.backgroundImageUrl;
|
||||||
themeColor = meta.themeColor;
|
themeColor = meta.themeColor;
|
||||||
defaultLightTheme = meta.defaultLightTheme;
|
defaultLightTheme = meta.defaultLightTheme;
|
||||||
|
@ -259,7 +259,7 @@ function save() {
|
||||||
tosUrl,
|
tosUrl,
|
||||||
iconUrl,
|
iconUrl,
|
||||||
bannerUrl,
|
bannerUrl,
|
||||||
logoUrl,
|
logoImageUrl,
|
||||||
backgroundImageUrl,
|
backgroundImageUrl,
|
||||||
themeColor: themeColor === '' ? null : themeColor,
|
themeColor: themeColor === '' ? null : themeColor,
|
||||||
defaultLightTheme: defaultLightTheme === '' ? null : defaultLightTheme,
|
defaultLightTheme: defaultLightTheme === '' ? null : defaultLightTheme,
|
||||||
|
|
Loading…
Reference in New Issue