Commit eec7a2fe authored by Sébastien Wilmet's avatar Sébastien Wilmet

language-specs: do not mark strings for translation

Keep only the _section translatable, those make sense to translate.

The language names (e.g. Swift, Kotlin, Maxima) should not be
translated, for example if Maxima is translated the user will certainly
be confused…

The style names are not very useful to translate, because the user never
sees those strings! It is used for example by a gedit plugin to
create/edit style schemes. The style names are probably hard to
translate anyway, and I'm sure that it was often translated in a way
that the user didn't understand what it means… So, since those strings
are extremely rarely used, and since they are hard to translate without
context, it is better to not translate them at all. It's like GObject
properties.

Also, the *.lang file format doesn't support well translatable strings.
Ideally each translatable string should have its own tag, with the
translatable="yes" property, the possibility to add a context, etc.
parent 53310b3b
......@@ -22,7 +22,7 @@
-->
<!-- Translators: It is the section for a set of languages related for this purpose -->
<language id="r" _name="R" version="2.0" _section="Scientific">
<language id="r" name="R" version="2.0" _section="Scientific">
<metadata>
<property name="mimetypes">text/x-R</property>
<property name="globs">*.R;*.Rout;*.r;*.Rhistory;*.Rt;*.Rout.save;*.Rout.fail</property>
......@@ -30,15 +30,15 @@
</metadata>
<styles>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="reserved-classes" _name="Reserved Class" map-to="def:type"/>
<style id="assignment-operator" _name="Assignment Operator" map-to="def:operator"/>
<style id="delimiter" _name="Delimiter" map-to="def:operator"/>
<style id="special-constant" _name="Special Constant" map-to="def:special-constant"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="integer-number" _name="Integer Number" map-to="def:base-n-integer"/>
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
<style id="functions" _name="Functions" map-to="def:function"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="reserved-classes" name="Reserved Class" map-to="def:type"/>
<style id="assignment-operator" name="Assignment Operator" map-to="def:operator"/>
<style id="delimiter" name="Delimiter" map-to="def:operator"/>
<style id="special-constant" name="Special Constant" map-to="def:special-constant"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="integer-number" name="Integer Number" map-to="def:base-n-integer"/>
<style id="floating-point" name="Floating point number" map-to="def:floating-point"/>
<style id="functions" name="Functions" map-to="def:function"/>
</styles>
<definitions>
......
......@@ -27,19 +27,19 @@ References:
https://tools.ietf.org/html/rfc5234
https://tools.ietf.org/html/rfc7405
-->
<language id="abnf" _name="ABNF" version="2.0" _section="Source">
<language id="abnf" name="ABNF" version="2.0" _section="Source">
<metadata>
<property name="globs">*.abnf</property>
<property name="line-comment-start">;</property>
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="rulename" _name="Rule Name" map-to="def:type"/>
<style id="binary" _name="Binary number" map-to="def:base-n-integer"/>
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="rulename" name="Rule Name" map-to="def:type"/>
<style id="binary" name="Binary number" map-to="def:base-n-integer"/>
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
<style id="hexadecimal" name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="string" name="String" map-to="def:string"/>
</styles>
<definitions>
......
......@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="actionscript" _name="ActionScript" version="2.0" _section="Source">
<language id="actionscript" name="ActionScript" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-actionscript</property>
<property name="globs">*.as</property>
......@@ -31,19 +31,19 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="error" _name="Error" map-to="def:error"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="external" _name="External" map-to="def:preprocessor"/>
<style id="declaration" _name="Declaration" map-to="def:type"/>
<style id="storage-class" _name="Storage Class" map-to="def:type"/>
<style id="scope-declaration" _name="Scope Declaration" map-to="def:type"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="null-value" _name="Null Value" map-to="def:special-constant"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="number" _name="Number" map-to="def:decimal"/>
<style id="reserved" _name="Future Reserved Keywords" map-to="def:error"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="error" name="Error" map-to="def:error"/>
<style id="string" name="String" map-to="def:string"/>
<style id="external" name="External" map-to="def:preprocessor"/>
<style id="declaration" name="Declaration" map-to="def:type"/>
<style id="storage-class" name="Storage Class" map-to="def:type"/>
<style id="scope-declaration" name="Scope Declaration" map-to="def:type"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="number" name="Number" map-to="def:decimal"/>
<style id="reserved" name="Future Reserved Keywords" map-to="def:error"/>
<style id="type" name="Data Type" map-to="def:type"/>
</styles>
<definitions>
......
......@@ -22,7 +22,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="ada" _name="Ada" version="2.0" _section="Source">
<language id="ada" name="Ada" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-ada;text/x-adasrc</property>
<property name="globs">*.adb;*.ads</property>
......@@ -30,17 +30,17 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="storage-class" _name="Storage Class" map-to="def:type"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
<style id="base-n-number" _name="Arbitrary base number" map-to="def:base-n-integer"/>
<style id="real" _name="Real number" map-to="def:floating-point"/>
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="string" name="String" map-to="def:string"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="storage-class" name="Storage Class" map-to="def:type"/>
<style id="type" name="Data Type" map-to="def:type"/>
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
<style id="base-n-number" name="Arbitrary base number" map-to="def:base-n-integer"/>
<style id="real" name="Real number" map-to="def:floating-point"/>
<style id="escaped-character" name="Escaped Character" map-to="def:special-char"/>
</styles>
<default-regex-options case-sensitive="false"/>
......
......@@ -21,7 +21,7 @@
-->
<language id="ansforth94" _name="ANS-Forth94" version="2.0" _section="Source">
<language id="ansforth94" name="ANS-Forth94" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-forth</property>
......@@ -32,20 +32,20 @@
</metadata>
<styles>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="obs-keyword" _name="Obsolete Keyword" map-to="def:keyword"/>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="alert" _name="Alert" map-to="def:note"/>
<style id="character" _name="Character" map-to="def:character"/>
<style id="word" _name="Word" map-to="def:function"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="constant" _name="Constant" map-to="def:constant"/>
<style id="variable" _name="Variable" map-to="def:type"/>
<style id="local-variable" _name="Local Variable" map-to="def:type"/>
<style id="single-number" _name="Single Number" map-to="def:base-n-integer"/>
<style id="double-number" _name="Double Number" map-to="def:base-n-integer"/>
<style id="float" _name="Float" map-to="def:floating-point"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="obs-keyword" name="Obsolete Keyword" map-to="def:keyword"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="alert" name="Alert" map-to="def:note"/>
<style id="character" name="Character" map-to="def:character"/>
<style id="word" name="Word" map-to="def:function"/>
<style id="string" name="String" map-to="def:string"/>
<style id="constant" name="Constant" map-to="def:constant"/>
<style id="variable" name="Variable" map-to="def:type"/>
<style id="local-variable" name="Local Variable" map-to="def:type"/>
<style id="single-number" name="Single Number" map-to="def:base-n-integer"/>
<style id="double-number" name="Double Number" map-to="def:base-n-integer"/>
<style id="float" name="Float" map-to="def:floating-point"/>
</styles>
......
......@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="asp" _name="ASP" version="2.0" _section="Source">
<language id="asp" name="ASP" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-asp;application/x-asp;application/x-asap</property>
<property name="globs">*.asp</property>
......@@ -28,18 +28,18 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="function" _name="Function" map-to="def:function"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="object" _name="ASP Object" map-to="def:type"/>
<style id="constant" _name="VBScript and ADO constants" map-to="def:constant"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="special-constant" _name="Special constant" map-to="def:special-constant"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="number" _name="Number" map-to="def:decimal"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="string" name="String" map-to="def:string"/>
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="function" name="Function" map-to="def:function"/>
<style id="operator" name="Operator" map-to="def:operator"/>
<style id="object" name="ASP Object" map-to="def:type"/>
<style id="constant" name="VBScript and ADO constants" map-to="def:constant"/>
<style id="type" name="Data Type" map-to="def:type"/>
<style id="special-constant" name="Special constant" map-to="def:special-constant"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="number" name="Number" map-to="def:decimal"/>
</styles>
<default-regex-options case-sensitive="false"/>
......
......@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="automake" _name="Automake" version="2.0" _section="Source">
<language id="automake" name="Automake" version="2.0" _section="Source">
<metadata>
<property name="globs">Makefile.am;GNUmakefile.am</property>
<property name="line-comment-start">#</property>
......@@ -35,14 +35,14 @@
-->
<styles>
<style id="lhs" _name="Automake Variable" map-to="def:identifier"/>
<style id="primary" _name="Primary" map-to="def:type"/>
<style id="secondary" _name="Secondary" map-to="def:statement"/>
<style id="prefix" _name="Prefix" map-to="def:statement"/>
<style id="target" _name="Optional Target" map-to="def:statement"/>
<style id="dirname" _name="Built-in Target" map-to="def:statement"/>
<style id="keyword" _name="Other Keyword" map-to="def:statement"/>
<style id="subst" _name="Substitution" map-to="def:preprocessor"/>
<style id="lhs" name="Automake Variable" map-to="def:identifier"/>
<style id="primary" name="Primary" map-to="def:type"/>
<style id="secondary" name="Secondary" map-to="def:statement"/>
<style id="prefix" name="Prefix" map-to="def:statement"/>
<style id="target" name="Optional Target" map-to="def:statement"/>
<style id="dirname" name="Built-in Target" map-to="def:statement"/>
<style id="keyword" name="Other Keyword" map-to="def:statement"/>
<style id="subst" name="Substitution" map-to="def:preprocessor"/>
</styles>
<definitions>
......
......@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="awk" _name="awk" version="2.0" _section="Script">
<language id="awk" name="awk" version="2.0" _section="Script">
<metadata>
<property name="mimetypes">application/x-awk</property>
<property name="globs">*.awk</property>
......@@ -28,10 +28,10 @@
</metadata>
<styles>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="pattern" _name="Pattern" map-to="def:preprocessor"/>
<style id="variable" _name="Variable" map-to="def:identifier"/>
<style id="builtin-function" _name="Builtin Function" map-to="def:builtin"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="pattern" name="Pattern" map-to="def:preprocessor"/>
<style id="variable" name="Variable" map-to="def:identifier"/>
<style id="builtin-function" name="Builtin Function" map-to="def:builtin"/>
</styles>
<definitions>
......
......@@ -19,7 +19,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="bennugd" _name="BennuGD" version="2.0" _section="Source">
<language id="bennugd" name="BennuGD" version="2.0" _section="Source">
<metadata>
<property name="globs">*.prg</property>
<property name="line-comment-start">//</property>
......@@ -28,16 +28,16 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
<style id="identifier" _name="Identifier" map-to="def:identifier"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="keywords" _name="Keyword" map-to="def:keyword"/>
<style id="types" _name="Data Type" map-to="def:type"/>
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
<style id="identifier" name="Identifier" map-to="def:identifier"/>
<style id="operator" name="Operator" map-to="def:operator"/>
<style id="keywords" name="Keyword" map-to="def:keyword"/>
<style id="types" name="Data Type" map-to="def:type"/>
<style id="floating-point" name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
<style id="hexadecimal" name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
</styles>
<default-regex-options case-sensitive="false" />
......
......@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="bibtex" _name="BibTeX" version="2.0" _section="Markup">
<language id="bibtex" name="BibTeX" version="2.0" _section="Markup">
<metadata>
<property name="mimetypes">text/x-bibtex</property>
<property name="globs">*.bib</property>
......@@ -28,9 +28,9 @@
</metadata>
<styles>
<style id="entry-type" _name="Entries" map-to="def:keyword"/>
<style id="field" _name="Field" map-to="def:identifier"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="entry-type" name="Entries" map-to="def:keyword"/>
<style id="field" name="Field" map-to="def:identifier"/>
<style id="string" name="String" map-to="def:string"/>
</styles>
<default-regex-options case-sensitive="false"/>
......
......@@ -18,7 +18,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="bluespec" _name="Bluespec SystemVerilog" version="2.0" _section="Source">
<language id="bluespec" name="Bluespec SystemVerilog" version="2.0" _section="Source">
<metadata>
<property name="globs">*.bsv</property>
<property name="line-comment-start">//</property>
......@@ -27,12 +27,12 @@
</metadata>
<styles>
<style id="system-task" _name="System Task" map-to="def:keyword"/>
<style id="annotation" _name="Annotation" map-to="def:function"/>
<style id="attribute" _name="Attribute" map-to="def:type"/>
<style id="import-bvi" _name="Import BVI" map-to="def:keyword"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="type" _name="Type" map-to="def:type"/>
<style id="system-task" name="System Task" map-to="def:keyword"/>
<style id="annotation" name="Annotation" map-to="def:function"/>
<style id="attribute" name="Attribute" map-to="def:type"/>
<style id="import-bvi" name="Import BVI" map-to="def:keyword"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="type" name="Type" map-to="def:type"/>
</styles>
<definitions>
......
......@@ -20,7 +20,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="boo" _name="Boo" version="2.0" _section="Source">
<language id="boo" name="Boo" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-boo</property>
<property name="globs">*.boo</property>
......@@ -30,19 +30,19 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="multiline-string" _name="Multiline string" map-to="def:string"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="regex" _name="Regular Expression" map-to="def:string"/>
<style id="namespace" _name="Namespace" map-to="def:preprocessor"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="definition" _name="Definition" map-to="def:keyword"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="special-variable" _name="Special Variable" map-to="def:identifier"/>
<style id="null-value" _name="Null Value" map-to="def:special-constant"/>
<style id="boolean" _name="Boolean" map-to="def:boolean"/>
<style id="number" _name="Number" map-to="def:number"/>
<style id="builtin" _name="Builtin Function" map-to="def:builtin"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="multiline-string" name="Multiline string" map-to="def:string"/>
<style id="string" name="String" map-to="def:string"/>
<style id="regex" name="Regular Expression" map-to="def:string"/>
<style id="namespace" name="Namespace" map-to="def:preprocessor"/>
<style id="type" name="Data Type" map-to="def:type"/>
<style id="definition" name="Definition" map-to="def:keyword"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="special-variable" name="Special Variable" map-to="def:identifier"/>
<style id="null-value" name="Null Value" map-to="def:special-constant"/>
<style id="boolean" name="Boolean" map-to="def:boolean"/>
<style id="number" name="Number" map-to="def:number"/>
<style id="builtin" name="Builtin Function" map-to="def:builtin"/>
</styles>
<definitions>
......
......@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="c" _name="C" version="2.0" _section="Source">
<language id="c" name="C" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-c;text/x-csrc;image/x-xpixmap</property>
<property name="globs">*.c</property>
......@@ -31,26 +31,26 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
<style id="common-defines" _name="Common Defines" map-to="def:special-constant"/>
<style id="included-file" _name="Included File" map-to="def:string"/>
<style id="char" _name="Character" map-to="def:character"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="storage-class" _name="Storage Class" map-to="def:type"/>
<style id="printf" _name="printf Conversion" map-to="def:special-char"/>
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="octal" _name="Octal number" map-to="def:base-n-integer"/>
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="standard-stream" _name="Standard stream" map-to="def:constant"/>
<style id="signal-name" _name="Signal name" map-to="def:constant"/>
<style id="error" _name="Error" map-to="def:error"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="string" name="String" map-to="def:string"/>
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
<style id="common-defines" name="Common Defines" map-to="def:special-constant"/>
<style id="included-file" name="Included File" map-to="def:string"/>
<style id="char" name="Character" map-to="def:character"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="operator" name="Operator" map-to="def:operator"/>
<style id="type" name="Data Type" map-to="def:type"/>
<style id="storage-class" name="Storage Class" map-to="def:type"/>
<style id="printf" name="printf Conversion" map-to="def:special-char"/>
<style id="escaped-character" name="Escaped Character" map-to="def:special-char"/>
<style id="floating-point" name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
<style id="octal" name="Octal number" map-to="def:base-n-integer"/>
<style id="hexadecimal" name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="standard-stream" name="Standard stream" map-to="def:constant"/>
<style id="signal-name" name="Signal name" map-to="def:constant"/>
<style id="error" name="Error" map-to="def:error"/>
</styles>
<definitions>
......
......@@ -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>
......@@ -29,23 +29,23 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="error" _name="Error" map-to="def:error"/>
<style id="preprocessor" _name="Preprocessor" map-to="def:preprocessor"/>
<style id="bindings" _name="Bindings" map-to="def:special-constant"/>
<style id="included-file" _name="Included File" map-to="def:string"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="type" _name="Data Type" map-to="def:type"/>
<style id="storage-class" _name="Storage Class" map-to="def:builtin"/>
<style id="escaped-character" _name="Escaped Character" map-to="def:special-char"/>
<style id="floating-point" _name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" _name="Decimal number" map-to="def:decimal"/>
<style id="octal" _name="Octal number" map-to="def:base-n-integer"/>
<style id="hexadecimal" _name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" _name="Boolean value" map-to="def:boolean"/>
<style id="swizzle" _name="Swizzle operator" map-to="def:operator"/>
<style id="function" _name="Function" map-to="def:function"/>
<style id="builtin" _name="Builtin" map-to="def:preprocessor"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="error" name="Error" map-to="def:error"/>
<style id="preprocessor" name="Preprocessor" map-to="def:preprocessor"/>
<style id="bindings" name="Bindings" map-to="def:special-constant"/>
<style id="included-file" name="Included File" map-to="def:string"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="type" name="Data Type" map-to="def:type"/>
<style id="storage-class" name="Storage Class" map-to="def:builtin"/>
<style id="escaped-character" name="Escaped Character" map-to="def:special-char"/>
<style id="floating-point" name="Floating point number" map-to="def:floating-point"/>
<style id="decimal" name="Decimal number" map-to="def:decimal"/>
<style id="octal" name="Octal number" map-to="def:base-n-integer"/>
<style id="hexadecimal" name="Hexadecimal number" map-to="def:base-n-integer"/>
<style id="boolean" name="Boolean value" map-to="def:boolean"/>
<style id="swizzle" name="Swizzle operator" map-to="def:operator"/>
<style id="function" name="Function" map-to="def:function"/>
<style id="builtin" name="Builtin" map-to="def:preprocessor"/>
</styles>
<definitions>
......
......@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="changelog" _name="ChangeLog" version="2.0" _section="Other">
<language id="changelog" name="ChangeLog" version="2.0" _section="Other">
<metadata>
<property name="mimetypes">text/x-changelog</property>
......@@ -29,14 +29,14 @@
</metadata>
<styles>
<style id="date" _name="Date" map-to="def:number"/>
<style id="date" name="Date" map-to="def:number"/>
<!-- Translators: the name of a person, not an object. -->
<style id="name" _name="Name" map-to="def:statement"/>
<style id="email" _name="E-mail address" map-to="def:identifier"/>
<style id="file" _name="File" map-to="def:comment"/>
<style id="bullet" _name="Bullet" map-to="def:type"/>
<style id="function" _name="Function" map-to="def:function"/>
<style id="release" _name="Release" map-to="def:statement"/>
<style id="name" name="Name" map-to="def:statement"/>
<style id="email" name="E-mail address" map-to="def:identifier"/>
<style id="file" name="File" map-to="def:comment"/>
<style id="bullet" name="Bullet" map-to="def:type"/>
<style id="function" name="Function" map-to="def:function"/>
<style id="release" name="Release" map-to="def:statement"/>
</styles>
<definitions>
......
......@@ -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>
......
......@@ -20,20 +20,20 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="cmake" _name="CMake" version="2.0" _section="Other">
<language id="cmake" name="CMake" version="2.0" _section="Other">
<metadata>
<property name="globs">CMakeLists.txt;*.cmake;*.cmake.in;*.ctest;*.ctest.in</property>
<property name="line-comment-start">#</property>
</metadata>
<styles>
<style id="builtin-command" _name="Builtin Command" map-to="def:function"/>
<style id="deprecated-builtin-command" _name="Deprecated Builtin Command" map-to="def:warning"/>
<style id="builtin-variable" _name="Builtin Variable" map-to="def:builtin"/>
<style id="constant" _name="Constant" map-to="def:constant"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="control" _name="Control Keyword" map-to="def:keyword"/>
<style id="variable" _name="Variable" map-to="makefile:variable"/>
<style id="builtin-command" name="Builtin Command" map-to="def:function"/>
<style id="deprecated-builtin-command" name="Deprecated Builtin Command" map-to="def:warning"/>
<style id="builtin-variable" name="Builtin Variable" map-to="def:builtin"/>
<style id="constant" name="Constant" map-to="def:constant"/>
<style id="operator" name="Operator" map-to="def:operator"/>
<style id="control" name="Control Keyword" map-to="def:keyword"/>
<style id="variable" name="Variable" map-to="makefile:variable"/>
</styles>
<definitions>
......
......@@ -23,7 +23,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="cobol" _name="COBOL" version="2.0" _section="Source">
<language id="cobol" name="COBOL" version="2.0" _section="Source">
<metadata>
<property name="mimetype">text/x-cobol</property>
<property name="globs">*.cbl;*.cob;*.cbd;*.cdb;*.cdc</property>
......@@ -31,15 +31,15 @@
</metadata>
<styles>
<style id="comment" _name="Comment" map-to="def:comment"/>
<style id="statement" _name="Statement" map-to="def:statement"/>
<style id="variable" _name="Variable" map-to="def:type"/>
<style id="keyword" _name="Keyword" map-to="def:keyword"/>
<style id="constant" _name="Constant" map-to="def:constant"/>
<style id="string" _name="String" map-to="def:string"/>
<style id="number" _name="Number" map-to="def:decimal"/>
<style id="operator" _name="Operator" map-to="def:operator"/>
<style id="error" _name="Error" map-to="def:error"/>
<style id="comment" name="Comment" map-to="def:comment"/>
<style id="statement" name="Statement" map-to="def:statement"/>
<style id="variable" name="Variable" map-to="def:type"/>
<style id="keyword" name="Keyword" map-to="def:keyword"/>
<style id="constant" name="Constant" map-to="def:constant"/>
<style id="string" name="String" map-to="def:string"/>
<style id="number" name="Number" map-to="def:decimal"/>
<style id="operator" name="Operator" map-to="def:operator"/>
<style id="error" name="Error" map-to="def:error"/>
</styles>
<default-regex-options case-sensitive="false"/>
......
......@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->
<language id="cpp" _name="C++" version="2.0" _section="Source">
<language id="cpp" name="C++" version="2.0" _section="Source">
<metadata>
<property name="mimetypes">text/x-c++;text/x-cpp;text/x-c++src</property>
<property name="globs">*.cpp;*.cxx;*.cc;*.C;*.c++</property>
......@@ -31,9 +31,9 @@
</metadata>
<styles>
<style id="keyword" _name="Keyword" map-to="c:keyword"/>
<style id="type" _name="Data Type" map-to="c:type"/>
<style id="common-defines" _name="Common Defines" map-to="c:common-defines"/>
<style id="keyword" name="Keyword" map-to="c:keyword"/>
<style id="type" name="Data Type" map-to="c:type"/>
<style id="common-defines" name="Common Defines" map-to="c:common-defines"/>
</styles>
<definitions>
......
......@@ -21,7 +21,7 @@
along with this library; if not, see <http://www.gnu.org/licenses/>.
-->