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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-4 / +3 lines)
Lines 142-156 function select_user(borrowernumber, borrower) { Link Here
142
142
143
        var age_string;
143
        var age_string;
144
        if (age.year || age.month) {
144
        if (age.year || age.month) {
145
            age_string = _('Age: ');
145
            age_string = _("Age: ");
146
        }
146
        }
147
147
148
        if (age.year) {
148
        if (age.year) {
149
            age_string += age.year > 1 ? _('%s years ').format(age.year) : _('%s year ').format(age.year);
149
            age_string += age.year > 1 ? _("%s years ").format(age.year) : _("%s year ").format(age.year);
150
        }
150
        }
151
151
152
        if (age.month) {
152
        if (age.month) {
153
            age_string += age.month > 1 ? _('%s months ').format(age.month) : _('%s month ').format(age.month);
153
            age_string += age.month > 1 ? _("%s months ").format(age.month) : _("%s month ").format(age.month);
154
        }
154
        }
155
155
156
        hint.html(age_string);
156
        hint.html(age_string);
157
- 

Return to bug 16178