mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-27 03:14:11 +00:00
29 lines
1.6 KiB
JavaScript
Generated
29 lines
1.6 KiB
JavaScript
Generated
/* eslint-disable */
|
|
import { getLocale, experimentalStaticLocale } from '../runtime.js';
|
|
|
|
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
|
|
|
|
/** @typedef {{}} Pending_Domains_DescriptionInputs */
|
|
|
|
const en_pending_domains_description = /** @type {(inputs: Pending_Domains_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list.`)
|
|
};
|
|
|
|
const zh_pending_domains_description = /** @type {(inputs: Pending_Domains_DescriptionInputs) => LocalizedString} */ () => {
|
|
return /** @type {LocalizedString} */ (`这些域名在智能体执行期间被阻止。您可以批准它们以允许将来的网络请求,或从此列表中删除它们。`)
|
|
};
|
|
|
|
/**
|
|
* | output |
|
|
* | --- |
|
|
* | "These domains were blocked during agent execution. You can approve them to allow future network requests, or delete them from this list." |
|
|
*
|
|
* @param {Pending_Domains_DescriptionInputs} inputs
|
|
* @param {{ locale?: "en" | "zh" }} options
|
|
* @returns {LocalizedString}
|
|
*/
|
|
export const pending_domains_description = /** @type {((inputs?: Pending_Domains_DescriptionInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Pending_Domains_DescriptionInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs = {}, options = {}) => {
|
|
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
|
|
if (locale === "en") return en_pending_domains_description(inputs)
|
|
return zh_pending_domains_description(inputs)
|
|
}); |