diff options
Diffstat (limited to 'extras/shutdown')
-rw-r--r-- | extras/shutdown/.directory | 3 | ||||
-rw-r--r-- | extras/shutdown/CMakeLists.txt | 13 | ||||
-rw-r--r-- | extras/shutdown/cancelshutdown.desktop | 7 | ||||
-rw-r--r-- | extras/shutdown/fsck.desktop | 7 |
4 files changed, 8 insertions, 22 deletions
diff --git a/extras/shutdown/.directory b/extras/shutdown/.directory index b67681f..31c8d6f 100644 --- a/extras/shutdown/.directory +++ b/extras/shutdown/.directory @@ -1,7 +1,4 @@ [Desktop Entry] -# Encoding: UTF-8 Type=Directory Icon=system-log-out Comment=Shut Down -Comment[pl]=Zamykanie Systemu -Comment[el]=Τερματισμός diff --git a/extras/shutdown/CMakeLists.txt b/extras/shutdown/CMakeLists.txt index f6c8d32..68be21c 100644 --- a/extras/shutdown/CMakeLists.txt +++ b/extras/shutdown/CMakeLists.txt @@ -1,6 +1,9 @@ -file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.desktop ) +file( GLOB _files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} .directory *.desktop ) -install( - FILES ${_files} .directory - DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/shutdown -) +foreach( _source ${_files} ) + tde_create_translated_desktop( + SOURCE ${_source} + DESTINATION ${DATA_INSTALL_DIR}/${PROJECT_NAME}/extras/shutdown + PO_DIR ${CMAKE_SOURCE_DIR}/translations/desktop_files/extras + ) +endforeach() diff --git a/extras/shutdown/cancelshutdown.desktop b/extras/shutdown/cancelshutdown.desktop index 2ec0dfc..443beb9 100644 --- a/extras/shutdown/cancelshutdown.desktop +++ b/extras/shutdown/cancelshutdown.desktop @@ -1,13 +1,6 @@ [Desktop Entry] -# Encoding: UTF-8 Comment=Cancel a running shutdown -Comment[de]=Herunterfahren aufhalten -Comment[it]=Annulla spegnimento programmato -Comment[pl]=Anuluj zamykanie systemu -Comment[el]=Ακύρωση τερματισμού Exec=/sbin/shutdown -c -GenericName= -GenericName[pl]= Icon=system-log-out MimeType= Path= diff --git a/extras/shutdown/fsck.desktop b/extras/shutdown/fsck.desktop index d6c8ccf..0dbb21e 100644 --- a/extras/shutdown/fsck.desktop +++ b/extras/shutdown/fsck.desktop @@ -1,13 +1,6 @@ [Desktop Entry] -# Encoding: UTF-8 Comment=Reboot and run `fsck' -Comment[it]=Riavvia ed esegui `fsck' -Comment[de]=Neustarten und `fsck` ausführen -Comment[pl]=Zrestartuj i uruchom `fsck' -Comment[el]=Επανεκκίνηση και εκτέλεση του `fsck' Exec=/sbin/shutdown -r -F 1 -GenericName= -GenericName[pl]= Icon=system-log-out MimeType= Path= |