Opened 11 years ago

Closed 11 years ago

#8174 closed defect (fixed)

[PATCH] Make headline of Mythnews translatable in MythBuntu theme

Reported by: Kenni Lund <kenni@…> Owned by: Reynaldo H. Verdejo Pinochet
Priority: minor Milestone: unknown
Component: Translations Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


The themestringtool apparently strips away preceding whitespaces from strings. In this case it causes:

<value> News Feeds</value>

to become

ThemeUI::tr("News Feeds");

eg. it will never be translated as the source string doesn't exist.

I've searched through all themes and this seems to be the only affected string. Even though it would be nice to have themestringtool handle preceding whitespaces, this should do for now, as it will not require a themestring update and it will fix the untranslatable headline.

Attachments (1)

Remove_preceding_whitespace_Mythbuntu.diff (488 bytes) - added by Kenni Lund <kenni@…> 11 years ago.
Remove preceding whitespace

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by Kenni Lund <kenni@…>

Remove preceding whitespace

comment:1 Changed 11 years ago by Kenni Lund <kenni@…>

Sorry, it should have been a patch instead of a defect - Unfortunately I can't edit the ticket after creation.

comment:2 Changed 11 years ago by robertm

Resolution: fixed
Status: newclosed

(In [23736]) Fixes #8174. Remove apparently mistakenly placed preceding space in Mythbuntu MythNews? theme, allowing translations to work properly.

Note: See TracTickets for help on using tickets.