mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-30 21:04:59 +00:00
39 lines
1.7 KiB
JavaScript
39 lines
1.7 KiB
JavaScript
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js'
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Auth_DescriptionInputs */
|
|
|
|
const en_auth_description =
|
|
/** @type {(inputs: Auth_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (
|
|
`Upload and index your files, enrich them with custom metadata schemas, draw annotations directly on media, and gather instant feedback — all in one modern workspace built for creators.`
|
|
)
|
|
}
|
|
|
|
const zh_auth_description =
|
|
/** @type {(inputs: Auth_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (
|
|
`上传并索引您的文件,使用自定义元数据模式丰富它们,直接在媒体上绘制标注,并收集即时反馈——这一切都在一个为创作者打造的现代工作区中完成。`
|
|
)
|
|
}
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Upload and index your files, enrich them with custom metadata schemas, draw annotations directly on media, and gather instant feedback — all in one modern wo..." |
|
|
*
|
|
* @param {Auth_DescriptionInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const auth_description =
|
|
/** @type {((inputs?: Auth_DescriptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Auth_DescriptionInputs, { locale?: "en" | "zh" }, {}>} */ (
|
|
(inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === 'en') return en_auth_description(inputs)
|
|
return zh_auth_description(inputs)
|
|
}
|
|
)
|