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:51:29 +0200 |
commit | a084db175509b58e57a81d50b1688709f19758bf (patch) | |
tree | 0fdf4c3292e92897faf783775d038f7bf8ca21d2 /kstars | |
parent | 5255f3b93733410203e467b9442dca1948ffa361 (diff) | |
download | tdeedu-a084db175509b58e57a81d50b1688709f19758bf.tar.gz tdeedu-a084db175509b58e57a81d50b1688709f19758bf.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>
Diffstat (limited to 'kstars')
-rw-r--r-- | kstars/kstars/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kstars/kstars/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kstars/kstars/kstars.desktop | 135 |
3 files changed, 7 insertions, 139 deletions
diff --git a/kstars/kstars/CMakeL10n.txt b/kstars/kstars/CMakeL10n.txt index b666e209..e6379547 100644 --- a/kstars/kstars/CMakeL10n.txt +++ b/kstars/kstars/CMakeL10n.txt @@ -153,3 +153,9 @@ tde_l10n_create_template( ${_ngcic_files_l10n} "data/advinterface.dat.tde_l10n" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kstars.desktop/" + SOURCES kstars.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kstars/kstars/CMakeLists.txt b/kstars/kstars/CMakeLists.txt index 78f6b465..23fe0479 100644 --- a/kstars/kstars/CMakeLists.txt +++ b/kstars/kstars/CMakeLists.txt @@ -124,10 +124,7 @@ install( DESTINATION ${DATA_INSTALL_DIR}/kstars/ ) -install( - FILES kstars.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( kstars.desktop ) install( FILES kstars.kcfg diff --git a/kstars/kstars/kstars.desktop b/kstars/kstars/kstars.desktop index 8d30cce4..22eac6b8 100644 --- a/kstars/kstars/kstars.desktop +++ b/kstars/kstars/kstars.desktop @@ -4,143 +4,8 @@ Exec=kstars -caption "%c" %i %m Icon=kstars X-DocPath=kstars/index.html Comment=Desktop Planetarium -Comment[af]=Werkskerm Planetarium -Comment[ar]=قبة سماوية لسطح المكتب -Comment[be]=Настольны планетарыум -Comment[bg]=Планетариум за работния плот -Comment[bn]=ডেস্কটপ প্ল্যানেটোরিয়াম -Comment[br]=Planetarium a vurev -Comment[bs]=Planetarium na desktopu -Comment[ca]=Planetari per a l'escriptori -Comment[cs]=Planetárium na vaší obrazovce -Comment[csb]=Planétarium na pùlce -Comment[cy]=Planetariwm Penbwrdd -Comment[da]=Planetarieprogram -Comment[de]=Das Planetarium für den Schreibtisch -Comment[el]=Πλανητάριο επιφάνειας εργασίας -Comment[eo]=Labortabla planetario -Comment[es]=Planetario para el escritorio -Comment[et]=Töölaua planetaarium -Comment[eu]=Mahaigaineko planetarioa -Comment[fa]=رومیزی آسماننما -Comment[fi]=Työpöytäplanetaario -Comment[fr]=Planétarium -Comment[ga]=Pláinéadlann Deisce -Comment[gl]=Planetario -Comment[he]=פלנטריום שולחני -Comment[hi]=डेस्कटॉप प्लेनेटेरियम -Comment[hr]=Planetarij za radnu površinu -Comment[hu]=Munkaasztali planetárium -Comment[is]=Skjáborðsstjörnuver -Comment[it]=Planetario per il desktop -Comment[ja]=デスクトッププラネタリウム -Comment[ka]=სამაგიდო პლანეტარიუმი -Comment[km]=សំណាកចក្រវាលផ្ទៃតុ -Comment[lt]=Darbastalio planetariumas -Comment[lv]=Darbvirsmas Planetārijs -Comment[mk]=Планетариум на работна површина -Comment[mn]=Дэлгэцэн дээрх Оддын Хотхон -Comment[ms]=Planetarium Ruang Kerja -Comment[nb]=Skrivebordsplanetarium -Comment[nds]=Planetarium för den Schriefdisch -Comment[ne]=डेस्कटप ग्रहमण्डल -Comment[nl]=Desktop-planetarium -Comment[nn]=Skrivebordsplanetarium -Comment[nso]=Planetarium ya Desktop -Comment[pl]=Planetarium na pulpicie -Comment[pt]=Planetário -Comment[pt_BR]=Planetário virtual -Comment[ru]=Настольный планетарий -Comment[se]=Čállenbeavdeplánetaria -Comment[sk]=Planetárium na vašej ploche -Comment[sl]=Namizni planetarij -Comment[sr]=Планетаријум на радној површини -Comment[sr@Latn]=Planetarijum na radnoj površini -Comment[sv]=Skrivbordsplanetarium -Comment[ta]= பணிமேடை கோளரங்கம் -Comment[tg]=Планетариуми Мизи Корӣ -Comment[tr]=Masaüstünde Yıldızlar -Comment[uk]=Настільний планетарій -Comment[ven]=Vhusumbedzhwa mupo ya Desikithopo -Comment[vi]=Ngắm sao trên Màn hình máy tính -Comment[xh]=Indlu ye Desktop -Comment[zh_CN]=桌面天文馆 -Comment[zh_TW]=桌面星象儀 -Comment[zu]=Okwemikhathi kwe-Desktop Terminal=false Name=KStars -Name[af]=K-sterre -Name[ar]=نجوم ك -Name[bn]=কে-স্টার -Name[cy]=KSer -Name[fo]=KStjørnur -Name[hi]=के-स्टार्स -Name[hr]=KZvijezde -Name[is]=KStjörnur -Name[mn]=K-Од -Name[ne]=केडीई तारा -Name[pa]=ਕੇ-ਤਾਰੇ -Name[pl]=Gwiazdy -Name[sv]=Kstars -Name[ta]=கேஸ்டார்ஸ் -Name[ven]=Vhadivhalea vha K -Name[vi]=Sao K GenericName=Desktop Planetarium -GenericName[af]=Werkskerm Planetarium -GenericName[ar]=نموذج النظام الشمسي لسطح المكتب -GenericName[be]=Настольны планетарыум -GenericName[bg]=Планетариум за работния плот -GenericName[bn]=ডেস্কটপ প্ল্যানেটোরিয়াম -GenericName[br]=Planetarium a vurev -GenericName[bs]=Desktop planetarijum -GenericName[ca]=Planetari per a l'escriptori -GenericName[cs]=Planetárium na vaší obrazovce -GenericName[csb]=Planétarium na pùlce -GenericName[cy]=Planetariwm Penbwrdd -GenericName[da]=Planetarieprogram -GenericName[de]=Elektronisches Planetarium -GenericName[el]=Πλανητάριο επιφάνειας εργασίας -GenericName[eo]=Labortabla planetario -GenericName[es]=Planetario para el escritorio -GenericName[et]=Töölaua planetaarium -GenericName[eu]=Mahaigaineko planetarioa -GenericName[fa]=رومیزی آسماننما -GenericName[fi]=Työpöytäplanetaario -GenericName[fr]=Planétarium -GenericName[ga]=Pláinéadlann Deisce -GenericName[gl]=Planetario -GenericName[he]=פלנטריום שולחני -GenericName[hi]=डेस्कटॉप प्लेनेटेरियम -GenericName[hr]=Planetarij na radnoj površini -GenericName[hu]=Planetárium -GenericName[is]=Skjáborðsstjörnuver -GenericName[it]=Planetario per il desktop -GenericName[ja]=デスクトッププラネタリウム -GenericName[ka]=სამაგიდო პლანეტარიუმი -GenericName[km]=សំណាកចក្រវាលផ្ទៃតុ -GenericName[lt]=Darbastalio planetariumas -GenericName[mk]=Планетариум на раб. површина -GenericName[ms]=Planetarium Desktop -GenericName[nb]=Skrivebordsplanetarium -GenericName[nds]=Schriefdisch-Planetarium -GenericName[ne]=डेस्कटप ग्रहमण्डल -GenericName[nl]=Bureaublad-planetarium -GenericName[nn]=Skrivebordsplanetarium -GenericName[pl]=Planetarium na biurku -GenericName[pt]=Planetário -GenericName[pt_BR]=Planetário virtual -GenericName[ru]=Настольный планетарий -GenericName[sk]=Planetárium -GenericName[sl]=Namizni planetarij -GenericName[sr]=Планетаријум на радној површиниџ -GenericName[sr@Latn]=Planetarijum na radnoj površinidž -GenericName[sv]=Skrivbordsplanetarium -GenericName[ta]=பணிமேடை கோளரங்கம் -GenericName[tg]=Планетариуми Мизи Корӣ -GenericName[tr]=Masaüstü Yıldız Evi -GenericName[uk]=Настільний планетарій -GenericName[vi]=Ngắm sao trên Màn hình -GenericName[zh_CN]=桌面天文馆 -GenericName[zh_TW]=桌面星象儀 X-DCOP-ServiceType=Multi Categories=Qt;TDE;Education;Science;Astronomy; |