Skip to content

Commit

Permalink
Add translation locale zh_TW
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Sep 13, 2023
1 parent e009106 commit 7a6553d
Show file tree
Hide file tree
Showing 2 changed files with 289 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ qt5_add_resources(APD_CODE_FILES "Source/Resource/Resource.qrc")
# https://stackoverflow.com/a/60848939
#

set(APD_TRANSLATION_LOCALES de_DE fr_FR ja_JP ko_KR ru_RU zh_CN)
set(APD_TRANSLATION_LOCALES de_DE fr_FR ja_JP ko_KR ru_RU zh_CN zh_TW)
set(APD_TS_DIR "${CMAKE_SOURCE_DIR}/Source/Resource/Translation/")
set(APD_QM_DIR "${APD_BINARY_OUT_DIR}/translations/")

Expand Down
288 changes: 288 additions & 0 deletions Source/Resource/Translation/apd_zh_TW.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,288 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS version="2.1" language="zh_TW">
<context>
<name>ApdApplication</name>
<message>
<source>Settings format has changed a bit and needs to be reconfigured.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hello, welcome to %1!

This seems to be your first time using this program.
Let&apos;s configure something together.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do you want this program to launch when the system starts?

If you frequently use AirPods with this computer, it is recommended that you click &quot;Yes&quot;.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Do you want to enable the &quot;low audio latency&quot; feature?

%1</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Great! Everything is ready!

Enjoy it all.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>You can find me in the system tray</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Click the icon to view battery information, right-click to customize settings or quit.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>DownloadWindow</name>
<message>
<source>Download new version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Download Manually</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>If the download is slow or fails, you can:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Gui::DownloadWindow</name>
<message>
<source>Oops, an error occurred during the automatic update.
Please download and install the new version manually.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Gui::MainWindow</name>
<message>
<source>Change log:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Hey! I found a new version available!

Current version: %1
Latest version: %2%3</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bind to AirPods</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Please select your AirPods device below.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Gui::SettingsWindow</name>
<message>
<source>|</source>
<extracomment>To credit translators, you can leave your name here if you wish. (Sorted by time added, separated by &quot;|&quot; character, only single &quot;|&quot; for empty)</extracomment>
<translation type="unfinished"></translation>
</message>
<message>
<source>Translation Contributors:</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Third-Party Libraries:</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>Gui::TrayIcon</name>
<message>
<source>Left</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Right</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Case</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>charging</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>New version available!</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Quit</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>MainWindow</name>
<message>
<source>AirPodsDesktop information</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QMessageBox</name>
<message>
<source>Update now</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Skip this version</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>View release</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Remind me later</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>No paired device found.
You need to pair your AirPods in Windows Bluetooth Settings first.</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>QObject</name>
<message>
<source>It fixes short audio playback problems, but may increase battery consumption.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>It automatically pauses or resumes media when your AirPods are taken out or put in your ears.</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unavailable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disconnected</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Waiting for Binding</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SelectWindow</name>
<message>
<source>Select</source>
<translation type="unfinished"></translation>
</message>
</context>
<context>
<name>SettingsWindow</name>
<message>
<source>AirPodsDesktop Settings</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>General</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Open logs directory</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Bluetooth maximum receiving range</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Unbind AirPods</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Launch when system starts</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Language</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Visual</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display battery on taskbar</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Disable</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>When low battery</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Always</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>As text</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>As icon</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Display battery on tray icon</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Features</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Automatic ear detection</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Low audio latency</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>About</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Open source &lt;a href=&quot;https://github.com/SpriteOvO/AirPodsDesktop&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;repository&lt;/span&gt;&lt;/a&gt; and licensed under &lt;a href=&quot;https://github.com/SpriteOvO/AirPodsDesktop/blob/main/LICENSE&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#0000ff;&quot;&gt;GPLv3&lt;/span&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
<translation type="unfinished"></translation>
</message>
<message>
<source>Copyright © 2021-2022 SpriteOvO. All rights reserved.</source>
<translation type="unfinished"></translation>
</message>
</context>
</TS>

0 comments on commit 7a6553d

Please sign in to comment.