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 /kgeography | |
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 'kgeography')
-rw-r--r-- | kgeography/src/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kgeography/src/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kgeography/src/kgeography.desktop | 106 |
3 files changed, 7 insertions, 110 deletions
diff --git a/kgeography/src/CMakeL10n.txt b/kgeography/src/CMakeL10n.txt index 2c931c82..3df2b49f 100644 --- a/kgeography/src/CMakeL10n.txt +++ b/kgeography/src/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kgeography" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kgeography.desktop/" + SOURCES kgeography.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kgeography/src/CMakeLists.txt b/kgeography/src/CMakeLists.txt index e1d0b88d..e3ab0a84 100644 --- a/kgeography/src/CMakeLists.txt +++ b/kgeography/src/CMakeLists.txt @@ -52,10 +52,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/kgeography ) -install( - FILES kgeography.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kgeography.desktop ) install( FILES kgeography.kcfg diff --git a/kgeography/src/kgeography.desktop b/kgeography/src/kgeography.desktop index 568834d9..508757d2 100644 --- a/kgeography/src/kgeography.desktop +++ b/kgeography/src/kgeography.desktop @@ -1,113 +1,7 @@ [Desktop Entry] Name=KGeography -Name[bn]=কে-জিওগ্রাফি -Name[hr]=KZemljopis -Name[nds]=KGeographie -Name[ne]=केडीई भूगोल -Name[pa]=ਕੇ-ਭੂਗੋਲ -Name[sv]=Kgeografi -Name[vi]=Địa lý K GenericName=Geography Trainer -GenericName[be]=Настаўнік па геаграфіі -GenericName[bg]=Географски тренировки -GenericName[bn]=ভূগোল প্রশিক্ষক -GenericName[bs]=Učitelj geografije -GenericName[ca]=Entrenador de geografia -GenericName[cs]=Procvičování zeměpisu -GenericName[csb]=Cwiczënczi z geògrafiji -GenericName[cy]=Hyfforddydd Daearyddiaeth -GenericName[da]=Geografitræner -GenericName[de]=Geographie-Trainer -GenericName[el]=Εκπαιδευτής στη γεωγραφία -GenericName[eo]=Geografia trajnilo -GenericName[es]=Geografía -GenericName[et]=Geograafia õpiprogramm -GenericName[eu]=Geografia entrenatzailea -GenericName[fa]=مربی جغرافیا -GenericName[fi]=Maantieteen harjoittaja -GenericName[fr]=Apprentissage de la géographie -GenericName[ga]=Traenálaí Tíreolaíochta -GenericName[gl]=Titor de Xeografía -GenericName[he]=מאמן גאוגרפיה -GenericName[hr]=Vježbanje u zemljopisu -GenericName[hu]=Földrajztanító -GenericName[is]=Landafræðiþjálfun -GenericName[it]=Impara la geografia -GenericName[ja]=地理学トレーナー -GenericName[ka]=გეოგრაფიის სავარჯიშოები -GenericName[km]=កម្មវិធីបង្ហាត់ភូមិវិទ្យា -GenericName[lt]=Geografijos treniruoklis -GenericName[ms]=Jurulatih Geografi -GenericName[nb]=Geografitrening -GenericName[nds]=Eerdkunn lehren -GenericName[ne]=भूगोल शिक्षक -GenericName[nl]=Geografietrainer -GenericName[nn]=Geografiøvingssystem -GenericName[pa]=ਭੂਗੋਲ ਸਿਖਲਾਈ -GenericName[pl]=Ćwiczenia z geografii -GenericName[pt]=Treinar Geografia -GenericName[pt_BR]=Treinamento em Geografia -GenericName[ru]=Тренировка знаний по географии -GenericName[sk]=Geografický tréner -GenericName[sl]=Učenje zemljepisa -GenericName[sr]=Тренер географије -GenericName[sr@Latn]=Trener geografije -GenericName[sv]=Geografiövning -GenericName[tr]=Coğrafya Eğitmeni -GenericName[uk]=Тренування знань з географії -GenericName[vi]=Luyện tập Địa lý -GenericName[zh_CN]=地理老师 -GenericName[zh_TW]=地理知識 Comment=A Geography Learning Program -Comment[be]=Праграма для вывучэння геаграфіі -Comment[bg]=Програма за изучаване на география -Comment[bn]=ভূগোল শেখার প্রোগ্রাম -Comment[bs]=Program za učenje geografije -Comment[ca]=Un programa per aprendre geografia -Comment[cs]=Zeměpisný výukový program -Comment[csb]=Programa do ùczbë geògrafiji -Comment[cy]=Rhaglen ar gyfer Dysgu Daearyddiaeth -Comment[da]=Et indlæringsprogram for geografi -Comment[de]=Ein Geographie-Lernprogramm -Comment[el]=Μία εφαρμογή εκμάθησης γεωγραφίας -Comment[eo]=Programo por lerni geografion -Comment[es]=Un programa para conocer los países y sus capitales -Comment[et]=Geograafia õpiprogramm -Comment[eu]=Geografia ikasteko programa -Comment[fa]=برنامۀ یادگیری جغرافیا -Comment[fi]=Maantieteen oppimisohjelma -Comment[fr]=Un programme d'apprentissage de la géographie -Comment[ga]=Clár Foghlamtha Tíreolaíochta -Comment[gl]=Un programa para Aprender Xeografía -Comment[he]=תוכנה ללמידת גאוגרפיה -Comment[hr]=Program za učenje zemljopisa -Comment[hu]=Földrajztanító program -Comment[is]=Landafræði forrit -Comment[it]=Un programma per imparare la geografia -Comment[ja]=地理学学習プログラム -Comment[ka]=გეოგრაფიის სასწავლო პროგრამა -Comment[km]=កម្មវិធីរៀនភូមិវិទ្យា -Comment[lt]=Geografijos mokymo programa -Comment[nb]=Et program for å lære geografi -Comment[nds]=En Eerdkunn-Lehrprogramm -Comment[ne]=भूगोल सिक्ने कार्यक्रम -Comment[nl]=Een geografie leerprogramma -Comment[nn]=Eit program for å læra geografi -Comment[pa]=ਭੂਗੋਲ ਸਿਖਾਉਣ ਵਾਲਾ ਪਰੋਗਰਾਮ -Comment[pl]=Program do nauki geografii -Comment[pt]=Um Programa de Aprendizagem de Geografia -Comment[pt_BR]=Um programa de aprendizagem de geografia -Comment[ru]=Программа для изучения географии -Comment[sk]=Geografický výukový program -Comment[sl]=Program za učenje zemljepisa -Comment[sr]=Програм за учење географије -Comment[sr@Latn]=Program za učenje geografije -Comment[sv]=Ett program för att lära sig geografi -Comment[tr]=Bir Coğrafya Öğrenme Programı -Comment[uk]=Програма для вивчення географії -Comment[vi]=Một Chương trình giúp Học Địa lý -Comment[zh_CN]=地理学习程序 -Comment[zh_TW]=學習地理的程式 Exec=kgeography Icon=kgeography Type=Application |