aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 13:07:20 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-16 14:24:59 +0200
commit90c9d1248a6723e79bb7491da035dbc5849c895f (patch)
tree0d953f1630424859ad8df6e63754329038cfa960
parent987fb8c0a24bb450abe20dc674207d79187e59ef (diff)
downloadarctica-greeter-90c9d1248a6723e79bb7491da035dbc5849c895f.tar.gz
arctica-greeter-90c9d1248a6723e79bb7491da035dbc5849c895f.tar.bz2
arctica-greeter-90c9d1248a6723e79bb7491da035dbc5849c895f.zip
Make arctica-desktop.desktop xgreeters file translatable.
-rw-r--r--data/Makefile.am5
-rw-r--r--data/arctica-greeter.desktop6
-rw-r--r--data/arctica-greeter.desktop.in5
-rw-r--r--po/POTFILES.in1
4 files changed, 10 insertions, 7 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6e07726..9a5af6c 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,7 +18,9 @@ guestsession_autostartdir = $(datadir)/arctica-greeter/guest-session/skel/.confi
guestsession_autostart_DATA = arctica-guest-session-startup.desktop
xgreeterdir = $(datarootdir)/xgreeters
-dist_xgreeter_DATA = arctica-greeter.desktop
+dist_xgreeter_in_files = arctica-greeter.desktop.in
+dist_xgreeter_DATA = $(dist_xgreeter_in_files:.desktop.in=.desktop)
+@INTLTOOL_DESKTOP_RULE@
backgroundsdir = $(datarootdir)/backgrounds
dist_backgrounds_DATA = \
@@ -91,6 +93,7 @@ EXTRA_DIST = \
DISTCLEANFILES = \
50-arctica-greeter.conf \
50-arctica-guest-wrapper.conf \
+ arctica-greeter.desktop \
arctica-guest-session-startup.desktop \
Makefile.in \
logo.png
diff --git a/data/arctica-greeter.desktop b/data/arctica-greeter.desktop
deleted file mode 100644
index 395703a..0000000
--- a/data/arctica-greeter.desktop
+++ /dev/null
@@ -1,6 +0,0 @@
-[Desktop Entry]
-Name=Arctica Greeter
-Comment=Arctica Greeter
-Exec=arctica-greeter
-Type=Application
-X-Ubuntu-Gettext-Domain=arctica-greeter
diff --git a/data/arctica-greeter.desktop.in b/data/arctica-greeter.desktop.in
new file mode 100644
index 0000000..49e1e2b
--- /dev/null
+++ b/data/arctica-greeter.desktop.in
@@ -0,0 +1,5 @@
+[Desktop Entry]
+_Name=Arctica Greeter
+_Comment=Arctica Greeter
+Exec=arctica-greeter
+Type=Application
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 70cf321..09042e2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -26,3 +26,4 @@ src/user-list.vala
src/user-prompt-box.vala
arctica-guest-account-script.sh.in
arctica-guest-session-auto.sh
+data/arctica-greeter.desktop.in