summaryrefslogtreecommitdiffstats
path: root/ksnapshot
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 /ksnapshot
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 'ksnapshot')
-rw-r--r--ksnapshot/CMakeL10n.txt6
-rw-r--r--ksnapshot/CMakeLists.txt2
-rw-r--r--ksnapshot/ksnapshot.desktop65
3 files changed, 7 insertions, 66 deletions
diff --git a/ksnapshot/CMakeL10n.txt b/ksnapshot/CMakeL10n.txt
index d472e741..6e40132a 100644
--- a/ksnapshot/CMakeL10n.txt
+++ b/ksnapshot/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "ksnapshot" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/ksnapshot.desktop/"
+ SOURCES ksnapshot.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/ksnapshot/CMakeLists.txt b/ksnapshot/CMakeLists.txt
index a9b0fcdd..93fc591b 100644
--- a/ksnapshot/CMakeLists.txt
+++ b/ksnapshot/CMakeLists.txt
@@ -31,7 +31,7 @@ link_directories(
##### other data ################################
tde_install_icons( ksnapshot )
-install( FILES ksnapshot.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( ksnapshot.desktop )
##### ksnapshot (executable) ####################
diff --git a/ksnapshot/ksnapshot.desktop b/ksnapshot/ksnapshot.desktop
index 7b7b3ae5..d5d33676 100644
--- a/ksnapshot/ksnapshot.desktop
+++ b/ksnapshot/ksnapshot.desktop
@@ -1,72 +1,7 @@
[Desktop Entry]
GenericName=Screen Capture Program
-GenericName[af]=Skerm Vang Program
-GenericName[ar]=برنامج تصوير الشاشة
-GenericName[bg]=Снимки на екрана
-GenericName[bs]=Program za "hvatanje" slike
-GenericName[ca]=Programa de captura de pantalla
-GenericName[cs]=Snímač obrazovky
-GenericName[cy]=Rhaglen Cipio'r Sgrîn
-GenericName[da]=Program til øjebliksbilleder
-GenericName[de]=Bildschirmfotos
-GenericName[el]=Πρόγραμμα σύλληψης οθόνης
-GenericName[eo]=Ekranfota programo
-GenericName[es]=Capturador de pantalla
-GenericName[et]=Töölaua pildistamine
-GenericName[eu]=Pantailari argazkiak ateratzeko programa
-GenericName[fa]=برنامۀ گیراندازی پرده
-GenericName[fi]=Ruudunkaappausohjelma
-GenericName[fr]=Logiciel de capture d'écran
-GenericName[ga]=Clár gabhála scáileáin
-GenericName[gl]=Progama para facer capturas de pantalla
-GenericName[he]=תוכנית לצילום המסך
-GenericName[hi]=स्क्रीन केप्चर प्रोग्राम
-GenericName[hr]=Program za snimanje zaslona
-GenericName[hu]=Képlopó
-GenericName[is]=Forrit sem grípur skjámyndir
-GenericName[it]=Scatta foto allo schermo
-GenericName[ja]=スクリーンキャプチャプログラム
-GenericName[kk]=Экраннан түсіріп алу бағдарламасы
-GenericName[km]=កម្មវិធី​ចាប់យក​អេក្រង់
-GenericName[lt]=Ekrano kopijos programa
-GenericName[lv]=Ekrāna Sagrābšanas Programma
-GenericName[ms]=Program Cekupan Skrin
-GenericName[mt]=Programm biex tieħu "ritratt" tal-iskrin
-GenericName[nb]=Skjermdumpprogram
-GenericName[nds]=Schirmfotos opnehmen
-GenericName[ne]=पर्दा समात्ने कार्यक्रम
-GenericName[nl]=Schermafdrukprogramma
-GenericName[nn]=Program for skjermbilete
-GenericName[nso]=Lenaneo lago Apesa Pontsho
-GenericName[pl]=Program do zrzutów ekranu
-GenericName[pt]=Programa de Captura do Ecrã
-GenericName[pt_BR]=Programa de Captura de Tela
-GenericName[ro]=Program de captură de ecran
-GenericName[ru]=Создание снимков экрана
-GenericName[rw]=Porogaramu Gufata Mugaragaza
-GenericName[se]=Šearbmagovvenprográmma
-GenericName[sk]=Zachytenie obrazovky
-GenericName[sl]=Program za zajem zaslona
-GenericName[sr]=Програм за снимање екрана
-GenericName[sr@Latn]=Program za snimanje ekrana
-GenericName[sv]=Ta en skärmdump
-GenericName[ta]=திரை கைப்பற்றும் நிரலி
-GenericName[tg]=Эҷоди суратҳои экран
-GenericName[th]=โปรแกรมจับภาพหน้าจอ
-GenericName[tr]=Ekran Yakalama Programı
-GenericName[uk]=Захоплювач екрана
-GenericName[uz]=Skrinshot olish dasturi
-GenericName[uz@cyrillic]=Скриншот олиш дастури
-GenericName[ven]=Mbekanya mushumo ino gavha tshikirini
-GenericName[wa]=Programe po fé des waitroûlêyes
-GenericName[xh]=Iinkcazelo Ezigcina Ikhusi
-GenericName[zh_CN]=屏幕截图程序
-GenericName[zh_HK]=螢幕擷取程式
-GenericName[zh_TW]=畫面擷取程式
-GenericName[zu]=Iprogremu Yokubamba Isikrini
Name=KSnapshot
-Name[hi]=के-स्नेपशॉट
Exec=ksnapshot -caption "%c" %i %m
Icon=ksnapshot