From b5dfa41511029b8cb0bc5fc2c7d3f04118ecb6b7 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 10 May 2019 21:44:13 +0800 Subject: Migrate from intltool to gettext --- data/Makefile.am | 5 +++-- data/mozo.desktop.in.in | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index daa2b1d..e7462de 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,11 +1,12 @@ SUBDIRS = icons -@INTLTOOL_DESKTOP_RULE@ - desktopdir = $(datadir)/applications desktop_in_files = mozo.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 = mozo.1 pkgdata_DATA = mozo.ui diff --git a/data/mozo.desktop.in.in b/data/mozo.desktop.in.in index 44318fe..c5e6bb6 100644 --- a/data/mozo.desktop.in.in +++ b/data/mozo.desktop.in.in @@ -1,6 +1,6 @@ [Desktop Entry] -_Name=Main Menu -_Comment=Change which applications are shown on the main menu +Name=Main Menu +Comment=Change which applications are shown on the main menu Exec=mozo Terminal=false Type=Application -- cgit v1.2.1