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

33 lines
1.2 KiB
JavaScript

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js'
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Select_Zip_FileInputs */
const en_select_zip_file = /** @type {(inputs: Select_Zip_FileInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`Select ZIP file`)
}
const zh_select_zip_file = /** @type {(inputs: Select_Zip_FileInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`选择 ZIP 文件`)
}
/**
* | output |
* | --- |
* | "Select ZIP file" |
*
* @param {Select_Zip_FileInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const select_zip_file =
/** @type {((inputs?: Select_Zip_FileInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Select_Zip_FileInputs, { locale?: "en" | "zh" }, {}>} */ (
(inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === 'en') return en_select_zip_file(inputs)
return zh_select_zip_file(inputs)
}
)