diff --git a/AboutDialog.cpp b/AboutDialog.cpp index 5de516d..d603163 100644 --- a/AboutDialog.cpp +++ b/AboutDialog.cpp @@ -26,7 +26,7 @@ #include #include -const QString AboutDialog::VERSION{"1.25.0"}; +const QString AboutDialog::VERSION{"1.26.0"}; const QString COPYRIGHT{"Copyright (c) 2016-%1 Félix de las Pozas Álvarez"}; //----------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c2446d..56ff782 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ cmake_minimum_required (VERSION 3.0.0) # Version Number set (TRAYWEATHER_VERSION_MAJOR 1) -set (TRAYWEATHER_VERSION_MINOR 25) +set (TRAYWEATHER_VERSION_MINOR 26) set (TRAYWEATHER_VERSION_PATCH 0) set(CMAKE_CXX_STANDARD 14) @@ -98,6 +98,7 @@ set(TRANSLATIONS_TS_FILES languages/sl_SI.ts languages/ko_KR.ts languages/pl_PL.ts + languages/tr_TR.ts ) qt5_add_translation(TRANSLATIONS_QM_FILES ${TRANSLATIONS_TS_FILES}) diff --git a/Utils.h b/Utils.h index 5c4c66a..9267656 100644 --- a/Utils.h +++ b/Utils.h @@ -60,7 +60,7 @@ static const QStringList OWM_LANGUAGES = { "af", "al", "ar", "az", "bg", "ca", " "uk", "vi", "zh_cn", "zh_tw", "zu" }; static const QStringList QT_LANGUAGES = { "bg", "ca", "cs", "da", "de", "en", "es", "fi", "fr", "gd", "he", "hu", - "it", "ja", "ko", "lv", "pl", "pt_br", "ru", "sk", "sl", "uk", "zh_cn" }; + "it", "ja", "ko", "lv", "pl", "pt_br", "ru", "sk", "sl", "tr", "uk", "zh_cn" }; static QTranslator s_appTranslator; /** application language translator. */ static QTranslator s_qtTranslator; /** application Qt dialogs translator. */ @@ -125,7 +125,8 @@ static QList TRANSLATIONS = { { "Українська", ":/TrayWeather/languages/uk.svg", "uk_UA", "Aleksandr Popov" }, { "Slovenščina", ":/TrayWeather/languages/sl.svg", "sl_SI", "datenshi888" }, { "한국어", ":/TrayWeather/languages/kr.svg", "ko_KR", "isl6" }, - { "Polski", ":/TrayWeather/languages/pl.svg", "pl_PL", "Krzysztof Blachnicki" } + { "Polski", ":/TrayWeather/languages/pl.svg", "pl_PL", "Krzysztof Blachnicki" }, + { "Türkçe", ":/TrayWeather/languages/tr.svg", "tr_TR", "cmhrky " } }; /** \struct IconThemeData diff --git a/readme.md b/readme.md index 80d53a1..5fc7ebf 100644 --- a/readme.md +++ b/readme.md @@ -119,6 +119,7 @@ Tray Weather is available in: * Slovenian * Korean * Polish +* Turkish If 'TrayWeather' hasn't a translation for your language you can collaborate and translate the application using the [Qt Linguistic Tools](https://doc.qt.io/qt-5/qtlinguist-index.html) (available [here](https://github.com/lelegard/qtlinguist-installers)) @@ -147,7 +148,7 @@ To the translation in your language. For example in Spanish it is: # Repository information -**Version**: 1.25.0 +**Version**: 1.26.0 **Status**: finished. @@ -156,7 +157,7 @@ To the translation in your language. For example in Spanish it is: | Language |files |blank |comment |code | |:-----------------------------|--------------:|------------:|-----------------:|-----:| | C++ | 10 | 1035 | 393 | 5118 | -| C/C++ Header | 10 | 283 | 829 | 932 | +| C/C++ Header | 10 | 283 | 829 | 933 | | HTML | 1 | 33 | 0 | 150 | -| CMake | 1 | 19 | 11 | 124 | -| **Total** | **22** | **1370** | **1233** | **6324** | +| CMake | 1 | 19 | 11 | 125 | +| **Total** | **22** | **1370** | **1233** | **6326** | diff --git a/rsc/languages/tr.svg b/rsc/languages/tr.svg new file mode 100644 index 0000000..40593e5 --- /dev/null +++ b/rsc/languages/tr.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rsc/resources.qrc b/rsc/resources.qrc index 2a60d30..f17fd4b 100644 --- a/rsc/resources.qrc +++ b/rsc/resources.qrc @@ -29,6 +29,7 @@ languages/sl.svg languages/kr.svg languages/pl.svg + languages/tr.svg iconThemes/flaticon/01d.svg iconThemes/flaticon/01n-0.svg