summaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-05-02 17:50:07 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-05-02 17:50:07 +0200
commit973ccd2d158a63ad581504ab32fdae872e57cbfd (patch)
treef1e6a4cb0763e57458c5fb6c86be2dc01e8ef492 /sounds
parent761db40024a2195b2ab3f19357db8b236e25ad56 (diff)
downloadkshutdown-973ccd2d158a63ad581504ab32fdae872e57cbfd.tar.gz
kshutdown-973ccd2d158a63ad581504ab32fdae872e57cbfd.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>
Diffstat (limited to 'sounds')
-rw-r--r--sounds/CMakeLists.txt4
-rw-r--r--sounds/eventsrc11
2 files changed, 3 insertions, 12 deletions
diff --git a/sounds/CMakeLists.txt b/sounds/CMakeLists.txt
index 4b01e07..d07888b 100644
--- a/sounds/CMakeLists.txt
+++ b/sounds/CMakeLists.txt
@@ -7,7 +7,7 @@ install(
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/sounds
)
-install(
- FILES eventsrc
+tde_create_translated_desktop(
+ SOURCE eventsrc
DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}
)
diff --git a/sounds/eventsrc b/sounds/eventsrc
index 7266977..22fbe4f 100644
--- a/sounds/eventsrc
+++ b/sounds/eventsrc
@@ -1,4 +1,3 @@
-# encoding: UTF-8
[!Global!]
IconName=kshutdown
Comment=KShutDown
@@ -6,24 +5,16 @@ Comment=KShutDown
[kshutdown-5m]
Name=5 Minutes Warning
Comment=5 Minutes Warning
-Comment[it]=Avvertimento a 5 minuti
-Comment[pl]=Ostrzeżenie: 5 minut
-Comment[el]=Προειδοποίηση των 5 λεπτών
default_sound=5m.ogg
default_presentation=72
[kshutdown-1m]
Name=1 Minute Warning
Comment=1 Minute Warning
-Comment[it]=Avvertimento a un minuto
-Comment[pl]=Ostrzeżenie: 1 minuta
-Comment[el]=Προειδοποίηση του 1 λεπτού
default_sound=1m.ogg
default_presentation=72
[kshutdown-runerror]
Name=Run Error
Comment=Run Error
-Comment[pl]=Błąd uruchomienia
-Comment[el]=Σφάλμα εκτέλεσης
-default_presentation=88 \ No newline at end of file
+default_presentation=88