From 837dbafbea0c7f7bc73d27fda684ea2dededd547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 9 Jun 2020 17:49:10 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kolourpaint/CMakeL10n.txt | 6 ++++ kolourpaint/CMakeLists.txt | 2 +- kolourpaint/kolourpaint.desktop | 73 ----------------------------------------- 3 files changed, 7 insertions(+), 74 deletions(-) (limited to 'kolourpaint') 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 - -- cgit v1.2.1