From 235e8ed2e122140a8476ba91b365ec92a5103530 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 16 Oct 2019 16:50:40 +0800 Subject: migrate from intltool to gettext --- capplets/default-applications/Makefile.am | 4 ++-- .../mate-default-applications-properties.desktop.in | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'capplets/default-applications') diff --git a/capplets/default-applications/Makefile.am b/capplets/default-applications/Makefile.am index a8d21f8b..d00cd389 100644 --- a/capplets/default-applications/Makefile.am +++ b/capplets/default-applications/Makefile.am @@ -17,13 +17,13 @@ nodist_mate_default_applications_properties_SOURCES = \ mate_default_applications_properties_SOURCES = \ mate-da-capplet.c mate-da-capplet.h -@INTLTOOL_DESKTOP_RULE@ - include $(top_srcdir)/gla11y.mk desktopdir = $(datadir)/applications Desktop_in_files = mate-default-applications-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 $@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = mate-default-applications.pc diff --git a/capplets/default-applications/mate-default-applications-properties.desktop.in b/capplets/default-applications/mate-default-applications-properties.desktop.in index 072dd304..677e5eba 100644 --- a/capplets/default-applications/mate-default-applications-properties.desktop.in +++ b/capplets/default-applications/mate-default-applications-properties.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] -_Name=Preferred Applications -_Comment=Select your default applications +Name=Preferred Applications +Comment=Select your default applications Exec=mate-default-applications-properties +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=preferences-desktop-default-applications Terminal=false Type=Application StartupNotify=true Categories=GTK;Settings;X-MATE-PersonalSettings; +# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=mate-control-center;MATE;default;preferred;applications; OnlyShowIn=MATE; -- cgit v1.2.1