From 93881642e533133ef9f455612611002531e4475e Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Sat, 9 Nov 2019 15:33:24 +0800 Subject: migrate from intltool to gettext --- data/Makefile.am | 6 ++++-- data/pluma.appdata.xml.in | 6 +++--- data/pluma.desktop.in.in | 10 ++++++---- 3 files changed, 13 insertions(+), 9 deletions(-) (limited to 'data') diff --git a/data/Makefile.am b/data/Makefile.am index 12d8a058..21c26baa 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,12 +1,14 @@ desktopdir = $(datadir)/applications desktop_in_files = pluma.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 $@ -@INTLTOOL_XML_RULE@ appdatadir = $(datadir)/metainfo appdata_in_files = pluma.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) +$(appdata_DATA): $(appdata_in_files) + $(AM_V_GEN) GETTEXTDATADIRS=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ gsettings_SCHEMAS = org.mate.pluma.gschema.xml @GSETTINGS_RULES@ diff --git a/data/pluma.appdata.xml.in b/data/pluma.appdata.xml.in index 9799fc0b..5ef27402 100644 --- a/data/pluma.appdata.xml.in +++ b/data/pluma.appdata.xml.in @@ -5,8 +5,8 @@ CC0-1.0 GPL-2.0+ Pluma - <_summary>A Text Editor for the MATE desktop environment - <_description> + A Text Editor for the MATE desktop environment +

Pluma is a small, but powerful text editor designed specifically for the MATE desktop. It has most standard text editor functions and fully @@ -19,7 +19,7 @@ support for spell checking, comparing files, viewing CVS ChangeLogs, and adjusting indentation levels.

- +
diff --git a/data/pluma.desktop.in.in b/data/pluma.desktop.in.in index 6e83ae9c..24124400 100644 --- a/data/pluma.desktop.in.in +++ b/data/pluma.desktop.in.in @@ -1,17 +1,19 @@ [Desktop Entry] -_Name=Pluma -_GenericName=Text Editor -_Comment=Edit text files +Name=Pluma +GenericName=Text Editor +Comment=Edit text files Exec=pluma %U Terminal=false Type=Application StartupNotify=true MimeType=text/plain; +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=accessories-text-editor Categories=GTK;Utility;TextEditor; +# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=text;editor;MATE;tabs;highlighting;code;multiple;files;pluggable; X-MATE-DocPath=pluma/pluma.xml -_X-MATE-FullName=Pluma Text Editor +X-MATE-FullName=Pluma Text Editor X-MATE-Bugzilla-Bugzilla=MATE X-MATE-Bugzilla-Product=Pluma X-MATE-Bugzilla-Component=general -- cgit v1.2.1