https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15707
--- Comment #75 from Kyle M Hall <[email protected]> --- (In reply to Katrin Fischer from comment #74) > Talking about these for an example: > > + <div class="dialog alert group-added"> > + [% IF added.branchcode %] > + <i>[% added.library.branchname %]</i> added to group. > + [% ELSE %] > + Group <i>[% added.title %]</i> created. > + [% END %] > + </div> > > Second example in the po file is: > - Group > - created > Instead of: Group %s created. What if we were to take advantage of TT to "hide" the markup for translations? Instead of: Group <i>[% added.title %]</i> created. we could do this: Group [% "<i>" _ added.title _ "</i>" %] created. That way, we can still emphasize names, but the markup will not show. We could even create a filter if we standardize this so we could do something like this: Group [% added.title | $KohaSpan id => 'myId' class => 'name' %] created. That solves the problem of translations while still allowing us to style particular elements in a sentence! What do you think? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
