Files
shumai/packages/webui/paraglide/messages/custom.js
T

29 lines
1017 B
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} CustomInputs */
const en_custom = /** @type {(inputs: CustomInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Custom`)
};
const zh_custom = /** @type {(inputs: CustomInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`自定义`)
};
/**
* | output |
* | --- |
* | "Custom" |
*
* @param {CustomInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const custom = /** @type {((inputs?: CustomInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<CustomInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_custom(inputs)
return zh_custom(inputs)
});