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: typo in the Gallery Add Archive default templateId.
- fixed #11876: packing templates, snippets, headtags removes conditional CSS comments - 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 #11877: Criteria Builder on "shortcut by alternate criteria" gets ugly with many checkbox items
- fixed #11878: Addons title not internationalized
7.10.0 7.10.0
- fixed #11812: Checking www_ajaxSave's response in the cart js, urlencoding post parameters - 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 # upgrade functions go here
uniqueProductLocations($session); uniqueProductLocations($session);
removeBadSpanishFile($session); removeBadSpanishFile($session);
i18nForAddonsTitle($session);
finish($session); # this line required finish($session); # this line required
@ -68,16 +69,18 @@ sub uniqueProductLocations {
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# This internationalizes the link text of the addons link in the adminconsole # This internationalizes the link text of the addons link in the adminconsole
sub i18nForAddonsTitle { sub i18nForAddonsTitle {
my $session = shift; my $session = shift;
my $adminConsole = $session->config->get('adminConsole'); print "\tInternationalize the text of the addons link in the adminconsole... " unless $quiet;
$adminConsole->{'addons'} = { $session->config->set('adminConsole/addons',
icon => "addons.png", {
uiLevel => 1, icon => "addons.png",
group => "12", uiLevel => 1,
url => "http://www.webgui.org/addons", group => "12",
title => "^International(Addons title,WebGUI);" url => "http://www.webgui.org/addons",
}; title => "^International(Addons title,WebGUI);"
$session->config->set('adminConsole',$adminConsole); }
);
print "DONE!\n" unless $quiet;
} }
#---------------------------------------------------------------------------- #----------------------------------------------------------------------------
# Describe what our function does # Describe what our function does

View file

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