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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user