[gnome-commander] advrename: added default profile (Audio Files)
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] advrename: added default profile (Audio Files)
- Date: Sun, 6 Jun 2010 18:40:42 +0000 (UTC)
commit efdb33c8b70e72354408e2f748076ba0196239c6
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jun 6 20:39:49 2010 +0200
advrename: added default profile (Audio Files)
src/gnome-cmd-data.cc | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 17f5082..97ebc46 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -1469,6 +1469,14 @@ void GnomeCmdData::load()
{
AdvrenameConfig::Profile p;
+ p.name = _("Audio Files");
+ p.template_string = "$T(Audio.AlbumArtist) - $T(Audio.Title).$e";
+ p.regexes.push_back(GnomeCmd::ReplacePattern("[ _]+", " ", FALSE));
+ p.regexes.push_back(GnomeCmd::ReplacePattern("[fF]eat\\.", "fr.", TRUE));
+
+ advrename_defaults.profiles.push_back(p);
+
+ p.reset();
p.name = _("CamelCase");
p.template_string = "$N";
p.regexes.push_back(GnomeCmd::ReplacePattern("\\s*\\b(\\w)(\\w*)\\b", "\\u\\1\\L\\2\\E", FALSE));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]