Bug 18699: Get rid of %%] in translation for edi_accounts.tt

Translation for edi_accounts.tt exposes:
[%% transport_types = [ 'FTP', 'SFTP', 'FILE' ] %%]

Translators should not be confronted with such code internals.

To test:
- Review code change (it removes line breaks)
- Bonus test: Create a new translatin for "language" aa-AA and
  verify that the line no longer appears in aa-AA-staff-prog.po

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
Marc Véron 2017-05-30 16:08:32 +02:00 committed by Jonathan Druart
parent 0f10528591
commit 3b64ebe234
1 changed files with 1 additions and 4 deletions

View File

@ -97,10 +97,7 @@
<input type="text" name="description" id="description" size="20" value="[% account.description %]" />
</li>
<li>
[% transport_types = [
'FTP', 'SFTP', 'FILE'
]
%]
[% transport_types = [ 'FTP', 'SFTP', 'FILE' ] %]
<label for="transport">Transport: </label>
<select name="transport" title="valid types of transport are FTP and SFTP"
id="transport">