fix(translation)
- 添加多语种翻译
This commit is contained in:
parent
02fbbaa5ac
commit
36677e8cc2
741
0001-fix-translate-add-some-translation.patch
Normal file
741
0001-fix-translate-add-some-translation.patch
Normal file
@ -0,0 +1,741 @@
|
||||
From 8d62a492cfa437845dddff9be3c3927346b86dc0 Mon Sep 17 00:00:00 2001
|
||||
From: wangyucheng <wangyucheng@kylinsec.com.cn>
|
||||
Date: Thu, 23 Mar 2023 20:46:41 +0800
|
||||
Subject: [PATCH] fix(translate):add some translation
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
- 添加一些翻译
|
||||
|
||||
Relates #67661
|
||||
---
|
||||
src/daemon/CMakeLists.txt | 3 +-
|
||||
src/pam/CMakeLists.txt | 3 +-
|
||||
.../kiran-authentication-daemon.bo_CN.ts | 105 ++++++++++++++++++
|
||||
.../kiran-authentication-daemon.kk_KZ.ts | 105 ++++++++++++++++++
|
||||
.../kiran-authentication-daemon.ky_KG.ts | 105 ++++++++++++++++++
|
||||
.../kiran-authentication-daemon.mn_MN.ts | 105 ++++++++++++++++++
|
||||
.../kiran-authentication-daemon.ug_CN.ts | 105 ++++++++++++++++++
|
||||
.../pam_kiran_authentication.bo_CN.ts | 17 +++
|
||||
.../pam_kiran_authentication.kk_KZ.ts | 17 +++
|
||||
.../pam_kiran_authentication.ky_KG.ts | 17 +++
|
||||
.../pam_kiran_authentication.mn_MN.ts | 17 +++
|
||||
.../pam_kiran_authentication.ug_CN.ts | 17 +++
|
||||
12 files changed, 614 insertions(+), 2 deletions(-)
|
||||
create mode 100644 translations/kiran-authentication-daemon.bo_CN.ts
|
||||
create mode 100644 translations/kiran-authentication-daemon.kk_KZ.ts
|
||||
create mode 100644 translations/kiran-authentication-daemon.ky_KG.ts
|
||||
create mode 100644 translations/kiran-authentication-daemon.mn_MN.ts
|
||||
create mode 100644 translations/kiran-authentication-daemon.ug_CN.ts
|
||||
create mode 100644 translations/pam_kiran_authentication.bo_CN.ts
|
||||
create mode 100644 translations/pam_kiran_authentication.kk_KZ.ts
|
||||
create mode 100644 translations/pam_kiran_authentication.ky_KG.ts
|
||||
create mode 100644 translations/pam_kiran_authentication.mn_MN.ts
|
||||
create mode 100644 translations/pam_kiran_authentication.ug_CN.ts
|
||||
|
||||
diff --git a/src/daemon/CMakeLists.txt b/src/daemon/CMakeLists.txt
|
||||
index 454ba11..2bf4984 100644
|
||||
--- a/src/daemon/CMakeLists.txt
|
||||
+++ b/src/daemon/CMakeLists.txt
|
||||
@@ -61,9 +61,10 @@ set(TARGET_NAME kiran-authentication-daemon)
|
||||
|
||||
configure_file(config-daemon.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-daemon.h)
|
||||
|
||||
+file(GLOB TS_FILES "${PROJECT_SOURCE_DIR}/translations/${TARGET_NAME}.*.ts")
|
||||
qt_create_translation(DAEMON_QM_FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR} ../utils
|
||||
- ${PROJECT_SOURCE_DIR}/translations/${TARGET_NAME}.zh_CN.ts
|
||||
+ ${TS_FILES}
|
||||
OPTIONS -I ${PROJECT_SOURCE_DIR} -I ${PROJECT_BINARY_DIR} -no-obsolete)
|
||||
|
||||
add_executable(
|
||||
diff --git a/src/pam/CMakeLists.txt b/src/pam/CMakeLists.txt
|
||||
index 9689281..8a89321 100644
|
||||
--- a/src/pam/CMakeLists.txt
|
||||
+++ b/src/pam/CMakeLists.txt
|
||||
@@ -32,9 +32,10 @@ set(TARGET_NAME pam_kiran_authentication)
|
||||
|
||||
configure_file(config-pam.h.in ${CMAKE_CURRENT_BINARY_DIR}/config-pam.h)
|
||||
|
||||
+file(GLOB TS_FILES "${PROJECT_SOURCE_DIR}/translations/${TARGET_NAME}.*.ts")
|
||||
qt_create_translation(PAM_QM_FILES
|
||||
${CMAKE_CURRENT_SOURCE_DIR} ../utils
|
||||
- ${PROJECT_SOURCE_DIR}/translations/${TARGET_NAME}.zh_CN.ts
|
||||
+ ${TS_FILES}
|
||||
OPTIONS -I ${PROJECT_SOURCE_DIR} -I ${PROJECT_BINARY_DIR} -no-obsolete)
|
||||
|
||||
add_library(
|
||||
diff --git a/translations/kiran-authentication-daemon.bo_CN.ts b/translations/kiran-authentication-daemon.bo_CN.ts
|
||||
new file mode 100644
|
||||
index 0000000..46b3f35
|
||||
--- /dev/null
|
||||
+++ b/translations/kiran-authentication-daemon.bo_CN.ts
|
||||
@@ -0,0 +1,105 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>PolkitProxy</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/proxy/polkit-proxy.cpp" line="215"/>
|
||||
+ <source>Authorization failed.</source>
|
||||
+ <translation>དབང་བསྐུར་ཕམ་པ།</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="30"/>
|
||||
+ <source>Authentication ID already exists.</source>
|
||||
+ <translation>ཐོབ་ཐང་ར་སྤྲོདIDད་ལྟ་ཡོད།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="33"/>
|
||||
+ <source>The user is enrolling.</source>
|
||||
+ <translation>བཀོལ་མཁན་ཐོ་འགོད་བྱེད་བཞིན་ཡོད།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="36"/>
|
||||
+ <source>Too many sessions.</source>
|
||||
+ <translation>སྐད་ཆ་བཤད་རེས་མང་དྲག་སོང་།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="39"/>
|
||||
+ <source>The session is in authentication.</source>
|
||||
+ <translation>སྐད་ཆ་བཤད་རེས་ནི་ཐོབ་ཐང་ར་སྤྲོད་བྱེད་པའི་ཁྲོད་དུ་གནས་ཡོད།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="42"/>
|
||||
+ <source>Internel error.</source>
|
||||
+ <translation>ནང་ཁུལ་གྱི་ནོར་འཁྲུལ།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="45"/>
|
||||
+ <source>Unknown error.</source>
|
||||
+ <translation>མི་ཤེས་པའི་ནོར་འཁྲུལ།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="49"/>
|
||||
+ <source> (error code: 0x%x)</source>
|
||||
+ <translation>(ཚབ་ཨང་ནོར་འཁྲུལ་ཅན།0x%ཡིན།)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="172"/>
|
||||
+ <source>Enrollment completed successfully.</source>
|
||||
+ <translation>ཐོ་འགོད་ལེགས་འགྲུབ་བྱུང་།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="174"/>
|
||||
+ <source>Enrollment failed.</source>
|
||||
+ <translation>ཐོ་འགོད་ཕམ་པ།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="176"/>
|
||||
+ <source>Enroll stage passed.</source>
|
||||
+ <translation>ཐོ་འགོད་དུས་རིམ་ལ་གྲོས་འཆམ་བྱུང་ཡོད་།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="179"/>
|
||||
+ <source>The enrollment scan did not succeed, please retry it.</source>
|
||||
+ <translation>ཐོ་འགོད་བྱེད་པར་ལེགས་འགྲུབ་མ་བྱུང་།ཡང་བསྐྱར་ཚོད་ལྟ་ཞིག་བྱེད་རོགས།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="181"/>
|
||||
+ <source>The finger swipe was too short, please retry it.</source>
|
||||
+ <translation>མཛུབ་མོ་ཤུད་འགུལ་ཧ་ཅང་ཐུང་བས་ཡང་བསྐྱར་ཚོད་ལྟ་ཞིག་བྱེད་རོགས།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="183"/>
|
||||
+ <source>The finger was not centered on the scanner, please retry it.</source>
|
||||
+ <translation>མཛུབ་མོ་བཤར་འབེབས་ཆས་ཀྱི་ལྟེ་བར་མེད་པས།ཡང་བསྐྱར་ཚོད་ལྟ་བྱོས།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="185"/>
|
||||
+ <source>Unknown enrollment error.</source>
|
||||
+ <translation>ཤེས་མེད་པའི་ཐོ་འགོད་ནོར་འཁྲུལ་རེད་།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="195"/>
|
||||
+ <source>Feature not match.</source>
|
||||
+ <translation>ནུས་པ་དོ་མི་མཉམ།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="197"/>
|
||||
+ <source>Feature matching successed.</source>
|
||||
+ <translation>ཁྱད་ཆོས་སྙོམས་སྒྲིག་ལེགས་གྲུབ་བྱུང་ཡོད་།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="199"/>
|
||||
+ <source>Feature not match, please retry it.</source>
|
||||
+ <translation>ནུས་པ་དོ་མི་མཉམ།ཡང་བསྐྱར་ཚོད་ལྟ་བྱོས།</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="202"/>
|
||||
+ <source>Unknown verfication error.</source>
|
||||
+ <translation>ཤེས་མེད་པའི་ཚོད་ལྟས་ར་སྤྲོད་ནོར་འཁྲུལ་རེད་།</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/kiran-authentication-daemon.kk_KZ.ts b/translations/kiran-authentication-daemon.kk_KZ.ts
|
||||
new file mode 100644
|
||||
index 0000000..648dccc
|
||||
--- /dev/null
|
||||
+++ b/translations/kiran-authentication-daemon.kk_KZ.ts
|
||||
@@ -0,0 +1,105 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>PolkitProxy</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/proxy/polkit-proxy.cpp" line="215"/>
|
||||
+ <source>Authorization failed.</source>
|
||||
+ <translation>Авторизация жаңылысы.</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="30"/>
|
||||
+ <source>Authentication ID already exists.</source>
|
||||
+ <translation>Аутентификация идентификаторы бұрыннан бар.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="33"/>
|
||||
+ <source>The user is enrolling.</source>
|
||||
+ <translation>Пайдаланушы тіркелуде.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="36"/>
|
||||
+ <source>Too many sessions.</source>
|
||||
+ <translation>Тым көп әңгімелер.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="39"/>
|
||||
+ <source>The session is in authentication.</source>
|
||||
+ <translation>Сеанс аутентификациялануда.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="42"/>
|
||||
+ <source>Internel error.</source>
|
||||
+ <translation>Ішкі қате.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="45"/>
|
||||
+ <source>Unknown error.</source>
|
||||
+ <translation>Беймәлім қате.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="49"/>
|
||||
+ <source> (error code: 0x%x)</source>
|
||||
+ <translation>0x% қате коды.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="172"/>
|
||||
+ <source>Enrollment completed successfully.</source>
|
||||
+ <translation>Тіркеу сәтті аяқталды.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="174"/>
|
||||
+ <source>Enrollment failed.</source>
|
||||
+ <translation>Тіркеу сәтсіз аяқталды</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="176"/>
|
||||
+ <source>Enroll stage passed.</source>
|
||||
+ <translation>Тіркеу кезеңі өтті</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="179"/>
|
||||
+ <source>The enrollment scan did not succeed, please retry it.</source>
|
||||
+ <translation>Тіркеуді қарап шығу сәтсіз аяқталды, әрекетті қайталаңыз</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="181"/>
|
||||
+ <source>The finger swipe was too short, please retry it.</source>
|
||||
+ <translation>Саусақтың сырғуы тым қысқа, әрекетті қайталаңыз</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="183"/>
|
||||
+ <source>The finger was not centered on the scanner, please retry it.</source>
|
||||
+ <translation>Саусағыңыз сканердің ортасында емес, әрекетті қайталаңыз</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="185"/>
|
||||
+ <source>Unknown enrollment error.</source>
|
||||
+ <translation>Беймәлім тіркеу қатесі</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="195"/>
|
||||
+ <source>Feature not match.</source>
|
||||
+ <translation>Функция сәйкес келмейді</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="197"/>
|
||||
+ <source>Feature matching successed.</source>
|
||||
+ <translation>Сәтті сәйкестік</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="199"/>
|
||||
+ <source>Feature not match, please retry it.</source>
|
||||
+ <translation>Функциялар сәйкес келмейді, әрекетті қайталаңыз</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="202"/>
|
||||
+ <source>Unknown verfication error.</source>
|
||||
+ <translation>Беймәлім тексеру қатесі</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/kiran-authentication-daemon.ky_KG.ts b/translations/kiran-authentication-daemon.ky_KG.ts
|
||||
new file mode 100644
|
||||
index 0000000..9fae909
|
||||
--- /dev/null
|
||||
+++ b/translations/kiran-authentication-daemon.ky_KG.ts
|
||||
@@ -0,0 +1,105 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>PolkitProxy</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/proxy/polkit-proxy.cpp" line="215"/>
|
||||
+ <source>Authorization failed.</source>
|
||||
+ <translation>Kuloledwa kulephera</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="30"/>
|
||||
+ <source>Authentication ID already exists.</source>
|
||||
+ <translation>ID бар</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="33"/>
|
||||
+ <source>The user is enrolling.</source>
|
||||
+ <translation>Ogwiritsa ntchito akulembetsa</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="36"/>
|
||||
+ <source>Too many sessions.</source>
|
||||
+ <translation>Өтө көп сүйлөшүү</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="39"/>
|
||||
+ <source>The session is in authentication.</source>
|
||||
+ <translation>текшерүү менен сүйлөшүү</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="42"/>
|
||||
+ <source>Internel error.</source>
|
||||
+ <translation>Ички каталар</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="45"/>
|
||||
+ <source>Unknown error.</source>
|
||||
+ <translation>Zolakwitsa zosadziwika</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="49"/>
|
||||
+ <source> (error code: 0x%x)</source>
|
||||
+ <translation>Right Code 0x%</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="172"/>
|
||||
+ <source>Enrollment completed successfully.</source>
|
||||
+ <translation>Kulembetsa kwatha</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="174"/>
|
||||
+ <source>Enrollment failed.</source>
|
||||
+ <translation>Kulembetsa kulephera</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="176"/>
|
||||
+ <source>Enroll stage passed.</source>
|
||||
+ <translation>Gawo lolembetsa ladutsa</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="179"/>
|
||||
+ <source>The enrollment scan did not succeed, please retry it.</source>
|
||||
+ <translation>Kulembetsa kulembetsa sikupambana, chonde yesani</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="181"/>
|
||||
+ <source>The finger swipe was too short, please retry it.</source>
|
||||
+ <translation>Kujambula zala kumakhala kochepa kwambiri, chonde yesani kachiwiri</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="183"/>
|
||||
+ <source>The finger was not centered on the scanner, please retry it.</source>
|
||||
+ <translation>Mwala suli pakati pa scanner Chonde yesani kachiwiri</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="185"/>
|
||||
+ <source>Unknown enrollment error.</source>
|
||||
+ <translation>Zolakwitsa zosadziwika</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="195"/>
|
||||
+ <source>Feature not match.</source>
|
||||
+ <translation>Function дал келбейт</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="197"/>
|
||||
+ <source>Feature matching successed.</source>
|
||||
+ <translation>Zogwirizana ndi zochitika</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="199"/>
|
||||
+ <source>Feature not match, please retry it.</source>
|
||||
+ <translation>Function сураныч, кайра аракет дал келбейт</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="202"/>
|
||||
+ <source>Unknown verfication error.</source>
|
||||
+ <translation>Cholakwika chosadziwika</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/kiran-authentication-daemon.mn_MN.ts b/translations/kiran-authentication-daemon.mn_MN.ts
|
||||
new file mode 100644
|
||||
index 0000000..ea38ce5
|
||||
--- /dev/null
|
||||
+++ b/translations/kiran-authentication-daemon.mn_MN.ts
|
||||
@@ -0,0 +1,105 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>PolkitProxy</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/proxy/polkit-proxy.cpp" line="215"/>
|
||||
+ <source>Authorization failed.</source>
|
||||
+ <translation>Зөвшөөрөл амжилтгүй болсон</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="30"/>
|
||||
+ <source>Authentication ID already exists.</source>
|
||||
+ <translation>Гэрчлэх ID аль хэдийн байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="33"/>
|
||||
+ <source>The user is enrolling.</source>
|
||||
+ <translation>Хэрэглэгч бүртгүүлж байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="36"/>
|
||||
+ <source>Too many sessions.</source>
|
||||
+ <translation>Хэт олон яриа</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="39"/>
|
||||
+ <source>The session is in authentication.</source>
|
||||
+ <translation>Сешн нь гэрчлэгдсэн байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="42"/>
|
||||
+ <source>Internel error.</source>
|
||||
+ <translation>Дотоод алдаа</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="45"/>
|
||||
+ <source>Unknown error.</source>
|
||||
+ <translation>Үл мэдэгдэх алдаа</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="49"/>
|
||||
+ <source> (error code: 0x%x)</source>
|
||||
+ <translation>Алдааны код 0x%</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="172"/>
|
||||
+ <source>Enrollment completed successfully.</source>
|
||||
+ <translation>Бүртгэл амжилттай дууссан</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="174"/>
|
||||
+ <source>Enrollment failed.</source>
|
||||
+ <translation>Бүртгэл амжилтгүй болсон</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="176"/>
|
||||
+ <source>Enroll stage passed.</source>
|
||||
+ <translation>Бүртгэлийн үе шат өнгөрсөн</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="179"/>
|
||||
+ <source>The enrollment scan did not succeed, please retry it.</source>
|
||||
+ <translation>Бүртгэлийн скан амжилтгүй болсон тул дахин оролдоно уу</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="181"/>
|
||||
+ <source>The finger swipe was too short, please retry it.</source>
|
||||
+ <translation>Хуруу хэт богино байна, дахин оролдоно уу</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="183"/>
|
||||
+ <source>The finger was not centered on the scanner, please retry it.</source>
|
||||
+ <translation>Хуруу нь сканнерын төвд байхгүй байна, дахин оролдоно уу</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="185"/>
|
||||
+ <source>Unknown enrollment error.</source>
|
||||
+ <translation>Бүртгэлийн алдаа тодорхойгүй байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="195"/>
|
||||
+ <source>Feature not match.</source>
|
||||
+ <translation>Функц таарахгүй байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="197"/>
|
||||
+ <source>Feature matching successed.</source>
|
||||
+ <translation>Онцлог шинж чанар амжилттай таарч байна</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="199"/>
|
||||
+ <source>Feature not match, please retry it.</source>
|
||||
+ <translation>Функц таарахгүй байна уу, дахин оролдоно уу</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="202"/>
|
||||
+ <source>Unknown verfication error.</source>
|
||||
+ <translation>Баталгаажуулалтын алдаа тодорхойгүй байна</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/kiran-authentication-daemon.ug_CN.ts b/translations/kiran-authentication-daemon.ug_CN.ts
|
||||
new file mode 100644
|
||||
index 0000000..e3bd46c
|
||||
--- /dev/null
|
||||
+++ b/translations/kiran-authentication-daemon.ug_CN.ts
|
||||
@@ -0,0 +1,105 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>PolkitProxy</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/proxy/polkit-proxy.cpp" line="215"/>
|
||||
+ <source>Authorization failed.</source>
|
||||
+ <translation>ھوقۇق بېرىش مەغلۇپ بولدى.</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="30"/>
|
||||
+ <source>Authentication ID already exists.</source>
|
||||
+ <translation>سالاھىيەت تەكشۈرۈش ID مەۋجۇت.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="33"/>
|
||||
+ <source>The user is enrolling.</source>
|
||||
+ <translation>ئابونت تىزىمغا ئالدۇرىۋاتىدۇ.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="36"/>
|
||||
+ <source>Too many sessions.</source>
|
||||
+ <translation>بەك كۆپ سۆزلىشىش.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="39"/>
|
||||
+ <source>The session is in authentication.</source>
|
||||
+ <translation>سۆزلىشىش سالاھىيەت تەكشۈرۈش باسقۇچىدا.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="42"/>
|
||||
+ <source>Internel error.</source>
|
||||
+ <translation>ئىچكى خاتالىق.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="45"/>
|
||||
+ <source>Unknown error.</source>
|
||||
+ <translation>نامەلۇم خاتالىق.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/error.cpp" line="49"/>
|
||||
+ <source> (error code: 0x%x)</source>
|
||||
+ <translation>( خاتا كود : %0x )</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="172"/>
|
||||
+ <source>Enrollment completed successfully.</source>
|
||||
+ <translation>تىزىملىتىش مۇۋەپپەقىيەتلىك تاماملاندى.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="174"/>
|
||||
+ <source>Enrollment failed.</source>
|
||||
+ <translation>تىزىملىتىش مەغلۇپ بولدى.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="176"/>
|
||||
+ <source>Enroll stage passed.</source>
|
||||
+ <translation>تىزىملىتىش باسقۇچىدىن ئۆتتى.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="179"/>
|
||||
+ <source>The enrollment scan did not succeed, please retry it.</source>
|
||||
+ <translation>رويخەتكە ئالدۇرغان تەسۋىر كۆچۈرۈش مۇۋەپپەقىيەتلىك بولمىدى، قايتا سىناڭ.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="181"/>
|
||||
+ <source>The finger swipe was too short, please retry it.</source>
|
||||
+ <translation>بارماقنىڭ سىيرىلىشى بەك قىسقا، قايتا سىناڭ.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="183"/>
|
||||
+ <source>The finger was not centered on the scanner, please retry it.</source>
|
||||
+ <translation>بارماق سكاننېرنىڭ مەركىزىدە ئەمەس، قايتا سىناڭ.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="185"/>
|
||||
+ <source>Unknown enrollment error.</source>
|
||||
+ <translation>نامەلۇم تىزىملاش خاتالىقى</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="195"/>
|
||||
+ <source>Feature not match.</source>
|
||||
+ <translation>ئىقتىدارى ماس كەلمىدى.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="197"/>
|
||||
+ <source>Feature matching successed.</source>
|
||||
+ <translation>ئالاھىدىلىكى ماسلاشتۇرۇش مۇۋەپپەقىيەتلىك بولدى.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="199"/>
|
||||
+ <source>Feature not match, please retry it.</source>
|
||||
+ <translation>ئىقتىدارى ماس كەلمىدى، قايتا سىناڭ.</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/daemon/utils.cpp" line="202"/>
|
||||
+ <source>Unknown verfication error.</source>
|
||||
+ <translation>نامەلۇم دەلىللەش خاتالىقى.</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/pam_kiran_authentication.bo_CN.ts b/translations/pam_kiran_authentication.bo_CN.ts
|
||||
new file mode 100644
|
||||
index 0000000..826ab9f
|
||||
--- /dev/null
|
||||
+++ b/translations/pam_kiran_authentication.bo_CN.ts
|
||||
@@ -0,0 +1,17 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication-terminal.cpp" line="34"/>
|
||||
+ <source>Select Authentication type (%1 default, %2 password, %3 fingerprint): </source>
|
||||
+ <translation>ཐོབ་ཐང་ཞིབ་བཤེར་གྱི་རིགས(1%ཡི་ཁས་ལེན།2%ཡི་གསང་བའི་ཨང་གྲངས།3%གྱི་མཛུབ་རིས་གདམ་དགོས།)</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication.cpp" line="102"/>
|
||||
+ <source>Too many authentication failures, so the authentication mode is locked.</source>
|
||||
+ <translation>ཐོབ་ཐང་ཞིབ་བཤེར་གྱི་ཕམ་ཁ་མང་བས།ཐོབ་ཐང་ཞིབ་བཤེར་གྱི་རྣམ་པ་གཏན་འཁེལ་བྱས།</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/pam_kiran_authentication.kk_KZ.ts b/translations/pam_kiran_authentication.kk_KZ.ts
|
||||
new file mode 100644
|
||||
index 0000000..8e73c39
|
||||
--- /dev/null
|
||||
+++ b/translations/pam_kiran_authentication.kk_KZ.ts
|
||||
@@ -0,0 +1,17 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication-terminal.cpp" line="34"/>
|
||||
+ <source>Select Authentication type (%1 default, %2 password, %3 fingerprint): </source>
|
||||
+ <translation>% 1 түпнұсқалық растама түрі% 1 әдепкі мәні% 2 паролі% 3 саусақ ізін таңдаңыз</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication.cpp" line="102"/>
|
||||
+ <source>Too many authentication failures, so the authentication mode is locked.</source>
|
||||
+ <translation>Аутентификация тым көп сәтсіз аяқталды, сондықтан аутентификация режимі құлыпталған</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/pam_kiran_authentication.ky_KG.ts b/translations/pam_kiran_authentication.ky_KG.ts
|
||||
new file mode 100644
|
||||
index 0000000..d73b620
|
||||
--- /dev/null
|
||||
+++ b/translations/pam_kiran_authentication.ky_KG.ts
|
||||
@@ -0,0 +1,17 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication-terminal.cpp" line="34"/>
|
||||
+ <source>Select Authentication type (%1 default, %2 password, %3 fingerprint): </source>
|
||||
+ <translation>Sankhani mtundu wotsimikizirika wa mtundu 1 1 Mverani mtengo wa 2% password 3 zolemba zala</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication.cpp" line="102"/>
|
||||
+ <source>Too many authentication failures, so the authentication mode is locked.</source>
|
||||
+ <translation>Инсандык текшерүү өтө көп ката Ошондуктан текшерүү режими кулпуланган</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/pam_kiran_authentication.mn_MN.ts b/translations/pam_kiran_authentication.mn_MN.ts
|
||||
new file mode 100644
|
||||
index 0000000..f9ed721
|
||||
--- /dev/null
|
||||
+++ b/translations/pam_kiran_authentication.mn_MN.ts
|
||||
@@ -0,0 +1,17 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication-terminal.cpp" line="34"/>
|
||||
+ <source>Select Authentication type (%1 default, %2 password, %3 fingerprint): </source>
|
||||
+ <translation>Гэрчлэлийн төрөл% 1 анхдагч% 2 нууц үг% 3 хурууны хээг сонгоно уу</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication.cpp" line="102"/>
|
||||
+ <source>Too many authentication failures, so the authentication mode is locked.</source>
|
||||
+ <translation>Хэт олон баталгаажуулалт амжилтгүй болсон тул гэрчлэх горим түгжигдсэн байна</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
diff --git a/translations/pam_kiran_authentication.ug_CN.ts b/translations/pam_kiran_authentication.ug_CN.ts
|
||||
new file mode 100644
|
||||
index 0000000..b4d32f7
|
||||
--- /dev/null
|
||||
+++ b/translations/pam_kiran_authentication.ug_CN.ts
|
||||
@@ -0,0 +1,17 @@
|
||||
+<?xml version="1.0" encoding="utf-8"?>
|
||||
+<!DOCTYPE TS>
|
||||
+<TS version="2.1" language="zh_CN">
|
||||
+<context>
|
||||
+ <name>QObject</name>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication-terminal.cpp" line="34"/>
|
||||
+ <source>Select Authentication type (%1 default, %2 password, %3 fingerprint): </source>
|
||||
+ <translation>سالاھىيەت تەكشۈرۈش تۈرىنى تاللاش ( %1 كۆڭۈلدىكى قىممەت، %2 مەخپىي نومۇر، %3 بارماق ئىزى) :</translation>
|
||||
+ </message>
|
||||
+ <message>
|
||||
+ <location filename="../src/pam/authentication.cpp" line="102"/>
|
||||
+ <source>Too many authentication failures, so the authentication mode is locked.</source>
|
||||
+ <translation>سالاھىيەت تەكشۈرۈشتە مەغلۇپ بولۇش بەك كۆپ، شۇڭا سالاھىيەت تەكشۈرۈش ئەندىزىسى قۇلۇپلىنىپ قالدى.</translation>
|
||||
+ </message>
|
||||
+</context>
|
||||
+</TS>
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
Name: kiran-authentication-service
|
||||
Version: 2.5.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Kiran Desktop kiran authentication service
|
||||
License: MulanPSL-2.0
|
||||
URL: http://www.kylinsec.com.cn
|
||||
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
Patch: 0001-fix-translate-add-some-translation.patch
|
||||
|
||||
BuildRequires: systemd
|
||||
BuildRequires: systemd-devel
|
||||
BuildRequires: gcc
|
||||
@ -56,14 +58,27 @@ make %{?_smp_mflags} V=1
|
||||
%{_prefix}/lib/systemd/system/kiran-authentication-daemon.service
|
||||
%{_sysconfdir}/kiran-authentication-service/kad.ini
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.zh_CN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.bo_CN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.kk_KZ.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.ky_KG.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.mn_MN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.ug_CN.qm
|
||||
%{_bindir}/kiran-authentication-daemon
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.zh_CN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.bo_CN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.kk_KZ.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.ky_KG.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.mn_MN.qm
|
||||
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.ug_CN.qm
|
||||
%{_libdir}/security/pam_kiran_authentication.so
|
||||
|
||||
%files devel
|
||||
%{_includedir}/kiran-authentication-service/kas-authentication-i.h
|
||||
|
||||
%changelog
|
||||
* Sat Apr 08 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.5.0-2
|
||||
- KYOS-T: add some translation
|
||||
|
||||
* Tue Apr 04 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.0-1
|
||||
- KYOS-F: New version authentication service
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user