[Koha-bugs] [Bug 26392] Wrap all translatable strings in opac-main.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 11 01:46:34 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26392

--- Comment #22 from David Cook <dcook at prosentient.com.au> ---
(In reply to Owen Leonard from comment #21)
> If you're referring to the question of syntax, other projects I've seen do
> something similar. For instance in Drupal:
> 
> <?php print t('Skip to main content'); ?></a>
> 
> Translatable strings are wrapped in the t() function.

Drupal is an old project as well, and that example looks worrying. Based on
https://en.wikipedia.org/wiki/Drupal#Themes, it looks like that example must be
one of those "hard-coded PHP" templates. I wonder what they do in Drupal 8+
with Twig.

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


More information about the Koha-bugs mailing list