chore: add paraglide generated folders to prettier ignore files

This commit is contained in:
yiling
2026-06-27 10:24:20 +08:00
parent d5dbb3c01b
commit 4dc53063ea
1443 changed files with 26198 additions and 35007 deletions
@@ -1,38 +1,29 @@
/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js'
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{}} Folder_Structure_WarningInputs */
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.`
)
}
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.`)
};
const zh_folder_structure_warning =
/** @type {(inputs: Folder_Structure_WarningInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (
`文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。`
)
}
const zh_folder_structure_warning = /** @type {(inputs: Folder_Structure_WarningInputs) => LocalizedString} */ () => {
return /** @type {LocalizedString} */ (`文件夹层级将被扁平化。所有嵌套文件将直接下载到您的默认下载文件夹中。`)
};
/**
* | 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)
}
)
* | 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)
});