Skip to content

Add support for Localization for Wasm - #204

Merged
jeromelaban merged 3 commits into
masterfrom
dev/jela/resources
Sep 27, 2018
Merged

jeromelaban merged 3 commits into
masterfrom
dev/jela/resources

Conversation

@jeromelaban

Copy link
Copy Markdown
Member

PR Type

What kind of change does this PR introduce?

  • Feature

What is the current behavior?

Resources identified using x:Uid are not loaded in Wasm.

What is the new behavior?

Resources identified using x:Uid are not loaded in Wasm, using the resw (PRIResource) files as sources.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template. (for bug fixes / features)
  • Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Contains NO breaking changes

@jeromelaban jeromelaban changed the title Add support for resw for Wasm Add support for Localization for Wasm Sep 18, 2018
{
if (!reader.ReadBytes(3).SequenceEqual(new byte[] { 0x75, 0x6E, 0x6F }))
{
throw new InvalidCastException($"The file {name} is not a resource file");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

InvalidCastException?

Comment thread src/Uno.CrossTargetting.props Resolved
@jeromelaban
jeromelaban merged commit 8e6367b into master Sep 27, 2018
@jeromelaban
jeromelaban deleted the dev/jela/resources branch September 27, 2018 11:50
lukeblevins pushed a commit to lukeblevins/uno that referenced this pull request Jan 17, 2024
…age-appicon-issue

Window Appicon for Windows Unpackage
kazo0 pushed a commit to kazo0/uno that referenced this pull request Mar 6, 2026
…ated-card-border

fix(card): ios/droid/wasm border and elevation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants