summaryrefslogtreecommitdiffstats
path: root/kxsldbg
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-03-16 00:02:31 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-05-05 19:55:36 +0200
commit9b215fd2af36fbe86fc507d0cb3bba415c88fb58 (patch)
treed0821b31ca17ad69c5d6c568e7fe2f7e03788e42 /kxsldbg
parentf4edc50e4756b2289254ee308223faed9be6a2c7 (diff)
downloadtdewebdev-9b215fd2af36fbe86fc507d0cb3bba415c88fb58.tar.gz
tdewebdev-9b215fd2af36fbe86fc507d0cb3bba415c88fb58.zip
Added translation of .desktop files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kxsldbg')
-rw-r--r--kxsldbg/CMakeL10n.txt6
-rw-r--r--kxsldbg/CMakeLists.txt6
-rw-r--r--kxsldbg/kxsldbg.desktop50
-rw-r--r--kxsldbg/kxsldbgpart/CMakeLists.txt2
-rw-r--r--kxsldbg/kxsldbgpart/kxsldbg_part.desktop12
-rw-r--r--kxsldbg/xsldbg.desktop3
6 files changed, 20 insertions, 59 deletions
diff --git a/kxsldbg/CMakeL10n.txt b/kxsldbg/CMakeL10n.txt
index c758693d..41cee94b 100644
--- a/kxsldbg/CMakeL10n.txt
+++ b/kxsldbg/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kxsldbg" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kxsldbg-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kxsldbg/CMakeLists.txt b/kxsldbg/CMakeLists.txt
index d699d4d9..ca9a1df0 100644
--- a/kxsldbg/CMakeLists.txt
+++ b/kxsldbg/CMakeLists.txt
@@ -82,6 +82,10 @@ install(
tde_create_translated_desktop(
SOURCE xsldbg.desktop
DESTINATION ${APPS_INSTALL_DIR}/.hidden
+ PO_DIR kxsldbg-desktops
)
-tde_create_translated_desktop( kxsldbg.desktop )
+tde_create_translated_desktop(
+ SOURCE kxsldbg.desktop
+ PO_DIR kxsldbg-desktops
+)
diff --git a/kxsldbg/kxsldbg.desktop b/kxsldbg/kxsldbg.desktop
index 5c09b726..c0c8dce7 100644
--- a/kxsldbg/kxsldbg.desktop
+++ b/kxsldbg/kxsldbg.desktop
@@ -1,53 +1,11 @@
[Desktop Entry]
Name=KXSLDbg
-Name[sv]=Kxsldbg
-Name[ta]=KXSLDபிஜி
+
GenericName=XSLT Debugger
-GenericName[bg]=Дебъгер XSLT
-GenericName[br]=Dizraener XSLT
-GenericName[ca]=Depurador XSLT
-GenericName[cs]=XSLT debugger
-GenericName[da]=XSLT-Fejlretter
-GenericName[de]=XSLT-Debugger
-GenericName[el]=Αποσφαλματωτής XSLT
-GenericName[es]=Depurador XSLT
-GenericName[et]=XSLT silur
-GenericName[eu]=XSLT araztailea
-GenericName[fa]=اشکال‌زدای XSLT
-GenericName[fi]=XSLT debuggeri
-GenericName[fr]=Débogueur XSLT
-GenericName[ga]=Dífhabhtóir XSLT
-GenericName[gl]=Depurador XSLT
-GenericName[hi]=XSLT डिबगर
-GenericName[hu]=XSLT-nyomkövető
-GenericName[is]=XSLT aflúsari
-GenericName[it]=Debugger per XSLT
-GenericName[ja]=XSLT デバッガ
-GenericName[lt]=XSLT derintuvė
-GenericName[ms]=Penyahralat XSLT
-GenericName[nds]=XSLT-Fehlersöker
-GenericName[ne]=त्रुटिमोचक एक्सएसएलटी
-GenericName[nl]=XSLT-debugger
-GenericName[pl]=Debuger XSLT
-GenericName[pt]=Depuração de XSLT
-GenericName[pt_BR]=Debugger para XSLT
-GenericName[ro]=Depanator XSLT
-GenericName[ru]=Отладчик XSLT
-GenericName[sk]=XSLT debuger
-GenericName[sl]=Razhroščevalnik XSLT
-GenericName[sr]=Исправљач XSLT-а
-GenericName[sr@Latn]=Ispravljač XSLT-a
-GenericName[sv]=XSLT-felsökare
-GenericName[ta]=XSLT வழுநீக்குபவர்
-GenericName[tg]=Ғалатёби XSLT
-GenericName[tr]=XSLT Hata Ayıklayıcısı
-GenericName[uk]=Зневаджувач XSLT
-GenericName[zh_CN]=XSLT 调试器
-GenericName[zh_HK]=XSLT 除錯器
-GenericName[zh_TW]=XSLT 除錯器
+
+Type=Application
Exec=kxsldbg %i %m -caption "%c"
Icon=kxsldbg
-Type=Application
-X-DocPath=kxsldbg/index.html
Terminal=false
+X-DocPath=kxsldbg/index.html
Categories=Qt;TDE;Development;WebDevelopment;
diff --git a/kxsldbg/kxsldbgpart/CMakeLists.txt b/kxsldbg/kxsldbgpart/CMakeLists.txt
index cf55a993..da1a74e3 100644
--- a/kxsldbg/kxsldbgpart/CMakeLists.txt
+++ b/kxsldbg/kxsldbgpart/CMakeLists.txt
@@ -103,10 +103,10 @@ tde_install_icons( )
tde_create_translated_desktop(
SOURCE kxsldbg_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kxsldbg-desktops
)
install(
FILES kxsldbg_part.rc
DESTINATION ${DATA_INSTALL_DIR}/kxsldbgpart
)
-
diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.desktop b/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
index 7a13356f..81eca2be 100644
--- a/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
+++ b/kxsldbg/kxsldbgpart/kxsldbg_part.desktop
@@ -1,15 +1,7 @@
[Desktop Entry]
Name=KXsldbgPart
-Name[de]=KXsldbg-Komponente
-Name[fr]=Module externe KXsldbg
-Name[ja]=KXsldbgPort
-Name[nds]=KXsldbg-Komponent
-Name[pl]=Osadzalny program KPart KXsldbg
-Name[pt_BR]=KXSsldbgPart
-Name[sv]=Kxsldbg-delprogram
-Name[ta]=KXsldbg பகுதி
-Name[tg]=Қисми KXsldbg
+
+Type=Service
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
X-TDE-ServiceTypes=KParts/ReadOnlyPart
X-TDE-Library=libkxsldbgpart
-Type=Service
diff --git a/kxsldbg/xsldbg.desktop b/kxsldbg/xsldbg.desktop
index 70d41fd9..64cad2da 100644
--- a/kxsldbg/xsldbg.desktop
+++ b/kxsldbg/xsldbg.desktop
@@ -1,6 +1,7 @@
[Desktop Entry]
+Name=XSLDbg
+
Icon=kxsldbg
X-DocPath=xsldbg/index.html
Categories=Qt;TDE;Development;WebDevelopment;
NoDisplay=true
-Name=XSLDbg