mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-24 15:39:06 +00:00
29 lines
1.1 KiB
JavaScript
Generated
29 lines
1.1 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Remove_From_ShareInputs */
|
|
|
|
const en_remove_from_share = /** @type {(inputs: Remove_From_ShareInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`Remove from Share`)
|
|
};
|
|
|
|
const zh_remove_from_share = /** @type {(inputs: Remove_From_ShareInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`从分享中移除`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "Remove from Share" |
|
|
*
|
|
* @param {Remove_From_ShareInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const remove_from_share = /** @type {((inputs?: Remove_From_ShareInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Remove_From_ShareInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_remove_from_share(inputs)
|
|
return zh_remove_from_share(inputs)
|
|
}); |