-
Notifications
You must be signed in to change notification settings - Fork 107
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 user-facing strings to resource files #1109
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
356b735
satellite dll project
j0shuams 248be2d
Merge branch 'master' into jlarkin/localize-3
j0shuams a06e0df
checkout old work on winrtruntime
j0shuams c508672
rename, use resource class
j0shuams 498f051
update authoring diagnostics
j0shuams 37fb348
updates
j0shuams 76923e0
references, project property
j0shuams 36af266
Merge branch 'master' into jlarkin/localize-3
j0shuams 6328418
simplify"
j0shuams b0c8456
clean up
j0shuams 6a6ff5f
del
j0shuams 2a833e9
arm64 build config
j0shuams ca1bed4
build setting
j0shuams d5f7d31
nuget, build config tweak
j0shuams da9c5f0
arm
j0shuams 1c4549d
'build.cmd'
j0shuams 96aa310
str suffix
j0shuams a85fe59
Merge branch 'master' into jlarkin/localize-3
j0shuams 598b927
tab
j0shuams 455fafe
Merge branch 'master' into jlarkin/localize-3
j0shuams 409d81c
Update localization branch (#1135)
j0shuams bcfc9ba
Merge branch 'master' into jlarkin/localize-3
j0shuams 800b20b
cleanup
j0shuams f3e6328
en-us
j0shuams f02783b
Merge branch 'master' into jlarkin/localize-3
j0shuams d7b5b9b
comment
j0shuams a6b5a4c
feedback
j0shuams b1cacfa
more feedback
j0shuams f8380a8
Merge branch 'master' into jlarkin/localize-3
j0shuams 6dc24d5
Merge branch 'master' into jlarkin/localize-3
j0shuams File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!-- | ||
*********************************************************************************************** | ||
Copyright (C) Microsoft Corporation. All rights reserved. | ||
*********************************************************************************************** | ||
--> | ||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
|
||
<Target Name="SplitWinRTHostIntoMUI" | ||
Inputs="$(OutDir)WinRT.Host.dll" | ||
Outputs="$(OutDir)WinRT.Host.dll;$(OutDir)WinRT.Host.dll.mui" | ||
AfterTargets="CopyFilesToOutputDirectory"> | ||
|
||
<!-- Invoke the muicrt tool to split Winrt.Host into language neutral parts and localizable resources | ||
Then invoke the tool again to apply the checksum from the neutral part to the mui | ||
Finally, replace the initially built WinRT.Host with the language neutral version --> | ||
<PropertyGroup> | ||
<WinRTHostMuirctCommand>Muirct.exe -q "$(MSBuildThisFileDirectory)WinRTHost.rcconfig.xml" -v 2 -x 0x0409 -g 0x0409 "$(OutDir)WinRT.Host.dll" "$(OutDir)WinRT.Host_LN.dll" "$(OutDir)WinRT.Host.dll.mui" | ||
muirct.exe -c "$(OutDir)WinRT.Host_LN.dll" -e "$(OutDir)WinRT.Host.dll.mui" | ||
copy /y "$(OutDir)WinRT.Host.dll" "$(OutDir)WinRT.Host.Original.exe" | ||
j0shuams marked this conversation as resolved.
Show resolved
Hide resolved
|
||
copy /y "$(OutDir)WinRT.Host_LN.dll" "$(OutDir)WinRT.Host.dll" | ||
del "$(OutDir)WinRT.Host_LN.dll" | ||
</WinRTHostMuirctCommand> | ||
</PropertyGroup> | ||
|
||
<Exec Command="$(WinRTHostMuirctCommand)" /> | ||
</Target> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whats the story here for localized ones if en-us is the main one copied Is it up the component owners to pack the others based on which ones they want? Same for below where you use en-us.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I think automating minimally is better in this case so we don't always output many binaries in their project. The different culture/regions will be available in the nupkg, so they can distribute the whole lot if they want. But we will just handle en-us for them, for now. If we get feedback from folks that they prefer a different model we can adjust accordingly.