[Koha-bugs] [Bug 14805] Allow the deletion of multiple patron card batches

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Sep 18 09:17:38 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14805

--- Comment #8 from Joonas Kylmälä <j.kylmala at gmail.com> ---
(In reply to Jonathan Druart from comment #7)
> Comment on attachment 42647 [details] [review]
> Bug 14805: (follow-up) fix a bug in previous code and change msg string
> 
> Review of attachment 42647 [details] [review]:
> -----------------------------------------------------------------
> 
> ::: koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/manage.tt
> @@ +21,4 @@
> >  
> >                  var msg;
> >                  if (element_ids.length > 1) {
> > +                    msg = _("Are you sure you want to delete %s items?").format(element_ids.length, element_ids.length);
> 
> Is not possible to call translate_card_element here?

One way would be by adding if statements for all the different
translate_card_elements. I don't know how we could otherwise conjugate the
words. Any better ideas than the if statements (or case statements)?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list