From c6babe2180543ce656d7c517d6db047285295597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Jun 2020 14:54:26 +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 7c7c238be19c9d17b1182d0b0fad31479aa7f59a) --- kworldclock/alt/CMakeLists.txt | 7 +++++- kworldclock/alt/alt.desktop | 51 ------------------------------------------ 2 files changed, 6 insertions(+), 52 deletions(-) (limited to 'kworldclock/alt') diff --git a/kworldclock/alt/CMakeLists.txt b/kworldclock/alt/CMakeLists.txt index c65496fb..b8cbe7eb 100644 --- a/kworldclock/alt/CMakeLists.txt +++ b/kworldclock/alt/CMakeLists.txt @@ -14,5 +14,10 @@ install( FILES 200.jpg 400.jpg 800.jpg - alt.desktop DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt" ) + +tde_create_translated_desktop( + SOURCE alt.desktop + DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt" + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes +) diff --git a/kworldclock/alt/alt.desktop b/kworldclock/alt/alt.desktop index 9e8036a3..9cc33997 100644 --- a/kworldclock/alt/alt.desktop +++ b/kworldclock/alt/alt.desktop @@ -1,54 +1,3 @@ [Theme] Name=Altitude -Name[af]=Hoogte -Name[bg]=Надморска височина -Name[ca]=Altitud -Name[cs]=Nadmořská výška -Name[cy]=Uchder -Name[da]=Højde -Name[de]=Höhe -Name[el]=Ύψος -Name[eo]=Alteco -Name[es]=Altitud -Name[et]=Kõrgus -Name[eu]=Altitudea -Name[fa]=ارتفاع -Name[fi]=Korkeus -Name[fy]=Hichte -Name[he]=גבהים -Name[hi]=ऊंचाई -Name[hu]=T. f. magasság -Name[is]=Hæð -Name[it]=Altitudine -Name[ja]=海抜 -Name[ka]=სიმაღლე -Name[lt]=Aukštuma -Name[lv]=Augstums -Name[mk]=Висина -Name[ms]=Altitud -Name[mt]=Altitudni -Name[nb]=Høyde -Name[nds]=Hööchde -Name[ne]=उन्नतांश -Name[nl]=Hoogte -Name[nn]=Høgd -Name[pl]=Wysokość (n.p.m.) -Name[ro]=Altitudini -Name[ru]=Высота -Name[sk]=Nadmorská výška -Name[sl]=Višina -Name[sr]=Висина -Name[sr@Latn]=Visina -Name[sv]=Altitud -Name[ta]=உயரம் -Name[tg]=Баландӣ -Name[th]=ความสูง -Name[tr]=Yükseklik -Name[uk]=Висота -Name[ven]=Vhulapfu -Name[vi]=Độ cao -Name[xh]=Ubude obuthe nkqo -Name[zh_CN]=海拔高度 -Name[zh_TW]=高度 -Name[zu]=Ububanzi bomhlaba Theme=alt -- cgit v1.2.1