feat(i18n): add saveFailed message and dimensionRatesMixedHint to locale files

- Updated English, Nepali, and Chinese locale files to include a new message for "Failed to save configuration".
- Added a hint for mixed rebate rates within the same dimension to enhance user understanding.
- Improved internationalization support across multiple locales for better user experience in the admin interface.
This commit is contained in:
2026-05-26 11:23:36 +08:00
parent 4080f0b601
commit 7fb5ec6dff
10 changed files with 181 additions and 65 deletions

View File

@@ -231,8 +231,14 @@ export function DrawsIndexConsole() {
t("batchDelete.success", { count: result.success.length }),
);
}
setSelectedDrawIds(new Set());
setSelectedDrawIds((prev) => {
const next = new Set(prev);
for (const id of result.success) {
next.delete(id);
}
return next;
});
await load();
} catch (e) {
toast.error(e instanceof LotteryApiBizError ? e.message : t("batchDelete.failed"));