fix gio-unix-2.0 include error

This commit is contained in:
winnerym 2023-04-26 21:33:39 +08:00
parent 55d46ae713
commit f447019cc4
14 changed files with 405 additions and 309 deletions

View File

@ -28,7 +28,7 @@ include ($$PWD/qt-solutions/qtsingleapplication/src/qtsingleapplication.pri)
TARGET = biometric-manager
TEMPLATE = app
CONFIG += c++11 link_pkgconfig
PKGCONFIG += x11 gsettings-qt gio-2.0 kysdk-waylandhelper kysdk-qtwidgets
PKGCONFIG += x11 gsettings-qt gio-2.0 gio-unix-2.0 kysdk-waylandhelper kysdk-qtwidgets kysdk-sysinfo
SOURCES += src/main.cpp\
src/lightlabel.cpp \

View File

@ -462,277 +462,294 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="463"/>
<location filename="../src/mainwindow.ui" line="493"/>
<location filename="../src/mainwindow.ui" line="704"/>
<location filename="../src/mainwindow.ui" line="734"/>
<source>TextLabel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="644"/>
<location filename="../src/mainwindow.ui" line="885"/>
<source>Permisions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="714"/>
<location filename="../src/mainwindow.cpp" line="316"/>
<location filename="../src/mainwindow.cpp" line="416"/>
<location filename="../src/mainwindow.ui" line="255"/>
<location filename="../src/mainwindow.ui" line="955"/>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="418"/>
<source>Biometric</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="160"/>
<location filename="../src/mainwindow.cpp" line="158"/>
<source>After this function is enabled, it can be used for system authentication, including login, screen lock, system authorization, and Polkit.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="797"/>
<location filename="../src/mainwindow.ui" line="1038"/>
<source>Biometrics will be used to:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="838"/>
<location filename="../src/mainwindow.ui" line="1079"/>
<source>Login system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="908"/>
<location filename="../src/mainwindow.ui" line="1149"/>
<source>Unlock the lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="981"/>
<location filename="../src/mainwindow.ui" line="1222"/>
<source>System authorization</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1118"/>
<location filename="../src/mainwindow.ui" line="1359"/>
<source>Seletct Device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1261"/>
<location filename="../src/mainwindow.ui" line="1502"/>
<source>Fingerprint recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1316"/>
<location filename="../src/mainwindow.ui" line="1649"/>
<location filename="../src/mainwindow.ui" line="1979"/>
<location filename="../src/mainwindow.ui" line="2309"/>
<location filename="../src/mainwindow.ui" line="2639"/>
<location filename="../src/mainwindow.ui" line="1557"/>
<location filename="../src/mainwindow.ui" line="1890"/>
<location filename="../src/mainwindow.ui" line="2220"/>
<location filename="../src/mainwindow.ui" line="2550"/>
<location filename="../src/mainwindow.ui" line="2880"/>
<source>Device Management</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1415"/>
<location filename="../src/mainwindow.ui" line="1656"/>
<source>Face Recognition </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1457"/>
<location filename="../src/mainwindow.ui" line="1790"/>
<location filename="../src/mainwindow.ui" line="2120"/>
<location filename="../src/mainwindow.ui" line="2450"/>
<location filename="../src/mainwindow.ui" line="1698"/>
<location filename="../src/mainwindow.ui" line="2031"/>
<location filename="../src/mainwindow.ui" line="2361"/>
<location filename="../src/mainwindow.ui" line="2691"/>
<source>Select Device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1597"/>
<location filename="../src/mainwindow.ui" line="1838"/>
<source>Face recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1748"/>
<location filename="../src/mainwindow.ui" line="1989"/>
<source>Fingervein</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1927"/>
<location filename="../src/mainwindow.ui" line="2168"/>
<source>Fingervein recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2078"/>
<location filename="../src/mainwindow.ui" line="2319"/>
<source>Iris Recognition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2257"/>
<location filename="../src/mainwindow.ui" line="2498"/>
<source>Iric recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2408"/>
<location filename="../src/mainwindow.ui" line="2649"/>
<source>Voiceprint</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2587"/>
<location filename="../src/mainwindow.ui" line="2828"/>
<source>Voiceprint recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="163"/>
<location filename="../src/mainwindow.ui" line="153"/>
<source>Biometirc Manager</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1076"/>
<location filename="../src/mainwindow.cpp" line="420"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="315"/>
<location filename="../src/mainwindow.ui" line="1317"/>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerPrint</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="412"/>
<location filename="../src/mainwindow.ui" line="191"/>
<location filename="../src/mainwindow.cpp" line="414"/>
<source>Device&amp;Permission</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="413"/>
<location filename="../src/mainwindow.ui" line="224"/>
<location filename="../src/mainwindow.cpp" line="415"/>
<source>Permissions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="419"/>
<location filename="../src/mainwindow.ui" line="285"/>
<location filename="../src/mainwindow.cpp" line="421"/>
<source>Password Setting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="365"/>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerVein</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="390"/>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>Iris</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="340"/>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>Face</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="349"/>
<location filename="../src/mainwindow.cpp" line="188"/>
<location filename="../src/mainwindow.cpp" line="351"/>
<location filename="../src/mainwindow.cpp" line="542"/>
<source>Maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="360"/>
<location filename="../src/mainwindow.cpp" line="362"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="415"/>
<location filename="../src/mainwindow.cpp" line="430"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>VoicePrint</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="564"/>
<location filename="../src/mainwindow.cpp" line="568"/>
<source>Restart Service</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="569"/>
<location filename="../src/mainwindow.cpp" line="573"/>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="315"/>
<location filename="../src/mainwindow.cpp" line="572"/>
<location filename="../src/mainwindow.cpp" line="317"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<source>Biometric Manager</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="193"/>
<location filename="../src/mainwindow.cpp" line="546"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="320"/>
<source>Select Device Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="341"/>
<location filename="../src/mainwindow.cpp" line="343"/>
<source>Minimize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="368"/>
<location filename="../src/mainwindow.cpp" line="370"/>
<source>Close</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="582"/>
<location filename="../src/mainwindow.cpp" line="586"/>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="587"/>
<location filename="../src/mainwindow.cpp" line="591"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="947"/>
<location filename="../src/mainwindow.cpp" line="1495"/>
<location filename="../src/mainwindow.cpp" line="951"/>
<location filename="../src/mainwindow.cpp" line="1499"/>
<source>(default) </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Default</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Name</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Status</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Driver</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1596"/>
<location filename="../src/mainwindow.cpp" line="1600"/>
<source>Fail to change device status</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1597"/>
<location filename="../src/mainwindow.cpp" line="1643"/>
<location filename="../src/mainwindow.cpp" line="1601"/>
<location filename="../src/mainwindow.cpp" line="1647"/>
<location filename="../src/mainwindow.cpp" line="1651"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1642"/>
<location filename="../src/mainwindow.cpp" line="1646"/>
<source>The service has restarted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1646"/>
<location filename="../src/mainwindow.cpp" line="1650"/>
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1845"/>
<location filename="../src/mainwindow.cpp" line="1849"/>
<source>Connected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1857"/>
<location filename="../src/mainwindow.cpp" line="1861"/>
<source>Unconnected</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1861"/>
<location filename="../src/mainwindow.cpp" line="1865"/>
<source>disable</source>
<translation type="unfinished"></translation>
</message>
@ -898,23 +915,23 @@ Please authenticate yourself to continue</source>
<context>
<name>QObject</name>
<message>
<location filename="../src/main.cpp" line="52"/>
<location filename="../src/main.cpp" line="53"/>
<source>Username</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main.cpp" line="164"/>
<location filename="../src/main.cpp" line="165"/>
<source>the biometric-authentication service was not started</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main.cpp" line="165"/>
<location filename="../src/main.cpp" line="175"/>
<location filename="../src/main.cpp" line="166"/>
<location filename="../src/main.cpp" line="176"/>
<source>OK</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/main.cpp" line="174"/>
<location filename="../src/main.cpp" line="175"/>
<source>API version is not compatible</source>
<translation type="unfinished"></translation>
</message>

