gtksourceview r1985 - in trunk: . gtksourceview gtksourceview/language-specs



Author: muntyan
Date: Sat Aug  2 22:59:25 2008
New Revision: 1985
URL: http://svn.gnome.org/viewvc/gtksourceview?rev=1985&view=rev

Log:
2008-08-02  Yevgen Muntyan  <muntyan tamu edu>

	* gtksourceview/gtksourcecontextengine.c (analyze_line):
	* gtksourceview/language-specs/forth.lang:
	branched for 2.22, un-un-done the last two string changes.



Modified:
   trunk/ChangeLog
   trunk/gtksourceview/gtksourcecontextengine.c
   trunk/gtksourceview/language-specs/forth.lang

Modified: trunk/gtksourceview/gtksourcecontextengine.c
==============================================================================
--- trunk/gtksourceview/gtksourcecontextengine.c	(original)
+++ trunk/gtksourceview/gtksourcecontextengine.c	Sat Aug  2 22:59:25 2008
@@ -4530,9 +4530,8 @@
 
 		if (g_timer_elapsed (timer, NULL) * 1000 > MAX_TIME_FOR_ONE_LINE)
 		{
-			/* FIXME mark translatable after string freeze */
-			g_critical ("Highlighting a single line took too much time, "
-				    "syntax highlighting will be disabled");
+			g_critical (_("Highlighting a single line took too much time, "
+				      "syntax highlighting will be disabled"));
 			disable_highlighting (ce);
 			break;
 		}

Modified: trunk/gtksourceview/language-specs/forth.lang
==============================================================================
--- trunk/gtksourceview/language-specs/forth.lang	(original)
+++ trunk/gtksourceview/language-specs/forth.lang	Sat Aug  2 22:59:25 2008
@@ -30,15 +30,15 @@
   </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:statement"/>
-    <style id="type"          _name="Data Type"     map-to="def:type"/>
-    <style id="number"        _name="Number"        map-to="def:decimal"/>
-    <style id="debugs"        _name="Debug Code"    map-to="def:comment"/>
-    <style id="error"         _name="Error text"    map-to="def:error"/>
-    <style id="compiler"      _name="Compiler opt"  map-to="def:identifier"/>
+    <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:statement"/>
+    <style id="type"          _name="Data Type"          map-to="def:type"/>
+    <style id="number"        _name="Number"             map-to="def:decimal"/>
+    <style id="debugs"        _name="Debug Code"         map-to="def:comment"/>
+    <style id="error"         _name="Error Text"         map-to="def:error"/>
+    <style id="compiler"      _name="Compiler Directive" map-to="def:identifier"/>
   </styles>
 
   <default-regex-options case-sensitive="false"/>



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