Your club was [% IF stored =3D=3D 'updated' %] updated = [% ELSE %] saved [% END %]
Please avoid constructing sentences like that - it's hard to translate, becau= se grammar and work order is different in other languages. ::: koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs.tt @@ +23,5 @@ > + } )); > + }); > + > + function ConfirmDeleteTemplate( id, name, a ) { > + if ( confirm( _("Are you sure you want to delete the club template= ") + name + "?" ) ) { It would be nicer for translations to use the new Javascript syntax with placeholders here. @@ +41,5 @@ > + } > + } > + > + function ConfirmDeleteClub( id, name, a ) { > + if ( confirm( _("Are you sure you want to delete the club ") + nam= e + "?" ) ) { Same as above - placeholders preferrable! ::: koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt @@ +9,5 @@ > +// + > +function CheckForm() { > + if ( !$("#club-template-name").val() ) { > + alert( _("Name is a required field!") ); Would it be possible to use the standard markup for required fields insted here? See administration pages for examples. @@ +30,5 @@ > +Your club template was [% IF stored =3D=3D 'updated' %]= updated [% ELSE %] saved [% END %]
Please don't construct sentences (see above). ::: koha-tmpl/opac-tmpl/bootstrap/en/modules/clubs/enroll.tt @@ +27,5 @@ > + > + [% END %] > + > +