View File

@ -845,8 +845,8 @@ p, li { white-space: pre-wrap; }
<context>
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.cpp" line="315"/>
<location filename="../src/mainwindow.cpp" line="572"/>
<location filename="../src/mainwindow.cpp" line="317"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<source>Biometric Manager</source>
<translation></translation>
</message>
@ -891,11 +891,11 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1316"/>
<location filename="../src/mainwindow.ui" line="1649"/>
<location filename="../src/mainwindow.ui" line="1979"/>
<location filename="../src/mainwindow.ui" line="2309"/>
<location filename="../src/mainwindow.ui" line="2639"/>
<location filename="../src/mainwindow.ui" line="1557"/>
<location filename="../src/mainwindow.ui" line="1890"/>
<location filename="../src/mainwindow.ui" line="2220"/>
<location filename="../src/mainwindow.ui" line="2550"/>
<location filename="../src/mainwindow.ui" line="2880"/>
<source>Device Management</source>
<translation></translation>
</message>
@ -921,13 +921,13 @@ p, li { white-space: pre-wrap; }
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="463"/>
<location filename="../src/mainwindow.ui" line="493"/>
<location filename="../src/mainwindow.ui" line="704"/>
<location filename="../src/mainwindow.ui" line="734"/>
<source>TextLabel</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="163"/>
<location filename="../src/mainwindow.ui" line="153"/>
<source>Biometirc Manager</source>
<translation></translation>
</message>
@ -936,132 +936,140 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="714"/>
<location filename="../src/mainwindow.cpp" line="316"/>
<location filename="../src/mainwindow.cpp" line="416"/>
<location filename="../src/mainwindow.ui" line="255"/>
<location filename="../src/mainwindow.ui" line="955"/>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="418"/>
<source>Biometric</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1076"/>
<location filename="../src/mainwindow.cpp" line="420"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="315"/>
<location filename="../src/mainwindow.ui" line="1317"/>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerPrint</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="365"/>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerVein</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="340"/>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>Face</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="644"/>
<location filename="../src/mainwindow.ui" line="885"/>
<source>Permisions</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="160"/>
<location filename="../src/mainwindow.cpp" line="158"/>
<source>After this function is enabled, it can be used for system authentication, including login, screen lock, system authorization, and Polkit.</source>
<translation> Polkitབཅས</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="797"/>
<location filename="../src/mainwindow.ui" line="1038"/>
<source>Biometrics will be used to:</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="838"/>
<location filename="../src/mainwindow.ui" line="1079"/>
<source>Login system</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="908"/>
<location filename="../src/mainwindow.ui" line="1149"/>
<source>Unlock the lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="981"/>
<location filename="../src/mainwindow.ui" line="1222"/>
<source>System authorization</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1118"/>
<location filename="../src/mainwindow.ui" line="1359"/>
<source>Seletct Device</source>
<translation>Seletctསྒྲིག</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1261"/>
<location filename="../src/mainwindow.ui" line="1502"/>
<source>Fingerprint recognition is not available. No device supporting this feature was detected.</source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1415"/>
<location filename="../src/mainwindow.ui" line="1656"/>
<source>Face Recognition </source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1457"/>
<location filename="../src/mainwindow.ui" line="1790"/>
<location filename="../src/mainwindow.ui" line="2120"/>
<location filename="../src/mainwindow.ui" line="2450"/>
<location filename="../src/mainwindow.ui" line="1698"/>
<location filename="../src/mainwindow.ui" line="2031"/>
<location filename="../src/mainwindow.ui" line="2361"/>
<location filename="../src/mainwindow.ui" line="2691"/>
<source>Select Device</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1597"/>
<location filename="../src/mainwindow.ui" line="1838"/>
<source>Face recognition is not available. No device supporting this feature was detected.</source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1927"/>
<location filename="../src/mainwindow.ui" line="2168"/>
<source>Fingervein recognition is not available. No device supporting this feature was detected.</source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2078"/>
<location filename="../src/mainwindow.ui" line="2319"/>
<source>Iris Recognition</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2257"/>
<location filename="../src/mainwindow.ui" line="2498"/>
<source>Iric recognition is not available. No device supporting this feature was detected.</source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2408"/>
<location filename="../src/mainwindow.ui" line="2649"/>
<source>Voiceprint</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2587"/>
<location filename="../src/mainwindow.ui" line="2828"/>
<source>Voiceprint recognition is not available. No device supporting this feature was detected.</source>
<translation> </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="412"/>
<location filename="../src/mainwindow.ui" line="191"/>
<location filename="../src/mainwindow.cpp" line="414"/>
<source>Device&amp;Permission</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="413"/>
<location filename="../src/mainwindow.ui" line="224"/>
<location filename="../src/mainwindow.cpp" line="415"/>
<source>Permissions</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="419"/>
<location filename="../src/mainwindow.ui" line="285"/>
<location filename="../src/mainwindow.cpp" line="421"/>
<source>Password Setting</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="415"/>
<location filename="../src/mainwindow.cpp" line="430"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>VoicePrint</source>
<translation></translation>
</message>
@ -1090,13 +1098,14 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1748"/>
<location filename="../src/mainwindow.ui" line="1989"/>
<source>Fingervein</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="390"/>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>Iris</source>
<translation></translation>
</message>
@ -1113,7 +1122,7 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete">API </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="569"/>
<location filename="../src/mainwindow.cpp" line="573"/>
<source>About</source>
<translation></translation>
</message>
@ -1142,12 +1151,12 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"> 使 1. 2. 3. 4. </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="341"/>
<location filename="../src/mainwindow.cpp" line="343"/>
<source>Minimize</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="368"/>
<location filename="../src/mainwindow.cpp" line="370"/>
<source>Close</source>
<translation></translation>
</message>
@ -1160,12 +1169,12 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="582"/>
<location filename="../src/mainwindow.cpp" line="586"/>
<source>Exit</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="587"/>
<location filename="../src/mainwindow.cpp" line="591"/>
<source>Help</source>
<translation></translation>
</message>
@ -1174,70 +1183,78 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">使 1. 2. 3. 4.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="947"/>
<location filename="../src/mainwindow.cpp" line="1495"/>
<location filename="../src/mainwindow.cpp" line="951"/>
<location filename="../src/mainwindow.cpp" line="1499"/>
<source>(default) </source>
<translation>() </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Status</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Driver</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Default</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1642"/>
<location filename="../src/mainwindow.cpp" line="1646"/>
<source>The service has restarted.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1646"/>
<location filename="../src/mainwindow.cpp" line="1650"/>
<source>Service restart failure.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1597"/>
<location filename="../src/mainwindow.cpp" line="1643"/>
<location filename="../src/mainwindow.cpp" line="1601"/>
<location filename="../src/mainwindow.cpp" line="1647"/>
<location filename="../src/mainwindow.cpp" line="1651"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="349"/>
<location filename="../src/mainwindow.cpp" line="188"/>
<location filename="../src/mainwindow.cpp" line="351"/>
<location filename="../src/mainwindow.cpp" line="542"/>
<source>Maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="360"/>
<location filename="../src/mainwindow.cpp" line="193"/>
<location filename="../src/mainwindow.cpp" line="546"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="362"/>
<source>Options</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1845"/>
<location filename="../src/mainwindow.cpp" line="1849"/>
<source>Connected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1857"/>
<location filename="../src/mainwindow.cpp" line="1861"/>
<source>Unconnected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1861"/>
<location filename="../src/mainwindow.cpp" line="1865"/>
<source>disable</source>
<translation></translation>
</message>
@ -1246,17 +1263,17 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1596"/>
<location filename="../src/mainwindow.cpp" line="1600"/>
<source>Fail to change device status</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="320"/>
<source>Select Device Type</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="564"/>
<location filename="../src/mainwindow.cpp" line="568"/>
<source>Restart Service</source>
<translation></translation>
</message>
@ -1479,7 +1496,7 @@ Please authenticate yourself to continue</source>
<context>
<name>QObject</name>
<message>
<location filename="../src/main.cpp" line="52"/>
<location filename="../src/main.cpp" line="53"/>
<source>Username</source>
<translation></translation>
</message>
@ -1488,18 +1505,18 @@ Please authenticate yourself to continue</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/main.cpp" line="164"/>
<location filename="../src/main.cpp" line="165"/>
<source>the biometric-authentication service was not started</source>
<translation></translation>
</message>
<message>
<location filename="../src/main.cpp" line="165"/>
<location filename="../src/main.cpp" line="175"/>
<location filename="../src/main.cpp" line="166"/>
<location filename="../src/main.cpp" line="176"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../src/main.cpp" line="174"/>
<location filename="../src/main.cpp" line="175"/>
<source>API version is not compatible</source>
<translation>APIཔར</translation>
</message>

