Files
shumai/packages/webui/paraglide/messages/quota_selected_users_count.js
T
Yiling-J eed0264b9c feat(quota): add 2-level database-backed resource quota system (#318)
* feat(quota): add database-backed resource quota system

* feat(webui): add resource quota management in team settings (#319)

* feat(webui): add resource quota settings in team management

* refactor(webui): update quotas list to full row layout and restrict skill/mcp to select list

* feat(quota): refactor quota system to 2-level rules and records

* fix(webui): fix overflow and scroll area in quota usage records dialog

* fix(webui): ensure quota records scroll area has explicit max height

* feat(webui): improve quota cards interaction and restrict editable fields in edit mode

* fix(quota): serialize initial records, validate merged updates, and reset on dimension changes (#320)

* feat(quota): replace network quota with agent tools quota (#321)

* feat(webui): show remaining time until next refresh in quota usage records

* fix(webui): rename bash quota resource to Agent Bash Calls

* refactor(quota): remove unused reserved field from quota records

* refactor(quota): remove quota rule cache (#322)
2026-08-17 20:24:05 +08:00

29 lines
1.3 KiB
JavaScript
Generated

/* eslint-disable */
import { getLocale, experimentalStaticLocale } from '../runtime.js';
/** @typedef {import('../runtime.js').LocalizedString} LocalizedString */
/** @typedef {{ count: NonNullable<unknown> }} Quota_Selected_Users_CountInputs */
const en_quota_selected_users_count = /** @type {(inputs: Quota_Selected_Users_CountInputs) => LocalizedString} */ (i) => {
return /** @type {LocalizedString} */ (`${i?.count} members selected`)
};
const zh_quota_selected_users_count = /** @type {(inputs: Quota_Selected_Users_CountInputs) => LocalizedString} */ (i) => {
return /** @type {LocalizedString} */ (`已选择 ${i?.count} 位成员`)
};
/**
* | output |
* | --- |
* | "{count} members selected" |
*
* @param {Quota_Selected_Users_CountInputs} inputs
* @param {{ locale?: "en" | "zh" }} options
* @returns {LocalizedString}
*/
export const quota_selected_users_count = /** @type {((inputs: Quota_Selected_Users_CountInputs, options?: { locale?: "en" | "zh" }) => LocalizedString) & import('../runtime.js').MessageMetadata<Quota_Selected_Users_CountInputs, { locale?: "en" | "zh" }, {}>} */ ((inputs, options = {}) => {
const locale = experimentalStaticLocale ?? options.locale ?? getLocale()
if (locale === "en") return en_quota_selected_users_count(inputs)
return zh_quota_selected_users_count(inputs)
});