Rockbox

Tasklist

FS#11939 - Simplify talk_time_unit()

Attached to Project: Rockbox
Opened by Andree Buschmann (Buschel) - Monday, 14 February 2011, 07:24 GMT
Last edited by Andree Buschmann (Buschel) - Sunday, 20 February 2011, 15:23 GMT
Task Type Patches
Category Language
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Unify variants within talk_time_unit(). In svn there are two variants which are triggered via UNIT_TIME_EXACT or UNIT_TIME.

Example:
"02:45 h" => "2 hours 45" when using UNIT_TIME
"02:45 h" => "2 hours 45 minutes" when using UNIT_TIME_EXACT

After the latest changes UNIT_TIME is only used in one single place. Additionally it was agreed in IRC that the precise form might be better to use for all languages. This patch removes the variant and will always use the precise form.
This task depends upon

Closed by  Andree Buschmann (Buschel)
Sunday, 20 February 2011, 15:23 GMT
Reason for closing:  Accepted
Additional comments about closing:  Submitted with r29347.

Loading...