View File

@ -776,6 +776,10 @@ p, li { white-space: pre-wrap; }
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MessageDialog</name>

View File

@ -776,6 +776,10 @@ p, li { white-space: pre-wrap; }
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MessageDialog</name>

View File

@ -776,6 +776,10 @@ p, li { white-space: pre-wrap; }
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MessageDialog</name>

View File

@ -776,6 +776,10 @@ p, li { white-space: pre-wrap; }
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MessageDialog</name>

View File

@ -837,8 +837,8 @@ p, li { white-space: pre-wrap; }
<context>
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.cpp" line="315"/>
<location filename="../src/mainwindow.cpp" line="572"/>
<location filename="../src/mainwindow.cpp" line="317"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<source>Biometric Manager</source>
<translation type="unfinished"></translation>
</message>
@ -883,11 +883,11 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete">Göz Aygıtı Sürücüsü</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1316"/>
<location filename="../src/mainwindow.ui" line="1649"/>
<location filename="../src/mainwindow.ui" line="1979"/>
<location filename="../src/mainwindow.ui" line="2309"/>
<location filename="../src/mainwindow.ui" line="2639"/>
<location filename="../src/mainwindow.ui" line="1557"/>
<location filename="../src/mainwindow.ui" line="1890"/>
<location filename="../src/mainwindow.ui" line="2220"/>
<location filename="../src/mainwindow.ui" line="2550"/>
<location filename="../src/mainwindow.ui" line="2880"/>
<source>Device Management</source>
<translation type="unfinished">Aygıt Yönetimi</translation>
</message>
@ -913,103 +913,104 @@ p, li { white-space: pre-wrap; }
<translation>Biyometrik Yönetici</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="463"/>
<location filename="../src/mainwindow.ui" line="493"/>
<location filename="../src/mainwindow.ui" line="704"/>
<location filename="../src/mainwindow.ui" line="734"/>
<source>TextLabel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="644"/>
<location filename="../src/mainwindow.ui" line="885"/>
<source>Permisions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="714"/>
<location filename="../src/mainwindow.cpp" line="316"/>
<location filename="../src/mainwindow.cpp" line="416"/>
<location filename="../src/mainwindow.ui" line="255"/>
<location filename="../src/mainwindow.ui" line="955"/>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="418"/>
<source>Biometric</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="160"/>
<location filename="../src/mainwindow.cpp" line="158"/>
<source>After this function is enabled, it can be used for system authentication, including login, screen lock, system authorization, and Polkit.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="797"/>
<location filename="../src/mainwindow.ui" line="1038"/>
<source>Biometrics will be used to:</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="838"/>
<location filename="../src/mainwindow.ui" line="1079"/>
<source>Login system</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="908"/>
<location filename="../src/mainwindow.ui" line="1149"/>
<source>Unlock the lock screen</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="981"/>
<location filename="../src/mainwindow.ui" line="1222"/>
<source>System authorization</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1118"/>
<location filename="../src/mainwindow.ui" line="1359"/>
<source>Seletct Device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1261"/>
<location filename="../src/mainwindow.ui" line="1502"/>
<source>Fingerprint recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1415"/>
<location filename="../src/mainwindow.ui" line="1656"/>
<source>Face Recognition </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1457"/>
<location filename="../src/mainwindow.ui" line="1790"/>
<location filename="../src/mainwindow.ui" line="2120"/>
<location filename="../src/mainwindow.ui" line="2450"/>
<location filename="../src/mainwindow.ui" line="1698"/>
<location filename="../src/mainwindow.ui" line="2031"/>
<location filename="../src/mainwindow.ui" line="2361"/>
<location filename="../src/mainwindow.ui" line="2691"/>
<source>Select Device</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1597"/>
<location filename="../src/mainwindow.ui" line="1838"/>
<source>Face recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1927"/>
<location filename="../src/mainwindow.ui" line="2168"/>
<source>Fingervein recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2078"/>
<location filename="../src/mainwindow.ui" line="2319"/>
<source>Iris Recognition</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2257"/>
<location filename="../src/mainwindow.ui" line="2498"/>
<source>Iric recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2408"/>
<location filename="../src/mainwindow.ui" line="2649"/>
<source>Voiceprint</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2587"/>
<location filename="../src/mainwindow.ui" line="2828"/>
<source>Voiceprint recognition is not available. No device supporting this feature was detected.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="163"/>
<location filename="../src/mainwindow.ui" line="153"/>
<source>Biometirc Manager</source>
<translation>Biyometrik Yönetici</translation>
</message>
@ -1022,52 +1023,61 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">Gösterge Paneli</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1076"/>
<location filename="../src/mainwindow.cpp" line="420"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="315"/>
<location filename="../src/mainwindow.ui" line="1317"/>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerPrint</source>
<translation>Parmak İzi</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="412"/>
<location filename="../src/mainwindow.ui" line="191"/>
<location filename="../src/mainwindow.cpp" line="414"/>
<source>Device&amp;Permission</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="413"/>
<location filename="../src/mainwindow.ui" line="224"/>
<location filename="../src/mainwindow.cpp" line="415"/>
<source>Permissions</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="419"/>
<location filename="../src/mainwindow.ui" line="285"/>
<location filename="../src/mainwindow.cpp" line="421"/>
<source>Password Setting</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="365"/>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerVein</source>
<translation>Damar İzi</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="340"/>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>Face</source>
<translation type="unfinished">Yüz Tanıma</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="349"/>
<location filename="../src/mainwindow.cpp" line="188"/>
<location filename="../src/mainwindow.cpp" line="351"/>
<location filename="../src/mainwindow.cpp" line="542"/>
<source>Maximize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="360"/>
<location filename="../src/mainwindow.cpp" line="362"/>
<source>Options</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="415"/>
<location filename="../src/mainwindow.cpp" line="430"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>VoicePrint</source>
<translation>Ses İzi</translation>
</message>
@ -1100,13 +1110,14 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">Sürücü Bulunamadı</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1748"/>
<location filename="../src/mainwindow.ui" line="1989"/>
<source>Fingervein</source>
<translation type="unfinished">Damar İzi</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="390"/>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>Iris</source>
<translation>Göz</translation>
</message>
@ -1123,7 +1134,7 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete">API sürümü uyumlu değil</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="569"/>
<location filename="../src/mainwindow.cpp" line="573"/>
<source>About</source>
<translation>Hakkında</translation>
</message>
@ -1156,39 +1167,39 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">Sürücü Durumu</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Default</source>
<translation>Varsayılan</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1597"/>
<location filename="../src/mainwindow.cpp" line="1643"/>
<location filename="../src/mainwindow.cpp" line="1601"/>
<location filename="../src/mainwindow.cpp" line="1647"/>
<location filename="../src/mainwindow.cpp" line="1651"/>
<source>OK</source>
<translation type="unfinished">Tamam</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1642"/>
<location filename="../src/mainwindow.cpp" line="1646"/>
<source>The service has restarted.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1646"/>
<location filename="../src/mainwindow.cpp" line="1650"/>
<source>Service restart failure.</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1845"/>
<location filename="../src/mainwindow.cpp" line="1849"/>
<source>Connected</source>
<translation>Bağlandı</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1857"/>
<location filename="../src/mainwindow.cpp" line="1861"/>
<source>Unconnected</source>
<translation>Bağlı Değil</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1861"/>
<location filename="../src/mainwindow.cpp" line="1865"/>
<source>disable</source>
<translation type="unfinished"></translation>
</message>
@ -1197,58 +1208,64 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">Hizmet Durdu</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Status</source>
<translation type="unfinished">Durum</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="320"/>
<source>Select Device Type</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="341"/>
<location filename="../src/mainwindow.cpp" line="193"/>
<location filename="../src/mainwindow.cpp" line="546"/>
<source>Restore</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="343"/>
<source>Minimize</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="368"/>
<location filename="../src/mainwindow.cpp" line="370"/>
<source>Close</source>
<translation type="unfinished">Kapat</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="582"/>
<location filename="../src/mainwindow.cpp" line="586"/>
<source>Exit</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="587"/>
<location filename="../src/mainwindow.cpp" line="591"/>
<source>Help</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="947"/>
<location filename="../src/mainwindow.cpp" line="1495"/>
<location filename="../src/mainwindow.cpp" line="951"/>
<location filename="../src/mainwindow.cpp" line="1499"/>
<source>(default) </source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Name</source>
<translation type="unfinished">İsim</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Driver</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1596"/>
<location filename="../src/mainwindow.cpp" line="1600"/>
<source>Fail to change device status</source>
<translation>Cihaz durumu değiştirilemedi</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="564"/>
<location filename="../src/mainwindow.cpp" line="568"/>
<source>Restart Service</source>
<translation>Servisi yeniden başlat</translation>
</message>
@ -1471,7 +1488,7 @@ Lütfen devam etmek için kendinizi doğrulayın</translation>
<context>
<name>QObject</name>
<message>
<location filename="../src/main.cpp" line="52"/>
<location filename="../src/main.cpp" line="53"/>
<source>Username</source>
<translation>Kullanıcı Adı</translation>
</message>
@ -1480,18 +1497,18 @@ Lütfen devam etmek için kendinizi doğrulayın</translation>
<translation type="vanished">Ölümcül Hata</translation>
</message>
<message>
<location filename="../src/main.cpp" line="164"/>
<location filename="../src/main.cpp" line="165"/>
<source>the biometric-authentication service was not started</source>
<translation>biyometrik kimlik doğrulama hizmeti başlatılmadı</translation>
</message>
<message>
<location filename="../src/main.cpp" line="165"/>
<location filename="../src/main.cpp" line="175"/>
<location filename="../src/main.cpp" line="166"/>
<location filename="../src/main.cpp" line="176"/>
<source>OK</source>
<translation type="unfinished">Tamam</translation>
</message>
<message>
<location filename="../src/main.cpp" line="174"/>
<location filename="../src/main.cpp" line="175"/>
<source>API version is not compatible</source>
<translation>API sürümü uyumlu değil</translation>
</message>

View File

@ -841,8 +841,8 @@ p, li { white-space: pre-wrap; }
<context>
<name>MainWindow</name>
<message>
<location filename="../src/mainwindow.cpp" line="315"/>
<location filename="../src/mainwindow.cpp" line="572"/>
<location filename="../src/mainwindow.cpp" line="317"/>
<location filename="../src/mainwindow.cpp" line="576"/>
<source>Biometric Manager</source>
<translation></translation>
</message>
@ -887,11 +887,11 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1316"/>
<location filename="../src/mainwindow.ui" line="1649"/>
<location filename="../src/mainwindow.ui" line="1979"/>
<location filename="../src/mainwindow.ui" line="2309"/>
<location filename="../src/mainwindow.ui" line="2639"/>
<location filename="../src/mainwindow.ui" line="1557"/>
<location filename="../src/mainwindow.ui" line="1890"/>
<location filename="../src/mainwindow.ui" line="2220"/>
<location filename="../src/mainwindow.ui" line="2550"/>
<location filename="../src/mainwindow.ui" line="2880"/>
<source>Device Management</source>
<translation></translation>
</message>
@ -914,16 +914,16 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/mainwindow.ui" line="20"/>
<source>BiometricManager</source>
<translation></translation>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="463"/>
<location filename="../src/mainwindow.ui" line="493"/>
<location filename="../src/mainwindow.ui" line="704"/>
<location filename="../src/mainwindow.ui" line="734"/>
<source>TextLabel</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="163"/>
<location filename="../src/mainwindow.ui" line="153"/>
<source>Biometirc Manager</source>
<translation></translation>
</message>
@ -932,132 +932,140 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="714"/>
<location filename="../src/mainwindow.cpp" line="316"/>
<location filename="../src/mainwindow.cpp" line="416"/>
<location filename="../src/mainwindow.ui" line="255"/>
<location filename="../src/mainwindow.ui" line="955"/>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="418"/>
<source>Biometric</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1076"/>
<location filename="../src/mainwindow.cpp" line="420"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="315"/>
<location filename="../src/mainwindow.ui" line="1317"/>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerPrint</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="365"/>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>FingerVein</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="422"/>
<location filename="../src/mainwindow.cpp" line="1226"/>
<location filename="../src/mainwindow.ui" line="340"/>
<location filename="../src/mainwindow.cpp" line="424"/>
<location filename="../src/mainwindow.cpp" line="1230"/>
<source>Face</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="644"/>
<location filename="../src/mainwindow.ui" line="885"/>
<source>Permisions</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="160"/>
<location filename="../src/mainwindow.cpp" line="158"/>
<source>After this function is enabled, it can be used for system authentication, including login, screen lock, system authorization, and Polkit.</source>
<translation>Polkit</translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="797"/>
<location filename="../src/mainwindow.ui" line="1038"/>
<source>Biometrics will be used to:</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="838"/>
<location filename="../src/mainwindow.ui" line="1079"/>
<source>Login system</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="908"/>
<location filename="../src/mainwindow.ui" line="1149"/>
<source>Unlock the lock screen</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="981"/>
<location filename="../src/mainwindow.ui" line="1222"/>
<source>System authorization</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1118"/>
<location filename="../src/mainwindow.ui" line="1359"/>
<source>Seletct Device</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1261"/>
<location filename="../src/mainwindow.ui" line="1502"/>
<source>Fingerprint recognition is not available. No device supporting this feature was detected.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1415"/>
<location filename="../src/mainwindow.ui" line="1656"/>
<source>Face Recognition </source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1457"/>
<location filename="../src/mainwindow.ui" line="1790"/>
<location filename="../src/mainwindow.ui" line="2120"/>
<location filename="../src/mainwindow.ui" line="2450"/>
<location filename="../src/mainwindow.ui" line="1698"/>
<location filename="../src/mainwindow.ui" line="2031"/>
<location filename="../src/mainwindow.ui" line="2361"/>
<location filename="../src/mainwindow.ui" line="2691"/>
<source>Select Device</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1597"/>
<location filename="../src/mainwindow.ui" line="1838"/>
<source>Face recognition is not available. No device supporting this feature was detected.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1927"/>
<location filename="../src/mainwindow.ui" line="2168"/>
<source>Fingervein recognition is not available. No device supporting this feature was detected.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2078"/>
<location filename="../src/mainwindow.ui" line="2319"/>
<source>Iris Recognition</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2257"/>
<location filename="../src/mainwindow.ui" line="2498"/>
<source>Iric recognition is not available. No device supporting this feature was detected.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2408"/>
<location filename="../src/mainwindow.ui" line="2649"/>
<source>Voiceprint</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="2587"/>
<location filename="../src/mainwindow.ui" line="2828"/>
<source>Voiceprint recognition is not available. No device supporting this feature was detected.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="412"/>
<location filename="../src/mainwindow.ui" line="191"/>
<location filename="../src/mainwindow.cpp" line="414"/>
<source>Device&amp;Permission</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="413"/>
<location filename="../src/mainwindow.ui" line="224"/>
<location filename="../src/mainwindow.cpp" line="415"/>
<source>Permissions</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="419"/>
<location filename="../src/mainwindow.ui" line="285"/>
<location filename="../src/mainwindow.cpp" line="421"/>
<source>Password Setting</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="415"/>
<location filename="../src/mainwindow.cpp" line="430"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>VoicePrint</source>
<translation></translation>
</message>
@ -1086,13 +1094,14 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.ui" line="1748"/>
<location filename="../src/mainwindow.ui" line="1989"/>
<source>Fingervein</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="426"/>
<location filename="../src/mainwindow.cpp" line="1227"/>
<location filename="../src/mainwindow.ui" line="390"/>
<location filename="../src/mainwindow.cpp" line="428"/>
<location filename="../src/mainwindow.cpp" line="1231"/>
<source>Iris</source>
<translation></translation>
</message>
@ -1109,7 +1118,7 @@ p, li { white-space: pre-wrap; }
<translation type="obsolete">API </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="569"/>
<location filename="../src/mainwindow.cpp" line="573"/>
<source>About</source>
<translation></translation>
</message>
@ -1138,22 +1147,30 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"> 使 1. 2. 3. 4. </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="341"/>
<location filename="../src/mainwindow.cpp" line="343"/>
<source>Minimize</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="349"/>
<location filename="../src/mainwindow.cpp" line="188"/>
<location filename="../src/mainwindow.cpp" line="351"/>
<location filename="../src/mainwindow.cpp" line="542"/>
<source>Maximize</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="360"/>
<location filename="../src/mainwindow.cpp" line="362"/>
<source>Options</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="368"/>
<location filename="../src/mainwindow.cpp" line="193"/>
<location filename="../src/mainwindow.cpp" line="546"/>
<source>Restore</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="370"/>
<source>Close</source>
<translation></translation>
</message>
@ -1166,12 +1183,12 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="582"/>
<location filename="../src/mainwindow.cpp" line="586"/>
<source>Exit</source>
<translation>退</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="587"/>
<location filename="../src/mainwindow.cpp" line="591"/>
<source>Help</source>
<translation></translation>
</message>
@ -1180,60 +1197,60 @@ p, li { white-space: pre-wrap; }
<translation type="vanished">使 1. 2. 3. 4.</translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="947"/>
<location filename="../src/mainwindow.cpp" line="1495"/>
<location filename="../src/mainwindow.cpp" line="951"/>
<location filename="../src/mainwindow.cpp" line="1499"/>
<source>(default) </source>
<translation>() </translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Name</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Status</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Driver</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1395"/>
<location filename="../src/mainwindow.cpp" line="1399"/>
<source>Default</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1597"/>
<location filename="../src/mainwindow.cpp" line="1643"/>
<location filename="../src/mainwindow.cpp" line="1601"/>
<location filename="../src/mainwindow.cpp" line="1647"/>
<location filename="../src/mainwindow.cpp" line="1651"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1642"/>
<location filename="../src/mainwindow.cpp" line="1646"/>
<source>The service has restarted.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1646"/>
<location filename="../src/mainwindow.cpp" line="1650"/>
<source>Service restart failure.</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1845"/>
<location filename="../src/mainwindow.cpp" line="1849"/>
<source>Connected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1857"/>
<location filename="../src/mainwindow.cpp" line="1861"/>
<source>Unconnected</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1861"/>
<location filename="../src/mainwindow.cpp" line="1865"/>
<source>disable</source>
<translation></translation>
</message>
@ -1242,17 +1259,17 @@ p, li { white-space: pre-wrap; }
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="1596"/>
<location filename="../src/mainwindow.cpp" line="1600"/>
<source>Fail to change device status</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="318"/>
<location filename="../src/mainwindow.cpp" line="320"/>
<source>Select Device Type</source>
<translation></translation>
</message>
<message>
<location filename="../src/mainwindow.cpp" line="564"/>
<location filename="../src/mainwindow.cpp" line="568"/>
<source>Restart Service</source>
<translation></translation>
</message>
@ -1326,7 +1343,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../src/promptdialog.cpp" line="120"/>
<location filename="../src/promptdialog.cpp" line="271"/>
<location filename="../src/promptdialog.cpp" line="685"/>
<location filename="../src/promptdialog.cpp" line="687"/>
<source>Cancel</source>
<translation></translation>
</message>
@ -1482,7 +1499,7 @@ Please authenticate yourself to continue</source>
<context>
<name>QObject</name>
<message>
<location filename="../src/main.cpp" line="52"/>
<location filename="../src/main.cpp" line="53"/>
<source>Username</source>
<translation></translation>
</message>
@ -1491,18 +1508,18 @@ Please authenticate yourself to continue</source>
<translation type="vanished"></translation>
</message>
<message>
<location filename="../src/main.cpp" line="164"/>
<location filename="../src/main.cpp" line="165"/>
<source>the biometric-authentication service was not started</source>
<translation>&apos;biometric-authentication&apos;</translation>
</message>
<message>
<location filename="../src/main.cpp" line="165"/>
<location filename="../src/main.cpp" line="175"/>
<location filename="../src/main.cpp" line="166"/>
<location filename="../src/main.cpp" line="176"/>
<source>OK</source>
<translation></translation>
</message>
<message>
<location filename="../src/main.cpp" line="174"/>
<location filename="../src/main.cpp" line="175"/>
<source>API version is not compatible</source>
<translation>API </translation>
</message>

