-
🌐 feat(system-settings): add ServerAddress option & full i18n support · b54b590dThis commit brings System Settings in line with Payment Settings and prepares the whole component for multi-language deployments. Key points ---------- • Introduced a “General Settings” card in `SystemSetting.js` - Adds a `ServerAddress` field (copied from Payment Settings). - Explains that this URL is used for payment callback & default homepage. - Implements `submitServerAddress` to persist the option. • Internationalisation - Imported `useTranslation` and wrapped **all** Chinese UI strings in `t()`. - Localised section titles, labels, placeholders, banners, buttons, modal texts and toast messages. - Dynamic banner/tool-tip descriptions now combine `t()` fragments with template literals for runtime URLs. • UX improvements - Added contextual `extraText` under the ServerAddress input. - Ensured placeholders like “sensitive info…” are translatable. With these changes, administrators can configure the server URL from the System Settings tab, and the entire page is ready for seamless language switching via the existing i18n framework.t0ng7u committed
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| Chat | Loading commit data... | |
| Dashboard | Loading commit data... | |
| Drawing | Loading commit data... | |
| Model | Loading commit data... | |
| Operation | Loading commit data... | |
| Payment | Loading commit data... | |
| RateLimit | Loading commit data... | |
| Ratio | Loading commit data... | |
| index.js | Loading commit data... |