[Koha-bugs] [Bug 18702] Translatability: Translatability: Get rid of exposed if statement in tt for translated onboardingstep2.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 30 18:54:18 CEST 2017


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

--- Comment #1 from Marc Véron <veron at veron.ch> ---
Created attachment 63850
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=63850&action=edit
Bug 18702: Translatability: Get rid of exposed if statement in tt for
translated onboardingstep2.tt

The file onboardingstep2.tt exposes the following to translations:

"[%% IF (categories && categories.count > 1 ) # This if statement checks if "
"the categories variable handed to this template # by onboarding.pl has data "
"in it. If the categories variable does have data # in it this means that the "
"user has previously imported sample patron category # data and so we do not "
"need to show them the create patron category screen 1, #instead we can "
"display a screen with ubtton redirecting the user to step 3 %%] "

Translators should not be confronted with such internals. This patch removes it

To test:
- Verify that code change makes sense
- Run QA tools
- Bonus test: Create a new "language" aa-AA and verify that the lines above
  are no longer exposed.

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


More information about the Koha-bugs mailing list