Skip to content

Commit

Permalink
Added changelot entry, called the i18n sub, changed to compound keys,…
Browse files Browse the repository at this point in the history
… updated the default WebGUI.conf file, added upgrade output.
  • Loading branch information
perlDreamer committed Sep 21, 2010
1 parent 97ef77b commit a961214
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
Expand Up @@ -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
Expand Down
23 changes: 13 additions & 10 deletions docs/upgrades/upgrade_7.10.0-7.10.1.pl
Expand Up @@ -33,6 +33,7 @@ BEGIN
# upgrade functions go here
uniqueProductLocations($session);
removeBadSpanishFile($session);
i18nForAddonsTitle($session);

finish($session); # this line required

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion etc/WebGUI.conf.original
Expand Up @@ -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",
Expand Down

0 comments on commit a961214

Please sign in to comment.