From 447b041f473a590a92b900e6a63e5365ba7783ca Mon Sep 17 00:00:00 2001
From: peijiankang <peijiankang@kylinos.cn>
Date: Thu, 15 Jun 2023 20:37:40 +0800
Subject: [PATCH] fix translation error about Login

---
 ukui-greeter/greeter/loginwindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ukui-greeter/greeter/loginwindow.cpp b/ukui-greeter/greeter/loginwindow.cpp
index 616b081..4ab27b7 100644
--- a/ukui-greeter/greeter/loginwindow.cpp
+++ b/ukui-greeter/greeter/loginwindow.cpp
@@ -712,7 +712,7 @@ void LoginWindow::onShowPrompt(QString text, QLightDM::Greeter::PromptType type)
             text = tr("Password: ");
             m_isPassWdInput = true;
         }
-        if(text == "login:") {
+        if(text == "login:" || text == "登录：") {
             text = tr("Username");
             m_name = "*login";
             //m_nameLabel->setText(tr("login"));
-- 
2.33.0

