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 {{ name: NonNullable<unknown> }} Delete_Provider_ConfirmationInputs */
2026-06-27 10:23:05 +08:00
const en_delete_provider_confirmation = /** @type {(inputs: Delete_Provider_ConfirmationInputs) => LocalizedString} */ ( i ) => {
return /** @type {LocalizedString} */ ( `This action cannot be undone. This will permanently delete the provider " ${ i ? . name } " and all associated model configurations.` )
};
2026-06-27 10:12:07 +08:00
2026-06-27 10:23:05 +08:00
const zh_delete_provider_confirmation = /** @type {(inputs: Delete_Provider_ConfirmationInputs) => LocalizedString} */ ( i ) => {
return /** @type {LocalizedString} */ ( `此操作无法撤销。这将永久删除提供商 " ${ i ? . name } " 及所有关联的模型配置。` )
};
2026-06-27 10:12:07 +08:00
/**
2026-06-27 10:23:05 +08:00
* | output |
* | --- |
* | "This action cannot be undone. This will permanently delete the provider \"{name}\" and all associated model configurations." |
*
* @param {Delete_Provider_ConfirmationInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const delete_provider_confirmation = /** @type {((inputs: Delete_Provider_ConfirmationInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Delete_Provider_ConfirmationInputs, { locale?: "en" | "zh" }, {}>} */ (( inputs , options = {}) => {
const locale = experimentalStaticLocale ?? options . locale ?? getLocale ()
if ( locale === "en" ) return en_delete_provider_confirmation ( inputs )
return zh_delete_provider_confirmation ( inputs )
});