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
feat: disable language/translations selection #14539
feat: disable language/translations selection #14539
Conversation
Jenkins BuildsClick to see older builds (3)
|
d76b0aa
to
89e9b28
Compare
|
||
Button { | ||
StatusButton { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main purpose here is to allow having a tooltip over a disabled (non-interactive) button
width: 20 | ||
height: 20 | ||
imgIsIdenticon: false | ||
} | ||
|
||
enum Type { | ||
enum PickerType { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixing enum
name clash
y: parent.height + Style.current.padding | ||
margins: 0 | ||
visible: !root.languageSelectionEnabled && languagePicker.button.hovered | ||
orientation: StatusToolTip.Orientation.Bottom |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't put the tooltip above the button... the z
order is totally messed up here due to bad StatusListPicker
design
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Minor comment on the Learn more
link
Tested
- make it conditionally available for testing via Settings/Advanced/Enable translations - display a tooltip and infobox explaining the current and future situation - upon app start, force the language to "en" if the translations are not enabled; and suggest app restart when they get disabled Fixes #14527
89e9b28
to
ae6c4d8
Compare
What does the PR do
Fixes #14527
Affected areas
Settings/[Language,Advanced]
Screenshot of functionality (including design for comparison)
Defaults:
Advanced toggle:
Translations enabled: