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

Convert i18n references in addon.xml to actual text #18139

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

jimtng
Copy link
Contributor

@jimtng jimtng commented Jan 20, 2025

The corresponding ids in the properties files are converted to the standard naming so they can be automatically inferred.

See the discussion #14310 (comment)

TL;DR: This change here should not affect the appearance of the add-ons as they're viewed in mainUI. By using actual text, the runtime/etc/addons.xml which is built by combining all the addon.xml files, will contain name/description that can be used in MainUI search / display.

@jimtng
Copy link
Contributor Author

jimtng commented Jan 20, 2025

@mherwege @lsiepel @jlaur

@jimtng jimtng force-pushed the addon-xml-name-desc branch from 56382e9 to d5ee96f Compare January 20, 2025 11:58
The corresponding ids in the properties files are converted to the standard naming so they can be automatically inferred.

Signed-off-by: Jimmy Tanagra <[email protected]>
@jimtng jimtng force-pushed the addon-xml-name-desc branch from d5ee96f to 462b119 Compare January 20, 2025 12:14
Copy link
Contributor

@clinique clinique left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@jlaur jlaur left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM.

@mherwege
Copy link
Contributor

mherwege commented Jan 20, 2025

Don't you have to recreate the properties files (and remove the old keys)?

EDIT: sorry, I see that's done.

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

Copy link
Contributor

@lsiepel lsiepel left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup LGTM

@lsiepel lsiepel merged commit 1357374 into openhab:main Jan 20, 2025
2 checks passed
@lsiepel lsiepel added this to the 5.0 milestone Jan 20, 2025
@lsiepel lsiepel added the i18n label Jan 20, 2025
@jimtng jimtng deleted the addon-xml-name-desc branch January 21, 2025 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants