From d36d9267539f12fdaa5a0dd18f6285e4a636e1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2020 22:39:20 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- dcoprss/CMakeL10n.txt | 6 ++++ dcoprss/CMakeLists.txt | 5 ++- dcoprss/rssservice.desktop | 86 +++------------------------------------------- 3 files changed, 14 insertions(+), 83 deletions(-) (limited to 'dcoprss') 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 服務 -- cgit v1.2.1