Opened 11 years ago

Closed 11 years ago

#5768 closed enhancement (fixed)

Enabling translation of the days of the week at mythweather

Reported by: meik <meik.piepmeyer.lists@…> Owned by: stuartm
Priority: minor Milestone: 0.22
Component: mythweather Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

With this patch, the script of the BBC Three Day Forecast doesn't send the days of the week as "Sunday", "Monday" etc. It will instead send constants like "0", "1" etc. These constants are translated at weatherScreen.cpp

Attachments (1)

mythweather-2.diff (5.0 KB) - added by meik <meik.piepmeyer.lists@…> 11 years ago.
Patch against head

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by meik <meik.piepmeyer.lists@…>

Attachment: mythweather-2.diff added

Patch against head

comment:1 Changed 11 years ago by meik <meik.piepmeyer.lists@…>

Please use mythweather-2.diff, just forgot to add weatherScreen.cpp to translate.pro

comment:2 Changed 11 years ago by stuartm

Milestone: unknown0.22
Status: newaccepted

comment:3 Changed 11 years ago by stuartm

Resolution: fixed
Status: acceptedclosed

(In [19068]) Apply patch from Meik abstracting day names into enum values to allow days of the week to be translated. Also reduces a little of the code repetition for thetemperature units. Closes #5768

Note: See TracTickets for help on using tickets.