f-spot r3936 - in trunk: . src/Widgets
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r3936 - in trunk: . src/Widgets
- Date: Mon, 19 May 2008 12:24:16 +0000 (UTC)
Author: sdelcroix
Date: Mon May 19 12:24:15 2008
New Revision: 3936
URL: http://svn.gnome.org/viewvc/f-spot?rev=3936&view=rev
Log:
2008-05-19  Stephane Delcroix  <sdelcroix novell com>
	* src/Widgets/FindBar.cs: make operators work on localized versions.
	Patch from Jordi Mas, bgo #466946.
Modified:
   trunk/ChangeLog
   trunk/src/Widgets/FindBar.cs
Modified: trunk/src/Widgets/FindBar.cs
==============================================================================
--- trunk/src/Widgets/FindBar.cs	(original)
+++ trunk/src/Widgets/FindBar.cs	Mon May 19 12:24:15 2008
@@ -199,7 +199,7 @@
 
 		// OPS The operators we support, case insensitive
 		//private static string op_str = "(?'Ops' or | and |, | \\s+ )";
-		private static string op_str = "(?'Ops' or | and |, )";
+		private static string op_str = "(?'Ops' "+ Catalog.GetString ("or") + " | "+ Catalog.GetString ("and")  + " |, )";
 
 		// Match literals, eg tags or other text to search on
 		private static string literal_str = "[^{0}{1}]+?";
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]