followup: SafeVaultPath in note update, email i18n, strict check-i18n.sh

- applyRemoteNoteUpdate: use SafeVaultPath for vault mode, skip non-vault with log
- Email subjects/bodies moved to Go i18n (confirm + reset) in ru.json and en.json
- check-i18n.sh: ru/en key mismatch now FAIL (not WARNING)
- All builds, tests, frontend pass
This commit is contained in:
2026-06-02 11:40:27 +08:00
parent 7091397649
commit 12f2916a24
6 changed files with 50 additions and 31 deletions
+6 -1
View File
@@ -97,5 +97,10 @@
"error.accountBlocked": "Account blocked",
"error.emailNotConfirmed": "Email not confirmed",
"error.tokenInvalid": "Invalid or expired token",
"error.tokenExpired": "Token expired"
"error.tokenExpired": "Token expired",
"server.emailConfirmSubject": "Confirm your Verstak Sync account",
"server.emailConfirmBody": "Welcome to Verstak Sync!\n\nPlease confirm your email by clicking:\n%s\n\nIf you did not register, ignore this message.",
"server.emailResetSubject": "Verstak Sync password reset",
"server.emailResetBody": "Reset your Verstak Sync password:\n\n%s\n\nThis link expires in 1 hour."
}
+6 -1
View File
@@ -379,5 +379,10 @@
"error.accountBlocked": "Аккаунт заблокирован",
"error.emailNotConfirmed": "Email не подтверждён",
"error.tokenInvalid": "Неверный или просроченный токен",
"error.tokenExpired": "Срок действия токена истёк"
"error.tokenExpired": "Срок действия токена истёк",
"server.emailConfirmSubject": "Подтверждение аккаунта Verstak Sync",
"server.emailConfirmBody": "Добро пожаловать в Verstak Sync!\n\nПодтвердите email, перейдя по ссылке:\n%s\n\nЕсли вы не регистрировались, проигнорируйте это письмо.",
"server.emailResetSubject": "Сброс пароля Verstak Sync",
"server.emailResetBody": "Сброс пароля Verstak Sync:\n\n%s\n\nСсылка действительна 1 час."
}