diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-22 02:49:40 +0200 |
commit | 296306a273438f476ab2266d1c03616de1fd5ef7 (patch) | |
tree | 7788ff1608858031d0b9816452591f2c62f42bc0 /kjots | |
parent | 5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff) | |
download | tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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 'kjots')
-rw-r--r-- | kjots/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kjots/CMakeLists.txt | 5 | ||||
-rw-r--r-- | kjots/Kjots.desktop | 60 |
3 files changed, 7 insertions, 64 deletions
diff --git a/kjots/CMakeL10n.txt b/kjots/CMakeL10n.txt index 54d5ac2..bdf0f4d 100644 --- a/kjots/CMakeL10n.txt +++ b/kjots/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kjots" ) + +tde_l10n_create_template( + CATALOG "desktop_files/Kjots.desktop/" + SOURCES Kjots.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kjots/CMakeLists.txt b/kjots/CMakeLists.txt index c4ce568..addcfed 100644 --- a/kjots/CMakeLists.txt +++ b/kjots/CMakeLists.txt @@ -42,11 +42,8 @@ install( FILES kjotsui.rc DESTINATION ${DATA_INSTALL_DIR}/kjots ) -install( FILES Kjots.desktop - DESTINATION ${XDG_APPS_INSTALL_DIR} -) +tde_create_translated_desktop( Kjots.desktop ) install( FILES kjots.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) - diff --git a/kjots/Kjots.desktop b/kjots/Kjots.desktop index 3183506..86b54b1 100644 --- a/kjots/Kjots.desktop +++ b/kjots/Kjots.desktop @@ -1,67 +1,7 @@ [Desktop Entry] Name=KJots -Name[hi]=केजॉट्स GenericName=Note Taker -GenericName[af]=Nota Afnemer -GenericName[ar]=برنامج لأخذ الملاحظات -GenericName[bg]=Бележки -GenericName[bs]=Uzimanje bilješki -GenericName[ca]=Anotador -GenericName[cs]=Poznámkový blok -GenericName[cy]=Cofnodydd -GenericName[da]=Notetager -GenericName[de]=Notizverwaltung -GenericName[el]=Καταγραφέας σημειώσεων -GenericName[eo]=Notolibro -GenericName[es]=Para tomar notas -GenericName[et]=Märkmete tegemine -GenericName[eu]=Ohar Hartzailea -GenericName[fa]=یادداشت بردار -GenericName[fi]=Muistilappuohjelma -GenericName[fr]=Prise de notes -GenericName[ga]=Eagarthóir Nótaí -GenericName[he]=כותב הערות -GenericName[hi]=नोट टेकर -GenericName[hr]=Program za pisanje bilježaka -GenericName[hu]=Jegyzetlapok -GenericName[is]=Minnispunktar -GenericName[it]=Blocco per appunti -GenericName[ja]=メモを取る -GenericName[kk]=Шағын дәптер -GenericName[km]=កម្មវិធីកត់ចំណាំNote Taker -GenericName[lt]=Pastabų gavėjas -GenericName[lv]=Piezīmju Ņēmējs -GenericName[mk]=Прибележувач -GenericName[ms]=Pengambil Nota -GenericName[mt]=Ħu noti -GenericName[nb]=Beskjedverktøy -GenericName[nds]=Notizen maken -GenericName[ne]=टिपोट टेकर -GenericName[nl]=Notitieboekje -GenericName[nn]=Notatprogram -GenericName[pa]=ਨੋਟ ਲਵੋ -GenericName[pl]=Notatnik -GenericName[pt]=Bloco de Notas -GenericName[pt_BR]=Anotar pequenos apontamentos -GenericName[ro]=Notiţe -GenericName[ru]=Записная книжка -GenericName[sk]=Ukladanie poznámok -GenericName[sl]=Majhna beležnica -GenericName[sr]=Прибележивач -GenericName[sr@Latn]=Pribeleživač -GenericName[sv]=Elektroniska anteckningar -GenericName[ta]= குறிப்பு எடுப்பான் -GenericName[tg]=Китобчаи Навиштаҷот -GenericName[th]=บันทึกช่วยจำ -GenericName[tr]=Not alıcı -GenericName[uk]=Записна книжка -GenericName[ven]=Mudzhii wa dzinotsi -GenericName[wa]=Usteye po prinde des notes -GenericName[xh]=Umthathi Womakuqwalaselwe -GenericName[zh_CN]=笔记记录 -GenericName[zh_TW]=筆記簡記 -GenericName[zu]=Umthathi Wepheshana X-DocPath=kjots/index.html Icon=kjots |