Quintiq file version 2.0
#parent: #root
Method InitializeWeekdayButtons () id:Method_LibCal_dlgEvent_InitializeWeekdayButtons
{
  #keys: '[146730.0.396663431]'
  Body:
  [*
    daysShort := Translations::Pattern_DaysShort().Tokenize( ";" );
    dummy     := "???";
    
    btnMonday.   SetProperty( "Text", guard( daysShort.Element( 0 ), dummy ) );
    btnTuesday.  SetProperty( "Text", guard( daysShort.Element( 1 ), dummy ) );
    btnWednesday.SetProperty( "Text", guard( daysShort.Element( 2 ), dummy ) );
    btnThursday. SetProperty( "Text", guard( daysShort.Element( 3 ), dummy ) );
    btnFriday.   SetProperty( "Text", guard( daysShort.Element( 4 ), dummy ) );
    btnSaturday. SetProperty( "Text", guard( daysShort.Element( 5 ), dummy ) );
    btnSunday.   SetProperty( "Text", guard( daysShort.Element( 6 ), dummy ) );
  *]
}
