Localization of SDL2.0 menu on macOS.
SDL2 initializes the macOS menu later than SDL1 (appears to be done around the video initialization time), so we also need to call later our routine to override the SDL menu with our localizable version.
This commit is contained in:
parent
62fee7f58a
commit
f041db9c4d
2 changed files with 10 additions and 4 deletions
|
|
@ -27329,10 +27329,6 @@ static void setup(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
apple_init();
|
||||
#endif
|
||||
|
||||
im_init(&im_data, get_current_language());
|
||||
|
||||
#ifndef NO_SDLPANGO
|
||||
|
|
@ -28473,6 +28469,10 @@ static void setup(void)
|
|||
signal(SIGUSR1, signal_handler);
|
||||
signal(SIGUSR2, signal_handler);
|
||||
#endif
|
||||
|
||||
#ifdef __APPLE__
|
||||
apple_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
/* ================================================================================== */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue