summaryrefslogtreecommitdiffstats
path: root/kolourpaint
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
committerSlávek Banko <[email protected]>2020-06-09 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kolourpaint
parent766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff)
downloadtdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz
tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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]> (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'kolourpaint')
-rw-r--r--kolourpaint/CMakeL10n.txt6
-rw-r--r--kolourpaint/CMakeLists.txt2
-rw-r--r--kolourpaint/kolourpaint.desktop73
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
-