summaryrefslogtreecommitdiffstats
path: root/kedit
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-22 02:49:40 +0200
commit296306a273438f476ab2266d1c03616de1fd5ef7 (patch)
tree7788ff1608858031d0b9816452591f2c62f42bc0 /kedit
parent5422ccd94be4a116b9334fb3b350c3a07ff7505e (diff)
downloadtdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.tar.gz
tdeutils-296306a273438f476ab2266d1c03616de1fd5ef7.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 'kedit')
-rw-r--r--kedit/CMakeL10n.txt6
-rw-r--r--kedit/CMakeLists.txt5
-rw-r--r--kedit/KEdit.desktop55
3 files changed, 7 insertions, 59 deletions
diff --git a/kedit/CMakeL10n.txt b/kedit/CMakeL10n.txt
index 162dd6a..2def764 100644
--- a/kedit/CMakeL10n.txt
+++ b/kedit/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kedit" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/KEdit.desktop/"
+ SOURCES KEdit.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kedit/CMakeLists.txt b/kedit/CMakeLists.txt
index 4b313b1..13d9c85 100644
--- a/kedit/CMakeLists.txt
+++ b/kedit/CMakeLists.txt
@@ -39,11 +39,8 @@ install( FILES keditui.rc
DESTINATION ${DATA_INSTALL_DIR}/kedit
)
-install( FILES KEdit.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( KEdit.desktop )
install( FILES kedit.kcfg
DESTINATION ${KCFG_INSTALL_DIR}
)
-
diff --git a/kedit/KEdit.desktop b/kedit/KEdit.desktop
index 54e679c..8974fac 100644
--- a/kedit/KEdit.desktop
+++ b/kedit/KEdit.desktop
@@ -1,62 +1,7 @@
[Desktop Entry]
Name=KEdit
-Name[hi]=केएडिट
GenericName=Simple Text Editor
-GenericName[ar]=محرر نصوص بسيط
-GenericName[bg]=Текстов редактор
-GenericName[bs]=Jednostavni tekst editor
-GenericName[ca]=Editor de text
-GenericName[cs]=Jednoduchý textový editor
-GenericName[cy]=Golygydd Testun Syml
-GenericName[da]=Simpel teksteditor
-GenericName[de]=Einfacher Texteditor
-GenericName[el]=Απλός επεξεργαστής κειμένου
-GenericName[eo]=Simpla Tekstredaktilo
-GenericName[es]=Editor de texto sencillo
-GenericName[et]=Lihtne tekstiredaktor
-GenericName[eu]=Testu Editore Soila
-GenericName[fa]=ویرایشگر سادۀ متن
-GenericName[fi]=Tekstieditori
-GenericName[fr]=Éditeur de texte élémentaire
-GenericName[ga]=Eagarthóir Téacs Simplí
-GenericName[he]=עורך טקסט פשוט
-GenericName[hi]=सादा पाठ संपादक
-GenericName[hu]=Egyszerű szövegszerkesztő
-GenericName[is]=Einfaldur textaritill
-GenericName[it]=Semplice editor di testi
-GenericName[ja]=シンプルなテキストエディタ
-GenericName[ka]=მარტივი ტექსტის რედაქტორი
-GenericName[kk]=Қарапайым мәтін редакторы
-GenericName[km]=កម្មវិធី​និពន្ធ​អត្ថបទ
-GenericName[lt]=Paprastas teksto redaktorius
-GenericName[mk]=Едноставен уредувач на текст
-GenericName[ms]=Penyunting Teks Ringkas
-GenericName[nb]=Enkelt skriveprogram
-GenericName[nds]=Eenfach Texteditor
-GenericName[ne]=सामान्य पाठ सम्पादक
-GenericName[nl]=Eenvoudige teksteditor
-GenericName[nn]=Enkelt skriveprogram
-GenericName[pa]=ਸਧਾਰਨ ਪਾਠ ਸੰਪਾਦਕ
-GenericName[pl]=Prosty edytor tekstu
-GenericName[pt]=Editor de Texto Simples
-GenericName[pt_BR]=Editor de Texto Simples
-GenericName[ro]=Editor simplu de text
-GenericName[ru]=Простой текстовый редактор
-GenericName[sk]=Jednoduchý textový editor
-GenericName[sl]=Preprost urejevalnik besedil
-GenericName[sr]=Једноставни уређивач текста
-GenericName[sr@Latn]=Jednostavni uređivač teksta
-GenericName[sv]=Enkel texteditor
-GenericName[ta]=சுலப உரை தொகுப்பான்
-GenericName[tg]=Муҳаррири Оддии Матн
-GenericName[tr]=Basit Metin Düzenleyici
-GenericName[uk]=Простий редактор текстів
-GenericName[uz]=Oddiy matn tahrirchi
-GenericName[uz@cyrillic]=Оддий матн таҳрирчи
-GenericName[wa]=Simpe aspougneu di tecse
-GenericName[zh_CN]=简单文本编辑器
-GenericName[zh_TW]=簡單的文字編輯器
Exec=kedit -caption "%c" %i %m %u
Icon=kedit