Toggle braille show selection indicator also with input gesture#14959
Conversation
| msg = _("Braille show selection") | ||
| msg += f" {self._featureFlagDefaultBehaviorDisplayString(displayString)}" |
There was a problem hiding this comment.
This should be a single string so translators can re-arrange the parts.
| msg = _("Braille show selection") | |
| msg += f" {self._featureFlagDefaultBehaviorDisplayString(displayString)}" | |
| msg = _("Braille show selection default (%s)") % featureFlag.behaviorOfDefault.displayString |
There was a problem hiding this comment.
Why not a format string?
| msg = _("Braille show selection") | |
| msg += f" {self._featureFlagDefaultBehaviorDisplayString(displayString)}" | |
| msg = _("Braille show selection default ({})").format(featureFlag.behaviorOfDefault.displayString) |
There was a problem hiding this comment.
I think that would be also possible. But why not "f style" with one msg assignment (asking this just for curiosity).
There was a problem hiding this comment.
gettext (the translation library) doesn't support f strings
See test results for failed build of commit 60cfb82c35 |
See test results for failed build of commit 57c64c59cb |
|
@burmancomp It appears that you may have pushed a bunch of unrelated commits
from the master branch.
Your last push had 15 commits, your total commits is now 18 I believe, and most
of them are other people's work that was already merged.
At least, that's what it looked like from the GitHub notification email, and on
the commits tab of your PR.
|
08f726a to
c45a01b
Compare
This just shows that my understanding how different git commands work is very limited. My solution to commit problem is not elegant one but hopefully it works at least this time. |
Link to issue number:
Fixes #14948
Summary of the issue:
Selection is indicated with dots 7 and 8 which may cause difficulties for reading.
Description of user facing changes
There is feature flag setting "Show selection" in Braille category which default behavior is Enabled. There is also possibility to use input gesture to cycle setting.
Description of development approach
Feature flag (BoolFlag) showSelection which default behavior is Enabled.
Testing strategy:
Tested with input gesture and from settings dialog.
Known issues with pull request:
Change log entries:
New features
Possibility to toggle braille show selection indicator from braille settings and with input gesture.
Changes
Bug fixes
For Developers
Code Review Checklist: