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

ui5-icon should work with message bundles from the actual icons package #2739

Closed
1 of 2 tasks
pskelin opened this issue Jan 28, 2021 · 1 comment · Fixed by #2816
Closed
1 of 2 tasks

ui5-icon should work with message bundles from the actual icons package #2739

pskelin opened this issue Jan 28, 2021 · 1 comment · Fixed by #2816
Assignees
Labels
enhancement New feature or request TOPIC Core
Milestone

Comments

@pskelin
Copy link
Contributor

pskelin commented Jan 28, 2021

right now, the ui5-icon component is fetching translations from the main package like this:
fetchI18nBundle("@ui5/webcomponents");

this also means that the icons package contains a message bundle that no one uses, and the main package contains texts that do not belong there.

this feature should include:

  • the icon component should load message bundles from the relevant icon package - example icon tnt/workflow-editor should look up texts from @ui5/webcomponents/icons-tnt
  • the texts for icons should be removed from the main package
@ilhan007 ilhan007 added TOPIC Core enhancement New feature or request labels Jan 28, 2021
@ilhan007 ilhan007 added this to the 1.0.0-rc.13 milestone Jan 28, 2021
@ilhan007 ilhan007 self-assigned this Jan 29, 2021
ilhan007 added a commit that referenced this issue Jan 29, 2021
The Icon component now loads message bundles from the relevant icon package
The icons i18n texts are removed from the main package and added to the icons package
Accessibility texts are added for more icons (about 60), for each that we had key-value entry in the message bundle (prior to this change only 4 used to have such)
Related to: #2739
alexandar-mitsev pushed a commit to alexandar-mitsev/ui5-webcomponents that referenced this issue Feb 1, 2021
The Icon component now loads message bundles from the relevant icon package
The icons i18n texts are removed from the main package and added to the icons package
Accessibility texts are added for more icons (about 60), for each that we had key-value entry in the message bundle (prior to this change only 4 used to have such)
Related to: SAP#2739
NHristov-sap pushed a commit to NHristov-sap/ui5-webcomponents that referenced this issue Feb 9, 2021
The Icon component now loads message bundles from the relevant icon package
The icons i18n texts are removed from the main package and added to the icons package
Accessibility texts are added for more icons (about 60), for each that we had key-value entry in the message bundle (prior to this change only 4 used to have such)
Related to: SAP#2739
@vladitasev
Copy link
Contributor

#2816

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request TOPIC Core
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

3 participants