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
|
|
@ -279,6 +279,12 @@ http://www.tuxpaint.org/
|
||||||
different keycodes, so the backspace requires special handling on the
|
different keycodes, so the backspace requires special handling on the
|
||||||
macOS in programs writtens for the PC.
|
macOS in programs writtens for the PC.
|
||||||
|
|
||||||
|
* Remove the `--openfolder` option when calling `bless` from Apple
|
||||||
|
Silicon. This option is no longer valid on Apple Silicon as of the
|
||||||
|
March 2022 release of Xcode.
|
||||||
|
|
||||||
|
* Localization of SDL2.0 menu on macOS.
|
||||||
|
|
||||||
* Documentation updates:
|
* Documentation updates:
|
||||||
---------------------
|
---------------------
|
||||||
* Added some styling, use of HTML semantic tags, call-outs for notes,
|
* Added some styling, use of HTML semantic tags, call-outs for notes,
|
||||||
|
|
|
||||||
|
|
@ -27329,10 +27329,6 @@ static void setup(void)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __APPLE__
|
|
||||||
apple_init();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
im_init(&im_data, get_current_language());
|
im_init(&im_data, get_current_language());
|
||||||
|
|
||||||
#ifndef NO_SDLPANGO
|
#ifndef NO_SDLPANGO
|
||||||
|
|
@ -28473,6 +28469,10 @@ static void setup(void)
|
||||||
signal(SIGUSR1, signal_handler);
|
signal(SIGUSR1, signal_handler);
|
||||||
signal(SIGUSR2, signal_handler);
|
signal(SIGUSR2, signal_handler);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
apple_init();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================================================== */
|
/* ================================================================================== */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue