summaryrefslogtreecommitdiffstats
path: root/kverbos
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-27 03:12:08 +0200
committerSlávek Banko <[email protected]>2020-05-28 17:51:29 +0200
commita084db175509b58e57a81d50b1688709f19758bf (patch)
tree0fdf4c3292e92897faf783775d038f7bf8ca21d2 /kverbos
parent5255f3b93733410203e467b9442dca1948ffa361 (diff)
downloadtdeedu-a084db175509b58e57a81d50b1688709f19758bf.tar.gz
tdeedu-a084db175509b58e57a81d50b1688709f19758bf.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]>
Diffstat (limited to 'kverbos')
-rw-r--r--kverbos/kverbos/CMakeL10n.txt6
-rw-r--r--kverbos/kverbos/CMakeLists.txt5
-rw-r--r--kverbos/kverbos/kverbos.desktop65
3 files changed, 7 insertions, 69 deletions
diff --git a/kverbos/kverbos/CMakeL10n.txt b/kverbos/kverbos/CMakeL10n.txt
index a717c69a..3bb553e9 100644
--- a/kverbos/kverbos/CMakeL10n.txt
+++ b/kverbos/kverbos/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kverbos" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kverbos.desktop/"
+ SOURCES kverbos.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kverbos/kverbos/CMakeLists.txt b/kverbos/kverbos/CMakeLists.txt
index 84caaa76..3d4ae167 100644
--- a/kverbos/kverbos/CMakeLists.txt
+++ b/kverbos/kverbos/CMakeLists.txt
@@ -59,10 +59,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/kverbos
)
-install(
- FILES kverbos.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( kverbos.desktop )
install(
FILES kverbos.kcfg
diff --git a/kverbos/kverbos/kverbos.desktop b/kverbos/kverbos/kverbos.desktop
index c944d907..15083d9e 100644
--- a/kverbos/kverbos/kverbos.desktop
+++ b/kverbos/kverbos/kverbos.desktop
@@ -3,72 +3,7 @@ Type=Application
Exec=kverbos -caption "%c" %i %m
Icon=kverbos
X-DocPath=kverbos/index.html
-Comment=
-Comment[bn]=মন্তব্য
-Comment[sl]=Periodna tabela elementov
Terminal=false
Name=Kverbos
-Name[ar]=افعال ك
-Name[bn]=কে-ভার্বোস
-Name[hi]=के-वर्बोस
-Name[hr]=KVerbos
-Name[it]=KVerbos
-Name[ne]=केडीई भर्बोस
-Name[pt_BR]=KVerbos
-Name[ta]=கேவர்போஸ்
GenericName=Study Spanish Verbforms
-GenericName[af]=Leer Spaanse Werkwoordvorme
-GenericName[ar]=دراسة تصريف الأفعال الأسبانيّة
-GenericName[be]=Вывучэнне іспанскіх дзеяслоўных формаў
-GenericName[bg]=Форми на глаголи на испански
-GenericName[bn]=স্প্যানিশ ক্রিয়ারূপ শিখুন
-GenericName[bs]=Naučite španske glagole
-GenericName[ca]=Estudia les formes verbals de l'espanyol
-GenericName[cs]=Španělské slovesné tvary
-GenericName[csb]=Ùczba zjinak szpańsczëch czasników
-GenericName[cy]=Astudio Berfau Sbaeneg
-GenericName[da]=Spanske verber
-GenericName[de]=Spanische Verbformen üben
-GenericName[el]=Μελετήστε Ισπανικά ρήματα
-GenericName[eo]=Studado de hispanaj verboformoj
-GenericName[es]=Estudiar las formas verbales del español
-GenericName[et]=Hispaania tegusõnade õppimine
-GenericName[eu]=Ikasi gaztelerako aditz-formak
-GenericName[fa]=بررسی شکل فعلهای اسپانیایی
-GenericName[fi]=Opiskele espanjan verbimuotoja
-GenericName[fr]=Étude des formes verbales espagnoles
-GenericName[ga]=Scrúdaigh briathra Spáinnise
-GenericName[gl]=Verbos do Castelán
-GenericName[he]=לימוד צורות פעלים בספרדית
-GenericName[hi]=स्टडी स्पेनिश वेबफ़ॉर्म
-GenericName[hr]=Učenje glagolskih oblika španjolskog jezika
-GenericName[hu]=Spanyol igeragozás
-GenericName[is]=Læra spánskar sagnir
-GenericName[it]=Studia i verbi spagnoli
-GenericName[ja]=スペイン語の動詞の活用を学習
-GenericName[ka]=ესპანურ ზმნათა ფორმების შესწავლა
-GenericName[km]=សិក្សា​ទម្រង់​ករិយាសព្ទ​អេស្ប៉ាញ
-GenericName[lt]=Ispanų kalbos veiksmažodžių formų studijavimas
-GenericName[mk]=Учете шпански глаголски форми
-GenericName[nb]=Studer spanske verbformer
-GenericName[nds]=Spaansche Verben lehren
-GenericName[ne]=स्पानिश क्रिया फर्म पढ्नुहोस्
-GenericName[nl]=Oefen Spaanse werkwoordvormen
-GenericName[nn]=Studer spansk verbbøying
-GenericName[pl]=Nauka odmiany hiszpańskich czasowników
-GenericName[pt]=Verbos em Espanhol
-GenericName[pt_BR]=Estudo das formas verbais do Espanhol
-GenericName[ru]=Изучение испанских глаголов
-GenericName[sk]=Štúdium slovesných foriem španielštiny
-GenericName[sl]=Učenje španskih glagolskih oblik
-GenericName[sr]=Учење шпанских глаголских облика
-GenericName[sr@Latn]=Učenje španskih glagolskih oblika
-GenericName[sv]=Studera spanska verbformer
-GenericName[ta]= ஸ்பானிஷ் வினை வடிவங்களை படி
-GenericName[tg]=Омӯзиши шаклҳои феълҳои испанӣ
-GenericName[tr]=İspanyolca Yüklem Biçimlerine Çalış
-GenericName[uk]=Вивчення форм іспанських дієслів
-GenericName[vi]=Học Dạng động từ Tây Ban Nha
-GenericName[zh_CN]=学习西班牙语动词形式
-GenericName[zh_TW]=學習西班牙語的動詞形態
Categories=Qt;TDE;Education;Languages;