gnome-commander r2368 - in branches/gcmd-1-3: . src
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2368 - in branches/gcmd-1-3: . src
- Date: Sat, 20 Dec 2008 19:00:27 +0000 (UTC)
Author: epiotr
Date: Sat Dec 20 19:00:27 2008
New Revision: 2368
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2368&view=rev
Log:
i18n: translate default profile name (CamelCase)
Modified:
branches/gcmd-1-3/ChangeLog
branches/gcmd-1-3/src/gnome-cmd-data.cc
Modified: branches/gcmd-1-3/src/gnome-cmd-data.cc
==============================================================================
--- branches/gcmd-1-3/src/gnome-cmd-data.cc (original)
+++ branches/gcmd-1-3/src/gnome-cmd-data.cc Sat Dec 20 19:00:27 2008
@@ -1395,15 +1395,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]