summaryrefslogtreecommitdiffstats
path: root/klinkstatus
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 /klinkstatus
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 'klinkstatus')
-rw-r--r--klinkstatus/src/CMakeL10n.txt6
-rw-r--r--klinkstatus/src/CMakeLists.txt6
-rw-r--r--klinkstatus/src/klinkstatus.desktop53
-rw-r--r--klinkstatus/src/klinkstatus_part.desktop13
4 files changed, 18 insertions, 60 deletions
diff --git a/klinkstatus/src/CMakeL10n.txt b/klinkstatus/src/CMakeL10n.txt
index 15d6cad7..3e197d38 100644
--- a/klinkstatus/src/CMakeL10n.txt
+++ b/klinkstatus/src/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "klinkstatus" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/klinkstatus-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/klinkstatus/src/CMakeLists.txt b/klinkstatus/src/CMakeLists.txt
index b8a5eea3..8b657494 100644
--- a/klinkstatus/src/CMakeLists.txt
+++ b/klinkstatus/src/CMakeLists.txt
@@ -77,11 +77,15 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/klinkstatus
)
-tde_create_translated_desktop( klinkstatus.desktop )
+tde_create_translated_desktop(
+ SOURCE klinkstatus.desktop
+ PO_DIR klinkstatus-desktops
+)
tde_create_translated_desktop(
SOURCE klinkstatus_part.desktop
DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR klinkstatus-desktops
)
install(
diff --git a/klinkstatus/src/klinkstatus.desktop b/klinkstatus/src/klinkstatus.desktop
index bc5a910a..0755d346 100644
--- a/klinkstatus/src/klinkstatus.desktop
+++ b/klinkstatus/src/klinkstatus.desktop
@@ -1,54 +1,11 @@
[Desktop Entry]
Name=KLinkStatus
-Name[ne]=केडीई लिङ्क स्थिति
-Name[sk]=KLink status
-Name[sv]=Klinkstatus
-Name[ta]=Kதொகுதி நிலைமை
-Name[tr]=K Köprü Durumu
+
+GenericName=Link Checker
+
+Type=Application
Exec=klinkstatus %i %m -caption "%c"
Icon=klinkstatus
-Type=Application
-X-DocPath=klinkstatus/index.html
Terminal=false
-GenericName=Link Checker
-GenericName[bg]=Проверка на препратки
-GenericName[ca]=Comprovador d'enllaços
-GenericName[cs]=Kontrola odkazů
-GenericName[da]=Link-tjekker
-GenericName[de]=Überprüfungswerkzeug für Verknüpfungen
-GenericName[el]=Ελεγκτής σύνδεσης
-GenericName[es]=Comprobador de enlaces
-GenericName[et]=Viidakontrollija
-GenericName[eu]=Esteka egiaztatzailea
-GenericName[fa]=بررسی‌کنندۀ پیوند
-GenericName[fi]=Linkkien tarkistaja
-GenericName[fr]=Vérificateur de liens
-GenericName[gl]=Verificador de ligazóns
-GenericName[hu]=Linkellenőrző
-GenericName[is]=Yfirfer tengla
-GenericName[it]=Controllo dei collegamenti
-GenericName[ja]=リンクチェッカー
-GenericName[ka]=ბმულების შემმოწმებელი
-GenericName[lt]=Nuorody tikrintuvė
-GenericName[ms]=Pemeriksa Pautan
-GenericName[nds]=Linkprööv
-GenericName[ne]=लिङ्क परीक्षक
-GenericName[nl]=Linkchecker
-GenericName[pl]=Program sprawdzający odnośniki
-GenericName[pt]=Verificação de Ligações
-GenericName[pt_BR]=Verificador de Links
-GenericName[ru]=Проверка ссылок
-GenericName[sk]=Kontrole spojenia
-GenericName[sl]=Preverjalnik povezav
-GenericName[sr]=Провера везе
-GenericName[sr@Latn]=Provera veze
-GenericName[sv]=Länkkontroll
-GenericName[ta]=இணைப்பு சரிபார்ப்பான்
-GenericName[tg]=Тафтиши истинод
-GenericName[tr]=Bağlantı Kontrolcüsü
-GenericName[uk]=Перевірка посилань
-GenericName[zh_CN]=链接检查器
-GenericName[zh_HK]=連結檢查程式
-GenericName[zh_TW]=連結檢查程式
+X-DocPath=klinkstatus/index.html
Categories=Qt;TDE;Development;WebDevelopment;
-
diff --git a/klinkstatus/src/klinkstatus_part.desktop b/klinkstatus/src/klinkstatus_part.desktop
index 70e14bb5..e48ea474 100644
--- a/klinkstatus/src/klinkstatus_part.desktop
+++ b/klinkstatus/src/klinkstatus_part.desktop
@@ -1,17 +1,8 @@
[Desktop Entry]
Name=KLinkStatusPart
-Name[de]=KLinkStatus-Komponente
-Name[fr]=Composant de KLinkStatus
-Name[nds]=KLinkStatus-Komponent
-Name[ne]=केडीई लिङ्क वस्तुस्थिति भाग
-Name[pt_BR]=Componente do KLinkStatus
-Name[ru]=Компонент KLinkStatus
-Name[sk]=KLink status Part
-Name[sv]=Klinkstatus-delprogram
-Name[ta]=Kதொகுதி நிலைமை பகுதி
-Name[tg]=Қисми KLinkStatus
+
+Type=Service
Icon=klinkstatus
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,KParts/ReadWritePart
X-TDE-Library=libklinkstatuspart
-Type=Service