-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move user-facing strings to resource files (#1109)
Create resource files for WinRT.Host, WinRT Authoring Diagnostics, and WinRT.Runtime.
- Loading branch information
Showing
41 changed files
with
2,208 additions
and
551 deletions.
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" | ||
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.