From cd5b6003a7c380e95d8422b66f116d294c09b945 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 29 Oct 2019 16:10:25 +0800 Subject: migrate from intltools to gettext --- src/capplet/Makefile.am | 4 ++-- src/capplet/mate-notification-properties.desktop.in | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'src/capplet') 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; -- cgit v1.2.1