rem: document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) ); 
add: document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", calStrings.getFormattedString( "weekDayMonthLabel", [weekNumberText, dayOfWeekText, ofTheMonthText] ) ); 
context: function updateAdvancedRepeatDayOfMonth(){   //get the day number for today.   var dayNumber = document.getElementById( "start-date-picker" ).value.getDate();      var dayExtension = getDayExtension( dayNumber );   var weekNumber = getWeekNumberOfMonth();      document.getElementById( "advanced-repeat-dayofmonth" ).setAttribute( "label", document.getElementById( "onthe-text" ).getAttribute( "value" )+dayNumber+dayExtension+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) );      if( weekNumber == 4 && isLastDayOfWeekOfMonth() )   {      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) );      document.getElementById( "advanced-repeat-dayofweek-last" ).removeAttribute( "collapsed" );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "label", document.getElementById( "last-text" ).getAttribute( "value" )+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) );   }   else if( weekNumber == 4 && !isLastDayOfWeekOfMonth() )   {      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "collapsed", "true" );   }   else   {      document.getElementById( "advanced-repeat-dayofweek" ).setAttribute( "label", getWeekNumberText( weekNumber )+" "+getDayOfWeek( dayNumber )+document.getElementById( "ofthemonth-text" ).getAttribute( "value" ) );      document.getElementById( "advanced-repeat-dayofweek-last" ).setAttribute( "collapsed", "true" );   }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/203edb635b1c8d4083410551b144670da41e6d96/toDoDialog.js/clean/calendar/resources/content/toDoDialog.js