Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#6385 closed defect (fixed)

ProgramInfo::i18n not translating

Reported by: David Matthews <dm@…> Owned by: danielk
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I've just had another go at using SVN head instead of .21 fixes and noticed that the "All Programmes" group is appearing as "All Programs". The problem seems to be that it is translated using ProgramInfo::i18n but that doesn't seem to be correct. It appears to return the translated text only if it is the same as the original text when converted to Latin1, which looks wrong. I'm sure it's just a typo but since I'm not exactly clear what the code is trying to do I haven't attached a patch.

David

Change History (4)

comment:1 Changed 11 years ago by danielk

Milestone: unknown0.22
Version: unknownhead

David, it might be just a typo. The group code was a bit messy to convert to Qt4 because a number of translations were broken beforehand and things were keyed of possible non-unique translated strings. Since then a lot of the problem code has gone through another conversion to MythUI, so it's already borkened code twice translated now.. I'd be surprised if there were no typos.

comment:2 Changed 11 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:3 Changed 11 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [20635]) Fixes #6385. Fix typo that prevented translation from working for a few special strings.

comment:4 Changed 11 years ago by danielk

Note: the atsctables.{cpp,h} changes are unrelated but were accidentally committed. They just add a few as yet unused methods to the ATSC table parsers that pertain to SCTE extensions of those tables.

Note: See TracTickets for help on using tickets.