[Koha-bugs] [Bug 20988] Internationalization: wrap all translatable text inside t() calls
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 16 16:15:37 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20988
--- Comment #47 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
(In reply to Julian Maurice from comment #46)
> (In reply to Fridolin SOMERS from comment #45)
> > Is it possible to use double-quotes ?
> > [% t("translate me") %]
> > Because actually translations are made for text with double quotes
> > especially for JavaScript. Because some translated text can add a single
> > quote like :
> > today => aujourd'hui
> You can use single quotes or double quotes. It doesn't matter since strings
> are translated at runtime (and not replaced in the source file like
> `./translate install` does).
>
> So you can write
> [% t('A string with "double quotes"') %]
> and
> [% t("A string with 'single quotes'") %]
Ah of course. Nice ;)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list