[gtksourceview] mediawiki: style fixes capitalize nouns on style names



commit 1c813200f667687ca44b7167a90dc2e94983d036
Author: Carnë Draug <carandraug+dev gmail com>
Date:   Tue May 28 22:06:58 2013 +0100

    mediawiki: style fixes capitalize nouns on style names

 data/language-specs/mediawiki.lang |   62 ++++++++++++++++++------------------
 1 files changed, 31 insertions(+), 31 deletions(-)
---
diff --git a/data/language-specs/mediawiki.lang b/data/language-specs/mediawiki.lang
index 8c1c0b4..eba4115 100644
--- a/data/language-specs/mediawiki.lang
+++ b/data/language-specs/mediawiki.lang
@@ -21,61 +21,61 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
     <property name="block-comment-start">&lt;!--</property>
     <property name="block-comment-end">--&gt;</property>
   </metadata>
-  
+
   <styles>
-    <style id="strong-emphasis" _name="Strong emphasis"   map-to="def:statement"/>
-    <style id="light-emphasis"  _name="Light emphasis"    map-to="def:doc-comment-element"/>
+    <style id="strong-emphasis" _name="Strong Emphasis"   map-to="def:statement"/>
+    <style id="light-emphasis"  _name="Light Emphasis"    map-to="def:doc-comment-element"/>
     <style id="signature"       _name="Signature"         map-to="def:statement"/>
     <style id="url"             _name="URL"               map-to="def:underlined"/>
     <style id="link"            _name="Link"              map-to="def:comment"/>
-    <style id="link-symbol"     _name="Symbol on a link"  map-to="def:shebang"/>
+    <style id="link-symbol"     _name="Symbol on a Link"  map-to="def:shebang"/>
     <style id="line"            _name="Line"              map-to="def:type"/>
     <style id="list"            _name="List"              map-to="def:statement"/>
-    <style id="magic-word"      _name="Magic word"        map-to="def:statement"/>
-    <style id="table-symbol"    _name="Symbol of a table" map-to="def:statement"/>
+    <style id="magic-word"      _name="Magic Word"        map-to="def:statement"/>
+    <style id="table-symbol"    _name="Symbol of a Table" map-to="def:statement"/>
     <style id="preformatted"    _name="Preformatted"      map-to="def:identifier"/>
     <style id="redirect"        _name="Redirect"          map-to="def:statement"/>
     <style id="title"           _name="Title"             map-to="def:type"/>
     <style id="template"        _name="Template"          map-to="def:statement"/>
   </styles>
-  
+
   <definitions>
     <!-- See <http://www.mediawiki.org/wiki/Manual:$wgUrlProtocols>. -->
     <define-regex 
id="regex-url">(http://|https://|ftp://|irc://|gopher://|telnet://|nntp://|worldwind://|mailto:|news:)[^\s]+</define-regex>
-    
+
     <define-regex id="regex-internal-link">\[\[\s*[^\[\]\s][^\[\]]*?((\|)[^\[\]\|]*)?\]\]</define-regex>
-    
+
     <context id="double-emphasis" style-ref="strong-emphasis">
       <match>'''''.+?'''''</match>
     </context>
-    
+
     <context id="strong-emphasis" style-ref="strong-emphasis">
       <match>'''.+?'''</match>
     </context>
-    
+
     <context id="light-emphasis" style-ref="light-emphasis">
       <match>''.+?''</match>
     </context>
-    
+
     <!-- See <http://www.mediawiki.org/wiki/Help:Signatures/fr>. -->
     <context id="signature" style-ref="signature">
       <match>~{3,5}</match>
     </context>
-    
+
     <context id="url" style-ref="url">
       <match>(\%{regex-url})</match>
       <include>
         <context sub-pattern="1" style-ref="link"/>
       </include>
     </context>
-    
+
     <context id="internal-link" style-ref="link">
       <match>\%{regex-internal-link}</match>
       <include>
         <context sub-pattern="2" style-ref="link-symbol"/>
       </include>
     </context>
-    
+
     <context id="external-link" style-ref="link">
       <match extended="true">
         (?&lt;!\[)
@@ -90,18 +90,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context sub-pattern="1" style-ref="url"/>
       </include>
     </context>
-    
+
     <context id="line" style-ref="line">
       <match>^-{4,}</match>
     </context>
-    
+
     <context id="list">
       <match>^((\*|#(?!REDIRECT))+)\s*[^\*#\s]+</match>
       <include>
         <context sub-pattern="1" style-ref="list"/>
       </include>
     </context>
-    
+
     <context id="glossary-term">
       <match extended="true">
         ^(;)
@@ -115,7 +115,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context sub-pattern="2" style-ref="list"/>
       </include>
     </context>
-    
+
     <context id="glossary-definition">
       <match extended="true">
         ^(:)
@@ -126,13 +126,13 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context sub-pattern="1" style-ref="list"/>
       </include>
     </context>
-    
+
     <!-- Magic words. See <http://www.mediawiki.org/wiki/Help:Magic_words>. -->
-    
+
     <context id="magic-word-1" style-ref="magic-word">
       <prefix>__</prefix>
       <suffix>__</suffix>
-      
+
       <!-- Behavior switches. -->
       <keyword>NOTOC</keyword>
       <keyword>FORCETOC</keyword>
@@ -152,11 +152,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
       <keyword>NOINDEX</keyword>
       <keyword>STATICREDIRECT</keyword>
     </context>
-    
+
     <context id="magic-word-2" style-ref="magic-word">
       <prefix>{{</prefix>
       <suffix>}}</suffix>
-      
+
       <!-- Date and time. -->
       <keyword>CURRENTYEAR</keyword>
       <keyword>CURRENTMONTH</keyword>
@@ -262,11 +262,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         </context>
       </include>
     </context>
-    
+
     <context id="preformatted" style-ref="preformatted">
       <match>^ +[^ ]+.*$</match>
     </context>
-    
+
     <context id="redirect">
       <match>^(#REDIRECT)\s*(\%{regex-internal-link})</match>
       <include>
@@ -275,11 +275,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context sub-pattern="4" style-ref="link-symbol"/>
       </include>
     </context>
-    
+
     <context id="title" style-ref="title">
       <match>^=.+=\s*$</match>
     </context>
-    
+
     <context id="template">
       <match>({{)\s*[^{}\s]+[^{}]*(}})</match>
       <include>
@@ -287,7 +287,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context sub-pattern="2" style-ref="template"/>
       </include>
     </context>
-    
+
     <context id="mediawiki-syntax">
       <include>
         <context ref="double-emphasis"/>
@@ -310,9 +310,9 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
         <context ref="template"/>
       </include>
     </context>
-    
+
     <replace id="html:embedded-lang-hook" ref="mediawiki-syntax"/>
-    
+
     <context id="mediawiki">
       <include>
         <context ref="mediawiki-syntax"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]