Changeset 134 for trunk/Forms
- Timestamp:
- May 2, 2023, 11:48:43 AM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r133 r134 35 35 procedure PaintBox1Resize(Sender: TObject); 36 36 procedure Timer1Timer(Sender: TObject); 37 procedure Translator1Translate(Sender: TObject);38 37 private 39 38 Initialized: Boolean; … … 60 59 uses 61 60 UFormImages, UPixelPointer, UCore, UFormTest, UTestCases; 62 63 resourcestring64 SMondayShort = 'MON';65 STuesdayShort = 'TUE';66 SWednesdayShort = 'WED';67 SThrusdayShort = 'THU';68 SFridayShort = 'FRI';69 SSaturdayShort = 'SAT';70 SSundayShort = 'SUN';71 61 72 62 { TFormMain } … … 205 195 if Engine.RedrawPending then 206 196 PaintBox1.Repaint; 207 end;208 209 procedure TFormMain.Translator1Translate(Sender: TObject);210 begin211 FormatSettings.ShortDayNames[1] := SSundayShort;212 FormatSettings.ShortDayNames[2] := SMondayShort;213 FormatSettings.ShortDayNames[3] := STuesdayShort;214 FormatSettings.ShortDayNames[4] := SWednesdayShort;215 FormatSettings.ShortDayNames[5] := SThrusdayShort;216 FormatSettings.ShortDayNames[6] := SFridayShort;217 FormatSettings.ShortDayNames[7] := SSaturdayShort;218 197 end; 219 198
Note:
See TracChangeset
for help on using the changeset viewer.