1
0
Fork 0
mirror of https://github.com/seiichiro0185/sailotp.git synced 2024-12-22 11:42:30 +00:00

Merge pull request #23 from 0312birdzhang/develop

Add Chinese simple translation
This commit is contained in:
seiichiro 2018-01-06 09:07:22 +01:00 committed by GitHub
commit f65e4eb836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 378 additions and 1 deletions

View file

@ -50,7 +50,8 @@ lupdate_only {
i18n/fi.ts \
i18n/fr.ts \
i18n/ru.ts \
i18n/sv.ts
i18n/sv.ts \
i18n/zh_CN.ts
}
include(src/qzxing/QZXing.pri)

376
i18n/zh_CN.ts Normal file
View file

@ -0,0 +1,376 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_CN">
<context>
<name>About</name>
<message>
<location filename="../qml/pages/About.qml" line="75"/>
<source>A Simple Sailfish OTP Generator
(RFC 6238/4226 compatible)</source>
<translation>OTP生成器&lt;br/&gt;(RFC 6238/4226 )</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="84"/>
<source>Copyright: Stefan Brand
License: BSD (3-clause)</source>
<translation>Stefan Brand
许可证: BSD (3-clause)</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="110"/>
<source>SailOTP uses the following third party libs:</source>
<translation>SailOTP使用下面的第三方库</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Contributors:</source>
<translation>:</translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="121"/>
<source>Support</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/About.qml" line="132"/>
<source>Translators:</source>
<translation>:</translation>
</message>
</context>
<context>
<name>AddOTP</name>
<message>
<location filename="../qml/pages/AddOTP.qml" line="69"/>
<source>Show QR-Code</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="72"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="86"/>
<source>Save</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="86"/>
<source>Add</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="91"/>
<source>Type</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="93"/>
<source>Time-based (TOTP)</source>
<translation>(TOTP)</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="94"/>
<source>Counter-based (HOTP)</source>
<translation>HOTP</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="95"/>
<source>Steam Guard</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="101"/>
<source>Title</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="102"/>
<source>Title for the OTP</source>
<translation>OTP的标题</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="114"/>
<source>Secret (at least 16 characters)</source>
<translation>16</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="116"/>
<source>Secret OTP Key</source>
<translation>OTP密钥</translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="128"/>
<source>Length</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="130"/>
<source>Length of the Token</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="142"/>
<location filename="../qml/pages/AddOTP.qml" line="144"/>
<source>Time Derivation (Seconds)</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="156"/>
<source>Next Counter Value</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/AddOTP.qml" line="158"/>
<source>Next Value of the Counter</source>
<translation></translation>
</message>
</context>
<context>
<name>ExportPage</name>
<message>
<location filename="../qml/pages/ExportPage.qml" line="63"/>
<source>File already exists, choose &quot;Overwrite existing&quot; to overwrite it.</source>
<translation>&quot;&quot;</translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="72"/>
<source>Given file does not exist!</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="91"/>
<location filename="../qml/pages/ExportPage.qml" line="107"/>
<source>Export</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="91"/>
<location filename="../qml/pages/ExportPage.qml" line="107"/>
<source>Import</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="114"/>
<source>Filename</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="115"/>
<source>File to import</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="115"/>
<source>File to export</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="128"/>
<source>Overwrite existing</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="134"/>
<source>Password</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="135"/>
<source>Password for the file</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="148"/>
<source>Passwords don&apos;t match!</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="148"/>
<source>Passwords match!</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="149"/>
<source>Repeated Password for the file</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="173"/>
<source>Here you can Import Tokens from a file. Put in the file location and the password you used on export. Pull left to start the import.</source>
<translation>使</translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>Here you can export Tokens to a file. The exported file will be encrypted with AES-256-CBC and Base64 encoded. Choose a strong password, the file will contain the secrets used to generate the Tokens for your accounts. Pull left to start the export.</source>
<translation>使AES-256-CBC和Base64编码进行加密</translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="189"/>
<source>To view the content of the export file outside of SailOTP use the following openssl command:</source>
<translation>SailfOTP外面查看导出的文件使openssl命令</translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="211"/>
<source>Error writing to file </source>
<translation> </translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="213"/>
<source>Token Database exported to </source>
<translation> </translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="216"/>
<source>Could not encrypt tokens. Error: </source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="219"/>
<source>Could not read tokens from Database</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="230"/>
<source>Tokens imported from </source>
<translation> </translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="235"/>
<source>Unable to decrypt file, did you use the right password?</source>
<translation>使</translation>
</message>
<message>
<location filename="../qml/pages/ExportPage.qml" line="238"/>
<source>Could not read from file </source>
<translation> </translation>
</message>
</context>
<context>
<name>MainView</name>
<message>
<location filename="../qml/pages/MainView.qml" line="96"/>
<source>About</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="100"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="104"/>
<source>Export / Import</source>
<translation>/</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="108"/>
<source>Add Token</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="138"/>
<source>Nothing here</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="139"/>
<source>Pull down to add a OTP</source>
<translation>OTP</translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="150"/>
<source>Deleting</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="166"/>
<source>Token for </source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="166"/>
<source> copied to clipboard</source>
<translation> </translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="234"/>
<source>Move up</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="239"/>
<source>Move down</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="244"/>
<source>Edit</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/MainView.qml" line="250"/>
<source>Delete</source>
<translation></translation>
</message>
</context>
<context>
<name>QRPage</name>
<message>
<location filename="../qml/pages/QRPage.qml" line="74"/>
<source>Can&apos;t create QR-Code from incomplete settings!</source>
<translation></translation>
</message>
</context>
<context>
<name>ScanOTP</name>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="54"/>
<source>Can&apos;t access temporary directory</source>
<translation>访</translation>
</message>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="64"/>
<source>Add manually</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="71"/>
<source>Scan Code</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="71"/>
<source>Scanning...</source>
<translation>...</translation>
</message>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="101"/>
<source>No valid Token data found.</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/ScanOTP.qml" line="142"/>
<source>Tap the picture to start / stop scanning. Pull down to add Token manually.</source>
<translation>/</translation>
</message>
</context>
<context>
<name>Settings</name>
<message>
<location filename="../qml/pages/Settings.qml" line="50"/>
<source>Settings</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="52"/>
<source>Behaviour</source>
<translation></translation>
</message>
<message>
<location filename="../qml/pages/Settings.qml" line="56"/>
<source>Show Token as QRCode on Tap</source>
<translation></translation>
</message>
</context>
</TS>