fix broken i18n labels in UserProfile, firstDayOfWeek
This commit is contained in:
parent
2a1275058e
commit
323f4d06ed
1 changed files with 6 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ addMatrix();
|
||||||
updateConfigFile();
|
updateConfigFile();
|
||||||
addInOutBoard();
|
addInOutBoard();
|
||||||
addZipArchive();
|
addZipArchive();
|
||||||
|
updateUserProfileDayLabels();
|
||||||
finish();
|
finish();
|
||||||
|
|
||||||
#-------------------------------------------------
|
#-------------------------------------------------
|
||||||
|
|
@ -971,6 +972,11 @@ sub addWorkflow {
|
||||||
)");
|
)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------
|
||||||
|
sub updateUserProfileDayLabels {
|
||||||
|
print "\tUpdating day labels in User Profile firstDayOfWeek.\n" unless ($quiet);
|
||||||
|
WebGUI::SQL->write(q!update userProfileField set dataValues='{0=>WebGUI::International::get(\"sunday\",\"DateTime\"),1=>WebGUI::International::get(\"monday\",\"DateTime\")}' where fieldName='firstDayOfWeek'!);
|
||||||
|
}
|
||||||
|
|
||||||
#--- DO NOT EDIT BELOW THIS LINE
|
#--- DO NOT EDIT BELOW THIS LINE
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue