summaryrefslogtreecommitdiff
path: root/plugins/externaltools/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 /plugins/externaltools/data
parent6dd6ad739acc075119cb03f62b0cceacef006345 (diff)
downloadpluma-93881642e533133ef9f455612611002531e4475e.tar.bz2
pluma-93881642e533133ef9f455612611002531e4475e.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'plugins/externaltools/data')
-rw-r--r--plugins/externaltools/data/Makefile.am3
-rw-r--r--plugins/externaltools/data/build.desktop.in4
-rw-r--r--plugins/externaltools/data/open-terminal-here.desktop.in4
-rw-r--r--plugins/externaltools/data/remove-trailing-spaces.desktop.in4
-rw-r--r--plugins/externaltools/data/run-command.desktop.in4
-rw-r--r--plugins/externaltools/data/search-recursive.desktop.in2
-rw-r--r--plugins/externaltools/data/switch-c.desktop.in2
7 files changed, 12 insertions, 11 deletions
diff --git a/plugins/externaltools/data/Makefile.am b/plugins/externaltools/data/Makefile.am
index c9abcce0..4a303ce1 100644
--- a/plugins/externaltools/data/Makefile.am
+++ b/plugins/externaltools/data/Makefile.am
@@ -23,7 +23,8 @@ all_desktop_in_files = $(all_tools_in_files:.tool.in=.desktop.in)
all_desktop_files = $(all_tools_in_files:.tool.in=.desktop)
all_tools_files = $(all_tools_in_files:.tool.in=)
-@INTLTOOL_DESKTOP_RULE@
+%.desktop: %.desktop.in
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
# Tools are generated by merging a script file (.tool.in) with a data file
# (.desktop), which happens to be translated using intltool.
diff --git a/plugins/externaltools/data/build.desktop.in b/plugins/externaltools/data/build.desktop.in
index c2a49871..7666abe1 100644
--- a/plugins/externaltools/data/build.desktop.in
+++ b/plugins/externaltools/data/build.desktop.in
@@ -1,6 +1,6 @@
[Pluma Tool]
-_Name=Build
-_Comment=Run "make" in the document directory
+Name=Build
+Comment=Run "make" in the document directory
Input=nothing
Output=output-panel
Shortcut=<Control>F8
diff --git a/plugins/externaltools/data/open-terminal-here.desktop.in b/plugins/externaltools/data/open-terminal-here.desktop.in
index 45587ef6..fcd281e5 100644
--- a/plugins/externaltools/data/open-terminal-here.desktop.in
+++ b/plugins/externaltools/data/open-terminal-here.desktop.in
@@ -1,6 +1,6 @@
[Pluma Tool]
-_Name=Open terminal here
-_Comment=Open a terminal in the document location
+Name=Open terminal here
+Comment=Open a terminal in the document location
Input=nothing
Output=output-panel
Applicability=local
diff --git a/plugins/externaltools/data/remove-trailing-spaces.desktop.in b/plugins/externaltools/data/remove-trailing-spaces.desktop.in
index 70bd8fd1..3beb99ab 100644
--- a/plugins/externaltools/data/remove-trailing-spaces.desktop.in
+++ b/plugins/externaltools/data/remove-trailing-spaces.desktop.in
@@ -1,6 +1,6 @@
[Pluma Tool]
-_Name=Remove trailing spaces
-_Comment=Remove useless trailing spaces in your file
+Name=Remove trailing spaces
+Comment=Remove useless trailing spaces in your file
Input=document
Output=replace-document
Shortcut=<Alt>F12
diff --git a/plugins/externaltools/data/run-command.desktop.in b/plugins/externaltools/data/run-command.desktop.in
index 4e15e678..7b1a821a 100644
--- a/plugins/externaltools/data/run-command.desktop.in
+++ b/plugins/externaltools/data/run-command.desktop.in
@@ -1,6 +1,6 @@
[Pluma Tool]
-_Name=Run command
-_Comment=Execute a custom command and put its output in a new document
+Name=Run command
+Comment=Execute a custom command and put its output in a new document
Input=nothing
Output=new-document
Applicability=all
diff --git a/plugins/externaltools/data/search-recursive.desktop.in b/plugins/externaltools/data/search-recursive.desktop.in
index 41baf649..3574f456 100644
--- a/plugins/externaltools/data/search-recursive.desktop.in
+++ b/plugins/externaltools/data/search-recursive.desktop.in
@@ -1,5 +1,5 @@
[Pluma Tool]
-_Name=Search
+Name=Search
Shortcut=<Primary><Shift>f
Languages=
Applicability=local
diff --git a/plugins/externaltools/data/switch-c.desktop.in b/plugins/externaltools/data/switch-c.desktop.in
index 43d4f70b..fa5cb9bf 100644
--- a/plugins/externaltools/data/switch-c.desktop.in
+++ b/plugins/externaltools/data/switch-c.desktop.in
@@ -1,5 +1,5 @@
[Pluma Tool]
-_Name=Switch onto a file .c and .h
+Name=Switch onto a file .c and .h
Shortcut=<Shift><Alt>s
Applicability=all
Output=nothing