Hello, I have simplified the translation according to the remarks in issue #14 !
I have simplified the clock translation by:
time(12, 0) => twelve noon |
time(0, 0) => midnight |
time(h, 0) => hour(h) o'clock am_pm(h) |
time(h, m) [m < 10] => hour(h) o' min(m) am_pm(h) |
time(h, m) [m >= 10] => hour(h) min(m) am_pm(h) |
Changing the output of time(12, 0) to twelve noon instead of hour(12),
because for the sake of simplification, I have removed 'noon', 'midnight'
and 'quarter' from the list of strings (Same goes for midnight)
I actually though that if we indicated the time as "eleven one" or "ten
two", it will be rather weird. So I added a rule, where if the minute(m)
is less than 10, it will read "eleven o' one" instead. How is this?
In addition, I removed the "minutes" in the rules.
Please let me know how this is, thank you so much!
Hello, I have simplified the translation according to the remarks in issue #14 !