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

XWIKI-21597: Make the rights UI use icon themes #2991

Closed
wants to merge 5 commits into from

Conversation

Sereza7
Copy link
Contributor

@Sereza7 Sereza7 commented Mar 15, 2024

Jira URL

https://jira.xwiki.org/browse/XWIKI-21597

Changes

Description

  • Updated the localisation method for the confirmation boxes and others

Clarifications

  • Removed the prefix from the l10n definition

Screenshots & Video

21597-demo2.mp4

Executed Tests

Manual tests, see video demo.
No tests were broken by this regression, no test should be broken by fixing it.

Expected merging strategy

Sereza7 added 4 commits March 15, 2024 14:08
* Updated the localisation method for the confirmation boxes and others
* Changed the code to fit this new structure
* Removed unwanted codestyle change
* Removed unwanted codestyle change
@manuelleduc manuelleduc requested a review from mflorea March 15, 2024 13:38
self.state = 2;
nxtst = 0;
} else {
require(['xwiki-l10n!users-and-groups-translation-keys'], function(l10n) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm still not fully convinced by this part being asynchronous. Couldn't we define this at a more global place. cc @mflorea if you have some idea.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried to require the translations above the MSCheckbox class definition, but this ended in an error in another (synchronous) script that couldn't find MSCheckbox.

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