[gtksourceview: 3/3] language-specs: mark for translation some language names
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview: 3/3] language-specs: mark for translation some language names
- Date: Thu, 7 Sep 2017 11:51:41 +0000 (UTC)
commit 4dc8a717603da0a855c166bd92832c5915e1d790
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Sep 7 13:23:16 2017 +0200
language-specs: mark for translation some language names
https://bugzilla.gnome.org/show_bug.cgi?id=787373
data/language-specs/cg.lang | 2 +-
data/language-specs/chdr.lang | 2 +-
data/language-specs/cpphdr.lang | 2 +-
data/language-specs/dosbatch.lang | 2 +-
data/language-specs/dtl.lang | 2 +-
data/language-specs/gdb-log.lang | 2 +-
data/language-specs/glsl.lang | 2 +-
data/language-specs/language-specs.pot | 54 ++++++++++++++++++++++++++++++-
data/language-specs/llvm.lang | 2 +-
data/language-specs/po.lang | 2 +-
data/language-specs/rpmspec.lang | 3 +-
11 files changed, 63 insertions(+), 12 deletions(-)
---
diff --git a/data/language-specs/cg.lang b/data/language-specs/cg.lang
index 3da7138..fe5d573 100644
--- a/data/language-specs/cg.lang
+++ b/data/language-specs/cg.lang
@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="cg" name="CG Shader Language" version="2.0" _section="Source">
+<language id="cg" _name="CG Shader Language" version="2.0" _section="Source">
<metadata>
<property name="globs">*.cg</property>
<property name="line-comment-start">//</property>
diff --git a/data/language-specs/chdr.lang b/data/language-specs/chdr.lang
index 1c9ec50..1d61174 100644
--- a/data/language-specs/chdr.lang
+++ b/data/language-specs/chdr.lang
@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="chdr" name="C/ObjC Header" version="2.0" _section="Source">
+<language id="chdr" _name="C/ObjC Header" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-chdr</property>
<property name="globs">*.h</property>
diff --git a/data/language-specs/cpphdr.lang b/data/language-specs/cpphdr.lang
index 3eae55d..519846b 100644
--- a/data/language-specs/cpphdr.lang
+++ b/data/language-specs/cpphdr.lang
@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="cpphdr" name="C++ Header" version="2.0" _section="Source">
+<language id="cpphdr" _name="C++ Header" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-c++hdr</property>
<property name="globs">*.hh;*.hp;*.hpp;*.h++</property>
diff --git a/data/language-specs/dosbatch.lang b/data/language-specs/dosbatch.lang
index e61d431..c2272f9 100644
--- a/data/language-specs/dosbatch.lang
+++ b/data/language-specs/dosbatch.lang
@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="dosbatch" name="DOS Batch" version="2.0" _section="Script">
+<language id="dosbatch" _name="DOS Batch" version="2.0" _section="Script">
<metadata>
<property name="globs">*.bat;*.cmd;*.sys</property>
<property name="line-comment-start">rem</property>
diff --git a/data/language-specs/dtl.lang b/data/language-specs/dtl.lang
index a020d18..faa9a6d 100644
--- a/data/language-specs/dtl.lang
+++ b/data/language-specs/dtl.lang
@@ -22,7 +22,7 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-->
-<language id="dtl" name="Django Template" version="2.0" _section="Markup">
+<language id="dtl" _name="Django Template" version="2.0" _section="Markup">
<metadata>
<property name="globs">*.dtl</property>
<property name="line-comment-start">**</property>
diff --git a/data/language-specs/gdb-log.lang b/data/language-specs/gdb-log.lang
index afc1dcf..32fee16 100644
--- a/data/language-specs/gdb-log.lang
+++ b/data/language-specs/gdb-log.lang
@@ -15,7 +15,7 @@
You should have received a copy of the GNU Lesser General Public License
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="gdb-log" name="GDB Log" version="2.0" _section="Other">
+<language id="gdb-log" _name="GDB Log" version="2.0" _section="Other">
<metadata>
<property name="globs">*.gdb</property>
</metadata>
diff --git a/data/language-specs/glsl.lang b/data/language-specs/glsl.lang
index f3513a3..a7be53f 100644
--- a/data/language-specs/glsl.lang
+++ b/data/language-specs/glsl.lang
@@ -27,7 +27,7 @@
Specification (February 12, 2010):
http://www.opengl.org/registry/doc/GLSLangSpec.4.00.7.pdf
-->
-<language id="glsl" name="OpenGL Shading Language" version="2.0" _section="Source">
+<language id="glsl" _name="OpenGL Shading Language" version="2.0" _section="Source">
<metadata>
<property name="globs">*.glslv;*.glslf</property>
diff --git a/data/language-specs/language-specs.pot b/data/language-specs/language-specs.pot
index 65130e9..6b1d17d 100644
--- a/data/language-specs/language-specs.pot
+++ b/data/language-specs/language-specs.pot
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2017-09-06 17:37+0200\n"
+"POT-Creation-Date: 2017-09-07 13:49+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL li org>\n"
@@ -202,6 +202,11 @@ msgstr ""
msgid "Markup"
msgstr ""
+#. (itstool) path: cg.lang/language@_name
+#: cg.lang:23
+msgid "CG Shader Language"
+msgstr ""
+
#. (itstool) path: changelog.lang/language@_section
#. (itstool) path: cmake.lang/language@_section
#. (itstool) path: css.lang/language@_section
@@ -243,12 +248,32 @@ msgstr ""
#: po.lang:23
#: protobuf.lang:21
#: puppet.lang:23
-#: rpmspec.lang:23
+#: rpmspec.lang:24
#: yacc.lang:23
#: yaml.lang:21
msgid "Other"
msgstr ""
+#. (itstool) path: chdr.lang/language@_name
+#: chdr.lang:24
+msgid "C/ObjC Header"
+msgstr ""
+
+#. (itstool) path: cpphdr.lang/language@_name
+#: cpphdr.lang:24
+msgid "C++ Header"
+msgstr ""
+
+#. (itstool) path: dosbatch.lang/language@_name
+#: dosbatch.lang:23
+msgid "DOS Batch"
+msgstr ""
+
+#. (itstool) path: dtl.lang/language@_name
+#: dtl.lang:25
+msgid "Django Template"
+msgstr ""
+
#. (itstool) path: fcl.lang/language@_section
#. (itstool) path: gap.lang/language@_section
#. (itstool) path: idl-exelis.lang/language@_section
@@ -274,3 +299,28 @@ msgstr ""
msgid "Scientific"
msgstr ""
+#. (itstool) path: gdb-log.lang/language@_name
+#: gdb-log.lang:18
+msgid "GDB Log"
+msgstr ""
+
+#. (itstool) path: glsl.lang/language@_name
+#: glsl.lang:30
+msgid "OpenGL Shading Language"
+msgstr ""
+
+#. (itstool) path: llvm.lang/language@_name
+#: llvm.lang:22
+msgid "LLVM IR"
+msgstr ""
+
+#. (itstool) path: po.lang/language@_name
+#: po.lang:23
+msgid "gettext translation"
+msgstr ""
+
+#. (itstool) path: rpmspec.lang/language@_name
+#: rpmspec.lang:24
+msgid "RPM spec"
+msgstr ""
+
diff --git a/data/language-specs/llvm.lang b/data/language-specs/llvm.lang
index 33e86c6..d3192f9 100644
--- a/data/language-specs/llvm.lang
+++ b/data/language-specs/llvm.lang
@@ -19,7 +19,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="llvm" name="LLVM IR" version="2.0" _section="Source">
+<language id="llvm" _name="LLVM IR" version="2.0" _section="Source">
<metadata>
<property name="globs">*.ll</property>
<property name="line-comment-start">;</property>
diff --git a/data/language-specs/po.lang b/data/language-specs/po.lang
index a8b8cf3..a36eb9f 100644
--- a/data/language-specs/po.lang
+++ b/data/language-specs/po.lang
@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="gettext-translation" name="gettext translation" version="2.0" _section="Other">
+<language id="gettext-translation" _name="gettext translation" version="2.0" _section="Other">
<metadata>
<property
name="mimetypes">text/x-po;text/x-pot;text/x-pox;text/x-gettext-translation;text/x-gettext-translation-template</property>
<property name="globs">*.po;*.pot</property>
diff --git a/data/language-specs/rpmspec.lang b/data/language-specs/rpmspec.lang
index 6f5229e..798d755 100644
--- a/data/language-specs/rpmspec.lang
+++ b/data/language-specs/rpmspec.lang
@@ -20,7 +20,8 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
-<language id="rpmspec" name="RPM spec" version="2.0" _section="Other">
+<!-- Translators: do not translate "spec", it's the file extension. -->
+<language id="rpmspec" _name="RPM spec" version="2.0" _section="Other">
<metadata>
<property name="mimetypes">text/x-rpm-spec</property>
<property name="globs">*.spec</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]