diff options
author | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-07-08 22:39:20 +0200 |
commit | d36d9267539f12fdaa5a0dd18f6285e4a636e1ac (patch) | |
tree | 65966d4e78c0529e0e56f8586a7d9c2ae530d336 /kdict | |
parent | 54888da0ae983555ec963c52007c50d49b3c66af (diff) | |
download | tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.tar.gz tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.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 <[email protected]>
Diffstat (limited to 'kdict')
-rw-r--r-- | kdict/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kdict/CMakeLists.txt | 7 | ||||
-rw-r--r-- | kdict/applet/CMakeLists.txt | 8 | ||||
-rw-r--r-- | kdict/applet/kdictapplet.desktop | 144 | ||||
-rw-r--r-- | kdict/kdict.desktop | 71 |
5 files changed, 20 insertions, 216 deletions
diff --git a/kdict/CMakeL10n.txt b/kdict/CMakeL10n.txt index 9cfe37de..ab65d598 100644 --- a/kdict/CMakeL10n.txt +++ b/kdict/CMakeL10n.txt @@ -6,3 +6,9 @@ tde_l10n_create_template( ) tde_l10n_auto_add_subdirectories( ) + +tde_l10n_create_template( + CATALOG "desktop_files/kdict-desktops/" + SOURCES *.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kdict/CMakeLists.txt b/kdict/CMakeLists.txt index d699394b..dd9db235 100644 --- a/kdict/CMakeLists.txt +++ b/kdict/CMakeLists.txt @@ -29,7 +29,12 @@ link_directories( ##### other data ################################ tde_install_icons( ) -install( FILES kdict.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) + +tde_create_translated_desktop( + SOURCE kdict.desktop + PO_DIR kdict-desktops +) + install( FILES kdictui.rc DESTINATION ${DATA_INSTALL_DIR}/kdict ) diff --git a/kdict/applet/CMakeLists.txt b/kdict/applet/CMakeLists.txt index ad2d6b7d..2b702285 100644 --- a/kdict/applet/CMakeLists.txt +++ b/kdict/applet/CMakeLists.txt @@ -22,9 +22,11 @@ link_directories( ##### other data ################################ -install( FILES - kdictapplet.desktop - DESTINATION ${DATA_INSTALL_DIR}/kicker/applets ) +tde_create_translated_desktop( + SOURCE kdictapplet.desktop + DESTINATION ${DATA_INSTALL_DIR}/kicker/applets + PO_DIR kdict-desktops +) ##### kdict_panelapplet (module) ################ diff --git a/kdict/applet/kdictapplet.desktop b/kdict/applet/kdictapplet.desktop index 877872ed..c17d76e5 100644 --- a/kdict/applet/kdictapplet.desktop +++ b/kdict/applet/kdictapplet.desktop @@ -1,147 +1,9 @@ [Desktop Entry] +Name=Dictionary + Comment=Lookup phrases in a dictionary -Comment[af]=Opkyk frases in 'n woordeboek -Comment[ar]=ابحث عن الكلمات في القاموس -Comment[az]=Lüğətdən kəlimələrə baxın -Comment[be]=Пошук выразаў у слоўніку -Comment[bg]=Търсене на фрази в речника -Comment[bn]=একটি অভিধানে শব্দসমষ্টির খোঁজ করো -Comment[bs]=Potražite fraze u rječniku -Comment[ca]=Cerca expressions en un diccionari -Comment[cs]=Vyhledávač pojmů ve slovníku -Comment[cy]=Edrych am ddywediadau mewn geiriadur -Comment[da]=Slå sætninger op i en ordbog -Comment[de]=Ausdrücke in einem Lexikon nachschlagen -Comment[el]=Αναζήτηση φράσεων σε λεξικό -Comment[eo]=Serĉi kapvortojn en vortaroj -Comment[es]=Busca expresiones en un diccionario -Comment[et]=Fraaside otsimine sõnaraamatust -Comment[eu]=Bilatu esaldiak hiztegi batean -Comment[fa]=مراجعه به واژهنامه برای عبارتها -Comment[fi]=Hae lauseita sanakirjasta -Comment[fr]=Recherche de phrases dans un dictionnaire -Comment[ga]=Cuardaigh frásaí i bhfoclóir -Comment[gl]=Buscar expresións no diccionario -Comment[he]=חיפוש ביטויים במילון -Comment[hi]=शब्दकोश में वाक्यांशों को देखे -Comment[hr]=Potraži fraze u rječniku -Comment[hu]=Szótárkezelő alkalmazás -Comment[is]=Fletta upp í orðabók -Comment[it]=Cerca frasi in un dizionario -Comment[ja]=辞書で語句を検索 -Comment[ka]=ფრაზების ლექსიკონში ძებნა -Comment[kk]=Сөздікте іздеу -Comment[km]=រកមើលប្រយោគនៅក្នុងវចនានុក្រមមួយ -Comment[ko]=사전에서 글귀를 찾아줍니다 -Comment[lt]=Ieškoti frazių žodyne -Comment[lv]=Skatīt frāzes vārdnīcā -Comment[mk]=Барајте за изрази во речник -Comment[mn]=Толь бичигээс үг харах -Comment[ms]=Mencari frasa di dalam kamus -Comment[mt]=Fittex frażijiet fid-dizzjunarju -Comment[nb]=Finn fraser i en ordbok -Comment[nds]=Begrepen in en Wöörbook nakieken -Comment[ne]=शब्दकोशमा वाक्यांश खोजी गर्नुहोस् -Comment[nl]=Zoek bepaalde uitdrukkingen op in een woordenboek -Comment[nn]=Slå opp ord i ei ordboka -Comment[nso]=Nyaka mantsu ka gare ga pukuntsu -Comment[pl]=Szukanie zwrotów w słowniku -Comment[pt]=Procura por frases num dicionário -Comment[pt_BR]=Busca frases em um dicionário -Comment[ro]=Caută fraze într-un dicţionar -Comment[ru]=Поиск слов в словаре -Comment[se]=Oza sániid sátnegirjjis -Comment[sk]=Hľadanie fráz v slovníku -Comment[sl]=Iskanje Izrazov v slovarju -Comment[sr]=Потражите фразе у речнику -Comment[sr@Latn]=Potražite fraze u rečniku -Comment[sv]=Leta upp fraser i en ordlista -Comment[ta]=ஒரு அகராதியிலுள்ள தேடற்சொற்தொடர்கள் -Comment[tg]=Ҷустуҷӯи ибораҳо дар луғат -Comment[th]=ค้นหาวลีในพจนานุกรม -Comment[tr]=Sözlükten kelimelere bakın -Comment[uk]=Пошук фраз у словнику -Comment[ven]=Todani fhungo kha bugu talutshedza maipfi -Comment[wa]=Cweri des fråzes dins on diccionaire -Comment[xh]=Jonga amabinzana twincwadi enekcazelo zamagama -Comment[zh_CN]=在字典中查找短语 -Comment[zh_HK]=在字典中尋找片語 -Comment[zh_TW]=在字典中尋找片語 -Comment[zu]=Bheka amagama kwisichazamagama + Icon= -Name=Dictionary -Name[af]=Woordeboek -Name[ar]=القاموس -Name[az]=Lüğət -Name[be]=Слоўнік -Name[bg]=Речник -Name[bn]=অভিধান -Name[br]=Geriadur -Name[bs]=Rječnik -Name[ca]=Diccionari -Name[cs]=Slovník -Name[cy]=Geiriadur -Name[da]=Ordbog -Name[de]=Lexikon -Name[el]=Λεξικό -Name[eo]=Vortaro -Name[es]=Diccionario -Name[et]=Sõnaraamat -Name[eu]=Hiztegia -Name[fa]=واژهنامه -Name[fi]=Sanakirja -Name[fr]=Dictionnaire -Name[ga]=Foclóir -Name[gl]=Diccionario -Name[he]=מילון -Name[hi]=शब्दकोश -Name[hr]=Rječnik -Name[hu]=Szótár -Name[is]=Orðabók -Name[it]=Dizionario -Name[ja]=辞書 -Name[ka]=ლექსიკონი -Name[kk]=Сөздік -Name[km]=វចនានុក្រម -Name[ko]=사전 -Name[lt]=Žodynas -Name[lv]=Vārdnīca -Name[mk]=Речник -Name[mn]=Толь бичиг -Name[ms]=Kamus -Name[mt]=Dizzjunarju -Name[nb]=Ordbok -Name[nds]=Wöörbook -Name[ne]=शब्दकोश -Name[nl]=Woordenboek -Name[nn]=Ordbok -Name[nso]=Pukuntsu -Name[pa]=ਸ਼ਬਦ-ਕੋਸ਼ -Name[pl]=Słownik -Name[pt]=Dicionário -Name[pt_BR]=Dicionário -Name[ro]=Dicţionar -Name[ru]=Словарь -Name[se]=Sátnegirji -Name[sk]=Slovník -Name[sl]=Slovar -Name[sr]=Речник -Name[sr@Latn]=Rečnik -Name[sv]=Ordlista -Name[ta]=அகராதி -Name[tg]=Луғат -Name[th]=พจนานุกรม -Name[tr]=Sözlük -Name[uk]=Словник -Name[uz]=Lugʻat -Name[uz@cyrillic]=Луғат -Name[ven]=Bugu yau talutshedza maipfi -Name[wa]=Motî -Name[xh]=Incwadi eneenkcazelo zamagama -Name[zh_CN]=字典 -Name[zh_HK]=字典 -Name[zh_TW]=字典 -Name[zu]=Isichazamagama Icon=kdict X-TDE-Library=kdict_panelapplet X-TDE-UniqueApplet=true diff --git a/kdict/kdict.desktop b/kdict/kdict.desktop index 7afc1c9f..ca40ed9d 100644 --- a/kdict/kdict.desktop +++ b/kdict/kdict.desktop @@ -7,79 +7,8 @@ Terminal=false Name=KDict GenericName=Online Dictionary -GenericName[af]=Aan-lyn Woordeboek -GenericName[ar]=قاموس على الإنترنت -GenericName[be]=Сеткавы слоўнік -GenericName[bg]=Мрежови речник -GenericName[bn]=অনলাইন অভিধান -GenericName[br]=Geriaoueg enlinenn -GenericName[bs]=Online rječnik -GenericName[ca]=Diccionari en línia -GenericName[cs]=Online slovník -GenericName[cy]=Geiriadur Ar-lein -GenericName[da]=Online-ordbog -GenericName[de]=Onlinewörterbuch -GenericName[el]=Διαδικτυακό λεξικό -GenericName[eo]=Vortaro -GenericName[es]=Diccionario en la red -GenericName[et]=Võrgusõnaraamat -GenericName[eu]=On line hiztegia -GenericName[fa]=واژهنامۀ برخط -GenericName[fi]=Sanakirja -GenericName[fr]=Dictionnaire électronique -GenericName[ga]=Foclóir ar líne -GenericName[gl]=Diccionario en liña -GenericName[he]=מילון מקוון -GenericName[hi]=ऑनलाइन शब्दकोश -GenericName[hr]=Online rječnik -GenericName[hu]=Szótárkezelő -GenericName[is]=Orðabók á Netinu -GenericName[it]=Dizionario in linea -GenericName[ja]=オンライン辞書 -GenericName[ka]=ხაზის ლექსიკონი -GenericName[kk]=Онлайн сөздік -GenericName[km]=វចនានុក្រមលើបណ្ដាញ -GenericName[lt]=Žodynas tinkle -GenericName[lv]=Tiešsaites Vārdnīca -GenericName[mk]=Речник на линија -GenericName[mn]=Онлайн-Толь бичиг -GenericName[ms]=Kamus Talian -GenericName[mt]=Dizzjunarju online -GenericName[nb]=Ordbok på nettet -GenericName[nds]=Online-Wöörbook -GenericName[ne]=अनलाइन शब्दकोश -GenericName[nl]=Online woordenboek -GenericName[nn]=Internettordbok -GenericName[nso]=Pukuntsu ya Online -GenericName[pa]=ਆਨਲਾਇਨ ਡਿਕਸ਼ਨਰੀ -GenericName[pl]=Słownik w sieci -GenericName[pt]=Dicionário na Rede -GenericName[pt_BR]= Dicionário On-line -GenericName[ro]=Dicţionar on-line -GenericName[ru]=Онлайн-словарь -GenericName[se]=Fierpmádatsátnegirji -GenericName[sk]=On-line slovník -GenericName[sl]=Spletni slovar -GenericName[sr]=Онлајн речник -GenericName[sr@Latn]=Onlajn rečnik -GenericName[sv]=Online-ordlista -GenericName[ta]=இணைய அகராதி -GenericName[tg]=Луғати Шабакавӣ -GenericName[th]=พจนานุกรมแบบออนไลน์ -GenericName[tr]=Çevrimiçi Sözlük -GenericName[uk]=Словник в мережі -GenericName[uz]=Internet lugʻat -GenericName[uz@cyrillic]=Интернет луғат -GenericName[ven]=Bugu talutshedza maipfi ine yavha kha mutevhe wau tshimbila -GenericName[wa]=Motî so les fyis -GenericName[xh]=Incwadi eneenkcazelo zamagama Esemgceni -GenericName[zh_CN]=在线字典 -GenericName[zh_HK]=線上字典 -GenericName[zh_TW]=線上字典 -GenericName[zu]=Isichaza magama esixhumekile Comment=Internet-linked dictionary -Comment[de]=Mit dem Internet verbundenes Wörterbuch X-TDE-StartupNotify=true X-DCOP-ServiceType=Unique |