[Translation] Composer: Translate button Send When Online (#1433)

This commit is contained in:
Alexander Zinchuk 2021-09-10 20:32:57 +03:00
parent 73883a6776
commit 7cc3e54117

View File

@ -1057,7 +1057,7 @@ const Composer: FC<OwnProps & StateProps & DispatchProps> = ({
selectedAt={scheduledDefaultDate.getTime()}
maxAt={getDayStartAt(scheduledMaxDate)}
isFutureMode
secondButtonLabel={canScheduleUntilOnline ? 'Send When Online' : undefined}
secondButtonLabel={canScheduleUntilOnline ? lang('Schedule.SendWhenOnline') : undefined}
onClose={handleCloseCalendar}
onSubmit={handleMessageSchedule}
onSecondButtonClick={canScheduleUntilOnline ? handleMessageScheduleUntilOnline : undefined}