summaryrefslogtreecommitdiff
path: root/src/capplet
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-29 16:10:25 +0800
committerraveit65 <[email protected]>2019-11-07 11:22:37 +0100
commitcd5b6003a7c380e95d8422b66f116d294c09b945 (patch)
treec8b7858f68d996adf2a5341e3b55125140ff3ac5 /src/capplet
parent9f5e0db85fe80f97c38576922c2748eb94b46a4b (diff)
downloadmate-notification-daemon-cd5b6003a7c380e95d8422b66f116d294c09b945.tar.bz2
mate-notification-daemon-cd5b6003a7c380e95d8422b66f116d294c09b945.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'src/capplet')
-rw-r--r--src/capplet/Makefile.am4
-rw-r--r--src/capplet/mate-notification-properties.desktop.in6
2 files changed, 6 insertions, 4 deletions
diff --git a/src/capplet/Makefile.am b/src/capplet/Makefile.am
index 26a188a..509133d 100644
--- a/src/capplet/Makefile.am
+++ b/src/capplet/Makefile.am
@@ -1,7 +1,5 @@
bin_PROGRAMS = mate-notification-properties
-@INTLTOOL_DESKTOP_RULE@
-
BUILT_SOURCES = mate-notification-properties-resources.h mate-notification-properties-resources.c
mate_notification_properties_LDADD = $(NOTIFICATION_CAPPLET_LIBS)
@@ -14,6 +12,8 @@ mate-notification-properties-resources.h mate-notification-properties-resources.
desktopdir = $(datadir)/applications
desktop_in_files = mate-notification-properties.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
man_MANS = mate-notification-properties.1
diff --git a/src/capplet/mate-notification-properties.desktop.in b/src/capplet/mate-notification-properties.desktop.in
index 5a90f57..c96e053 100644
--- a/src/capplet/mate-notification-properties.desktop.in
+++ b/src/capplet/mate-notification-properties.desktop.in
@@ -1,11 +1,13 @@
[Desktop Entry]
-_Name=Popup Notifications
-_Comment=Set your popup notification preferences
+Name=Popup Notifications
+Comment=Set your popup notification preferences
Exec=mate-notification-properties
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=mate-notification-properties
Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Settings;DesktopSettings;
OnlyShowIn=MATE;
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=MATE;Notification;Theme;