From ba2186847244197d468229d043d58f445eb99c93 Mon Sep 17 00:00:00 2001 From: Sprite Date: Tue, 5 Apr 2022 22:36:58 +0800 Subject: [PATCH] Add translation locale `ru_RU` `uk_UA` --- CMakeLists.txt | 2 +- Source/Resource/Translation/apd_ru_RU.ts | 288 +++++++++++++++++++++++ Source/Resource/Translation/apd_uk_UA.ts | 288 +++++++++++++++++++++++ 3 files changed, 577 insertions(+), 1 deletion(-) create mode 100644 Source/Resource/Translation/apd_ru_RU.ts create mode 100644 Source/Resource/Translation/apd_uk_UA.ts diff --git a/CMakeLists.txt b/CMakeLists.txt index 3052de0..d0fe7d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -333,7 +333,7 @@ qt5_add_resources(APD_CODE_FILES "Source/Resource/Resource.qrc") # https://stackoverflow.com/a/60848939 # -set(APD_TRANSLATION_LOCALES de_DE ko_KR zh_CN) +set(APD_TRANSLATION_LOCALES de_DE ko_KR ru_RU uk_UA zh_CN) set(APD_TS_DIR "${CMAKE_SOURCE_DIR}/Source/Resource/Translation/") set(APD_QM_DIR "${APD_BINARY_OUT_DIR}/translations/") diff --git a/Source/Resource/Translation/apd_ru_RU.ts b/Source/Resource/Translation/apd_ru_RU.ts new file mode 100644 index 0000000..6f9b3e4 --- /dev/null +++ b/Source/Resource/Translation/apd_ru_RU.ts @@ -0,0 +1,288 @@ + + + + + ApdApplication + + Settings format has changed a bit and needs to be reconfigured. + + + + Hello, welcome to %1! + +This seems to be your first time using this program. +Let's configure something together. + + + + 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 "Yes". + + + + Do you want to enable the "low audio latency" feature? + +%1 + + + + Great! Everything is ready! + +Enjoy it all. + + + + You can find me in the system tray + + + + Click the icon to view battery information, right-click to customize settings or quit. + + + + + DownloadWindow + + Download new version + + + + Download Manually + + + + If the download is slow or fails, you can: + + + + + Gui::DownloadWindow + + Oops, an error occurred during the automatic update. +Please download and install the new version manually. + + + + + Gui::MainWindow + + Change log: + + + + Hey! I found a new version available! + +Current version: %1 +Latest version: %2%3 + + + + Bind to AirPods + + + + Please select your AirPods device below. + + + + + Gui::SettingsWindow + + | + To credit translators, you can leave your name here if you wish. (Sorted by time added, separated by "|" character, only single "|" for empty) + + + + Translation Contributors: + + + + Third-Party Libraries: + + + + + Gui::TrayIcon + + Left + + + + Right + + + + Case + + + + charging + + + + New version available! + + + + Settings + + + + About + + + + Quit + + + + + MainWindow + + AirPodsDesktop information + + + + + QMessageBox + + Update now + + + + Skip this version + + + + View release + + + + Remind me later + + + + No paired device found. +You need to pair your AirPods in Windows Bluetooth Settings first. + + + + + QObject + + It fixes short audio playback problems, but may increase battery consumption. + + + + It automatically pauses or resumes media when your AirPods are taken out or put in your ears. + + + + Unavailable + + + + Disconnected + + + + Waiting for Binding + + + + + SelectWindow + + Select + + + + + SettingsWindow + + AirPodsDesktop Settings + + + + General + + + + Open logs directory + + + + Bluetooth maximum receiving range + + + + Unbind AirPods + + + + Launch when system starts + + + + Language + + + + Visual + + + + Display battery on taskbar + + + + Disable + + + + When low battery + + + + Always + + + + As text + + + + As icon + + + + Display battery on tray icon + + + + Features + + + + Automatic ear detection + + + + Low audio latency + + + + About + + + + <html><head/><body><p>Open source <a href="https://github.com/SpriteOvO/AirPodsDesktop"><span style=" text-decoration: underline; color:#0000ff;">repository</span></a> and licensed under <a href="https://github.com/SpriteOvO/AirPodsDesktop/blob/main/LICENSE"><span style=" text-decoration: underline; color:#0000ff;">GPLv3</span></a>.</p></body></html> + + + + Copyright © 2021-2022 SpriteOvO. All rights reserved. + + + + diff --git a/Source/Resource/Translation/apd_uk_UA.ts b/Source/Resource/Translation/apd_uk_UA.ts new file mode 100644 index 0000000..8c1bda1 --- /dev/null +++ b/Source/Resource/Translation/apd_uk_UA.ts @@ -0,0 +1,288 @@ + + + + + ApdApplication + + Settings format has changed a bit and needs to be reconfigured. + + + + Hello, welcome to %1! + +This seems to be your first time using this program. +Let's configure something together. + + + + 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 "Yes". + + + + Do you want to enable the "low audio latency" feature? + +%1 + + + + Great! Everything is ready! + +Enjoy it all. + + + + You can find me in the system tray + + + + Click the icon to view battery information, right-click to customize settings or quit. + + + + + DownloadWindow + + Download new version + + + + Download Manually + + + + If the download is slow or fails, you can: + + + + + Gui::DownloadWindow + + Oops, an error occurred during the automatic update. +Please download and install the new version manually. + + + + + Gui::MainWindow + + Change log: + + + + Hey! I found a new version available! + +Current version: %1 +Latest version: %2%3 + + + + Bind to AirPods + + + + Please select your AirPods device below. + + + + + Gui::SettingsWindow + + | + To credit translators, you can leave your name here if you wish. (Sorted by time added, separated by "|" character, only single "|" for empty) + + + + Translation Contributors: + + + + Third-Party Libraries: + + + + + Gui::TrayIcon + + Left + + + + Right + + + + Case + + + + charging + + + + New version available! + + + + Settings + + + + About + + + + Quit + + + + + MainWindow + + AirPodsDesktop information + + + + + QMessageBox + + Update now + + + + Skip this version + + + + View release + + + + Remind me later + + + + No paired device found. +You need to pair your AirPods in Windows Bluetooth Settings first. + + + + + QObject + + It fixes short audio playback problems, but may increase battery consumption. + + + + It automatically pauses or resumes media when your AirPods are taken out or put in your ears. + + + + Unavailable + + + + Disconnected + + + + Waiting for Binding + + + + + SelectWindow + + Select + + + + + SettingsWindow + + AirPodsDesktop Settings + + + + General + + + + Open logs directory + + + + Bluetooth maximum receiving range + + + + Unbind AirPods + + + + Launch when system starts + + + + Language + + + + Visual + + + + Display battery on taskbar + + + + Disable + + + + When low battery + + + + Always + + + + As text + + + + As icon + + + + Display battery on tray icon + + + + Features + + + + Automatic ear detection + + + + Low audio latency + + + + About + + + + <html><head/><body><p>Open source <a href="https://github.com/SpriteOvO/AirPodsDesktop"><span style=" text-decoration: underline; color:#0000ff;">repository</span></a> and licensed under <a href="https://github.com/SpriteOvO/AirPodsDesktop/blob/main/LICENSE"><span style=" text-decoration: underline; color:#0000ff;">GPLv3</span></a>.</p></body></html> + + + + Copyright © 2021-2022 SpriteOvO. All rights reserved. + + + +