some locales crashes gnome-shell

Muayyad AlSadi alsadi at gmail.com
Mon Aug 8 20:32:24 UTC 2011


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
%A %Ol:%OM %p

while
_("%a %b %e, %l:%M %p")
evaluates to
%A %e %B, %l:%M %p

so we just need to fix po/ar.po in gnome-shell

mean while is there any way to fix the null case so that it won't crash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/devel/attachments/20110808/02174149/attachment.html 


More information about the devel mailing list