summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-01-10 20:32:54 +0900
committerMichele Calgaro <[email protected]>2022-01-10 20:32:54 +0900
commitc69accc7cf28c4ede05687233a6d23d221905646 (patch)
tree78a0693703d2053afaf136e487421497c27ed737 /src
parentae406497b7694172bb652d25702e3e83287432f3 (diff)
downloadpolkit-agent-tde-c69accc7cf28c4ede05687233a6d23d221905646.tar.gz
polkit-agent-tde-c69accc7cf28c4ede05687233a6d23d221905646.zip
Added translation of .desktop files.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeL10n.txt5
-rw-r--r--src/CMakeLists.txt5
-rw-r--r--src/polkit-agent-tde.desktop14
3 files changed, 8 insertions, 16 deletions
diff --git a/src/CMakeL10n.txt b/src/CMakeL10n.txt
index 28e43ea..aa8fc4f 100644
--- a/src/CMakeL10n.txt
+++ b/src/CMakeL10n.txt
@@ -1,3 +1,8 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/polkit-agent-tde" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/polkit-agent-tde.desktop/"
+ SOURCES polkit-agent-tde.desktop
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e4e2c44..efbf17b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,8 +27,9 @@ link_directories(
##### autostart file #####
-install( FILES polkit-agent-tde.desktop
- DESTINATION ${AUTOSTART_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE polkit-agent-tde.desktop
+ DESTINATION ${AUTOSTART_INSTALL_DIR} )
##### executables #####
diff --git a/src/polkit-agent-tde.desktop b/src/polkit-agent-tde.desktop
index 2e94071..6e3fcd1 100644
--- a/src/polkit-agent-tde.desktop
+++ b/src/polkit-agent-tde.desktop
@@ -1,21 +1,7 @@
[Desktop Entry]
Name=TDE PolicyKit Authentication Agent
-Name[da]=PolicyKit autentificeringsagent
-Name[en_GB]=PolicyKit Authentication Agent
-Name[et]=PolicyKiti autentimisagent
-Name[it]=Agente di autenticazione PolicyKit per TDE
-Name[pt]=Agente de Autenticação do PolicyKit
-Name[sv]=Policykit behörighetskontrollverktyg
-Name[uk]=Агент розпізнавання PolicyKit
Comment=TDE PolicyKit Authentication Agent
-Comment[da]=PolicyKit autentificeringsagent
-Comment[en_GB]=PolicyKit Authentication Agent
-Comment[et]=PolicyKiti autentimisagent
-Comment[it]=Agente di autenticazione PolicyKit per TDE
-Comment[pt]=Agente de Autenticação do PolicyKit
-Comment[sv]=Policykit behörighetskontrollverktyg
-Comment[uk]=Агент розпізнавання PolicyKit
Type=Application
Exec=polkit-agent-tde