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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/timepicker.inc (-26 lines)
Lines 1-25 Link Here
1
<!-- timepicker.inc -->
2
<script>
3
    /* Localization of the timepicker plugin */
4
    jQuery(function($){
5
        $.timepicker.regional[''] = {
6
            timeFormat: "[% IF Koha.Preference('TimeFormat') == '12hr' %]hh:mm TT[% ELSE %]HH:mm[% END %]",
7
            currentText: _("Now"),
8
            closeText: _("Done"),
9
            amNames: [_("AM"), _("A")],
10
            pmNames: [_("PM"), _("P")],
11
            timeSuffix: "",
12
            timeOnlyTitle: _("Choose time"),
13
            timeText: _("Time"),
14
            hourText: _("Hour"),
15
            minuteText: _("Minute"),
16
            secondText: _("Second"),
17
            millisecText: _("Millisecond"),
18
            microsecText: _("Microsecond"),
19
            timezoneText: _("Time zone"),
20
            [% IF ( bidi ) %] isRTL: true [% ELSE %] isRTL: false [% END %]
21
        };
22
        $.timepicker.setDefaults($.timepicker.regional['']);
23
    });
24
</script>
25
<!-- / timepicker.inc -->
26
- 

Return to bug 30950