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

Revert "Fix addon name localisation before installation (#3908)" #4573

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jan 21, 2025

This reverts commit 708a954
but with some modifications

This PR will use the name and description fields from addons.xml and return that to MainUI via REST. This is a change from before #3908 where the name and description fields from addons.xml were overwritten with "n/a".

This data will be used for:

The addons.xml will be cleaned up so that all name/description fields of all addons contain the actual readable text, not i18n reference tags in this PR: openhab/openhab-addons#18139

This reverts commit 708a954
but with some modifications

Signed-off-by: Jimmy Tanagra <[email protected]>
@jimtng
Copy link
Contributor Author

jimtng commented Jan 21, 2025

@mherwege

Copy link
Contributor

@mherwege mherwege left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Jimmy Tanagra <[email protected]>
@jimtng
Copy link
Contributor Author

jimtng commented Jan 21, 2025

It seems that this "NA" thing now is never going to be used, so I've just removed it completely.
Before, NA was used to override the name and description from the addons.xml (which used to contain undesired i18n keys), but now since we don't need to do that, NA has no other purpose.

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.

2 participants