summaryrefslogtreecommitdiffstats
path: root/kmenuedit
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-28 00:42:21 +0200
committerSlávek Banko <[email protected]>2020-06-28 00:42:21 +0200
commit92841ae8b62560f0b137dc838bfd12ac78d26599 (patch)
tree77ff1aee27f10b9ba54d6c6e1f4d972c72d69b67 /kmenuedit
parent191cf4812dfa7524f32916423d79f072d88f56d1 (diff)
downloadtdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.tar.gz
tdebase-92841ae8b62560f0b137dc838bfd12ac78d26599.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 2f706891f32258c2b070471905f983e4585296d2)
Diffstat (limited to 'kmenuedit')
-rw-r--r--kmenuedit/CMakeL10n.txt6
-rw-r--r--kmenuedit/CMakeLists.txt2
-rw-r--r--kmenuedit/kmenuedit.desktop88
3 files changed, 11 insertions, 85 deletions
diff --git a/kmenuedit/CMakeL10n.txt b/kmenuedit/CMakeL10n.txt
index 368c5995e..d5fd04ae5 100644
--- a/kmenuedit/CMakeL10n.txt
+++ b/kmenuedit/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kmenuedit" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kmenuedit.desktop/"
+ SOURCES kmenuedit.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kmenuedit/CMakeLists.txt b/kmenuedit/CMakeLists.txt
index e864464f8..d705143ce 100644
--- a/kmenuedit/CMakeLists.txt
+++ b/kmenuedit/CMakeLists.txt
@@ -26,7 +26,7 @@ link_directories(
##### other data ################################
tde_install_icons( kmenuedit )
-install( FILES kmenuedit.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+tde_create_translated_desktop( kmenuedit.desktop )
install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/System RENAME kmenuedit.desktop )
install( FILES kmenueditui.rc DESTINATION ${DATA_INSTALL_DIR}/kmenuedit )
install( FILES kcontroleditui.rc DESTINATION ${DATA_INSTALL_DIR}/kcontroledit )
diff --git a/kmenuedit/kmenuedit.desktop b/kmenuedit/kmenuedit.desktop
index 4018877be..22b8a646d 100644
--- a/kmenuedit/kmenuedit.desktop
+++ b/kmenuedit/kmenuedit.desktop
@@ -1,93 +1,13 @@
[Desktop Entry]
+Name=KMenuEdit
+
+GenericName=Menu Editor
+
Exec=kmenuedit
Icon=kmenuedit
X-DocPath=kmenuedit/index.html
Type=Application
X-TDE-StartupNotify=true
OnlyShowIn=TDE;
-
-Name=KMenuEdit
-GenericName=Menu Editor
-GenericName[af]=Kieslys Redigeerder
-GenericName[ar]=محرر القوائم
-GenericName[az]=Menyu Editoru
-GenericName[be]=Рэдактар меню
-GenericName[bg]=Редактор на системното меню
-GenericName[bn]=মেনু সম্পাদক
-GenericName[br]=Aozer lañserioù
-GenericName[bs]=Editor menija
-GenericName[ca]=Editor del menú
-GenericName[cs]=Editor nabídek
-GenericName[csb]=Editora menu
-GenericName[cy]=Golygydd Dewislen
-GenericName[da]=Menueditor
-GenericName[de]=Menüeditor
-GenericName[el]=Επεξεργαστής μενού
-GenericName[eo]=Menuredaktilo
-GenericName[es]=Editor de menús
-GenericName[et]=Menüü redaktor
-GenericName[eu]=Menu editorea
-GenericName[fa]=ویرایشگر گزینگان
-GenericName[fi]=Valikon asetukset
-GenericName[fr]=Éditeur de menu
-GenericName[fy]=Menubewurker
-GenericName[ga]=Eagarthóir Roghchláir
-GenericName[gl]=Editor do Menu
-GenericName[he]=עורך התפריטים
-GenericName[hi]=मेन्यू संपादक
-GenericName[hr]=Uređivač izbornika
-GenericName[hu]=Menüszerkesztő
-GenericName[id]=Editor Menu
-GenericName[is]=Sýsla með valmyndir
-GenericName[it]=Editor dei menu
-GenericName[ja]=メニューエディタ
-GenericName[ka]=მენიუს რედაქტორი
-GenericName[kk]=Мәзір редакторы
-GenericName[km]=កម្មវិធី​និពន្ធ​ម៉ឺនុយ
-GenericName[ko]=메뉴 편집기
-GenericName[lo]=ເຄື່ອງມືແກ້ໄຂເມນູ
-GenericName[lt]=Meniu redaktorius
-GenericName[lv]=Izvēlnes Redaktors
-GenericName[mk]=Уредувач на мени
-GenericName[mn]=Цэс-Боловсруулагч
-GenericName[ms]=Editor Menu
-GenericName[mt]=Editur tal-menu
-GenericName[nb]=Menyredigering
-GenericName[nds]=Menüeditor
-GenericName[ne]=मेनु सम्पादक
-GenericName[nl]=Menubewerker
-GenericName[nn]=Menyredigering
-GenericName[nso]=Mofetosi wa Menu
-GenericName[oc]=Editor de menu
-GenericName[pa]=ਮੇਨੂ ਸੰਪਾਦਕ
-GenericName[pl]=Edytor menu
-GenericName[pt]=Editor de Menus
-GenericName[pt_BR]=Editor de Menus
-GenericName[ro]=Editor de meniuri
-GenericName[ru]=Редактор меню
-GenericName[rw]=Muhinduzi Ibikubiyemo
-GenericName[se]=Fállodoaimmaheaddji
-GenericName[sk]=Editor menu
-GenericName[sl]=Urejevalnik menijev
-GenericName[sr]=Уређивач менија
-GenericName[sr@Latn]=Uređivač menija
-GenericName[sv]=Menyeditor
-GenericName[ta]=பட்டியல் திருத்துபவர்
-GenericName[te]=పట్టి ఎడిటర్
-GenericName[tg]=Муҳаррири меню
-GenericName[th]=ตัวแก้ไขเมนู
-GenericName[tr]=Menü Düzenleyicisi
-GenericName[tt]=Saylaq Tözätü
-GenericName[uk]=Редактор меню
-GenericName[uz]=Menyu tahrirchi
-GenericName[uz@cyrillic]=Меню таҳрирчи
-GenericName[ven]=Musengulusi wa Menu
-GenericName[vi]=Biên soạn Thực đơn
-GenericName[wa]=Aspougneu di menus
-GenericName[xh]=Umhleli we Menu
-GenericName[zh_CN]=菜单编辑器
-GenericName[zh_TW]=選單編輯器
-GenericName[zu]=Umlungisi wemenu
-
X-DCOP-ServiceType=Unique
Categories=Qt;TDE;Settings;