Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common/MsgHandler: Add fmt-capable variants of the alert macros #9237

Merged
merged 1 commit into from Nov 11, 2020

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Nov 9, 2020

Adds an interface that uses fmt under the hood, which is much more flexible than printf, particularly for localization purposes, given fmt supports positional formatters in a cross-platform manner out of the box with no configuration necessary.

Now alerts can be progressively migrated over as well, like with the logging macros.

@JosJuice
Copy link
Member

JosJuice commented Nov 9, 2020

Please add the new translatable macros as --keyword parameters in Languages/update-source-strings.sh.

@lioncash lioncash force-pushed the msghandler branch 2 times, most recently from 4f596dc to 2d1f408 Compare November 9, 2020 13:31
@lioncash
Copy link
Member Author

lioncash commented Nov 9, 2020

Done

Adds an interface that uses fmt under the hood, which is much more
flexible than printf, particularly for localization purposes, given fmt
supports positional formatters in a cross-platform manner out of the box
with no configuration necessary.
@lioncash lioncash merged commit ae83685 into dolphin-emu:master Nov 11, 2020
10 checks passed
@lioncash lioncash deleted the msghandler branch November 11, 2020 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants