mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-19 14:16:29 +00:00
29 lines
1.2 KiB
JavaScript
Generated
29 lines
1.2 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Add_To_Share_LinksInputs */
|
|
|
|
const en_add_to_share_links = /** @type {(inputs: Add_To_Share_LinksInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Add to Share Links`)
|
|
};
|
|
|
|
const zh_add_to_share_links = /** @type {(inputs: Add_To_Share_LinksInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`添加到分享链接`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Add to Share Links" |
|
|
*
|
|
* @param {Add_To_Share_LinksInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const add_to_share_links = /** @type {((inputs?: Add_To_Share_LinksInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Add_To_Share_LinksInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_add_to_share_links(inputs)
|
|
return zh_add_to_share_links(inputs)
|
|
}); |