[gtksourceview] latex.lang: rename Math Bound -> Math Boundary
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] latex.lang: rename Math Bound -> Math Boundary
- Date: Sat, 8 Feb 2014 16:17:59 +0000 (UTC)
commit 47b051a01401ec583840a8e80931111236f2eb28
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sat Feb 8 17:16:53 2014 +0100
latex.lang: rename Math Bound -> Math Boundary
A translator didn't understand "Math Bound", so I added the comment for
translators. With Math Boundary, it should be clearer.
data/language-specs/latex.lang | 19 +++++++++----------
1 files changed, 9 insertions(+), 10 deletions(-)
---
diff --git a/data/language-specs/latex.lang b/data/language-specs/latex.lang
index e3187cd..3a96780 100644
--- a/data/language-specs/latex.lang
+++ b/data/language-specs/latex.lang
@@ -34,8 +34,7 @@
<style id="display-math" _name="Math Mode" map-to="def:string"/>
<style id="inline-math" _name="Inline Math Mode" map-to="latex:display-math"/>
<style id="math" _name="Math Mode" map-to="latex:display-math"/>
- <!-- Translators: a math boundary in LaTeX, such as $, $$, \[ ... \], etc. -->
- <style id="math-bound" _name="Math Bound" map-to="latex:display-math"/>
+ <style id="math-boundary" _name="Math Boundary" map-to="latex:display-math"/>
<style id="include" _name="Include" map-to="def:keyword"/>
<style id="common-commands" _name="Command" map-to="def:keyword"/>
<style id="command" _name="Command" map-to="def:keyword"/>
@@ -516,8 +515,8 @@
<start>\$\$</start>
<end>\$\$</end>
<include>
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
+ <context sub-pattern="0" where="start" style-ref="math-boundary"/>
+ <context sub-pattern="0" where="end" style-ref="math-boundary"/>
<context ref="in-math"/>
</include>
</context>
@@ -526,8 +525,8 @@
<start>\\\[</start>
<end>\\\]</end>
<include>
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
+ <context sub-pattern="0" where="start" style-ref="math-boundary"/>
+ <context sub-pattern="0" where="end" style-ref="math-boundary"/>
<context ref="in-math"/>
</include>
</context>
@@ -548,8 +547,8 @@
<start>\$</start>
<end>\$</end>
<include>
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
+ <context sub-pattern="0" where="start" style-ref="math-boundary"/>
+ <context sub-pattern="0" where="end" style-ref="math-boundary"/>
<context ref="in-math"/>
</include>
</context>
@@ -558,8 +557,8 @@
<start>\\\(</start>
<end>\\\)</end>
<include>
- <context sub-pattern="0" where="start" style-ref="math-bound"/>
- <context sub-pattern="0" where="end" style-ref="math-bound"/>
+ <context sub-pattern="0" where="start" style-ref="math-boundary"/>
+ <context sub-pattern="0" where="end" style-ref="math-boundary"/>
<context ref="in-math"/>
</include>
</context>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]