summaryrefslogtreecommitdiffstats
path: root/kgamma
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-06-09 17:49:10 +0200
committerSlávek Banko <[email protected]>2020-06-09 19:55:02 +0200
commit605ad91b1690a8149c2f351d1838f2d3c6929106 (patch)
tree8a1b07dd03802c1359a6409f0bab8a6d89ef87d3 /kgamma
parent766134636125fd2ed1c1a1b97fdd7f63f5bf3ed7 (diff)
downloadtdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.tar.gz
tdegraphics-605ad91b1690a8149c2f351d1838f2d3c6929106.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 <[email protected]> (cherry picked from commit 837dbafbea0c7f7bc73d27fda684ea2dededd547)
Diffstat (limited to 'kgamma')
-rw-r--r--kgamma/kcmkgamma/CMakeL10n.txt6
-rw-r--r--kgamma/kcmkgamma/CMakeLists.txt5
-rw-r--r--kgamma/kcmkgamma/kgamma.desktop112
3 files changed, 10 insertions, 113 deletions
diff --git a/kgamma/kcmkgamma/CMakeL10n.txt b/kgamma/kcmkgamma/CMakeL10n.txt
index 66bef6bc..4707ef82 100644
--- a/kgamma/kcmkgamma/CMakeL10n.txt
+++ b/kgamma/kcmkgamma/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kgamma" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kgamma.desktop/"
+ SOURCES kgamma.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kgamma/kcmkgamma/CMakeLists.txt b/kgamma/kcmkgamma/CMakeLists.txt
index ade17bf5..9d09b857 100644
--- a/kgamma/kcmkgamma/CMakeLists.txt
+++ b/kgamma/kcmkgamma/CMakeLists.txt
@@ -25,7 +25,10 @@ link_directories(
#### other data #################################
-install( FILES kgamma.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+tde_create_translated_desktop(
+ SOURCE kgamma.desktop
+ DESTINATION ${APPS_INSTALL_DIR}/.hidden
+)
#### kcmkgamma (module) #########################
diff --git a/kgamma/kcmkgamma/kgamma.desktop b/kgamma/kcmkgamma/kgamma.desktop
index b0ccdb12..8be6ae5d 100644
--- a/kgamma/kcmkgamma/kgamma.desktop
+++ b/kgamma/kcmkgamma/kgamma.desktop
@@ -11,119 +11,7 @@ X-TDE-ModuleType=Library
X-TDE-Test-Module=true
Name=Gamma
-Name[ar]=غاما
-Name[az]=Qamma
-Name[bg]=Гама
-Name[cs]=Gama
-Name[cy]=Gama
-Name[el]=Γάμμα
-Name[eo]=Gamo
-Name[fa]=گاما
-Name[ga]=Gáma
-Name[gl]=Gama
-Name[he]=גאמה
-Name[hr]=Gama
-Name[hu]=Gamma-korrekció
-Name[is]=Litatíðni (gamma)
-Name[kk]=Гамма
-Name[km]=ហ្គាម៉ា
-Name[ne]=गामा
-Name[pa]=ਗ਼ਾਮਾ
-Name[pt]=Gama
-Name[ru]=Гамма
-Name[sl]=Gama
-Name[sr]=Гама
-Name[sr@Latn]=Gama
-Name[ta]=காமா
-Name[tg]=Гамма
-Name[th]=แกมมา
-Name[uk]=Гама
-Name[uz@cyrillic]=Гамма
-Name[wa]=Gama
-Name[xh]=Unobumba wesithathu konoobumba besiGrike
-Name[zh_HK]=伽馬(Gamma)
Comment=A monitor calibration tool
-Comment[ar]=أداة مراقبة وتعيير
-Comment[bg]=Калибриране на монитора
-Comment[bs]=Alat za kalibraciju monitora
-Comment[ca]=Una eina de calibració del monitor
-Comment[cs]=Nástroj pro kalibraci monitoru
-Comment[cy]=Erfyn graddnodi dangosydd
-Comment[da]=Et skærmkalibreringsværktøj
-Comment[de]=Ein Kalibrierungswerkzeug für Monitore
-Comment[el]=Ένα εργαλείο ρύθμισης της οθόνης
-Comment[eo]=Ekrankalibrilo
-Comment[es]=Una herramienta de calibración del monitor
-Comment[et]=Monitori kalibreerija
-Comment[eu]=Monitoreak kalibratzeko tresna
-Comment[fa]=ابزار درجه‌بندی نمایشگر
-Comment[fi]=Näytön asetustyökalu
-Comment[fr]=Outil de calibrage de moniteur
-Comment[gl]=Unha utilidade para calibrar o monitor
-Comment[hi]=मॉनीटर केलिब्रेशन औज़ार
-Comment[hu]=Monitorbeállító program
-Comment[is]=Tól til að stilla skjáinn
-Comment[it]=Calibrazione del monitor
-Comment[ja]=モニタ測定ツール
-Comment[kk]=Мониторды калибрлеу құралы
-Comment[km]=ឧបករណ៍​ក្រិត​របស់​ម៉ូនីទ័រ
-Comment[lt]=Monitoriaus kalibravimo įrankis
-Comment[ms]=Alat tentukur monitor
-Comment[nb]=Et verktøy for å kalibrere skjermen
-Comment[nds]=En Afstimmwarktüüch för Monitoren
-Comment[ne]=मोनिटर क्यालिब्रेसन उपकरण
-Comment[nl]=Gereedschap om de kleurweergave goed in te stellen
-Comment[nn]=Eit verktøy for å kalibrera skjermen
-Comment[pl]=Narzędzie do kalibracji monitora
-Comment[pt]=Ferramenta de calibração do monitor
-Comment[pt_BR]=Uma ferramenta de calibragem de monitor
-Comment[ro]=Un utilitar de calibrat monitorul
-Comment[ru]=Утилита для калибровки монитора
-Comment[sk]=Kalibračný nástroj pre monitor
-Comment[sl]=Kalibracijsko orodje za monitorje
-Comment[sr]=Алат за калибрацију монитора
-Comment[sr@Latn]=Alat za kalibraciju monitora
-Comment[sv]=Kalibreringsverktyg för skärmen
-Comment[ta]=திரை நிலைக்கருவி
-Comment[tg]=Утилита барои калибратсия кардани монитор
-Comment[th]=เครื่องมือปรับความเที่ยงตรงของจอภาพ
-Comment[tr]=Monitör kalibrasyon aracı
-Comment[uk]=Засіб для калібрування монітора
-Comment[zh_CN]=监视器校准工具
-Comment[zh_HK]=顯示器調校工具
-Comment[zh_TW]=監視器校準工具
Keywords=KGamma; kgamma; Gamma; gamma;
-Keywords[bg]=калибриране; гама; яркост; цвят; монитор; екран; KGamma; kgamma; Gamma; gamma;
-Keywords[cs]=KGamma; kgamma; gama;
-Keywords[de]=KGamma;kgamma;Gamma;gamma;
-Keywords[el]=KGamma; kgamma; Γάμμα; γάμμα;
-Keywords[ga]=KGamma; kgamma; Gamma; gamma; Gáma;
-Keywords[gl]=KGamma; kgamma; Gamma; gamma; gama;
-Keywords[he]=KGamma; kgamma; Gamma; gamma; גאמה;
-Keywords[hi]=के-गामा;केगामा;गामा;गामा;
-Keywords[hu]=KGamma;kgamma;gamma;gamma-korrekció;
-Keywords[it]=KGamma;gamma;
-Keywords[ja]=KGamma; kgamma; ガンマ; Gamma; gamma;
-Keywords[km]=KGamma; kgamma;ហ្គ៉ាម៉ា;
-Keywords[lt]=KGamma; kgamma; Gamma; gamma; gama;
-Keywords[nds]=KGamma;kgamma;Gamma;gamma;
-Keywords[ne]=के गामा; के गामा; गामा; गामा;
-Keywords[nl]=KGamma;kgamma;Gamma;gamma;kleurweergave;
-Keywords[nn]=KGamma;gamma;
-Keywords[pl]=KGamma; kgamma; Gamma; gamma; jasność;ciemność;rozjaśnienie;
-Keywords[pt]=kgamma; gama;
-Keywords[pt_BR]=KGama; kgama; Gama; gama;
-Keywords[ro]=KGamma;kgamma;gama;gamma;
-Keywords[ru]=KGamma;kgamma;Gamma;gamma;гамма;монитор;
-Keywords[sk]=KGamma; kgamma; gamma;
-Keywords[sl]=KGamma;kgamma;Gama;gama;
-Keywords[sr]=KGamma; kgamma; Gamma; gamma; гама;
-Keywords[sr@Latn]=KGamma; kgamma; Gamma; gamma; gama;
-Keywords[ta]=கேகாமா; கேகாமா; காமா; காமா;
-Keywords[tg]=KGamma;kgamma;Gamma;gamma;гамма;монитор;
-Keywords[uk]=KGamma; kgamma; Gamma; gamma; гама; яскравість;
-Keywords[uz@cyrillic]=KGamma; kgamma; Гамма; гамма;
-Keywords[wa]=KGamma; kgamma; Gama; gama;
-Keywords[zh_CN]=KGamma; kgamma; Gamma; gamma;伽玛;