Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34565: change to plural strings

  • Loading branch information...
commit 33222ed24a984ccbfaa768182b61271a575b6155 1 parent 3710246
rwijaya rwijaya authored
Showing with 10 additions and 10 deletions.
  1. +10 −10 mod/forum/search.php
20 mod/forum/search.php
View
@@ -343,15 +343,15 @@ function forum_print_big_search_form($course) {
}
echo '<input name="timefromrestrict" type="checkbox" value="1" alt="'.get_string('searchdatefrom', 'forum').'" onclick="return lockoptions(\'searchform\', \'timefromrestrict\', timefromitems)" '. $datefromchecked . ' /> ';
- $selectors = html_writer::label(get_string('day'), 'menufromday', false, array('class' => 'accesshide'))
+ $selectors = html_writer::label(get_string('days'), 'menufromday', false, array('class' => 'accesshide'))
. html_writer::select_time('days', 'fromday', $datefrom)
- . html_writer::label(get_string('month'), 'menufrommonth', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('months'), 'menufrommonth', false, array('class' => 'accesshide'))
. html_writer::select_time('months', 'frommonth', $datefrom)
- . html_writer::label(get_string('year'), 'menufromyear', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('years'), 'menufromyear', false, array('class' => 'accesshide'))
. html_writer::select_time('years', 'fromyear', $datefrom)
- . html_writer::label(get_string('hour'), 'menufromhour', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('hours'), 'menufromhour', false, array('class' => 'accesshide'))
. html_writer::select_time('hours', 'fromhour', $datefrom)
- . html_writer::label(get_string('minute'), 'menufromminute', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('minutes'), 'menufromminute', false, array('class' => 'accesshide'))
. html_writer::select_time('minutes', 'fromminute', $datefrom);
echo $selectors;
echo '<input type="hidden" name="hfromday" value="0" />';
@@ -374,15 +374,15 @@ function forum_print_big_search_form($course) {
}
echo '<input name="timetorestrict" type="checkbox" value="1" alt="'.get_string('searchdateto', 'forum').'" onclick="return lockoptions(\'searchform\', \'timetorestrict\', timetoitems)" ' .$datetochecked. ' /> ';
- $selectors = html_writer::label(get_string('day'), 'menutoday', false, array('class' => 'accesshide'))
+ $selectors = html_writer::label(get_string('days'), 'menutoday', false, array('class' => 'accesshide'))
. html_writer::select_time('days', 'today', $dateto)
- . html_writer::label(get_string('month'), 'menutomonth', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('months'), 'menutomonth', false, array('class' => 'accesshide'))
. html_writer::select_time('months', 'tomonth', $dateto)
- . html_writer::label(get_string('year'), 'menutoyear', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('years'), 'menutoyear', false, array('class' => 'accesshide'))
. html_writer::select_time('years', 'toyear', $dateto)
- . html_writer::label(get_string('hour'), 'menutohour', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('hours'), 'menutohour', false, array('class' => 'accesshide'))
. html_writer::select_time('hours', 'tohour', $dateto)
- . html_writer::label(get_string('minute'), 'menutominute', false, array('class' => 'accesshide'))
+ . html_writer::label(get_string('minutes'), 'menutominute', false, array('class' => 'accesshide'))
. html_writer::select_time('minutes', 'tominute', $dateto);
echo $selectors;
Please sign in to comment.
Something went wrong with that request. Please try again.