opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-gnustep@gnu.org 30 July 2012 • 3:31PM -0400

[bug #36764] GUI does not currently support loading with standard localized directories...
by Richard Frith-Macdonald

REPLY TO AUTHOR
 
REPLY TO GROUP




Follow-up Comment #9, bug #36764 (project gnustep):

I couldn't figure out how to easily write a testcase for this, so what I did
to try it out on OSX was:

1. create a new empty app with a single window in the main nib, setting it's
title to 'Generic'.
2. copy the MainMenu.nib out of Test.app/Contents/Resources/en.lproj
3. edit the window menu to be 'English' and re-build the app
4. run the app and check that the window title of the running app was
'English'
5. copy the saved MainMenu.nib to Test.app/Contents/Resources
6. run the app and check the enu title ... 'Generic'
7. removed the copied nib
8. run the app and check the title ... 'English'

So on OSX, the order of lookup for the main nib is generic first, then
language specific ... it looks like current lookup order in gnustep-gui is
wrong, and we should probably change the gui bundle additions code to use the
lookup methods from base and get rid of the -pathForNibResource: method.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36764>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu....
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.