fix: correct typos in source code and locales (#3003)

- Fix Countrys -> Countries in comment
- Fix Scrolldown -> ScrollDown in variable name
- Fix completeTowFactor -> completeTwoFactor (3x)
- Fix deactiveTowFactor -> deactivateTwoFactor (3x)
- Fix activeOrDeactiveTwoFactor -> activeOrDeactivateTwoFactor
- Fix API route /two-factor/deactive -> /two-factor/deactivate
- Fix elment -> element in function param
- Fix synolog -> synology in comment
- Fix Chinese comment 制定 -> 指定
- Fix swapped BARK English translations on lines 360-361
This commit is contained in:
jmclulu
2026-05-31 00:32:04 +08:00
committed by GitHub
parent 2fe9470ff0
commit 3aab1233bb
9 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ export default class UserService {
}
}
public async deactiveTwoFactor() {
public async deactivateTwoFactor() {
const authInfo = await this.getAuthInfo();
await this.updateAuthInfo(authInfo, {
twoFactorActivated: false,