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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-17 lines)
Lines 1681-1703 legend:hover { Link Here
1681
            });
1681
            });
1682
        });
1682
        });
1683
1683
1684
        var MSG_SEPARATOR = _("Separator must be / in field %s");
1685
        var MSG_INCORRECT_DAY = _("Invalid day entered in field %s");
1686
        var MSG_INCORRECT_MONTH = _("Invalid month entered in field %s");
1687
        var MSG_INCORRECT_YEAR = _("Invalid year entered in field %s");
1688
        var MSG_DUPLICATE_PATRON = _("Warning: Duplicate patron");
1689
        var MSG_DUPLICATE_ORGANIZATION = _("Warning: Duplicate organization");
1690
        var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date");
1691
        var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron");
1692
        var MSG_MONTH = _("%s month")
1693
        var MSG_MONTHS = _("%s months")
1694
        var MSG_YEAR = _("%s year")
1695
        var MSG_YEARS = _("%s years")
1696
        var LABEL_CHANGE = _("Change");
1697
        var LABEL_SET_TO_PATRON = _("Set to patron");
1698
        var LABEL_AGE = _("Age");
1699
        var MSG_MESSAGING_DFEAULTS = _("Change messaging preferences to default for this category?");
1700
1701
        [% IF quickadd && opadd  && !check_member %]
1684
        [% IF quickadd && opadd  && !check_member %]
1702
            $(document).ready(function () {
1685
            $(document).ready(function () {
1703
1686
(-)a/koha-tmpl/intranet-tmpl/prog/js/members.js (-4 / +4 lines)
Lines 17-23 function check_form_borrowers(nav){ Link Here
17
    //patrons form to test if you checked no to the question of double
17
    //patrons form to test if you checked no to the question of double
18
    if (statut!=1 && document.form.check_member.value > 0 ) {
18
    if (statut!=1 && document.form.check_member.value > 0 ) {
19
        if (!(document.form.answernodouble.checked)){
19
        if (!(document.form.answernodouble.checked)){
20
            message_champ+= MSG_DUPLICATE_SUSPICION;
20
            message_champ += __("Please confirm whether this is a duplicate patron");
21
            statut=1;
21
            statut=1;
22
            document.form.nodouble.value=0;
22
            document.form.nodouble.value=0;
23
        } else {
23
        } else {
Lines 158-173 function write_age() { Link Here
158
158
159
    var age_string;
159
    var age_string;
160
    if (age.year || age.month) {
160
    if (age.year || age.month) {
161
        age_string = LABEL_AGE + ": ";
161
        age_string = __("Age") + ": ";
162
    }
162
    }
163
163
164
    if (age.year) {
164
    if (age.year) {
165
        age_string += age.year > 1 ? MSG_YEARS.format(age.year) : MSG_YEAR.format(age.year);
165
        age_string += age.year > 1 ? __("%s years").format(age.year) : __("%s year").format(age.year);
166
        age_string += " ";
166
        age_string += " ";
167
    }
167
    }
168
168
169
    if (age.month) {
169
    if (age.month) {
170
        age_string += age.month > 1 ? MSG_MONTHS.format(age.month) : MSG_MONTH.format(age.month);
170
        age_string += age.month > 1 ? __("%s months").format(age.month) : __("%s month").format(age.month);
171
    }
171
    }
172
172
173
    hint.html(age_string);
173
    hint.html(age_string);
(-)a/koha-tmpl/intranet-tmpl/prog/js/messaging-preference-form.js (-2 / +1 lines)
Lines 13-19 $(document).ready(function(){ Link Here
13
            messaging_prefs_loading.show();
13
            messaging_prefs_loading.show();
14
            var categorycode = $(this).val();
14
            var categorycode = $(this).val();
15
            if (message_prefs_dirty) {
15
            if (message_prefs_dirty) {
16
                if (!confirm( MSG_MESSAGING_DFEAULTS )) {
16
                if (!confirm( __("Change messaging preferences to default for this category?") )) {
17
                    // Not loading messaging defaults. Hide loading indicator
17
                    // Not loading messaging defaults. Hide loading indicator
18
                    messaging_prefs_loading.hide();
18
                    messaging_prefs_loading.hide();
19
                    return;
19
                    return;
20
- 

Return to bug 26244