mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-04 06:54:28 +00:00
chore: add paraglide generated folders to prettier ignore files
This commit is contained in:
@@ -1,34 +1,29 @@
|
||||
/* eslint-disable */
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js'
|
||||
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
||||
|
||||
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
||||
|
||||
/** @typedef {{}} Failed_Create_FolderInputs */
|
||||
|
||||
const en_failed_create_folder =
|
||||
/** @type {(inputs: Failed_Create_FolderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Failed to create folder`)
|
||||
}
|
||||
const en_failed_create_folder = /** @type {(inputs: Failed_Create_FolderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`Failed to create folder`)
|
||||
};
|
||||
|
||||
const zh_failed_create_folder =
|
||||
/** @type {(inputs: Failed_Create_FolderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`创建文件夹失败`)
|
||||
}
|
||||
const zh_failed_create_folder = /** @type {(inputs: Failed_Create_FolderInputs) => LocalizedString} */ () => {
|
||||
return /** @type {LocalizedString} */ (`创建文件夹失败`)
|
||||
};
|
||||
|
||||
/**
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Failed to create folder" |
|
||||
*
|
||||
* @param {Failed_Create_FolderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const failed_create_folder =
|
||||
/** @type {((inputs?: Failed_Create_FolderInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Failed_Create_FolderInputs, { locale?: "en" | "zh" }, {}>} */ (
|
||||
(inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === 'en') return en_failed_create_folder(inputs)
|
||||
return zh_failed_create_folder(inputs)
|
||||
}
|
||||
)
|
||||
* | output |
|
||||
* | --- |
|
||||
* | "Failed to create folder" |
|
||||
*
|
||||
* @param {Failed_Create_FolderInputs} inputs
|
||||
* @param {{ locale?: "en" | "zh" }} options
|
||||
* @returns {LocalizedString}
|
||||
*/
|
||||
export const failed_create_folder = /** @type {((inputs?: Failed_Create_FolderInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Failed_Create_FolderInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
||||
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
||||
if (locale === "en") return en_failed_create_folder(inputs)
|
||||
return zh_failed_create_folder(inputs)
|
||||
});
|
||||
Reference in New Issue
Block a user