From 6294de0acf38507697258c295785c213b4de08fd Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Mon, 2 Sep 2019 10:38:45 +0800 Subject: migrate from intltool to gettext --- desktop-themes/ContrastHigh/Makefile.am | 5 +++-- desktop-themes/ContrastHigh/index.theme.in | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'desktop-themes/ContrastHigh') diff --git a/desktop-themes/ContrastHigh/Makefile.am b/desktop-themes/ContrastHigh/Makefile.am index e8d5b861..250686b4 100644 --- a/desktop-themes/ContrastHigh/Makefile.am +++ b/desktop-themes/ContrastHigh/Makefile.am @@ -1,11 +1,12 @@ THEME_NAME=ContrastHigh THEME_IN_FILES=index.theme.in -@INTLTOOL_THEME_RULE@ - themedir = $(datadir)/themes/$(THEME_NAME) theme_DATA = index.theme +$(theme_DATA): $(THEME_IN_FILES) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ + DISTCLEANFILES = index.theme EXTRA_DIST = index.theme.in diff --git a/desktop-themes/ContrastHigh/index.theme.in b/desktop-themes/ContrastHigh/index.theme.in index 13a54b79..091bf98a 100644 --- a/desktop-themes/ContrastHigh/index.theme.in +++ b/desktop-themes/ContrastHigh/index.theme.in @@ -1,7 +1,7 @@ [Desktop Entry] Type=X-GNOME-Metatheme Name=High Contrast -_Comment=High contrast theme +Comment=High contrast theme Encoding=UTF-8 [X-GNOME-Metatheme] -- cgit v1.2.1