Re: some locales crashes gnome-shell

2011-08-09 Thread Muayyad AlSadi
please use the attached patch till we fix glib or fix mozilla https://bugzilla.redhat.com/show_bug.cgi?id=728889 -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: some locales crashes gnome-shell

2011-08-09 Thread Muayyad AlSadi
On Mon, Aug 8, 2011 at 11:32 PM, Muayyad AlSadi wrote: > %A %Ol:%OM %p %OIis replaced by the hour (12-hour clock) using the locale's alternative numeric symbols. %OMis replaced by the minutes using the locale's alternative numeric symbols. it seems that Shell.util_format_date which relies on g_

Re: some locales crashes gnome-shell

2011-08-08 Thread Muayyad AlSadi
found the reason the following line worked Shell.util_format_date("%a %l:%M %p", new Date().getTime()); but the following gave null Shell.util_format_date(_("%a %l:%M %p"), new Date().getTime()); all _("...") worked except this above line the reason behind this was _("%a %l:%M %p") evaluates to %

Re: some locales crashes gnome-shell

2011-08-08 Thread Nils Philippsen
On Mon, 2011-08-08 at 13:38 +0300, Muayyad AlSadi wrote: > how can we debug this bug > https://bugzilla.redhat.com/show_bug.cgi?id=728889 > > I tried the following js in firebug/firefox > > var d=new Date; > alert(Date.toLocaleFormat()); > alert(Date.toLocaleFormat("%Y-%m-%d")); > > we need to t