summaryrefslogtreecommitdiffstats
path: root/kworldclock
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-11 14:54:26 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-12 15:24:51 +0200
commitc6babe2180543ce656d7c517d6db047285295597 (patch)
tree90bf7fd65cc790d7ea5fb306fc9a6f5a56cc12c9 /kworldclock
parent95331e2c05fce1a8abe31b62f77a4f1d72ca1fd3 (diff)
downloadtdeartwork-c6babe2180543ce656d7c517d6db047285295597.tar.gz
tdeartwork-c6babe2180543ce656d7c517d6db047285295597.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> (cherry picked from commit 7c7c238be19c9d17b1182d0b0fad31479aa7f59a)
Diffstat (limited to 'kworldclock')
-rw-r--r--kworldclock/CMakeL10n.txt7
-rw-r--r--kworldclock/alt/CMakeLists.txt7
-rw-r--r--kworldclock/alt/alt.desktop51
-rw-r--r--kworldclock/bio/CMakeLists.txt7
-rw-r--r--kworldclock/bio/bio.desktop54
-rw-r--r--kworldclock/caida/CMakeLists.txt7
-rw-r--r--kworldclock/caida/caida.desktop54
-rw-r--r--kworldclock/caida_bw/CMakeLists.txt7
-rw-r--r--kworldclock/caida_bw/caida_bw.desktop54
-rw-r--r--kworldclock/mggd/CMakeLists.txt7
-rw-r--r--kworldclock/mggd/mggd.desktop59
-rw-r--r--kworldclock/rainfall/CMakeLists.txt7
-rw-r--r--kworldclock/rainfall/rainfall.desktop57
13 files changed, 43 insertions, 335 deletions
diff --git a/kworldclock/CMakeL10n.txt b/kworldclock/CMakeL10n.txt
new file mode 100644
index 00000000..cd002253
--- /dev/null
+++ b/kworldclock/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kworldclock-themes/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
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
diff --git a/kworldclock/bio/CMakeLists.txt b/kworldclock/bio/CMakeLists.txt
index 4c6d195e..433f4155 100644
--- a/kworldclock/bio/CMakeLists.txt
+++ b/kworldclock/bio/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- bio.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/bio" )
+
+tde_create_translated_desktop(
+ SOURCE bio.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)
diff --git a/kworldclock/bio/bio.desktop b/kworldclock/bio/bio.desktop
index 6956e24e..9c2d754d 100644
--- a/kworldclock/bio/bio.desktop
+++ b/kworldclock/bio/bio.desktop
@@ -1,57 +1,3 @@
[Theme]
Name=Biosphere
-Name[af]=Biosfeer
-Name[bg]=Биосфера
-Name[ca]=Biosfera
-Name[cs]=Biosféra
-Name[cy]=Bïosffer
-Name[da]=Biosfære
-Name[de]=Biosphäre
-Name[el]=Βιόσφαιρα
-Name[eo]=Biosfero
-Name[es]=Biosfera
-Name[et]=Biosfäär
-Name[eu]=Biosfera
-Name[fa]=زیست کره
-Name[fi]=Biosfääri
-Name[fr]=Biosphère
-Name[fy]=Biosfear
-Name[gl]=Biosfera
-Name[he]=ביוספרה
-Name[hi]=बायोस्फीयर
-Name[hu]=Bioszféra
-Name[is]=Lífhvelfing
-Name[it]=Biosfera
-Name[ja]=生物圏
-Name[ka]=ბიოსფერო
-Name[lt]=Biosfera
-Name[lv]=Biosfēra
-Name[mk]=Биосфера
-Name[ms]=Biosfera
-Name[mt]=Biosfera
-Name[nb]=Biosfære
-Name[nds]=Biospheer
-Name[ne]=जीवमण्डल
-Name[nl]=Biosfeer
-Name[nn]=Biosfære
-Name[pl]=Biosfera
-Name[pt]=Biosfera
-Name[pt_BR]=Biosfera
-Name[ro]=Biosferă
-Name[ru]=Биосфера
-Name[sk]=Biosféra
-Name[sl]=Biosfera
-Name[sr]=Биосфера
-Name[sr@Latn]=Biosfera
-Name[sv]=Biosfär
-Name[ta]=உயிர்வெளி
-Name[tg]=Биосфера
-Name[th]=ไบโอสเฟียร์
-Name[tr]=Biosfer
-Name[uk]=Біосфера
-Name[ven]=Bayotshikoupu
-Name[vi]=Sinh quyển
-Name[zh_CN]=生物圈
-Name[zh_TW]=生物圈
-Name[zu]=Ibhayosifiya
Theme=bio
diff --git a/kworldclock/caida/CMakeLists.txt b/kworldclock/caida/CMakeLists.txt
index 7a7f5764..db551fe6 100644
--- a/kworldclock/caida/CMakeLists.txt
+++ b/kworldclock/caida/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- caida.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/caida" )
+
+tde_create_translated_desktop(
+ SOURCE caida.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)
diff --git a/kworldclock/caida/caida.desktop b/kworldclock/caida/caida.desktop
index d288a859..bc77d060 100644
--- a/kworldclock/caida/caida.desktop
+++ b/kworldclock/caida/caida.desktop
@@ -1,57 +1,3 @@
[Theme]
Name=Relative Altitude
-Name[af]=Relatiewe Hoogte
-Name[bg]=Относителна надморска височина
-Name[ca]=Altitud relativa
-Name[cs]=Relativní nadmořská výška
-Name[cy]=Uchder Cymharol
-Name[da]=Relativ højde
-Name[de]=Relative Höhe
-Name[el]=Σχετικό Ύψος
-Name[eo]=Relativa Alteco
-Name[es]=Altitud relativa
-Name[et]=Suhteline kõrgus
-Name[eu]=Altitude erlatiboa
-Name[fa]=ارتفاع نسبی
-Name[fi]=Suhteellinen korkeus
-Name[fr]=Altitude relative
-Name[fy]=Relative hichte
-Name[gl]=Altitude Relativa
-Name[he]=גבהים יחסיים
-Name[hi]=रिलेटिव अल्टीट्यूड
-Name[hu]=Relatív t. f. magassg
-Name[is]=Afstæð hæð
-Name[it]=Altitudine relativa
-Name[ja]=相対高さ
-Name[ka]=ფარდობითი სიმაღლე
-Name[lt]=Sąlyginė aukštuma
-Name[lv]=Relatīvais Augstums
-Name[mk]=Релативна висина
-Name[ms]=Altitud Relatif
-Name[mt]=Altitudni relattiva
-Name[nb]=Relativ høyde
-Name[nds]=Relativ Hööchde
-Name[ne]=सापेक्षित उन्नतांश
-Name[nl]=Relatieve hoogte
-Name[nn]=Relativ høgd
-Name[pl]=Wysokość względna
-Name[pt]=Altitude Relativa
-Name[pt_BR]=Altitude Relativa
-Name[ro]=Altitudini relative
-Name[ru]=Относительная высота
-Name[sk]=Relatívna nadmorská výška
-Name[sl]=Relativna višina
-Name[sr]=Релативна висина
-Name[sr@Latn]=Relativna visina
-Name[sv]=Relativ höjd
-Name[tg]=Баландии нисбатан
-Name[th]=ความสูงสัมพัทธ์
-Name[tr]=Görece Yükseklik
-Name[uk]=Відносна висота
-Name[ven]=Vhulapfu Vhudivheaho
-Name[vi]=Độ cao Tương đối
-Name[xh]=Ubude Obuthe Nkqo Obuzalanayo
-Name[zh_CN]=相对海拔高度
-Name[zh_TW]=相對高度
-Name[zu]=Ububanzi obulingeneyo
Theme=caida
diff --git a/kworldclock/caida_bw/CMakeLists.txt b/kworldclock/caida_bw/CMakeLists.txt
index 26ee188c..c10798b1 100644
--- a/kworldclock/caida_bw/CMakeLists.txt
+++ b/kworldclock/caida_bw/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- caida_bw.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/caida_bw" )
+
+tde_create_translated_desktop(
+ SOURCE caida_bw.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)
diff --git a/kworldclock/caida_bw/caida_bw.desktop b/kworldclock/caida_bw/caida_bw.desktop
index f598d8bb..debdfe0f 100644
--- a/kworldclock/caida_bw/caida_bw.desktop
+++ b/kworldclock/caida_bw/caida_bw.desktop
@@ -1,57 +1,3 @@
[Theme]
Name=Relative Altitude (bw)
-Name[af]=Relatiewe Hoogte (swart-en-wit)
-Name[bg]=Относ. надморска височина (черно-бяло)
-Name[ca]=Altitud relativa (BiN)
-Name[cs]=Relativní nadmořská výška (čb)
-Name[cy]=Uchder Cymharol (dg)
-Name[da]=Relativ højde (bw)
-Name[de]=Relative Höhe (sw)
-Name[el]=Σχετικό Ύψος (bw)
-Name[eo]=Relativa Alteco (nb)
-Name[es]=Altitud relativa (ByN)
-Name[et]=Suhteline kõrgus (mv)
-Name[eu]=Altitude erlatiboa (bw)
-Name[fa]=ارتفاع نسبی (bw)
-Name[fi]=Suhteellinen korkeus (mv)
-Name[fr]=Altitude relative (noir et blanc)
-Name[fy]=Relative hichte (sw)
-Name[gl]=Altitude Relativa (Branco e Negro)
-Name[he]=גבהים יחסיים (שחור־לבן)
-Name[hi]=सापेक्ष ऊंचाई (सियाह सफ़ेद)
-Name[hu]=Relatív t. f. magasság (fekete-fehér)
-Name[is]=Afstæð hæð (bw)
-Name[it]=Altitudine relativa (bw)
-Name[ja]=相対高さ (bw)
-Name[ka]=ფარდობითი სიმაღლე (შ/თ)
-Name[lt]=Sąlyginė aukštuma (bw)
-Name[lv]=Relatīvais Augstums (bw)
-Name[mk]=Релативна висина (цб)
-Name[ms]=Altitud Relatif (bw)
-Name[mt]=Altitudni relattiva (ia)
-Name[nb]=Relativ høyde (sv/hv)
-Name[nds]=Relativ Hööchde (sw)
-Name[ne]=सापेक्षित उन्नतांश (bw)
-Name[nl]=Relatieve hoogte (zw)
-Name[nn]=Relativ høgd (bw)
-Name[pl]=Wysokość względna
-Name[pt]=Altitude Relativa (bw)
-Name[pt_BR]=Altitude Relativa (bw)
-Name[ro]=Altitudini relative (A/N)
-Name[ru]=Относительная высота (ч/б)
-Name[sk]=Relatívna nadmorská výška (čb)
-Name[sl]=Relativna višina (čb)
-Name[sr]=Релативна висина (цб)
-Name[sr@Latn]=Relativna visina (cb)
-Name[sv]=Relativ höjd (sv-vit)
-Name[tg]=Баландии нисбатан (ч/б)
-Name[th]=ความสูงสัมพัทธ์ (bw)
-Name[tr]=Görece Yükseklik (siyah beyaz)
-Name[uk]=Відносна висота (ч/б)
-Name[ven]=Vhulapfu Vhudivheaho (bw)
-Name[vi]=Độ cao Tương đối (đen trắng)
-Name[xh]=Ubude Obuthe Nkqo Obuzalanayo (bw)
-Name[zh_CN]=相对海拔高度(黑白)
-Name[zh_TW]=相對高度 (bw)
-Name[zu]= Ububanzi Obuhlobeneyo (bw)
Theme=caida_bw
diff --git a/kworldclock/mggd/CMakeLists.txt b/kworldclock/mggd/CMakeLists.txt
index 42f6e891..5e123d3e 100644
--- a/kworldclock/mggd/CMakeLists.txt
+++ b/kworldclock/mggd/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- mggd.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/mggd" )
+
+tde_create_translated_desktop(
+ SOURCE mggd.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)
diff --git a/kworldclock/mggd/mggd.desktop b/kworldclock/mggd/mggd.desktop
index 44fe3ce4..b264fc71 100644
--- a/kworldclock/mggd/mggd.desktop
+++ b/kworldclock/mggd/mggd.desktop
@@ -1,62 +1,3 @@
[Theme]
Name=False Color
-Name[af]=Vals Kleur
-Name[bg]=Случайни цветове
-Name[br]=Liv faos
-Name[ca]=Color fals
-Name[cs]=Neplatná barva
-Name[cy]=Lliw Ffug
-Name[da]=Forkert farve
-Name[de]=Falschfarbigkeit
-Name[el]=Εσφαλμένο Χρώμα
-Name[en_GB]=False Colour
-Name[eo]=Falsa Koloro
-Name[es]=Color falso
-Name[et]=Vale värv
-Name[eu]=Kolore faltsua
-Name[fa]=رنگ نادرست
-Name[fi]=Vääräväri
-Name[fo]=Skeiv lit
-Name[fr]=Fausses couleurs
-Name[fy]=Unechte kleuren
-Name[gl]=Cor Falsa
-Name[he]=צבעים מלאכותיים
-Name[hi]=नकली रंग
-Name[hu]=Torzított színek
-Name[is]=Rangir litir
-Name[it]=Falsi colori
-Name[ja]=フォールスカラー
-Name[ka]=მცდარი ფერი
-Name[lt]=Netikra spalva
-Name[lv]=Viltus Krāsa
-Name[mk]=Погрешна боја
-Name[ms]=Warna Palsu
-Name[mt]=Kuluri foloz
-Name[nb]=Falsk farge
-Name[nds]=Falschklören
-Name[ne]=नक्कली रङ
-Name[nl]=Onechte kleuren
-Name[nn]=Falsk farge
-Name[pa]=ਫ਼ਰਜੀ ਰੰਗ
-Name[pl]=Fałszywe kolory
-Name[pt]=Cor Falsa
-Name[pt_BR]=Cor falsa
-Name[ro]=Culori false
-Name[ru]=Ложный цвет
-Name[sk]=Neplatná farba
-Name[sl]=Napačne barve
-Name[sr]=Лажна боја
-Name[sr@Latn]=Lažna boja
-Name[sv]=Falsk färg
-Name[ta]=தவறான வண்ணம்
-Name[tg]=Ранги дурӯғ
-Name[th]=สีเท็จ
-Name[tr]=Yanlış Renk
-Name[uk]=Фальшивий колір
-Name[ven]=Muvhala usi wone
-Name[vi]=Màu Giả
-Name[xh]=Umbala Obuxoki
-Name[zh_CN]=假彩色
-Name[zh_TW]=錯誤的顏色
-Name[zu]=Umbala ongewona owangempela
Theme=mggd
diff --git a/kworldclock/rainfall/CMakeLists.txt b/kworldclock/rainfall/CMakeLists.txt
index 2cd781cf..78f2984e 100644
--- a/kworldclock/rainfall/CMakeLists.txt
+++ b/kworldclock/rainfall/CMakeLists.txt
@@ -14,5 +14,10 @@ install( FILES
200.jpg
400.jpg
800.jpg
- rainfall.desktop
DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/rainfall" )
+
+tde_create_translated_desktop(
+ SOURCE rainfall.desktop
+ DESTINATION "${DATA_INSTALL_DIR}/kworldclock/maps/alt"
+ PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/kworldclock-themes
+)
diff --git a/kworldclock/rainfall/rainfall.desktop b/kworldclock/rainfall/rainfall.desktop
index efb834dd..df7d9528 100644
--- a/kworldclock/rainfall/rainfall.desktop
+++ b/kworldclock/rainfall/rainfall.desktop
@@ -1,60 +1,3 @@
[Theme]
Name=Rainfall
-Name[af]=Reënval
-Name[bg]=Карта на валежите
-Name[br]=Glav
-Name[ca]=Pluja
-Name[cs]=Déšť
-Name[cy]=Glawiad
-Name[da]=Regn
-Name[de]=Niederschläge
-Name[el]=Βροχόπτωση
-Name[eo]=Pluvofalo
-Name[es]=Lluvia
-Name[et]=Vihm
-Name[eu]=Euria
-Name[fa]=بارندگی
-Name[fi]=Sadekertymä
-Name[fo]=Avfall
-Name[fr]=Précipitations
-Name[fy]=Delslach
-Name[gl]=Choiva
-Name[he]=משקעים
-Name[hi]=बारिश
-Name[hu]=Csapadék
-Name[is]=Rigning
-Name[it]=Precipitazioni
-Name[ja]=降雨
-Name[ka]=თავსხმა
-Name[lt]=Krituliai
-Name[lv]=Lietusgāze
-Name[mk]=Врнежи
-Name[ms]=Hujan
-Name[mt]=Xita
-Name[nb]=Regn
-Name[nds]=Regen
-Name[ne]=रेनफल
-Name[nl]=Neerslag
-Name[nn]=Regn
-Name[pl]=Średnia opadów
-Name[pt]=Aguaceiro
-Name[pt_BR]=Chuva
-Name[ro]=Precipitaţii
-Name[ru]=Ливень
-Name[sk]=Zrážky
-Name[sl]=Dež
-Name[sr]=Киша
-Name[sr@Latn]=Kiša
-Name[sv]=Regn
-Name[ta]=மழை
-Name[tg]=Борони сель
-Name[th]=ฝนตก
-Name[tr]=Sağanak
-Name[uk]=Злива
-Name[ven]=Una ha mvula
-Name[vi]=Mưa
-Name[xh]=Ingxangxasi
-Name[zh_CN]=降雨量
-Name[zh_TW]=降雨量
-Name[zu]=Ukuwa kwemvula
Theme=rainfall