Change format Now playing - X minutes ago

Got an idea? Missing something? Post your feature request here.

Moderator: moderators

Change format Now playing - X minutes ago

Postby ziopietro » Thu Aug 05, 2010 4:40 am

Hi,

this is not feature but only a little change request ;)

please change format of ResourceBundle, part #main.jsp
from
main.minutesago = minutes ago
to
main.minutesago = {0} minutes ago
(and corresponding part of program too, obviously)

because of translations. In some languages it's impossible translate fix form "NUMBER text", they use another form, eg. "text NUMBER" or even "text NUMBER text".

I have czech translation almost done, but can't translate this item. Question is for czech language even more complicated, frankly for czech grammar rules 3 types of message are needed:
In program need to be switch:
if amount of counted items is 1 use form1 of message
if it's from 2 to 4 use form234 of message
othervise use form5more of message
and in ResourceBundle 3 corresponding types of message.

Yes, natural languages are too complicated, programming ones are better :)

Only for complement, in czech language right form of message in this case is semplified (only form1 and form234 is used):
před 1 minutou (1 minute ago)
před 2, 3, 4, 5, ... minutami (2, 3, 4, 5, ... minutes ago)
but simple counting of time has all 3 forms
1 minuta (1 minute)
2, 3, 4 minuty (2, 3, 4 minutes)
5, 6 a více minut (5, 6, and more minutes)

BTW thanks for Subsonic, found it yesterday, installed and configured, done on the fly czech translation and it's just runing right now. Great piece of SW, hats off.

Regards

Pietro
ziopietro
 
Posts: 1
Joined: Thu Aug 05, 2010 3:53 am

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 10 guests