feat(i18n): enhance locale support for rebate settings and report exports

- Updated English, Nepali, and Chinese locale files to include new translations for the "apply rebate to payout" feature, enhancing clarity on its functionality.
- Added new export options for previewing CSV and Excel files in reports, improving user experience with clearer export capabilities.
- Enhanced internationalization support across multiple locales to ensure consistent messaging in the admin interface.
This commit is contained in:
2026-05-26 13:53:22 +08:00
parent a76b681828
commit 60271d87fb
17 changed files with 222 additions and 76 deletions

View File

@@ -102,11 +102,15 @@ export function RiskCapRuntimePanel() {
}, [appliedNumber, drawId, poolFilter, t]);
useEffect(() => {
void loadDraws();
queueMicrotask(() => {
void loadDraws();
});
}, [loadDraws]);
useEffect(() => {
void loadPools();
queueMicrotask(() => {
void loadPools();
});
}, [loadPools]);
const riskBase = drawId ? `/admin/draws/${drawId}/risk` : null;