Skip to content

Commit

Permalink
fixed #11878 added i18n for addons link
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJol authored and perlDreamer committed Sep 21, 2010
1 parent 0b4e8d5 commit 97ef77b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/upgrades/upgrade_7.10.0-7.10.1.pl
Expand Up @@ -65,6 +65,20 @@ sub uniqueProductLocations {
print "DONE!\n" unless $quiet;
}

#----------------------------------------------------------------------------
# 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);
}
#----------------------------------------------------------------------------
# Describe what our function does
sub removeBadSpanishFile {
Expand Down
5 changes: 5 additions & 0 deletions lib/WebGUI/i18n/English/WebGUI.pm
Expand Up @@ -126,6 +126,11 @@ our $I18N = {
context=>"Settings hover help"
},

'Addons title' => {
message => q|Addons|,
lastUpdated => 1285067064,
context => "Link title for addons link in adminconsole"
},
'purge workflow' => {
message => q|Purge Workflow|,
lastUpdated => 1162242500,
Expand Down

0 comments on commit 97ef77b

Please sign in to comment.