chore: update notification message and zh translation (#1011)

This commit is contained in:
RikudouPatrickstar
2024-05-12 14:40:18 +08:00
committed by GitHub
parent 9731c8a750
commit 2f7c3cf21e
13 changed files with 64 additions and 26 deletions

View File

@@ -26,7 +26,7 @@ export const ControllerViewer = forwardRef<DialogRef>((props, ref) => {
const onSave = useLockFn(async () => {
try {
await patchInfo({ "external-controller": controller, secret });
Notice.success("Change Clash Config successfully!", 1000);
Notice.success(t("External Controller Address Modified"), 1000);
setOpen(false);
} catch (err: any) {
Notice.error(err.message || err.toString(), 4000);