fix(settings): change the error message to English on the settings page.

This commit is contained in:
KodekaTeam committed 2026-07-11 13:55:13 +07:00
1 parent 248053844a
commit 5df95a716c
1 file changed
+4 -3
+4 -3
View File
@@ -237,14 +237,15 @@ export default function SettingsPage() {
const refreshed = await settingsApi.get();
syncSettingsFromServer(refreshed.data, { preserveStoredTheme: true });
setSuccess(
response.message || "Scan QR code lalu verifikasi dengan kode 6 digit",
response.message ||
"Scan the QR code, then verify using the 6-digit code.",
);
});
};
const enableTwoFactor = async () => {
if (twoFactorCode.length !== 6) {
setError("Masukkan 6 digit authentication code");
setError("Enter the 6-digit authentication code.");
return;
}
@@ -263,7 +264,7 @@ export default function SettingsPage() {
disableTwoFactorForm.code.length !== 6
) {
setError(
"Masukkan current password dan 6 digit code untuk menonaktifkan 2FA",
"Enter your current password and the 6-digit code to disable 2FA.",
);
return;
}