Closed palacex closed 10 years ago
Where? Every item? With russian translation?
Yeah.... every item with russian translation in pushup menu :(
2014-03-11 19:03 GMT+04:00 buschmann23 notifications@github.com:
Where? Every item? With russian translation?
Reply to this email directly or view it on GitHubhttps://github.com/Buschtrommel/ocNews/issues/36#issuecomment-37305570 .
Yes it is a date. You should translate it only if the russion date and time format is different to the english one. In german for example it is dd.mm.yyyy US english has mm.dd.yyyy .....So, it is only there for this situations.
This happens on Sailfish or on Harmattan? Tried it with pull down menu on Sailfish and it works for me. Also tested it with the header of the About page.
Qt is able to handle itself the date localisation. See http://qt-project.org/doc/qt-5.0/qtcore/qt.html#DateFormat-enum
I didn't test with Sailfish/Harmattan but normally it should automatically adapt the formatting to user locale if for instance Qt::SystemLocaleShortDate is used.
oh, sorry. It's happen on Harmattan.
2014-03-12 21:53 GMT+04:00 buschmann23 notifications@github.com:
This happen on Sailfish or on Harmattan?
Reply to this email directly or view it on GitHubhttps://github.com/Buschtrommel/ocNews/issues/36#issuecomment-37441041 .
But I can not find a way to only localize the time with Qt. It is every time the whole date. But in some cases we only need the time (hours and minutes) and that are also a bit different in different countries. Some use 24h format, some 12h.
Ok, I now tested it on Harmattan and I can confirm the issue. It only happens in the SelectionItems that have their entries derived from a ListModel. To translate the entries they are reassigned to the list, because it is not possible to translate ListItems directly. Have to investigate this.
Closing this as fixed.
Translated push menu itemps show like this ">:070BL"