summaryrefslogtreecommitdiffstats
path: root/dcoprss
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-07-08 22:39:20 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-08 22:39:20 +0200
commitd36d9267539f12fdaa5a0dd18f6285e4a636e1ac (patch)
tree65966d4e78c0529e0e56f8586a7d9c2ae530d336 /dcoprss
parent54888da0ae983555ec963c52007c50d49b3c66af (diff)
downloadtdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.tar.gz
tdenetwork-d36d9267539f12fdaa5a0dd18f6285e4a636e1ac.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 'dcoprss')
-rw-r--r--dcoprss/CMakeL10n.txt6
-rw-r--r--dcoprss/CMakeLists.txt5
-rw-r--r--dcoprss/rssservice.desktop86
3 files changed, 14 insertions, 83 deletions
diff --git a/dcoprss/CMakeL10n.txt b/dcoprss/CMakeL10n.txt
index 6e5975a7..02dc8ccd 100644
--- a/dcoprss/CMakeL10n.txt
+++ b/dcoprss/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "dcoprss" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/rssservice.desktop/"
+ SOURCES rssservice.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/dcoprss/CMakeLists.txt b/dcoprss/CMakeLists.txt
index 9a7b06c9..2f72ea03 100644
--- a/dcoprss/CMakeLists.txt
+++ b/dcoprss/CMakeLists.txt
@@ -26,7 +26,10 @@ link_directories(
##### other data ################################
-install( FILES rssservice.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE rssservice.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
##### rssservice (executable) ###################
diff --git a/dcoprss/rssservice.desktop b/dcoprss/rssservice.desktop
index e4b9fcec..a7fcb7af 100644
--- a/dcoprss/rssservice.desktop
+++ b/dcoprss/rssservice.desktop
@@ -1,88 +1,10 @@
[Desktop Entry]
Type=Service
+
Name=rssservice
-Name[bn]=আর-এস-এস সার্ভিস
-Name[ca]=Servei RSS
-Name[cs]=RSS služba
-Name[de]=RSS-Dienst
-Name[el]=υπηρεσία rss
-Name[he]=שרות RSS
-Name[hi]=आरएसएस-सर्विस
-Name[hu]=RSS szolgáltatás
-Name[it]=Servizio RSS
-Name[ja]=rssサービス
-Name[lt]=rss tarnyba
-Name[nb]=rss-tjeneste
-Name[nds]=RSS-Deenst
-Name[nl]=RSS-dienst
-Name[nn]=rss-teneste
-Name[pl]=Usługa RSS
-Name[pt_BR]=serviço rss
-Name[ro]=Serviciu RSS
-Name[sv]=RSS-tjänst
-Name[ta]=rssசேவை
-Name[th]=บริการ rss
-Name[tr]=rssservisi
+
+Comment=RSS DCOP services
+
Exec=rssservice
X-DCOP-ServiceType=Unique
X-TDE-StartupNotify=false
-Comment=RSS DCOP services
-Comment[ar]= خدمات RSS DCOP
-Comment[be]=Сервісы RSS для DCOP
-Comment[bn]=আর-এস-এস ডিকপ সার্ভিস
-Comment[br]=Servijoù DCOP RSS
-Comment[bs]=RSS DCOP servisi
-Comment[ca]=Serveis RSS de DCOP
-Comment[cs]=RSS DCOP služby
-Comment[cy]=Gwasanaethau DCOP RSS
-Comment[da]=RSS DCOP-tjenester
-Comment[de]=RSS DCOP-Dienste
-Comment[el]=Υπηρεσίες RSS DCOP
-Comment[eo]=RSS-DCOP-servoj
-Comment[es]=Servicios RSS de DCOP
-Comment[et]=RSS DCOP-teenused
-Comment[eu]=RSS DCOP zerbitzuak
-Comment[fa]=خدمات RSS DCOP
-Comment[fi]=RSS-DCOP-palvelut
-Comment[fr]=Services DCOP RSS
-Comment[ga]=Seirbhísí DCOP RSS
-Comment[gl]=Servicios RSS de DCOP
-Comment[he]=שרותי RSS DCOP
-Comment[hi]=आरएसएस डीकॉप सेवाएँ
-Comment[hr]=RSS DCOP servisi
-Comment[hu]=RSS DCOP-szolgáltatás
-Comment[is]=RSS DCOP þjónustur
-Comment[it]=Servizi DCOP RSS
-Comment[ja]=RSS DCOP サービス
-Comment[ka]=RSS DCOP სერვისები
-Comment[kk]=RSS DCOP қызметтері
-Comment[km]=សេវា RSS DCOP
-Comment[lt]=RSS DCOP tarnyba
-Comment[mk]=Сервиси за RSS DCOP
-Comment[nb]=RSS DCOP -tjenester
-Comment[nds]=RSS-DCOP-Deenst
-Comment[ne]=RSS DCOP सेवा
-Comment[nl]=RSS DCOP-diensten
-Comment[nn]=RSS DCOP-tenester
-Comment[pa]=RSS DCOP ਸੇਵਾਵਾਂ
-Comment[pl]=Usługa DCOP dla RSS
-Comment[pt]=Serviços DCOP de RSS
-Comment[pt_BR]=Serviços DCOP RSS
-Comment[ro]=Serviciu DCOP RSS
-Comment[ru]=Службы RSS DCOP
-Comment[se]=RSS DCOP-bálvalusat
-Comment[sk]=RSS DCOP služby
-Comment[sl]=Storitve RSS DCOP
-Comment[sr]=RSS DCOP сервиси
-Comment[sr@Latn]=RSS DCOP servisi
-Comment[sv]=RSS DCOP-tjänster
-Comment[ta]=RSS DCOP சேவைகள்
-Comment[tg]=Хадамотҳои RSS DCOP
-Comment[th]=บริการ RSS DCOP
-Comment[tr]=RSS DCOP hizmetleri
-Comment[uk]=Служби RSS DCOP
-Comment[uz]=RSS DCOP xizmatlari
-Comment[uz@cyrillic]=RSS DCOP хизматлари
-Comment[zh_CN]=RSS DCOP 服务
-Comment[zh_HK]=RSS DCOP 服務
-Comment[zh_TW]=RSS DCOP 服務