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 --- kppp/DB/Provider/Belarus/.directory | 41 --------------------------------- kppp/DB/Provider/Belarus/CMakeLists.txt | 13 ++++++++--- 2 files changed, 10 insertions(+), 44 deletions(-) (limited to 'kppp/DB/Provider/Belarus') diff --git a/kppp/DB/Provider/Belarus/.directory b/kppp/DB/Provider/Belarus/.directory index 834a5fbb..517e90b5 100644 --- a/kppp/DB/Provider/Belarus/.directory +++ b/kppp/DB/Provider/Belarus/.directory @@ -1,43 +1,2 @@ [Desktop Entry] Name=Belarus -Name[ar]=بيلاروسيا -Name[bg]=Беларус -Name[br]=Belarusi -Name[ca]=Bielorússia -Name[cs]=Bělorusko -Name[da]=Hviderusland -Name[de]=Weißrussland -Name[el]=Λευκορωσία -Name[eo]=Bjelorusio -Name[es]=Bielorrusia -Name[et]=Valgevene -Name[fr]=Biélorussie -Name[ga]=An Bhealarúis -Name[hi]=बेलारूस -Name[hr]=Bjelorusija -Name[hu]=Belarusz -Name[it]=Bielorussia -Name[ja]=ベラルーシ -Name[km]=បេឡារុស្ស -Name[lt]=Baltarusija -Name[lv]=Baltkrievu -Name[mk]=Белорусија -Name[nds]=Wittrussland -Name[nl]=Wit Rusland -Name[pl]=Białoruś -Name[pt]=Bielorrússia -Name[ru]=Белоруссия -Name[se]=Vilges-Ruošša -Name[sk]=Bielorusko -Name[sl]=Belorusija -Name[sr]=Белорусија -Name[sr@Latn]=Belorusija -Name[sv]=Vitryssland -Name[ta]=பெலாரூஸ் -Name[tg]=Беларусия -Name[tr]=Beyaz Rusya -Name[uk]=Білорусь -Name[wa]=Belaruss -Name[zh_CN]=白俄罗斯 -Name[zh_TW]=白俄羅斯 -Name[zu]=I Bhelarusi diff --git a/kppp/DB/Provider/Belarus/CMakeLists.txt b/kppp/DB/Provider/Belarus/CMakeLists.txt index a13a8d7b..14630858 100644 --- a/kppp/DB/Provider/Belarus/CMakeLists.txt +++ b/kppp/DB/Provider/Belarus/CMakeLists.txt @@ -9,6 +9,13 @@ # ################################################# -install( FILES - .directory AtlantTelecom - DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus ) +tde_create_translated_desktop( + SOURCE .directory + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus + PO_DIR kppp-desktops +) + +install( + FILES AtlantTelecom + DESTINATION ${DATA_INSTALL_DIR}/kppp/Provider/Belarus +) -- cgit v1.2.1