summaryrefslogtreecommitdiffstats
path: root/yakuake
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-10 19:54:13 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-10 19:54:40 +0200
commit10fa768fbbc1c6ccece5590cf5ca9626d5927a32 (patch)
tree54f527049afe57afa136edfa42dffc6cbceb9fe0 /yakuake
parenta4c4433523dca246738e7604f75eebbef2f700a7 (diff)
downloadyakuake-10fa768fbbc1c6ccece5590cf5ca9626d5927a32.tar.gz
yakuake-10fa768fbbc1c6ccece5590cf5ca9626d5927a32.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 a8302bba606515dbe0c6bc48f456307feec66abb)
Diffstat (limited to 'yakuake')
-rw-r--r--yakuake/CMakeL10n.txt2
-rw-r--r--yakuake/src/CMakeL10n.txt7
-rw-r--r--yakuake/src/CMakeLists.txt5
-rw-r--r--yakuake/src/yakuake.desktop25
4 files changed, 10 insertions, 29 deletions
diff --git a/yakuake/CMakeL10n.txt b/yakuake/CMakeL10n.txt
index e4b8afc..2225479 100644
--- a/yakuake/CMakeL10n.txt
+++ b/yakuake/CMakeL10n.txt
@@ -1,3 +1,5 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/yakuake" )
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/yakuake/src/CMakeL10n.txt b/yakuake/src/CMakeL10n.txt
new file mode 100644
index 0000000..599ce30
--- /dev/null
+++ b/yakuake/src/CMakeL10n.txt
@@ -0,0 +1,7 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/yakuake.desktop/"
+ SOURCES yakuake.desktop
+)
+
diff --git a/yakuake/src/CMakeLists.txt b/yakuake/src/CMakeLists.txt
index 6138050..5b710ad 100644
--- a/yakuake/src/CMakeLists.txt
+++ b/yakuake/src/CMakeLists.txt
@@ -53,10 +53,7 @@ tde_install_icons( )
##### other data
-install(
- FILES ${PROJECT_NAME}.desktop
- DESTINATION ${XDG_APPS_INSTALL_DIR}
-)
+tde_create_translated_desktop( ${PROJECT_NAME}.desktop )
install(
FILES ${PROJECT_NAME}.kcfg
diff --git a/yakuake/src/yakuake.desktop b/yakuake/src/yakuake.desktop
index 0efb353..a1ec87a 100644
--- a/yakuake/src/yakuake.desktop
+++ b/yakuake/src/yakuake.desktop
@@ -2,10 +2,8 @@
Encoding=UTF-8
Name=Yakuake
-Name[xx]=xxYakuakexx
GenericName=Terminal Program Quake-Style
-GenericName[de]=Terminalprogramm im Stil von Quake
Exec=yakuake
Icon=yakuake
@@ -13,29 +11,6 @@ Type=Application
Categories=Qt;TDE;System;TerminalEmulator;
Comment=A Quake-style terminal emulator based on TDE Konsole technology.
-Comment[ar]=مضاهي نافذة أوامر من نوع Quake معتمد على تقنية TDE Konsole.
-Comment[bg]=Терминален емулатор в стил Quake, базиран на конзолната технология на TDE.
-Comment[da]=En Quake-lignende terminalemulator baseret på teknologi fra TDE's program Konsole.
-Comment[de]=Ein der Quake-Konsole nachempfundener Terminalemulator basierend auf TDE Konsole.
-Comment[el]=Μία εφαρμογή τερματικού σε στυλ Quake, βασισμένη στην τεχνολογία του TDE Konsole.
-Comment[es]=Un emulador de terminal tipo Quake basado en la tecnología de TDE Konsole.
-Comment[et]=Quake'i stiilis terminaliemulaator, mille aluseks on TDE Konsooli tehnoloogia.
-Comment[fr]=Un émulateur dans le style de Quake basé sur la technologie Konsole de TDE.
-Comment[ga]=Aithriseoir teirminéil de chineál Quake, bunaithe ar theicneolaíocht Konsole TDE.
-Comment[gl]=Unha terminal ao estilo de Quake baseada en Konsole.
-Comment[it]=Un emulatore di terminale sullo stile di Quake basato sulla tecnologia di TDE Konsole.
-Comment[ja]=TDE Konsole のテクノロジーに基づく Quake スタイルのターミナルエミュレータ
-Comment[mk]=Терминал во стилот на Quake базиран врз технологијата на Конзолата на TDE.
-Comment[nl]=Een Quake-achtige terminalemulator, gebaseerd op de technologie van TDE's Konsole
-Comment[pt]=Um emulador de terminal do estilo do Quake, baseado na tecnologia do Konsole do TDE.
-Comment[pt_BR]=Um emulador de terminal do estilo do Quake, baseado na tecnologia do Konsole do TDE.
-Comment[sk]=Emulátor terminálu v štýle Quake založený na TDE Konsole technológii.
-Comment[sr]=Емулатор терминала у Quake стилу базиран на TDE Konsole технологији.
-Comment[sr@Latn]=Emulator terminala u Quake stilu baziran na TDE Konsole tehnologiji.
-Comment[sv]=En Quake-liknande terminalemulator baserad på teknologi från TDE:s Terminal.
-Comment[tr]=TDE Konsole teknolojisi üzerine kurulu Quake stili bir terminal emülatörü.
-Comment[uk]=Емулятор терміналу в стилі Quake, оснований на технології консолі TDE.
-Comment[xx]=xxA Quake-style terminal emulator based on TDE Konsole technology.xx
X-TDE-StartupNotify=false
X-DCOP-ServiceType=Unique