diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-07-16 18:30:12 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-07-17 02:50:29 +0200 |
commit | 7fa2dd79a4f7711a65b45724448c1529dfb94e9f (patch) | |
tree | 0192394f73f297cd56aa972df31bf8bfc07a71d3 /kbabel/common | |
parent | 29e1ae5e34974950ff7965b1522db70b4ff273dc (diff) | |
download | tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.tar.gz tdesdk-7fa2dd79a4f7711a65b45724448c1529dfb94e9f.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 'kbabel/common')
-rw-r--r-- | kbabel/common/CMakeLists.txt | 7 | ||||
-rw-r--r-- | kbabel/common/kbabelfilter.desktop | 49 |
2 files changed, 7 insertions, 49 deletions
diff --git a/kbabel/common/CMakeLists.txt b/kbabel/common/CMakeLists.txt index d0377a65..2050d51c 100644 --- a/kbabel/common/CMakeLists.txt +++ b/kbabel/common/CMakeLists.txt @@ -35,7 +35,12 @@ install( FILES ##### other data ################################ -install( FILES kbabelfilter.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kbabelfilter.desktop + DESTINATION ${SERVICETYPES_INSTALL_DIR} + PO_DIR kbabel-desktops +) + install( FILES kbprojectsettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} ) install( FILES kbabel-projectrename.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} ) diff --git a/kbabel/common/kbabelfilter.desktop b/kbabel/common/kbabelfilter.desktop index f8f89d93..42b751f2 100644 --- a/kbabel/common/kbabelfilter.desktop +++ b/kbabel/common/kbabelfilter.desktop @@ -1,54 +1,7 @@ [Desktop Entry] +Comment=KBabel filter Type=ServiceType X-TDE-ServiceType=KBabelFilter -Comment=KBabel filter -Comment[bg]=Филтър - KBabel -Comment[br]=Sil KBabel -Comment[ca]=Filtre de KBabel -Comment[cs]=KBabel filtr -Comment[cy]=Hidlydd KBabel -Comment[da]=KBabel-filter -Comment[de]=KBabel-Filter -Comment[el]=Φίλτρο KBabel -Comment[es]=Filtro de KBabel -Comment[et]=KBabeli filter -Comment[eu]=KBabel iragazkia -Comment[fa]=پالایۀ KBabel -Comment[fi]=KBabel-suodatin -Comment[fr]=Filtre pour KBabel -Comment[ga]=Scagaire KBabel -Comment[gl]=Filtro de KBabel -Comment[he]=מסנן KBabel -Comment[hi]=के-बेबल फ़िल्टर -Comment[hu]=KBabel-szűrő -Comment[is]=KBabel sía -Comment[it]=Filtro KBabel -Comment[ja]=KBabel フィルタ -Comment[ka]=KBabel ფილტრი -Comment[kk]=KBabel сүзгісі -Comment[lt]=KBabel filtras -Comment[ms]=Penapis KBabel -Comment[nb]=KBabel-filter -Comment[nds]=KBabel-Filter -Comment[ne]=केब्याबल फिल्टर -Comment[nl]=KBabel-filter -Comment[nn]=KBabel-filter -Comment[pa]=KBabel ਫਿਲਟਰ -Comment[pl]=Filtr KBabel -Comment[pt]=Filtro do KBabel -Comment[pt_BR]=Filtro KBabel -Comment[ru]=Фильтр KBabel -Comment[sk]=Filter pre KBabel -Comment[sl]=Filter KBabel -Comment[sr]=KBabel-ов филтер -Comment[sr@Latn]=KBabel-ov filter -Comment[sv]=Kbabel-filter -Comment[ta]=Kபாபேல் வடிகட்டி -Comment[tg]=Филтри KBabel -Comment[tr]=KBabel süzgeci -Comment[uk]=Фільтр KBabel -Comment[zh_CN]=KBabel 过滤器 -Comment[zh_TW]=KBabel 過濾器 [PropertyDef::X-TDE-Import] Type=TQStringList |