-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
Move hard-coded strings and UI text to Resources #792
Comments
Thanks for filing this, it's actually the reason we haven't bitten off some of the more interesting things. I think we should be able to use UWP-style resources, but that'll require a good bit of integration work. The build tools don't seem capable of rolling up multiple levels of component resources into the toplevel app package |
There is a merge capability for PRI (or used to be) that existed for this reason (a component with it's own PRI + app with it's own PRI == single package PRI). It's possible. Good thing is I don't think that you have many strings that will be a part of the host here that are problematic. But you may want resources for other reasons of course too (defaults, etc.) |
It's possible, but the "Windows Application Packaging" project doesn't play too nicely with multiple dynamic library components rolling up through a Win32 EXE (that doesn't support resw/resx) to make that happen easily. There's work here. |
Hey so for the record, the branch I have with the error dialog (dev/migrie/f/gh-error-dialog) does some of this. I just haven't gotten the UI tweaked exactly right to make this branch ready to PR quite yet. |
This commit also introduces a scoped resource accessor, lightly taken from microsoft-ui-xaml. It also moves all static UI strings out of App.cpp and into localizable resources. Fixes #792.
This commit also introduces a scoped resource accessor, lightly taken from microsoft-ui-xaml. It also moves all static UI strings out of App.cpp and into localizable resources. Fixes #792.
This commit also introduces a scoped resource accessor, lightly taken from microsoft-ui-xaml. It also moves all static UI strings out of App.cpp and into localizable resources. Fixes #792.
* Move TerminalApp's resources into the TerminalApp project This commit also introduces a scoped resource accessor, lightly taken from microsoft-ui-xaml. It also moves all static UI strings out of App.cpp and into localizable resources. Fixes #792.
There are a few places in current iteration that are hard-coding UI-shown values and should move those to resources for easier updating and localization.
Need to determine if following UWP-style resources or RC based.
The text was updated successfully, but these errors were encountered: