l10n for _module.description

Bug #614955 reported by Fumito Mizuno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahana-Eden
Fix Committed
Undecided
Unassigned

Bug Description

At the line 12 & 22 of views/default/index.html, we have

       <li><strong>{{=A(T(_module.name_nice), _href=URL(r=request, c=module, f="index"))}}</strong> - {{=_module.description}}.</li>

This code outputs the descriptions of modules directly, and cannot be localized.
Please use the code shown below, where _module.description is surrounded by T function.

       <li><strong>{{=A(T(_module.name_nice), _href=URL(r=request, c=module, f="index"))}}</strong> - {{=T(_module.description)}}.</li>

Revision history for this message
Fran Boon (flavour) wrote :

We now i18n in 000_config.py, so no need to do in the view.
have removed the duplicate i18n there to reduce confusion.

Thanks :)

Changed in sahana-eden:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.