summaryrefslogtreecommitdiffstats
path: root/sounds
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-05-02 17:50:07 +0200
committerSlávek Banko <[email protected]>2020-05-02 17:51:17 +0200
commitbf18769c595215fa138ff23b9bd115bc238b99b9 (patch)
treea1af73b9258cb11c6718f0815cfb558176cd908d /sounds
parent3626b53227439960175160da61ea3cdb8cf9827b (diff)
downloadkshutdown-bf18769c595215fa138ff23b9bd115bc238b99b9.tar.gz
kshutdown-bf18769c595215fa138ff23b9bd115bc238b99b9.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 973ccd2d158a63ad581504ab32fdae872e57cbfd)
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