diff options
author | Wu Xiaotian <[email protected]> | 2019-11-09 15:33:24 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-12-01 11:39:44 +0100 |
commit | 93881642e533133ef9f455612611002531e4475e (patch) | |
tree | b25e92a1cd42271762116dd226ddabf7e78ad99d /plugins/filebrowser | |
parent | 6dd6ad739acc075119cb03f62b0cceacef006345 (diff) | |
download | pluma-93881642e533133ef9f455612611002531e4475e.tar.bz2 pluma-93881642e533133ef9f455612611002531e4475e.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'plugins/filebrowser')
-rw-r--r-- | plugins/filebrowser/Makefile.am | 7 | ||||
-rw-r--r-- | plugins/filebrowser/filebrowser.plugin.desktop.in | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/plugins/filebrowser/Makefile.am b/plugins/filebrowser/Makefile.am index 903e5bc7..095cdc1d 100644 --- a/plugins/filebrowser/Makefile.am +++ b/plugins/filebrowser/Makefile.am @@ -44,8 +44,10 @@ uidir = $(PLUMA_PLUGINS_DATA_DIR)/filebrowser ui_DATA = pluma-file-browser-widget-ui.xml plugin_in_files = filebrowser.plugin.desktop.in +plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) -%.plugin: %.plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache +$(plugin_DATA): $(plugin_in_files) + $(AM_V_GEN) $(MSGFMT) --keyword=Name --keyword=Description --desktop --template $< -d $(top_srcdir)/po -o $@ pluma-file-browser-enum-types.h: pluma-file-browser-enum-types.h.template $(NOINST_H_FILES) $(GLIB_MKENUMS) (cd $(srcdir) && $(GLIB_MKENUMS) --template pluma-file-browser-enum-types.h.template $(NOINST_H_FILES)) > $@ @@ -62,9 +64,6 @@ pluma-file-browser-marshal.c: pluma-file-browser-marshal.list $(GLIB_GENMARSHAL) $(AM_V_GEN) echo "#include \"pluma-file-browser-marshal.h\"" > $@ && \ $(GLIB_GENMARSHAL) $< --body --prefix=pluma_file_browser_marshal >> $@ -plugin_DATA = $(plugin_in_files:.plugin.desktop.in=.plugin) - -@INTLTOOL_XML_NOMERGE_RULE@ filebrowser_gschema_in = org.mate.pluma.plugins.filebrowser.gschema.xml.in gsettings_SCHEMAS = $(filebrowser_gschema_in:.xml.in=.xml) @GSETTINGS_RULES@ diff --git a/plugins/filebrowser/filebrowser.plugin.desktop.in b/plugins/filebrowser/filebrowser.plugin.desktop.in index d9ea9ad3..b76497d5 100644 --- a/plugins/filebrowser/filebrowser.plugin.desktop.in +++ b/plugins/filebrowser/filebrowser.plugin.desktop.in @@ -2,8 +2,8 @@ Loader=C Module=filebrowser IAge=2 -_Name=File Browser Pane -_Description=Easy file access from the side pane +Name=File Browser Pane +Description=Easy file access from the side pane Icon=system-file-manager Authors=Jesse van den Kieboom <[email protected]> Copyright=Copyright © 2006 Jesse van den Kieboom |