View | Details | Raw Unified | Return to bug 22973
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/installer-strings.inc (-1 / +1 lines)
Lines 1-4 Link Here
1
<script type="text/javascript">
1
<script>
2
    var MSG_LETTERS_ONLY=(_("Please only enter letters."));
2
    var MSG_LETTERS_ONLY=(_("Please only enter letters."));
3
    var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match"));
3
    var MSG_PASSWORD_MISMATCH=(_("The entered passwords do not match"));
4
    var MSG_ONE_ENROLLMENTPERIOD =(_("Please choose an enrollment period in months OR by date."));
4
    var MSG_ONE_ENROLLMENTPERIOD =(_("Please choose an enrollment period in months OR by date."));
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/password_check.inc (-1 / +1 lines)
Lines 1-6 Link Here
1
[% USE Koha %]
1
[% USE Koha %]
2
[% BLOCK add_password_check %]
2
[% BLOCK add_password_check %]
3
<script type="text/javascript">
3
<script>
4
    var pwd_title = "";
4
    var pwd_title = "";
5
    var pattern_title = "";
5
    var pattern_title = "";
6
    var new_password_node_name = "[% new_password | html %]";
6
    var new_password_node_name = "[% new_password | html %]";
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/slip-print.inc (-1 / +1 lines)
Lines 1-5 Link Here
1
[% USE raw %]
1
[% USE raw %]
2
<script type="text/javascript">
2
<script>
3
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
3
[% IF ( Koha.Preference('IntranetSlipPrinterJS') ) %]
4
    [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
4
    [% Koha.Preference('IntranetSlipPrinterJS') | $raw %]
5
[% ELSE %]
5
[% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/strings.inc (-3 / +1 lines)
Lines 1-5 Link Here
1
<script type="text/javascript">
1
<script>
2
//<![CDATA[
3
    var CIRCULATION_RETURNED = _("Checked in");
2
    var CIRCULATION_RETURNED = _("Checked in");
4
    var CIRCULATION_NOT_RETURNED = _("Unable to check in");
3
    var CIRCULATION_NOT_RETURNED = _("Unable to check in");
5
    var NOT_RENEWABLE_OVERDUE = _("Not allowed: overdue");
4
    var NOT_RENEWABLE_OVERDUE = _("Not allowed: overdue");
Lines 47-51 Link Here
47
    var CURRENT = _(" (current) ");
46
    var CURRENT = _(" (current) ");
48
    var MSG_NO_ITEMTYPE = _("No itemtype");
47
    var MSG_NO_ITEMTYPE = _("No itemtype");
49
    var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
48
    var MSG_CHECKOUTS_BY_ITEMTYPE = _("Number of checkouts by item type");
50
//]]>
51
</script>
49
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc (-25 / +21 lines)
Lines 1-26 Link Here
1
<script type="text/javascript">
1
<script>
2
    //<![CDATA[
2
    /* Localization of the timepicker plugin */
3
3
    jQuery(function($){
4
        /* Localization of the timepicker plugin */
4
        $.timepicker.regional[''] = {
5
        jQuery(function($){
5
            currentText: _("Now"),
6
            $.timepicker.regional[''] = {
6
            closeText: _("Done"),
7
                currentText: _("Now"),
7
            amNames: [_("AM"), _("A")],
8
                closeText: _("Done"),
8
            pmNames: [_("PM"), _("P")],
9
                amNames: [_("AM"), _("A")],
9
            timeSuffix: "",
10
                pmNames: [_("PM"), _("P")],
10
            timeOnlyTitle: _("Choose time"),
11
                timeSuffix: "",
11
            timeText: _("Time"),
12
                timeOnlyTitle: _("Choose time"),
12
            hourText: _("Hour"),
13
                timeText: _("Time"),
13
            minuteText: _("Minute"),
14
                hourText: _("Hour"),
14
            secondText: _("Second"),
15
                minuteText: _("Minute"),
15
            millisecText: _("Millisecond"),
16
                secondText: _("Second"),
16
            microsecText: _("Microsecond"),
17
                millisecText: _("Millisecond"),
17
            timezoneText: _("Time zone"),
18
                microsecText: _("Microsecond"),
18
            [% IF ( bidi ) %] isRTL: true [% ELSE %] isRTL: false [% END %]
19
                timezoneText: _("Time zone"),
19
        };
20
                [% IF ( bidi ) %] isRTL: true [% ELSE %] isRTL: false [% END %]
20
        $.timepicker.setDefaults($.timepicker.regional['']);
21
            };
21
    });
22
            $.timepicker.setDefaults($.timepicker.regional['']);
23
        });
24
25
    //]]>
26
</script>
22
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/validator-strings.inc (-22 / +20 lines)
Lines 1-24 Link Here
1
<script type="text/javascript">
1
<script>
2
//<![CDATA[
2
    $(document).ready(function(){
3
$(document).ready(function(){
3
        jQuery.extend(jQuery.validator.messages, {
4
    jQuery.extend(jQuery.validator.messages, {
4
            required: _("This field is required."),
5
        required: _("This field is required."),
5
            remote: _("Please fix this field."),
6
        remote: _("Please fix this field."),
6
            email: _("Please enter a valid email address."),
7
        email: _("Please enter a valid email address."),
7
            url: _("Please enter a valid URL."),
8
        url: _("Please enter a valid URL."),
8
            date: _("Please enter a valid date."),
9
        date: _("Please enter a valid date."),
9
            dateISO: _("Please enter a valid date (ISO)."),
10
        dateISO: _("Please enter a valid date (ISO)."),
10
            number: _("Please enter a valid number."),
11
        number: _("Please enter a valid number."),
11
            digits: _("Please enter only digits."),
12
        digits: _("Please enter only digits."),
12
            equalTo: _("Please enter the same value again."),
13
        equalTo: _("Please enter the same value again."),
13
            maxlength: $.validator.format(_("Please enter no more than {0} characters.")),
14
        maxlength: $.validator.format(_("Please enter no more than {0} characters.")),
14
            minlength: $.validator.format(_("Please enter at least {0} characters.")),
15
        minlength: $.validator.format(_("Please enter at least {0} characters.")),
15
            rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")),
16
        rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")),
16
            range: $.validator.format(_("Please enter a value between {0} and {1}.")),
17
        range: $.validator.format(_("Please enter a value between {0} and {1}.")),
17
            max: $.validator.format(_("Please enter a value less than or equal to {0}.")),
18
        max: $.validator.format(_("Please enter a value less than or equal to {0}.")),
18
            min: $.validator.format(_("Please enter a value greater than or equal to {0}.")),
19
        min: $.validator.format(_("Please enter a value greater than or equal to {0}.")),
19
            phone: $.validator.format(_("Please enter a valid phone number."))
20
        phone: $.validator.format(_("Please enter a valid phone number."))
20
        });
21
    });
21
    });
22
});
23
//]]>
24
</script>
22
</script>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950_search.inc (-4 / +1 lines)
Lines 1-5 Link Here
1
<script type="text/javascript">
1
<script>
2
//<![CDATA[
3
2
4
    var MSG_CHOOSE_Z3950 = _("Please choose at least one external target");
3
    var MSG_CHOOSE_Z3950 = _("Please choose at least one external target");
5
4
Lines 24-28 function validate_goto_page(){ Link Here
24
}
23
}
25
[% END %]
24
[% END %]
26
25
27
//]]>
28
</script>
26
</script>
29
- 

Return to bug 22973