diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-27 03:12:08 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-28 17:53:20 +0200 |
commit | 503dc8df8bab9ec5383b08abf6c94938f4aae4ed (patch) | |
tree | b29093bede6ac30d0804a2bd1a53e60d0379963b /kpercentage | |
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 <slavek.banko@axis.cz>
(cherry picked from commit a084db175509b58e57a81d50b1688709f19758bf)
Diffstat (limited to 'kpercentage')
-rw-r--r-- | kpercentage/kpercentage/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kpercentage/kpercentage/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kpercentage/kpercentage/kpercentage.desktop | 72 |
3 files changed, 7 insertions, 76 deletions
diff --git a/kpercentage/kpercentage/CMakeL10n.txt b/kpercentage/kpercentage/CMakeL10n.txt index d9eee4a4..e7fcecd8 100644 --- a/kpercentage/kpercentage/CMakeL10n.txt +++ b/kpercentage/kpercentage/CMakeL10n.txt @@ -15,3 +15,9 @@ tde_l10n_create_template( CATALOG "kpercentage" SOURCES "." ${_answers_l10n} ) + +tde_l10n_create_template( + CATALOG "desktop_files/kpercentage.desktop/" + SOURCES kpercentage.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kpercentage/kpercentage/CMakeLists.txt b/kpercentage/kpercentage/CMakeLists.txt index 79a57f3f..14e4e84d 100644 --- a/kpercentage/kpercentage/CMakeLists.txt +++ b/kpercentage/kpercentage/CMakeLists.txt @@ -37,10 +37,7 @@ tde_add_executable( kpercentage AUTOMOC ##### other data -install( - FILES kpercentage.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kpercentage.desktop ) install( FILES right.txt wrong.txt diff --git a/kpercentage/kpercentage/kpercentage.desktop b/kpercentage/kpercentage/kpercentage.desktop index e485af31..0ac318ad 100644 --- a/kpercentage/kpercentage/kpercentage.desktop +++ b/kpercentage/kpercentage/kpercentage.desktop @@ -1,78 +1,6 @@ [Desktop Entry] Name=KPercentage -Name[af]=K-Persentasie -Name[ar]=النسبة المئوية -Name[bn]=কে-পার্সেন্টেজ -Name[cy]=Kamran -Name[fo]=KProsent -Name[hi]=के-परसेंटेज -Name[hr]=KPostotak -Name[is]=KPrósentur -Name[mn]=KХувь -Name[ne]=केडीई प्रतिशत -Name[sv]=Kpercentage -Name[ta]=கேவிழுக்காடு -Name[ven]=Zwa nomboro ya dana -Name[vi]=Phần trăm K GenericName=Exercise Percentages -GenericName[af]=Oefen Persentasies -GenericName[ar]=تمرين النسبة المئويّة -GenericName[be]=Практыкаванні з працэнтамі -GenericName[bg]=Упражнения с проценти -GenericName[bn]=শতাংশের অংক অনুশীলন করুন -GenericName[bs]=Vježbajte postotke -GenericName[ca]=Exercita els percentatges -GenericName[cs]=Procvičování procent -GenericName[csb]=Cwiczënczi z procentów -GenericName[cy]=Ymarfer Canrannau -GenericName[da]=Øvelser med procent -GenericName[de]=Prozentrechnung üben -GenericName[el]=Εξάσκηση με ποσοστά -GenericName[eo]=Ekzercado de elcentoj -GenericName[es]=Ejercitar porcentajes -GenericName[et]=Harjutused protsentidega -GenericName[eu]=Entrenatu portzentaiak -GenericName[fa]=تمرین درصدها -GenericName[fi]=Harjoittele prosentteja -GenericName[fr]=Exercices pratiques avec des pourcentages -GenericName[gl]=Exercicios de Porcentaxes -GenericName[he]=מתרגל אחוזים -GenericName[hi]=प्रतिशत अभ्यास -GenericName[hr]=Vježbajte s postocima -GenericName[hu]=Százalékszámító -GenericName[is]=Æfa prósentureikninga -GenericName[it]=Esercizi con le percentuali -GenericName[ja]=パーセンテージ (百分率) の練習 -GenericName[ka]=სავარჯიშოები პროცენტებთან -GenericName[km]=លំហាត់ភាគរយ -GenericName[lt]=Procentų mokymosi priemonė -GenericName[mk]=Вежбајте проценти -GenericName[ms]=Peratus Latihan -GenericName[nb]=Prosent-øvelser -GenericName[nds]=Perzentreken öven -GenericName[ne]=प्रतिशत अभ्यास -GenericName[nl]=Percentages oefenen -GenericName[nn]=Prosentøvingar -GenericName[pa]=ਫੀ-ਸਦੀ ਅਭਿਆਸ -GenericName[pl]=Ćwiczenia z procentów -GenericName[pt]=Exercícios com Percentagens -GenericName[pt_BR]=Exercícios de porcentagens -GenericName[ru]=Упражнения с процентами -GenericName[sk]=Cvičenie percent -GenericName[sl]=Vaje z odstotki -GenericName[sr]=Вежбајте проценте -GenericName[sr@Latn]=Vežbajte procente -GenericName[sv]=Öva procenttal -GenericName[ta]=பயிற்ஞி விழுக்காடு -GenericName[tg]=Машқҳо барои ҳисоби фоиз -GenericName[tr]=Çalışma Oranları -GenericName[uk]=Вправи з відсотками -GenericName[vi]=Bài tập tính Phần trăm -GenericName[zh_CN]=练习百分数 -GenericName[zh_TW]=練習百分率計算 -Comment= -Comment[bn]=মন্তব্য -Comment[sl]=Periodna tabela elementov Exec=kpercentage Terminal=false Icon=kpercentage |