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

[FEATURE] manifestBundler: Add support for sap.app/i18n/enhanceWith #564

Merged
merged 8 commits into from
Jan 4, 2021

Conversation

matz3
Copy link
Member

@matz3 matz3 commented Dec 16, 2020

  • Support for bundleName (+ tests)
  • Should sap.ui5/models/i18n/settings/enhanceWith also be checked? -> No

@coveralls
Copy link

coveralls commented Dec 16, 2020

Coverage Status

Coverage increased (+0.05%) to 93.245% when pulling 2a4bb8e on manifestBundler-i18n-enhanceWith into fdcf58f on master.

@RandomByte
Copy link
Member

As discussed in today's planning:

Should sap.ui5/models/i18n/settings/enhanceWith also be checked?

No. These i18n resources are not relevant for the manifest bundle.

In addition: Check for ui5:// URLs for i18n resources and log or throw (to be discussed) an error indicating those are not supported.

@matz3
Copy link
Member Author

matz3 commented Dec 18, 2020

In addition: Check for ui5:// URLs for i18n resources and log or throw (to be discussed) an error indicating those are not supported.

IMO throwing an error would be incompatible. The protocol can already be used so I'd say we only log an error (as done with my recent commit)

@RandomByte
Copy link
Member

Then let's log a warning 👍

@matz3
Copy link
Member Author

matz3 commented Dec 18, 2020

Windows tests are failing. I think we should really use path.posix when creating virtual paths.

@matz3 matz3 marked this pull request as ready for review December 18, 2020 12:10
lib/processors/bundlers/manifestBundler.js Outdated Show resolved Hide resolved
lib/processors/bundlers/manifestBundler.js Outdated Show resolved Hide resolved
@matz3 matz3 merged commit 1b7a277 into master Jan 4, 2021
@matz3 matz3 deleted the manifestBundler-i18n-enhanceWith branch January 4, 2021 14:17
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.

3 participants