[SailfishDevel] Add locale support to jolla calendar

E.S. Rosenberg es.rosenberg+sailfishos.org at gmail.com
Thu Nov 13 17:13:52 UTC 2014


2014-11-13 14:25 GMT+02:00 Pekka Vuorela <pekka.vuorela at jolla.com>:

> to, 2014-11-13 kello 02:25 +0200, E.S. Rosenberg kirjoitti:
> > Hi all,
> >
> > I'm trying to add support for locale (or at least firstDayOfWeek) to
> > jolla-calendar, in the MonthPage.qml file I successfully made the day
> > labels depend on the locale, but to actually shift all the dates over
> > seems to be more of an issue.
> >
> >
> > As far as I can tell this should involve the AgendaModel (found in
> > nemomobile/nemo-qml-plugin-calendar), but I may be wrong.
> >
> >
> > Either way I have 2 questions:
> >
> > 1. Am I on the right track?
>
> AgendaModel returns events between start and end dates. It does not care
> about localization details or where a week starts from.
>
> > 2. Assuming I pull this off successfully what is the process for
> > submitting the patch? A pull request on git? sending a patch to this
> > list?
>
> For changes in nemo-qml-plugin-calendar, a pull request in github.
> Jolla-calendar itself is not open so we don't take patches. However,
> there are some patches around people have been applying themselves.
>
Well it would be cool of Jolla released the source of jolla-calendar so we
can fix these things, it seems the calendar is anyhow not getting that much
attention...

>
> Support for sunday as first day of week should go to
> DatePicker&...Dialog. To be done at some point.
>
Is this defined in compiled code or in QML... I'll happily fix it and
donate the code :)
At the moment I for the life of me can't figure out where it is getting the
actual start and end dates of the displayed calendar days...

> Not much votes yet on these, though:
>
> https://together.jolla.com/question/26507/ability-to-set-firstdayofweek-in-jolla-calendar/
>

I can't vote on my own questions... :D
If jolla intends to come to Israel at some point this needs to be fixed
though...
Thanks,
Eli

>
> https://together.jolla.com/question/35138/can-i-change-the-first-day-of-week-in-calendar/
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20141113/e8941882/attachment.html>


More information about the Devel mailing list