diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-09 17:49:10 +0200 |
commit | 837dbafbea0c7f7bc73d27fda684ea2dededd547 (patch) | |
tree | 66811931fed182f8fa6f59547c6511a897adb734 /kolourpaint | |
parent | 00b9084c635fe29e7c5942ff508be2ca65893659 (diff) | |
download | tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.tar.gz tdegraphics-837dbafbea0c7f7bc73d27fda684ea2dededd547.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 'kolourpaint')
-rw-r--r-- | kolourpaint/CMakeL10n.txt | 6 | ||||
-rw-r--r-- | kolourpaint/CMakeLists.txt | 2 | ||||
-rw-r--r-- | kolourpaint/kolourpaint.desktop | 73 |
3 files changed, 7 insertions, 74 deletions
diff --git a/kolourpaint/CMakeL10n.txt b/kolourpaint/CMakeL10n.txt index 2895b85d..bcc1f9bf 100644 --- a/kolourpaint/CMakeL10n.txt +++ b/kolourpaint/CMakeL10n.txt @@ -1,3 +1,9 @@ ##### create translation templates ############## tde_l10n_create_template( "kolourpaint" ) + +tde_l10n_create_template( + CATALOG "desktop_files/kolourpaint.desktop/" + SOURCES kolourpaint.desktop + DESTINATION "${CMAKE_SOURCE_DIR}/translations" +) diff --git a/kolourpaint/CMakeLists.txt b/kolourpaint/CMakeLists.txt index ee5f064c..288675bb 100644 --- a/kolourpaint/CMakeLists.txt +++ b/kolourpaint/CMakeLists.txt @@ -35,7 +35,7 @@ link_directories( ##### other data ################################ -install( FILES kolourpaint.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +tde_create_translated_desktop( kolourpaint.desktop ) install( FILES kolourpaintui.rc DESTINATION ${DATA_INSTALL_DIR}/kolourpaint ) diff --git a/kolourpaint/kolourpaint.desktop b/kolourpaint/kolourpaint.desktop index 310f47c6..5b2d4108 100644 --- a/kolourpaint/kolourpaint.desktop +++ b/kolourpaint/kolourpaint.desktop @@ -1,79 +1,7 @@ [Desktop Entry] Name=KolourPaint -Name[nb]=KPaint -Name[ne]=रङ पेन्ट -Name[pa]=ਕੇ-ਰੰਗ-ਪੇਂਟ -Name[sv]=Kolourpaint -Name[ta]=நிற பெயின்ட் -Name[zh_TW]=KolourPaint 小畫家 GenericName=Paint Program -GenericName[af]=Verf Program -GenericName[ar]=برنامج تلوين -GenericName[bg]=Графичен редактор -GenericName[br]=Goulev tresañ -GenericName[bs]=Jednostavni program za crtanje -GenericName[ca]=Programa de pintura -GenericName[cs]=Kreslící program -GenericName[cy]=Rhaglen Peintio -GenericName[da]=Maleprogram -GenericName[de]=Mal- und Zeichenprogramm -GenericName[el]=Πρόγραμμα ζωγραφικής -GenericName[eo]=Pentrilo -GenericName[es]=Programa de pintura -GenericName[et]=Joonistusprogramm -GenericName[eu]=Marrazteko programa -GenericName[fa]=برنامۀ رنگ -GenericName[fi]=Piirto-ohjelma -GenericName[fr]=Petit programme de dessin -GenericName[ga]=Clár Péinteála -GenericName[gl]=Programa de debuxo -GenericName[he]=תוכנית ציור -GenericName[hi]=छवि बनाने का प्रोग्राम -GenericName[hr]=Program za slikanje -GenericName[hu]=Rajzolóprogram -GenericName[is]=Teikniforrit -GenericName[it]=Programma di disegno -GenericName[ja]=ペイントプログラム -GenericName[kk]=Сурет салу бағдарламасы -GenericName[km]=កម្មវិធីគូរ -GenericName[lt]=Piešimo programa -GenericName[lv]=Krāsošanas Programma -GenericName[ms]=Program Mewarna -GenericName[mt]=Programm sempliċi tat-tpinġija -GenericName[nb]=Maleprogram -GenericName[nds]=Maalprogramm -GenericName[ne]=पेन्ट कार्यक्रम -GenericName[nl]=Tekenprogramma -GenericName[nn]=Måleprogram -GenericName[nso]=Lenaneo la Paint -GenericName[pa]=ਰੰਗ ਕਾਰਜ -GenericName[pl]=Program Paint -GenericName[pt]=Programa de Pintura -GenericName[pt_BR]=Programa de Pintura -GenericName[ro]=Program de desenare -GenericName[ru]=Графический редактор -GenericName[rw]=Porogaramu Gusiga irangi -GenericName[se]=Málenprográmma -GenericName[sk]=Kreslenie -GenericName[sl]=Slikarski program -GenericName[sr]=Програм за сликање -GenericName[sr@Latn]=Program za slikanje -GenericName[sv]=Ritprogram -GenericName[ta]=பெயிண்ட் நிரலி -GenericName[tg]=Муҳаррири графикӣ -GenericName[th]=โปรแกรมวาดภาพธรรมดาๆ -GenericName[tr]=Boyama Programı -GenericName[uk]=Програма для малювання -GenericName[uz]=Chizish dasturi -GenericName[uz@cyrillic]=Чизиш дастури -GenericName[ven]=Mbekanyamushumo ya Pennde -GenericName[wa]=Program di dessinaedje -GenericName[xh]=Udweliso lwenkqubo lwepeyinti -GenericName[zh_CN]=绘图程序 -GenericName[zh_HK]=繪圖程式 -GenericName[zh_TW]=繪圖程式 -GenericName[zu]=Elila Iprogremu Kapende Icon=kolourpaint Type=Application @@ -88,4 +16,3 @@ Categories=Qt;TDE;Graphics; Terminal=false X-TDE-StartupNotify=true X-DCOP-ServiceType=Multi - |