diff options
author | Slávek Banko <[email protected]> | 2020-05-27 03:12:08 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-28 17:53:20 +0200 |
commit | 503dc8df8bab9ec5383b08abf6c94938f4aae4ed (patch) | |
tree | b29093bede6ac30d0804a2bd1a53e60d0379963b /ktouch | |
parent | d802e99b97d5de62b978b343b0db7db52c212adc (diff) | |
download | tdeedu-503dc8df8bab9ec5383b08abf6c94938f4aae4ed.tar.gz tdeedu-503dc8df8bab9ec5383b08abf6c94938f4aae4ed.zip |
Desktop file translations:
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit a084db175509b58e57a81d50b1688709f19758bf)
Diffstat (limited to 'ktouch')
-rw-r--r-- | ktouch/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | ktouch/CMakeLists.txt | 5 | ||||
-rw-r--r-- | ktouch/ktouch.desktop | 74 |
3 files changed, 8 insertions, 77 deletions
diff --git a/ktouch/CMakeL10n.txt b/ktouch/CMakeL10n.txt index b585ce4a..0cebf069 100644 --- a/ktouch/CMakeL10n.txt +++ b/ktouch/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/ktouch.desktop/" + SOURCES ktouch.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/ktouch/CMakeLists.txt b/ktouch/CMakeLists.txt index 0c1ecf7d..8920d719 100644 --- a/ktouch/CMakeLists.txt +++ b/ktouch/CMakeLists.txt @@ -9,7 +9,4 @@ add_subdirectory( icons ) ##### other data -install( - FILES ktouch.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( ktouch.desktop ) diff --git a/ktouch/ktouch.desktop b/ktouch/ktouch.desktop index 982454fe..4ae76be0 100644 --- a/ktouch/ktouch.desktop +++ b/ktouch/ktouch.desktop @@ -3,79 +3,7 @@ Type=Application Exec=ktouch -caption "%c" %i %m Icon=ktouch X-DocPath=ktouch/index.html +Name=KTouch GenericName=Touch Typing Tutor -GenericName[af]=Raak-tik Afrigter -GenericName[ar]=معلم الطباعة -GenericName[be]=Настаўнік "сляпога" метаду набору тэксту -GenericName[bg]=Самоучител за бързо писане -GenericName[bn]=টাচ টাইপিং প্রশিক্ষক -GenericName[ca]=Tutor de mecanografia -GenericName[cs]=Výuka psaní na stroji -GenericName[csb]=Ùczbòwnik bezwidowegò pisaniô -GenericName[cy]=Athro Cyffyrdd-Deipio -GenericName[da]=Blindskriftsøvelser -GenericName[de]=Schreibmaschinenkurs -GenericName[el]=Εκμάθηση χρήσης πληκτρολογίου -GenericName[eo]=Tajpada intruisto -GenericName[es]=Tutor para mecanografía -GenericName[et]=Klaviatuuri treening -GenericName[eu]=Mekanografia tutorea -GenericName[fa]=مهارت تحریر آموختار -GenericName[fi]=Näppäimistökirjoituksen ohjaaja -GenericName[fr]=Logiciel d'apprentissage de la frappe au clavier -GenericName[gl]=Titor de Mecanografía -GenericName[he]=לימוד הדפסה עיוורת -GenericName[hi]=टच टाइपिंग ट्यूटर -GenericName[hr]=Obuka u tipkanju na slijepo -GenericName[hu]=Gépelésoktató -GenericName[is]=Vélritunarkennsla -GenericName[it]=Istruttore di dattilografia -GenericName[ja]=タッチタイプの練習 -GenericName[ka]="ბრმა" ბეჭდვის შესწავლა -GenericName[km]=កម្មវិធីបង្រៀនវាយដោយការប៉ះ -GenericName[lt]=Aklo spausdinimo mokytojas -GenericName[lv]=Ātrakstīšanas Skolotājs -GenericName[mk]=Учител за пишување на машина -GenericName[mn]=Бичгийн машины зааварлагч -GenericName[ms]=Tutor Menaip Touch -GenericName[nb]=Øving i touch-metoden -GenericName[nds]=Schriefmaschien öven -GenericName[ne]=टच टाइपिङ प्रशिक्षक -GenericName[nl]=Typcursus -GenericName[nn]=Tastaturøving -GenericName[nso]=Mofahlosi yo a Tlanyago ka Kgwatho -GenericName[pl]=Nauczyciel bezwrokowego pisania -GenericName[pt]=Aprender Escrita Dactilográfica -GenericName[pt_BR]=Tutor de digitação -GenericName[ru]=Самоучитель печати «вслепую» -GenericName[se]=Boallobeavdehárjehallan -GenericName[sk]=Výuka písania na stroji -GenericName[sl]=Učenje tipkanja -GenericName[sr]=Тутор за слепо куцање -GenericName[sr@Latn]=Tutor za slepo kucanje -GenericName[sv]=Maskinskrivningsträning -GenericName[ta]=தொடு-தட்டச்சு ஆசிரியர் -GenericName[tg]=Машқ Барои Чоп Кардан -GenericName[tr]=10 Parmak Öğretmeni -GenericName[uk]=Вчитель комп'ютерного набору -GenericName[ven]=Mugudisi wau thaipa hau tou fara -GenericName[vi]=Trình dạy Gõ Bàn phím -GenericName[xh]=Umbuyekisi wokufundiweyo Obamba Echwetheza -GenericName[zh_CN]=打字教程 -GenericName[zh_TW]=觸摸輸入輔助教學 -GenericName[zu]=Umfundisi Wokuthinta Ukuthayipha Terminal=false -Name=KTouch -Name[af]=K-aanraak -Name[ar]=اللمس ك -Name[bn]=কে-টাচ -Name[cy]=KCyffwrdd -Name[hi]=के-टच -Name[hr]=KDodir -Name[is]=KVélritun -Name[mn]=KМэдрэхүй -Name[ne]=केडीई टच -Name[sv]=Ktouch -Name[ta]=கேடச் -Name[ven]=KFara Categories=Qt;TDE;Education; |