fix(i18n): use English runtime text and localize system UI

This commit is contained in:
Arthur Koba
2026-10-25 19:44:15 +03:00
parent ada0550571
commit 65a96670d5
289 changed files with 8092 additions and 3426 deletions
+3 -3
View File
@@ -69,7 +69,7 @@ func TestResetPasswdCmd_WithUserAndPassword(t *testing.T) {
_, _ = io.Copy(&buf, r)
output := buf.String()
if !bytes.Contains([]byte(output), []byte("成功重置密码!")) {
if !bytes.Contains([]byte(output), []byte("Password reset successfully")) {
t.Errorf("expected output to contain success message, got: %s", output)
}
@@ -137,7 +137,7 @@ func TestResetPasswdCmd_WithUserAndRandomPassword(t *testing.T) {
_, _ = io.Copy(&buf, r)
output := buf.String()
if !bytes.Contains([]byte(output), []byte("成功重置密码!")) {
if !bytes.Contains([]byte(output), []byte("Password reset successfully")) {
t.Errorf("expected output to contain success message, got: %s", output)
}
@@ -212,7 +212,7 @@ func TestResetPasswdCmd_InteractiveMode(t *testing.T) {
_, _ = io.Copy(&buf, r)
output := buf.String()
if !bytes.Contains([]byte(output), []byte("成功重置密码!")) {
if !bytes.Contains([]byte(output), []byte("Password reset successfully")) {
t.Errorf("expected output to contain success message, got: %s", output)
}