i18n the ableToBeFrield user profile field label.
This commit is contained in:
parent
7a486a983e
commit
404ff5d570
2 changed files with 16 additions and 0 deletions
|
|
@ -22,6 +22,7 @@
|
|||
- fixed #11069: "More" options menu in asset manager
|
||||
- rfe #10755: Adding SetLanguage bazaar item
|
||||
- fixed #11176: New upgrade error in 7.6.35 to 7.7.17
|
||||
- fixed #11181: ableToBeFriend label not i18n
|
||||
|
||||
7.8.2
|
||||
- Added scheduled vendor payout workflow activity. (Special thanks to Martin @ Oqapi)
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ use WebGUI::Session;
|
|||
use WebGUI::Storage;
|
||||
use WebGUI::Asset;
|
||||
use WebGUI::Utility;
|
||||
use WebGUI::ProfileField;
|
||||
|
||||
|
||||
my $toVersion = '7.8.3';
|
||||
|
|
@ -38,9 +39,23 @@ addClipboardAdminSetting($session);
|
|||
addTrashAdminSetting($session);
|
||||
addPickLanguageMacro($session);
|
||||
installSetLanguage($session);
|
||||
i18nAbleToBeFriend($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub i18nAbleToBeFriend {
|
||||
my $session = shift;
|
||||
print "\tInternationalize the Able To Be Friend profile field... " unless $quiet;
|
||||
my $field = WebGUI::ProfileField->new($session, 'ableToBeFriend');
|
||||
if ($field) {
|
||||
my $props = $field->get();
|
||||
$props->{label} = q{WebGUI::International::get('user profile field friend availability','WebGUI')};
|
||||
$field->set($props);
|
||||
}
|
||||
print "Done.\n" unless $quiet;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
sub addClipboardAdminSetting {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue