summaryrefslogtreecommitdiffstats
path: root/ktip
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-26 11:36:35 +0200
committerSlávek Banko <[email protected]>2020-06-28 00:41:12 +0200
commit2f706891f32258c2b070471905f983e4585296d2 (patch)
tree6c74e28fd7c74d26b1c36c371a9ed56295cc05ae /ktip
parent98f2d732f33659ba749b70fb939e8eaa0c97edf8 (diff)
downloadtdebase-2f706891f32258c2b070471905f983e4585296d2.tar.gz
tdebase-2f706891f32258c2b070471905f983e4585296d2.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 'ktip')
-rw-r--r--ktip/CMakeL10n.txt6
-rw-r--r--ktip/CMakeLists.txt7
-rw-r--r--ktip/ktip.desktop82
3 files changed, 13 insertions, 82 deletions
diff --git a/ktip/CMakeL10n.txt b/ktip/CMakeL10n.txt
index f8bd05a4e..696ee0185 100644
--- a/ktip/CMakeL10n.txt
+++ b/ktip/CMakeL10n.txt
@@ -4,3 +4,9 @@ tde_l10n_create_template(
CATALOG "ktip"
SOURCES "." "tips"
)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ktip.desktop/"
+ SOURCES ktip.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ktip/CMakeLists.txt b/ktip/CMakeLists.txt
index 350cb8881..8c1e08749 100644
--- a/ktip/CMakeLists.txt
+++ b/ktip/CMakeLists.txt
@@ -25,8 +25,11 @@ link_directories(
##### other data ################################
tde_install_icons( )
-install( FILES ktip.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES ktip.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+tde_create_translated_desktop( ktip.desktop )
+install(
+ FILES ${CMAKE_CURRENT_BINARY_DIR}/ktip.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR}
+)
install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Toys RENAME ktip.desktop )
install( FILES tips DESTINATION ${DATA_INSTALL_DIR}/tdewizard )
diff --git a/ktip/ktip.desktop b/ktip/ktip.desktop
index aa1bb2787..64f936272 100644
--- a/ktip/ktip.desktop
+++ b/ktip/ktip.desktop
@@ -1,86 +1,8 @@
[Desktop Entry]
Name=KTip
-Name[af]=K Leidraad
-Name[ar]=تلميحات
-Name[bn]=কে-টিপ
-Name[cy]=KCynghoryn
-Name[mk]=КСовет
-Name[ne]=केटिप
-Name[pa]=ਕੇਟਿੱਪ
-Name[rw]=K-Inyobora
-Name[sl]=KNamig
-Name[sv]=Ktip
-Name[te]=కెసుచన
-Name[vi]=Gợi ý TDE
-Name[wa]=KBonASavu
+
GenericName=Useful Tips
-GenericName[af]=Bruikbare Leidrade
-GenericName[be]=Карысныя парады
-GenericName[bg]=Полезни съвети
-GenericName[bn]=কাজের টিপ্‌স
-GenericName[br]=Lagadennoù talvoudus
-GenericName[bs]=Korisni savjeti
-GenericName[ca]=Consells útils
-GenericName[cs]=Užitečné tipy
-GenericName[csb]=Przëdatné radë
-GenericName[cy]=Cynghorion Defnyddiol
-GenericName[da]=Nyttige vink
-GenericName[de]=Nützliche Tipps
-GenericName[el]=Χρήσιμα βοηθήματα
-GenericName[eo]=Utilaj Konsiloj
-GenericName[es]=Consejos útiles
-GenericName[et]=Kasulikud nõuanded
-GenericName[eu]=Aholku erabilgarriak
-GenericName[fa]=نکات مفید
-GenericName[fi]=Hyödylliset vihjeet
-GenericName[fr]=Conseils utiles
-GenericName[fy]=Brûkbare tips
-GenericName[ga]=Leideanna Úsáideacha
-GenericName[gl]=Consellos úteis
-GenericName[he]=טיפים שימושיים
-GenericName[hr]=Korisni savjeti
-GenericName[hu]=Hasznos tippek
-GenericName[is]=Gagnlegar ábendingar
-GenericName[it]=Suggerimenti utili
-GenericName[ja]=役に立つ一言
-GenericName[ka]=სასარგებლო რჩევები
-GenericName[kk]=Пайдалы кеңестер
-GenericName[km]=ព័ត៌មាន​ជំនួយ​មាន​ប្រយោជន៍
-GenericName[ko]=유용한 팁
-GenericName[lt]=Naudingi patarimai
-GenericName[mk]=Корисни совети
-GenericName[ms]=Tip Berguna
-GenericName[nb]=Nyttige tips
-GenericName[nds]=Gode Tipps
-GenericName[ne]=उपयोगि टिप
-GenericName[nl]=Bruikbare tips
-GenericName[nn]=Nyttige tips
-GenericName[pa]=ਸਹਾਇਕ ਇਸ਼ਾਰੇ
-GenericName[pl]=Użyteczne porady
-GenericName[pt]=Dicas Úteis
-GenericName[pt_BR]=Dicas Úteis
-GenericName[ro]=Sfaturi utile
-GenericName[ru]=Полезные советы
-GenericName[rw]=Inyobora Ngirakamaro
-GenericName[se]=Ávkkálaš rávvágat
-GenericName[sk]=Šikovné tipy
-GenericName[sl]=Uporabni namigi
-GenericName[sr]=Корисни савети
-GenericName[sr@Latn]=Korisni saveti
-GenericName[sv]=Nyttiga tips
-GenericName[ta]=பயனுள்ள குறிப்புகள்
-GenericName[te]=ఉపయొగకరమైన సుచనలు
-GenericName[tg]=Маслиҳатҳои хуб
-GenericName[th]=เคล็ดลับมีประโยชน์
-GenericName[tr]=Kullanışlı İpuçları
-GenericName[tt]=Faydalı Kiñäşlär
-GenericName[uk]=Корисні поради
-GenericName[uz]=Foydali maslaxatlar
-GenericName[uz@cyrillic]=Фойдали маслахатлар
-GenericName[vi]=Gợi ý Hữu ích
-GenericName[wa]=Ahessåvès racsegnes
-GenericName[zh_CN]=有用的提示
-GenericName[zh_TW]=有用的祕訣
+
Exec=ktip
Icon=ktip
Type=Application