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/windows/Makefile.am | 5 +++-- capplets/windows/mate-window-properties.desktop.in | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) (limited to 'capplets/windows') diff --git a/capplets/windows/Makefile.am b/capplets/windows/Makefile.am index 63f75fbb..92175d2c 100644 --- a/capplets/windows/Makefile.am +++ b/capplets/windows/Makefile.am @@ -10,12 +10,13 @@ mate_window_properties_SOURCES = \ mate-metacity-support.c \ mate-window-properties.c -@INTLTOOL_DESKTOP_RULE@ - desktopdir = $(datadir)/applications Desktop_in_files = mate-window-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 $@ + AM_CPPFLAGS = $(MATECC_CAPPLETS_CFLAGS) \ -DUIDIR=\""$(uidir)"\" \ -DPIXMAPDIR=\""$(pixmapdir)"\" diff --git a/capplets/windows/mate-window-properties.desktop.in b/capplets/windows/mate-window-properties.desktop.in index 49d2bc76..bf1f0557 100644 --- a/capplets/windows/mate-window-properties.desktop.in +++ b/capplets/windows/mate-window-properties.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] -_Name=Windows -_Comment=Set your window properties +Name=Windows +Comment=Set your window properties Exec=mate-window-properties +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=preferences-system-windows Terminal=false Type=Application StartupNotify=true Categories=GTK;Settings;DesktopSettings; +# 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;window;manager;properties;marco;preferences; OnlyShowIn=MATE; -- cgit v1.2.1