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 /applnk | |
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 'applnk')
-rw-r--r-- | applnk/CMakeL10n.txt | 7 | ||||
-rw-r--r-- | applnk/CMakeLists.txt | 35 | ||||
-rw-r--r-- | applnk/languages.desktop | 67 | ||||
-rw-r--r-- | applnk/mathematics.desktop | 67 | ||||
-rw-r--r-- | applnk/miscellaneous.desktop | 62 | ||||
-rw-r--r-- | applnk/science.desktop | 68 | ||||
-rw-r--r-- | applnk/tools.desktop | 65 |
7 files changed, 27 insertions, 344 deletions
diff --git a/applnk/CMakeL10n.txt b/applnk/CMakeL10n.txt new file mode 100644 index 00000000..aadcfd57 --- /dev/null +++ b/applnk/CMakeL10n.txt @@ -0,0 +1,7 @@ +##### create translation templates ############## + +tde_l10n_create_template( + CATALOG "desktop_files/applnk-directories/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/applnk/CMakeLists.txt b/applnk/CMakeLists.txt index 86b65c6a..8b64a5a1 100644 --- a/applnk/CMakeLists.txt +++ b/applnk/CMakeLists.txt @@ -1,31 +1,36 @@ ##### desktop files -install( - FILES languages.desktop +tde_create_translated_desktop( + SOURCE languages.desktop DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Languages - RENAME .directory + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/applnk-directories + OUTPUT_NAME .directory ) -install( - FILES mathematics.desktop +tde_create_translated_desktop( + SOURCE mathematics.desktop DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Mathematics - RENAME .directory + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/applnk-directories + OUTPUT_NAME .directory ) -install( - FILES science.desktop +tde_create_translated_desktop( + SOURCE science.desktop DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Science - RENAME .directory + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/applnk-directories + OUTPUT_NAME .directory ) -install( - FILES tools.desktop +tde_create_translated_desktop( + SOURCE tools.desktop DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Tools - RENAME .directory + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/applnk-directories + OUTPUT_NAME .directory ) -install( - FILES miscellaneous.desktop +tde_create_translated_desktop( + SOURCE miscellaneous.desktop DESTINATION ${APPS_INSTALL_DIR}/Edutainment/Miscellaneous - RENAME .directory + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/applnk-directories + OUTPUT_NAME .directory ) diff --git a/applnk/languages.desktop b/applnk/languages.desktop index 268d1804..bc50d84b 100644 --- a/applnk/languages.desktop +++ b/applnk/languages.desktop @@ -1,70 +1,3 @@ [Desktop Entry] Icon=edu_languages Name=Languages -Name[af]=Tale -Name[ar]=اللغات -Name[be]=Мовы -Name[bg]=Езици -Name[bn]=ভাষা -Name[br]=Yezhoù -Name[bs]=Jezici -Name[ca]=Idiomes -Name[cs]=Jazyky -Name[csb]=Jãzëczi -Name[cy]=Ieithoedd -Name[da]=Sprog -Name[de]=Sprachen -Name[el]=Γλώσσες -Name[eo]=Lingvoj -Name[es]=Idiomas -Name[et]=Keeled -Name[eu]=Hizkuntzak -Name[fa]=زبانها -Name[fi]=Kielet -Name[fo]=Mál -Name[fr]=Langues -Name[ga]=Teangacha -Name[gl]=Linguas -Name[he]=שפות -Name[hi]=भाषाएँ -Name[hr]=Jezici -Name[hu]=Nyelvek -Name[is]=Tungumál -Name[it]=Lingue -Name[ja]=言語 -Name[ka]=ენები -Name[km]=ភាសា -Name[lt]=Kalbos -Name[lv]=Valodas -Name[mk]=Јазици -Name[mn]=Хэл -Name[ms]=Bahasa -Name[nb]=Språk -Name[nds]=Spraken -Name[ne]=भाषा -Name[nl]=Talen -Name[nn]=Språk -Name[nso]=Maleme -Name[pa]=ਭਾਸ਼ਾਵਾਂ -Name[pl]=Języki -Name[pt]=Línguas -Name[pt_BR]=Idiomas -Name[ru]=Языки -Name[se]=Gielat -Name[sk]=Jazyky -Name[sl]=Jeziki -Name[sr]=Језици -Name[sr@Latn]=Jezici -Name[sv]=Språk -Name[ta]=மொழிகள் -Name[tg]=Забонҳо -Name[tr]=Diller -Name[uk]=Мови -Name[uz]=Tillar -Name[uz@cyrillic]=Тиллар -Name[ven]=Dzinyambo -Name[vi]=Ngôn ngữ -Name[xh]=Iilwimi -Name[zh_CN]=语言 -Name[zh_TW]=語言 -Name[zu]=Izilimi diff --git a/applnk/mathematics.desktop b/applnk/mathematics.desktop index 61c3b865..e983a416 100644 --- a/applnk/mathematics.desktop +++ b/applnk/mathematics.desktop @@ -1,70 +1,3 @@ [Desktop Entry] Icon=edu_mathematics Name=Mathematics -Name[af]=Wiskunde -Name[ar]=رياضيات -Name[be]=Матэматыка -Name[bg]=Математика -Name[bn]=গণিত -Name[br]=Jedoniel -Name[bs]=Matematika -Name[ca]=Matemàtiques -Name[cs]=Matematika -Name[csb]=Matematika -Name[cy]=Mathemateg -Name[da]=Matematik -Name[de]=Mathematik -Name[el]=Μαθηματικά -Name[eo]=Matematiko -Name[es]=Matemáticas -Name[et]=Matemaatika -Name[eu]=Matematikak -Name[fa]=ریاضیات -Name[fi]=Matematiikka -Name[fo]=Støddfrøði -Name[fr]=Mathématiques -Name[ga]=Matamaitic -Name[gl]=Matemáticas -Name[he]=מתמטיקה -Name[hi]=गणित -Name[hr]=Matematika -Name[hu]=Matematika -Name[is]=Stærðfræði -Name[it]=Matematica -Name[ja]=数学 -Name[ka]=მათემატიკა -Name[km]=គណិតវិទ្យា -Name[lt]=Matematika -Name[lv]=Matemātika -Name[mk]=Математика -Name[mn]=Математикийн -Name[ms]=Matematik -Name[nb]=Matematikk -Name[nds]=Reken -Name[ne]=गणित -Name[nl]=Wiskunde -Name[nn]=Matematikk -Name[nso]=Dipalontshetshere -Name[pa]=ਗਣਿਤ -Name[pl]=Matematyka -Name[pt]=Matemática -Name[pt_BR]=Matemática -Name[ru]=Математика -Name[se]=Matematihkka -Name[sk]=Matematika -Name[sl]=Matematika -Name[sr]=Математика -Name[sr@Latn]=Matematika -Name[sv]=Matematik -Name[ta]=கணிதம் -Name[tg]=Математика -Name[tr]=Matematik -Name[uk]=Математика -Name[uz]=Matematika -Name[uz@cyrillic]=Математика -Name[ven]=Zwa dzimbalo -Name[vi]=Toán học -Name[xh]=Imathematika -Name[zh_CN]=数学 -Name[zh_TW]=數學 -Name[zu]=Ezezibalo diff --git a/applnk/miscellaneous.desktop b/applnk/miscellaneous.desktop index 7f787969..106f59fa 100644 --- a/applnk/miscellaneous.desktop +++ b/applnk/miscellaneous.desktop @@ -1,65 +1,3 @@ [Desktop Entry] Icon=edu_miscellaneous Name=Miscellaneous -Name[af]=Allerande -Name[ar]=منوعات -Name[be]=Рознае -Name[bg]=Разни -Name[bn]=বিবিধ -Name[br]=A bep seurt -Name[bs]=Razno -Name[ca]=Diversos -Name[cs]=Různé -Name[csb]=Jine -Name[cy]=Amrywiol -Name[da]=Diverse -Name[de]=Verschiedenes -Name[el]=Διάφορα -Name[eo]=Diversoj -Name[es]=Varios -Name[et]=Mitmesugust -Name[eu]=Miszelanea -Name[fa]=گوناگون -Name[fi]=Sekalainen -Name[fr]=Divers -Name[ga]=Éagsúil -Name[gl]=Varios -Name[he]=שונות -Name[hi]=विविध -Name[hr]=Razno -Name[hu]=Egyéb -Name[is]=Ýmislegt -Name[it]=Varie -Name[ja]=その他 -Name[ka]=სხვადასხვა -Name[km]=ផ្សេងៗ -Name[lt]=Įvairūs dalykai -Name[lv]=Dažādi -Name[mk]=Разно -Name[ms]=Pelbagai -Name[nb]=Diverse -Name[nds]=Anner Saken -Name[ne]=विविध -Name[nl]=Diversen -Name[nn]=Ymse -Name[pa]=ਫੁਟਕਲ -Name[pl]=Różne -Name[pt]=Vários -Name[pt_BR]=Variados -Name[ro]=Diverse -Name[ru]=Разное -Name[se]=Feará mii -Name[sk]=Rôzne -Name[sl]=Razno -Name[sr]=Разно -Name[sr@Latn]=Razno -Name[sv]=Diverse -Name[ta]=இதர தேர்வுகள் -Name[tg]=Гуногун -Name[tr]=Çeşitli -Name[uk]=Різне -Name[uz]=Har xil -Name[uz@cyrillic]=Ҳар хил -Name[vi]=Linh tinh -Name[zh_CN]=杂项 -Name[zh_TW]=雜項 diff --git a/applnk/science.desktop b/applnk/science.desktop index f088d5c4..62f8d5e1 100644 --- a/applnk/science.desktop +++ b/applnk/science.desktop @@ -1,71 +1,3 @@ [Desktop Entry] Icon=applications-science Name=Science -Name[af]=Wetenskap -Name[ar]=العلم -Name[az]=Elm -Name[be]=Навука -Name[bg]=Наука -Name[bn]=বিজ্ঞান -Name[br]=Skiantoù -Name[bs]=Nauka -Name[ca]=Ciència -Name[cs]=Věda -Name[csb]=Ùczba -Name[cy]=Gwyddoniaeth -Name[da]=Videnskab -Name[de]=Wissenschaft -Name[el]=Επιστήμη -Name[eo]=Sciencumoj -Name[es]=Ciencia -Name[et]=Loodusteadused -Name[eu]=Zientzia -Name[fa]=علم -Name[fi]=Luonnontieteet -Name[fo]=Náttúruvísind -Name[ga]=Eolaíocht -Name[gl]=Ciencia -Name[he]=מדע -Name[hi]=विज्ञान -Name[hr]=Znanost -Name[hu]=Tudományok -Name[is]=Vísindi -Name[it]=Scienza -Name[ja]=サイエンス -Name[ka]=მეცნიერება -Name[km]=វិទ្យាសាស្ត្រ -Name[lt]=Mokslas -Name[lv]=Zinātne -Name[mk]=Наука -Name[mn]=Шинжлэх Ухааны -Name[ms]=Sains -Name[nb]=Vitenskap -Name[nds]=Wetenschap -Name[ne]=विज्ञान -Name[nl]=Wetenschappelijk -Name[nn]=Vitskap -Name[nso]=Mahlale -Name[pa]=ਵਿਗਿਆਨ -Name[pl]=Nauka -Name[pt]=Ciência -Name[pt_BR]=Ciências -Name[ro]=Ştiinţă -Name[ru]=Другие науки -Name[se]=Dieđa -Name[sk]=Vedecký -Name[sl]=Znanost -Name[sr]=Наука -Name[sr@Latn]=Nauka -Name[sv]=Vetenskap -Name[ta]=அறிவியல் -Name[tg]=Фан -Name[tr]=Bilim -Name[uk]=Наука -Name[uz]=Fan -Name[uz@cyrillic]=Фан -Name[ven]=Vhutsila -Name[vi]=Khoa học -Name[xh]=Inzulu lwazi -Name[zh_CN]=科学 -Name[zh_TW]=科學 -Name[zu]=Ubuchwepheshe bezesayensi diff --git a/applnk/tools.desktop b/applnk/tools.desktop index 908d45a7..0dad5fa2 100644 --- a/applnk/tools.desktop +++ b/applnk/tools.desktop @@ -1,68 +1,3 @@ [Desktop Entry] Icon=package Name=Teaching Tools -Name[af]=Onderrrighulpmiddels -Name[ar]=أدوات تعليمية -Name[be]=Прылады для навучання -Name[bg]=Обучение -Name[bn]=শিক্ষা সহায়িকা -Name[br]=Ostilhoù deskiñ -Name[bs]=Alati za podučavanje -Name[ca]=Eines d'ensenyança -Name[cs]=Výukové nástroje -Name[csb]=Nôrzãdza do ùczbë -Name[cy]=Offer Dysgu -Name[da]=Undervisningsværktøj -Name[de]=Lehrmittel -Name[el]=Εργαλεία εκμάθησης -Name[eo]=Instruiloj -Name[es]=Herramientas de enseñanza -Name[et]=Õppevahendid -Name[eu]=Ikasketa tresnak -Name[fa]=ابزارهای آموزش -Name[fi]=Opetusohjelmat -Name[fo]=Undirvísingaramboð -Name[fr]=Outils d'éducation -Name[ga]=Uirlisí Múinteoireachta -Name[gl]=Ferramentas de Ensino -Name[he]=כלי לימוד -Name[hi]=शिक्षण औज़ार -Name[hr]=Nastavnički alati -Name[hu]=Oktatási eszközök -Name[is]=Kennslutól -Name[it]=Strumenti per l'insegnamento -Name[ja]=教育ツール -Name[ka]=სასწავლო პროგრამები -Name[km]=សម្ភារៈឧបទេស -Name[lt]=Mokymo įrankiai -Name[lv]=Mācību Instrumenti -Name[mk]=Алатки за учење -Name[mn]=Сурганы Ухааны Хэрэглэгдэхүүн -Name[ms]=Alatan Mengajar -Name[nb]=Læremidler -Name[nds]=Lehrprogrammen -Name[ne]=पढाउने सामग्री -Name[nl]=Leshulpmiddelen -Name[nn]=Læremiddel -Name[nso]=Dibereka tsago Ruta -Name[pa]=ਪੜ੍ਹਾਉਣ ਸੰਦ -Name[pl]=Narzędzia do nauczania -Name[pt]=Ferramentas de Ensino -Name[pt_BR]=Ferramentas de Ensino -Name[ru]=Обучающие программы -Name[se]=Oahpporeaiddut -Name[sk]=Výukové nástroje -Name[sl]=Orodja za učenje -Name[sr]=Учитељски алати -Name[sr@Latn]=Učiteljski alati -Name[sv]=Inlärningsverktyg -Name[ta]=கற்பிக்கும் கருவிகள் -Name[tg]=Асбобҳои Таълимӣ -Name[tr]=Öğretim Araçları -Name[uk]=Засоби для навчання -Name[ven]=Zwishumiswa zwau funza -Name[vi]=Công cụ Giảng dạy -Name[xh]=Izixhobo Zokufundisa -Name[zh_CN]=教学工具 -Name[zh_TW]=教學工具 -Name[zu]=Amathuluzi Okufundisa |