summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-09 15:33:24 +0800
committerraveit65 <[email protected]>2019-12-01 11:39:44 +0100
commit93881642e533133ef9f455612611002531e4475e (patch)
treeb25e92a1cd42271762116dd226ddabf7e78ad99d /data
parent6dd6ad739acc075119cb03f62b0cceacef006345 (diff)
downloadpluma-93881642e533133ef9f455612611002531e4475e.tar.bz2
pluma-93881642e533133ef9f455612611002531e4475e.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'data')
-rw-r--r--data/Makefile.am6
-rw-r--r--data/pluma.appdata.xml.in6
-rw-r--r--data/pluma.desktop.in.in10
3 files changed, 13 insertions, 9 deletions
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 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0+</project_license>
<name>Pluma</name>
- <_summary>A Text Editor for the MATE desktop environment</_summary>
- <_description>
+ <summary>A Text Editor for the MATE desktop environment</summary>
+ <description>
<p>
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.
</p>
- </_description>
+ </description>
<screenshots>
<screenshot type="default">
<image width="960" height="540">
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