Google
  Web www.spinics.net

Re: [PATCH 05/14] Proper months set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


>  pyanaconda/ui/gui/spokes/datetime_spoke.py |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)

I think this could be merged with the previous patch too.

> @@ -63,8 +64,13 @@ class DatetimeSpoke(NormalSpoke):
>          for day in xrange(1, 32):
>              self.add_to_store(self._daysStore, day)
>  
> -        for month in xrange(1, 13):
> +        self._months_nums = dict()
> +        for i in xrange(1, 13):
> +            #a bit hacky way, but should return the translated string
> +            #TODO: how to handle language change? Clear and populate again?

I had some ideas on this, but they turned out to not quite be correct.
I will be looking at it more carefully when we have translations.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Home]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Red Hat 9 Bible]     [Fedora Bible]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net