Added changelot entry, called the i18n sub, changed to compound keys, updated the default WebGUI.conf file, added upgrade output.

This commit is contained in:
Colin Kuskie 2010-09-21 09:12:12 -07:00
parent 97ef77bb7e
commit a9612145c8
3 changed files with 15 additions and 11 deletions

View file

@ -15,6 +15,7 @@
- fixed: typo in the Gallery Add Archive default templateId.
- fixed #11876: packing templates, snippets, headtags removes conditional CSS comments
- fixed #11877: Criteria Builder on "shortcut by alternate criteria" gets ugly with many checkbox items
- fixed #11878: Addons title not internationalized
7.10.0
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters

View file

@ -33,6 +33,7 @@ my $session = start(); # this line required
# upgrade functions go here
uniqueProductLocations($session);
removeBadSpanishFile($session);
i18nForAddonsTitle($session);
finish($session); # this line required
@ -68,16 +69,18 @@ sub uniqueProductLocations {
#----------------------------------------------------------------------------
# This internationalizes the link text of the addons link in the adminconsole
sub i18nForAddonsTitle {
my $session = shift;
my $adminConsole = $session->config->get('adminConsole');
$adminConsole->{'addons'} = {
icon => "addons.png",
uiLevel => 1,
group => "12",
url => "http://www.webgui.org/addons",
title => "^International(Addons title,WebGUI);"
};
$session->config->set('adminConsole',$adminConsole);
my $session = shift;
print "\tInternationalize the text of the addons link in the adminconsole... " unless $quiet;
$session->config->set('adminConsole/addons',
{
icon => "addons.png",
uiLevel => 1,
group => "12",
url => "http://www.webgui.org/addons",
title => "^International(Addons title,WebGUI);"
}
);
print "DONE!\n" unless $quiet;
}
#----------------------------------------------------------------------------
# Describe what our function does

View file

@ -406,7 +406,7 @@
"uiLevel" : 1,
"group" : "12",
"url" : "http://www.webgui.org/addons",
"title" : "Addons"
"title" : "^International(Addons title,WebGUI);"
},
"contentFilters" : {
"icon" : "contentFilters.gif",