The name of the element wasn't translated in the message.
Test plan:
1. install the fr_FR locale
2. go to /cgi-bin/koha/labels/label-manage.pl?label_element=batch
3. ensure that the list is empty
4. then you should see "pas de Batches actuellement"
5. then you should see "créer un nouveau batch."
6. apply this patch
7. install the language
8. refresh the page
9. then you should see "pas de Lots actuellement"
10. then you should see "créer un nouveau lot ."
Signed-off-by: Simon Pouchol <simon.pouchol@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
</form>
[% ELSE %]
<div class="dialog message">
</form>
[% ELSE %]
<div class="dialog message">
- <h4>There are no [% label_element_title %] currently available.</h4>
- <p>Use the toolbar above to create a new [% label_element %].</p></div>
+ <h4>There are no
+ [% PROCESS translate_label_element element=label_element_title %]
+ currently available.</h4>
+ <p>Use the toolbar above to create a new
+ [% PROCESS translate_label_element element=label_element %].</p></div>
[% END %]
</div>
[% IF ( error ) %]
[% END %]
</div>
[% IF ( error ) %]