gnome-commander r2367 - in trunk: . src



Author: epiotr
Date: Fri Dec 19 22:04:08 2008
New Revision: 2367
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2367&view=rev

Log:
i18n: translate default profile name (CamelCase)

Modified:
   trunk/ChangeLog
   trunk/src/gnome-cmd-data.cc

Modified: trunk/src/gnome-cmd-data.cc
==============================================================================
--- trunk/src/gnome-cmd-data.cc	(original)
+++ trunk/src/gnome-cmd-data.cc	Fri Dec 19 22:04:08 2008
@@ -1392,15 +1392,17 @@
         load_rename_history();
 
         // add a few default templates here - for new users
-        AdvrenameConfig::Profile p;
-
 #if GLIB_CHECK_VERSION (2, 14, 0)
-        p.name = "CamelCase";
-        p.template_string = "$N";
-        p.regexes.push_back(GnomeCmd::ReplacePattern("\\s*\\b(\\w)(\\w*)\\b", "\\u\\1\\L\\2\\E", FALSE));
-        p.regexes.push_back(GnomeCmd::ReplacePattern("\\.(.+)$", ".\\L\\1", FALSE));
+        {
+            AdvrenameConfig::Profile p;
 
-        advrename_defaults.profiles.push_back(p);
+            p.name = _("CamelCase");
+            p.template_string = "$N";
+            p.regexes.push_back(GnomeCmd::ReplacePattern("\\s*\\b(\\w)(\\w*)\\b", "\\u\\1\\L\\2\\E", FALSE));
+            p.regexes.push_back(GnomeCmd::ReplacePattern("\\.(.+)$", ".\\L\\1", FALSE));
+
+            advrename_defaults.profiles.push_back(p);
+        }
 #endif
     }
 



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