diff options
author | Wu Xiaotian <[email protected]> | 2019-12-25 10:30:02 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-12-28 11:52:39 +0100 |
commit | 6364c09edc1f888d5596bb93086189f431776874 (patch) | |
tree | a14029472830f23818df35bca4140f17abcce155 /mate-screenshot | |
parent | 0568d8eeb506deff95f100b4ba55508b74e44542 (diff) | |
download | mate-utils-6364c09edc1f888d5596bb93086189f431776874.tar.bz2 mate-utils-6364c09edc1f888d5596bb93086189f431776874.tar.xz |
migrate from intltools to gettext
Diffstat (limited to 'mate-screenshot')
-rw-r--r-- | mate-screenshot/data/Makefile.am | 6 | ||||
-rw-r--r-- | mate-screenshot/data/mate-screenshot.appdata.xml.in | 6 | ||||
-rw-r--r-- | mate-screenshot/data/mate-screenshot.desktop.in | 6 |
3 files changed, 11 insertions, 7 deletions
diff --git a/mate-screenshot/data/Makefile.am b/mate-screenshot/data/Makefile.am index 2b4ede33..9a9664b4 100644 --- a/mate-screenshot/data/Makefile.am +++ b/mate-screenshot/data/Makefile.am @@ -1,14 +1,16 @@ mate_screenshotdir = $(datadir)/applications mate_screenshot_in_files = mate-screenshot.desktop.in mate_screenshot_DATA = $(mate_screenshot_in_files:.desktop.in=.desktop) -@INTLTOOL_DESKTOP_RULE@ +$(mate_screenshot_DATA): $(mate_screenshot_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ man_MANS = mate-screenshot.1 -@INTLTOOL_XML_RULE@ appdatadir = $(datadir)/metainfo appdata_in_files = mate-screenshot.appdata.xml.in appdata_DATA = $(appdata_in_files:.xml.in=.xml) +$(appdata_DATA): $(appdata_in_files) + $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ gsettings_SCHEMAS = org.mate.screenshot.gschema.xml @GSETTINGS_RULES@ diff --git a/mate-screenshot/data/mate-screenshot.appdata.xml.in b/mate-screenshot/data/mate-screenshot.appdata.xml.in index 0960b922..8c7fda4a 100644 --- a/mate-screenshot/data/mate-screenshot.appdata.xml.in +++ b/mate-screenshot/data/mate-screenshot.appdata.xml.in @@ -5,15 +5,15 @@ <metadata_license>CC0-1.0</metadata_license> <project_license>GPL-2.0+</project_license> <name>MATE Screenshot</name> - <_summary>A screenshot utility for MATE Desktop</_summary> - <_description> + <summary>A screenshot utility for MATE Desktop</summary> + <description> <p> MATE Screenshot is a simple utility that lets you capture screenshots of your desktop or of application windows. You can select to copy them to the system clipboard or save them in Portable Network Graphics (.png) image format. </p> - </_description> + </description> <screenshots> <screenshot type="default"> <image width="800" height="450"> diff --git a/mate-screenshot/data/mate-screenshot.desktop.in b/mate-screenshot/data/mate-screenshot.desktop.in index fedc1321..2b18c154 100644 --- a/mate-screenshot/data/mate-screenshot.desktop.in +++ b/mate-screenshot/data/mate-screenshot.desktop.in @@ -1,12 +1,14 @@ [Desktop Entry] -_Name=Take Screenshot -_Comment=Save images of your desktop or individual windows +Name=Take Screenshot +Comment=Save images of your desktop or individual windows Exec=mate-screenshot --interactive Terminal=false Type=Application +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=applets-screenshooter StartupNotify=true Categories=GTK;Utility; +# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon! Keywords=MATE;screenshot;snapshot;desktop;window;image; OnlyShowIn=MATE; X-MATE-Bugzilla-Bugzilla=MATE |