summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-15 14:11:46 +0800
committerVictor Kareh <[email protected]>2019-10-29 09:18:58 -0400
commitbce4817d3c2ddc150582db8451f3d92a5a2df5da (patch)
tree32e184c11e7b49ba3aaff5b3c851cb1837bb7bb8 /src
parent64b09837c0e3eea6e4f546fc3d2718e4c52bfdde (diff)
downloadmate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.bz2
mate-screensaver-bce4817d3c2ddc150582db8451f3d92a5a2df5da.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/mate-screensaver.desktop.in.in9
2 files changed, 7 insertions, 5 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3de1112..5c19bb7 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -56,7 +56,8 @@ noinst_PROGRAMS = \
desktopdir = $(sysconfdir)/xdg/autostart
desktop_in_files = mate-screensaver.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
-@INTLTOOL_DESKTOP_RULE@
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
mate_screensaver_command_SOURCES = \
mate-screensaver-command.c \
diff --git a/src/mate-screensaver.desktop.in.in b/src/mate-screensaver.desktop.in.in
index 1c4ea43..007dd31 100644
--- a/src/mate-screensaver.desktop.in.in
+++ b/src/mate-screensaver.desktop.in.in
@@ -1,13 +1,14 @@
[Desktop Entry]
Type=Application
-_Name=Screensaver
-_Comment=Launch screensaver and locker program
+Name=Screensaver
+Comment=Launch screensaver and locker program
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=preferences-desktop-screensaver
Exec=mate-screensaver
OnlyShowIn=MATE;
NoDisplay=true
-#Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
-_Keywords=MATE;screensaver;locker;
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
+Keywords=MATE;screensaver;locker;
X-MATE-Autostart-Phase=Application
X-MATE-Autostart-Notify=true
X-MATE-Bugzilla-Bugzilla=MATE