Clean up translatable strings in templates
Bug #1098189 reported by
Pasi Kallinen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Several translatable strings in templates include html, newlines, or extraneous spaces, resulting in ugly and hard-to-translate strings in po-files.
That branch has several commits that clean up the strings.
Changed in evergreen: | |
status: | New → Triaged |
Changed in evergreen: | |
milestone: | none → 2.4.0-rc |
importance: | Undecided → Medium |
Changed in evergreen: | |
milestone: | 2.4.0-rc → 2.5.0-alpha |
Changed in evergreen: | |
milestone: | 2.5.0-m1 → 2.5.0-m2 |
Changed in evergreen: | |
milestone: | 2.5.0-m2 → 2.5.0-alpha1 |
Changed in evergreen: | |
milestone: | 2.5.0-alpha1 → 2.5.0-alpha2 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As an example, here's some very messy translatable strings in po-files, before the cleanup:
---
msgid "" "current_ page\"> %1</td> <td> of </td><td class=\ "total_ pages\" >%2</td> \n"
"\n"
" <td>Page </td><td class=\
" "
---
msgid "" ctx.kpac_ root _ '/record/' _ ctx.bre_id, { }, kill_params)\n" /a>.<br/ >\n"
"\n"
" Unable to request <a href=\"'\n"
"mkurl(
"'\">%1<
" Please see a librarian.\n"
" "
---
msgid ""
"Choose the Lead\n"
" Selection List:"