View File

@ -18,7 +18,7 @@
#include "giodbus.h"
#include <gio/gio.h>
#include <gio-unix-2.0/gio/gunixfdlist.h>
#include <gio/gunixfdlist.h>
#include <glib.h>
int get_server_gvariant_stdout (int drvid)

View File

@ -31,6 +31,7 @@
#include <KWindowEffects>
#include <QSessionManager>
#include <ukui-log4qt.h>
#include <kysdk/kysdk-system/libkysysinfo.h>
#include "servicemanager.h"
#include "messagedialog.h"
@ -182,11 +183,15 @@ int main(int argc, char *argv[])
//去除窗管标题栏
kdk::UkuiStyleHelper::self()->removeHeader(&w);
QRect desktopRect = QApplication::primaryScreen()->geometry();
w.move(desktopRect.left() + (desktopRect.width() - w.width())/2,desktopRect.top() + (desktopRect.height() - w.height())/2);
w.show();
KWindowEffects::enableBlurBehind(w.winId(),true);
kdk::WindowManager::setGeometry(w.windowHandle(), w.geometry());
QString systemName = QString(QLatin1String(kdk_system_get_systemName()));
if (!systemName.compare("openkylin", Qt::CaseInsensitive) == 0) {
QRect desktopRect = QApplication::primaryScreen()->geometry();
w.move(desktopRect.left() + (desktopRect.width() - w.width())/2,desktopRect.top() + (desktopRect.height() - w.height())/2);
}
w.show();
//kdk::WindowManager::setGeometry(w.windowHandle(), w.geometry());
QObject::connect(&a, SIGNAL(messageReceived(QString)), &w, SLOT(onReviceWindowMessage(QString)));
QObject::connect(sm, &ServiceManager::serviceStatusChanged,

View File

@ -187,9 +187,13 @@ bool MainWindow::eventFilter(QObject *obj, QEvent *event)
if (this->windowState() == Qt::WindowMaximized) {
ui->btnMax->setIcon(QIcon::fromTheme("window-maximize-symbolic"));
this->showNormal();
ui->btnMax->setToolTip(tr("Maximize"));
initPerwgtSize();
} else {
ui->btnMax->setIcon(QIcon::fromTheme("window-restore-symbolic"));
this->showMaximized();
ui->btnMax->setToolTip(tr("Restore"));
initPerwgtSize();
}
}
}
@ -537,9 +541,11 @@ void MainWindow::initialize()
if (isMaximized()) {
showNormal();
ui->btnMax->setIcon(QIcon::fromTheme("window-maximize-symbolic"));
ui->btnMax->setToolTip(tr("Maximize"));
} else {
showMaximized();
ui->btnMax->setIcon(QIcon::fromTheme("window-restore-symbolic"));
ui->btnMax->setToolTip(tr("Restore"));
}
});
connect(ui->btnClose, &QPushButton::clicked, this, &MainWindow::close);

View File

@ -48,6 +48,7 @@ CONFIG += link_pkgconfig \
PKGCONFIG += gsettings-qt \
gio-2.0 \
gio-unix-2.0 \
x11 \
kysdk-waylandhelper \
kysdk-qtwidgets

View File

@ -1,6 +1,6 @@
#include "giodbus.h"
#include <gio/gio.h>
#include <gio-unix-2.0/gio/gunixfdlist.h>
#include <gio/gunixfdlist.h>
#include <glib.h>
int get_server_gvariant_stdout (int drvid)