fix broken i18n labels in UserProfile, firstDayOfWeek

This commit is contained in:
Colin Kuskie 2005-11-23 05:16:11 +00:00
parent 2a1275058e
commit 323f4d06ed

View file

@ -41,6 +41,7 @@ addMatrix();
updateConfigFile();
addInOutBoard();
addZipArchive();
updateUserProfileDayLabels();
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