2026-06-27 10:12:07 +08:00
/* eslint-disable */
2026-06-27 10:23:05 +08:00
import { getLocale , experimentalStaticLocale } from '../runtime.js' ;
2026-06-27 10:12:07 +08:00
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Folder_Structure_WarningInputs */
2026-06-27 10:23:05 +08:00
const en_folder_structure_warning = /** @type {(inputs: Folder_Structure_WarningInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ ( `Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder.` )
};
2026-06-27 10:12:07 +08:00
2026-06-27 10:23:05 +08:00
const zh_folder_structure_warning = /** @type {(inputs: Folder_Structure_WarningInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ ( `文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。` )
};
2026-06-27 10:12:07 +08:00
/**
2026-06-27 10:23:05 +08:00
* | output |
* | --- |
* | "Folder hierarchy will be flattened. All nested files will be downloaded directly into your default download folder." |
*
* @param {Folder_Structure_WarningInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const folder_structure_warning = /** @type {((inputs?: Folder_Structure_WarningInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Folder_Structure_WarningInputs, { locale?: "en" | "zh" }, {}>} */ (( inputs = {}, options = {}) => {
const locale = experimentalStaticLocale ?? options . locale ?? getLocale ()
if ( locale === "en" ) return en_folder_structure_warning ( inputs )
return zh_folder_structure_warning ( inputs )
});