@@ -, +, @@
- launch the test xt/single_quotes.t, there are 3 occurrences
- apply this patch
- launch the test. It will pass with success
- Check that there is no regression on the 2 modified intranet files and
the calendar still works at the OPAC.
---
.../prog/en/modules/acqui/orderreceive.tt | 2 +-
.../prog/en/modules/serials/serials-search.tt | 2 +-
koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc | 26 ++++++++++----------
3 files changed, 15 insertions(+), 15 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt
@@ -46,7 +46,7 @@ function IEEventHandler_KeyDown() {
}
if(check_additem('[% UniqueItemFields %]') == false){
- alert(_('Duplicate values detected. Please correct the errors and resubmit.') );
+ alert(_("Duplicate values detected. Please correct the errors and resubmit.") );
return false;
};
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt
@@ -237,7 +237,7 @@
[% UNLESS subscription.cannotedit %]
- Reopen
+ Reopen
[% ELSE %]
Cannot edit
[% END %]
--- a/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc
+++ a/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc
@@ -25,18 +25,18 @@ function Date_from_syspref(dstring) {
jQueryUI we expose the localization strings in the default configuration */
jQuery(function($){
$.datepicker.regional[''] = {
- closeText: _('Done'),
- prevText: _('Prev'),
- nextText: _('Next'),
- currentText: _('Today'),
- monthNames: [_('January'),_('February'),_('March'),_('April'),_('May'),_('June'),
- _('July'),_('August'),_('September'),_('October'),_('November'),_('December')],
- monthNamesShort: [_('Jan'), _('Feb'), _('Mar'), _('Apr'), _('May'), _('Jun'),
- _('Jul'), _('Aug'), _('Sep'), _('Oct'), _('Nov'), _('Dec')],
- dayNames: [_('Sunday'), _('Monday'), _('Tuesday'), _('Wednesday'), _('Thursday'), _('Friday'), _('Saturday')],
- dayNamesShort: [_('Sun'), _('Mon'), _('Tue'), _('Wed'), _('Thu'), _('Fri'), _('Sat')],
- dayNamesMin: [_('Su'),_('Mo'),_('Tu'),_('We'),_('Th'),_('Fr'),_('Sa')],
- weekHeader: _('Wk'),
+ closeText: _("Done"),
+ prevText: _("Prev"),
+ nextText: _("Next"),
+ currentText: _("Today"),
+ monthNames: [_("January"),_("February"),_("March"),_("April"),_("May"),_("June"),
+ _("July"),_("August"),_("September"),_("October"),_("November"),_("December")],
+ monthNamesShort: [_("Jan"), _("Feb"), _("Mar"), _("Apr"), _("May"), _("Jun"),
+ _("Jul"), _("Aug"), _("Sep"), _("Oct"), _("Nov"), _("Dec")],
+ dayNames: [_("Sunday"), _("Monday"), _("Tuesday"), _("Wednesday"), _("Thursday"), _("Friday"), _("Saturday")],
+ dayNamesShort: [_("Sun"), _("Mon"), _("Tue"), _("Wed"), _("Thu"), _("Fri"), _("Sat")],
+ dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
+ weekHeader: _("Wk"),
dateFormat: '[% IF ( dateformat_us ) %]mm/dd/yy[% ELSIF ( dateformat_metric ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]',
firstDay: [% CalendarFirstDayOfWeek %],
isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
@@ -74,4 +74,4 @@ $.datepicker.setDefaults({
});
});
//]]>
-
+
--
|