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

29 lines
1.2 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Select_Project_FirstInputs */
const en_select_project_first = /** @type {(inputs: Select_Project_FirstInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Select a project first`)
};
const zh_select_project_first = /** @type {(inputs: Select_Project_FirstInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`请先选择一个项目`)
};
/**
* | output |
* | --- |
* | "Select a project first" |
*
* @param {Select_Project_FirstInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const select_project_first = /** @type {((inputs?: Select_Project_FirstInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Select_Project_FirstInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_select_project_first(inputs)
return zh_select_project_first(inputs)
});