mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update i18n for validator message (#636)
This commit is contained in:
@ -73,7 +73,7 @@ const UpdateAccountDialog: React.FC<Props> = ({ destroy }: Props) => {
|
||||
|
||||
const usernameValidResult = validate(state.username, validateConfig);
|
||||
if (!usernameValidResult.result) {
|
||||
toastHelper.error(t("common.username") + ": " + usernameValidResult.reason);
|
||||
toastHelper.error(t("common.username") + ": " + t(usernameValidResult.reason as string));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user