Tom Smith wrote:
> Hi guys,
> 
> I've had very good results translating Fl_File_Chooser text in FLTK
> 1.3 to display multiple languages (Japanese, Spanish, etc).
> Everything is working as expected except for one dialog box. When a
> user clicks the "Create a new directory" icon (top right next to
> Favorites) and tries to create a folder where they do not have proper
> permission, the message displayed is "Permission Denied" with a
> "Close" button.
> 
> The close button gets the proper translated text as I have set
> fl_close to the language I need. However, I cannot find a way to set
> the "Permission denied" text that pops up. I've googled and searched
> the docs. Any ideas?

Once you call setlocale(LC_ALL, ""), the strerror() value that comes
back should be localized.  That said, Mac OS X inexplicably does not
localize strerror at all, so if you are testing on Mac OS X your
error dialog message won't be localized...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to