diff options
Diffstat (limited to 'pages')
-rw-r--r-- | pages/edit_searchtimer.ecpp | 2 | ||||
-rw-r--r-- | pages/edit_timer.ecpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/pages/edit_searchtimer.ecpp b/pages/edit_searchtimer.ecpp index 71a2acf..88f3718 100644 --- a/pages/edit_searchtimer.ecpp +++ b/pages/edit_searchtimer.ecpp @@ -174,7 +174,9 @@ if (!logged_in && LiveSetup().UseAuth()) return reply.redirect("login.html"); searchtimer.SetUseAsSearchTimer(useassearchtimer); if (useassearchtimer == 2) { + // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's searchtimer.SetUseAsSearchTimerFrom(useassearchtimerfrom, tr("mm/dd/yyyy")); + // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's searchtimer.SetUseAsSearchTimerTil(useassearchtimerto, tr("mm/dd/yyyy")); } searchtimer.SetSearchTimerAction(searchtimeraction); diff --git a/pages/edit_timer.ecpp b/pages/edit_timer.ecpp index 838629a..9bc809a 100644 --- a/pages/edit_timer.ecpp +++ b/pages/edit_timer.ecpp @@ -84,6 +84,7 @@ cTimer* timer; message = tr("Please set a title for the timer!"); else { + // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's time_t tdate = GetDateFromDatePicker(date, tr("mm/dd/yyyy")); string sdate = DatePickerToC(tdate, "yyyy-mm-dd"); LiveTimerManager().UpdateTimer( timer, flags, channel, weekdays, sdate, start, stop, priority, lifetime, title, aux ); @@ -117,6 +118,7 @@ cTimer* timer; active = timer->Flags() & tfActive; channel = timer->Channel()->GetChannelID(); title = timer->File() ? timer->File() : ""; + // TRANSLATORS: only adjust the ordering and separators, don't translate the m's, d's and y's date = timer->Day() ? DatePickerToC(timer->Day(), tr("mm/dd/yyyy")) : ""; wday_mon = timer->WeekDays() & 0x01; wday_tue = timer->WeekDays() & 0x02; |