From f5354df76377627dde56b079c9328b46865033d2 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Wed, 30 Oct 2019 20:33:54 +0800 Subject: migrate from intltool to gettext --- mate-panel/Makefile.am | 4 ++-- mate-panel/mate-panel.desktop.in | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'mate-panel') diff --git a/mate-panel/Makefile.am b/mate-panel/Makefile.am index bd806487..f1a2ea7f 100644 --- a/mate-panel/Makefile.am +++ b/mate-panel/Makefile.am @@ -290,8 +290,8 @@ panel-test-applets-resources.h: panel-test-applets.gresource.xml $(shell $(GLIB_ desktopdir = $(datadir)/applications desktop_in_files = mate-panel.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 $@ EXTRA_DIST = \ $(ui_FILES) \ diff --git a/mate-panel/mate-panel.desktop.in b/mate-panel/mate-panel.desktop.in index b686af43..461d5c03 100644 --- a/mate-panel/mate-panel.desktop.in +++ b/mate-panel/mate-panel.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] Type=Application -_Name=Panel -_Comment=Launch other applications and provide various utilities to manage windows, show the time, etc. +Name=Panel +Comment=Launch other applications and provide various utilities to manage windows, show the time, etc. +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=mate-panel Exec=mate-panel StartupNotify=true Terminal=false +# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Categories=GTK;System;Core; OnlyShowIn=MATE; NoDisplay=true -- cgit v1.2.1