From 3e868d844c44aab62fd1324e52872afd1f706cd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 12 Jul 2020 16:15:10 +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 (cherry picked from commit 0d3043b6308af148da06ac14c53defc4b1e7e138) --- kontact/plugins/weather/CMakeLists.txt | 8 ++-- kontact/plugins/weather/weatherplugin.desktop | 68 +-------------------------- 2 files changed, 7 insertions(+), 69 deletions(-) (limited to 'kontact/plugins/weather') diff --git a/kontact/plugins/weather/CMakeLists.txt b/kontact/plugins/weather/CMakeLists.txt index 3c3928cbb..0882e2d41 100644 --- a/kontact/plugins/weather/CMakeLists.txt +++ b/kontact/plugins/weather/CMakeLists.txt @@ -24,9 +24,11 @@ link_directories( ##### other data ################################ -install( FILES - weatherplugin.desktop - DESTINATION ${SERVICES_INSTALL_DIR}/kontact ) +tde_create_translated_desktop( + SOURCE weatherplugin.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kontact + PO_DIR kontact-desktops +) ##### libkontact_weatherplugin (module) ######### diff --git a/kontact/plugins/weather/weatherplugin.desktop b/kontact/plugins/weather/weatherplugin.desktop index 04ae285ac..1a5ab9a41 100644 --- a/kontact/plugins/weather/weatherplugin.desktop +++ b/kontact/plugins/weather/weatherplugin.desktop @@ -15,70 +15,6 @@ X-TDE-PluginInfo-Version=0.1 X-TDE-PluginInfo-License=LGPL X-TDE-PluginInfo-EnabledByDefault=true -Comment=Kontact Weather Component -Comment[bg]=Приставка за метеорологичното време -Comment[ca]=Component del temps del Kontact -Comment[da]=Vejrkomponent til Kontact -Comment[de]=Wetter-Komponente für Kontact -Comment[el]=Συστατικό καιρού του Kontact -Comment[et]=Kontacti ilmaplugin -Comment[it]=Componente meteorologico di Kontact -Comment[ja]=Kontact 気象情報コンポーネント -Comment[nds]=Kontact-Wederkomponent -Comment[nl]=Kontact Weercomponent -Comment[pl]=Składnik Kontaktu wiadomości o pogodzie -Comment[sr]=Компонента времена за Kontact -Comment[sr@Latn]=Komponenta vremena za Kontact -Comment[sv]=Kontacts väderkomponent -Comment[zh_CN]=Kontact 天气插件 -Comment[zh_TW]=Kontact 天氣組件 Name=Weather Service -Name[af]=Weer diens -Name[ar]=خدمة الطقس -Name[bg]=Информация за времето -Name[br]=Servij an amzer -Name[ca]=Servei meteorològic -Name[cs]=Služba počasí -Name[cy]=GwasanaethTywydd -Name[da]=Vejrtjeneste -Name[de]=Wetterdienst -Name[el]=Υπηρεσία πρόβλεψης Καιρού -Name[eo]=Veterservo -Name[es]=Servicio meteorológico -Name[et]=Ilmateade -Name[eu]=Eguraldiaren zerbitzua -Name[fa]=خدمت آب و هوا -Name[fi]=Sääpalvelu -Name[fr]=KWeatherService -Name[fy]=Waarberjocht -Name[ga]=Seirbhís Aimsire -Name[gl]=Servicio do Tempo -Name[he]=שירות מזג אוויר -Name[hu]=Időjárás -Name[is]=Veðurþjónusta -Name[it]=Servizio meteorologico -Name[ja]=気象サービス -Name[kk]=Ауа райы қызметі -Name[km]=សេវា​អាកាសធាតុ -Name[lt]=Orų tarnyba -Name[mk]=Временска прогноза -Name[nb]=Værtjeneste -Name[nds]=Wederdeenst -Name[ne]=मौसम कार्य -Name[nl]=Weerbericht -Name[nn]=Vêrmelding -Name[pl]=Pogoda -Name[pt]=Serviço Meteorológico -Name[pt_BR]=Serviço de Previsão do Tempo -Name[ru]=Погода -Name[sk]=Služba počasie -Name[sl]=Vremenska storitev -Name[sr]=Време -Name[sr@Latn]=Vreme -Name[sv]=Väderleksprognos -Name[th]=รายงานอากาศ -Name[tr]=Hava Durumu Servisi -Name[uk]=Служба погоди -Name[uz]=Об-ҳаво хизмати -Name[zh_CN]=天气服务 -Name[zh_TW]=天氣服務 + +Comment=Kontact Weather Component -- cgit v1.2.1