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

Fix (translatable) texts in Edit style dialog #26422

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Jojo-Schmitz
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz commented Feb 10, 2025

  • Placement -> Position
  • Position abobe/below -> Offset above/below
  • Add % suffix, move 'suffix' " / 4" and " measure" to after the spinbox and changing to "quarter" resp. "measure(s)
  • Fix a reset button's accessibility text and add a missing tooltip to it

@@ -12333,6 +12336,9 @@ text x-height):</string>
<property name="keyboardTracking">
<bool>false</bool>
</property>
<property name="suffix">
<string>%</string>
</property>

Choose a reason for hiding this comment

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

Is this a new "%" string?

Copy link
Contributor Author

@Jojo-Schmitz Jojo-Schmitz Feb 10, 2025

Choose a reason for hiding this comment

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

Yes, used here:
image
the suffix

Copy link

@FrancRos31 FrancRos31 Feb 10, 2025

Choose a reason for hiding this comment

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

Isn't this addition in contrast with #26383, if it will be chosen over #26382?

Copy link
Contributor Author

@Jojo-Schmitz Jojo-Schmitz Feb 10, 2025

Choose a reason for hiding this comment

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

Ah, thanks for the reminder.
Will keep an eye on it and change to "notr=true" if and when needed (i.e. a decicsion between those 2 PRs has been made), or add it to #26383 if this PR here gets merged earlier

@Jojo-Schmitz Jojo-Schmitz force-pushed the trans-texts branch 2 times, most recently from 5dde3fd to 9167ac6 Compare February 11, 2025 08:44
<property name="text">
<string notr="true"/>
<string>/ 4</string>
Copy link
Contributor Author

@Jojo-Schmitz Jojo-Schmitz Feb 11, 2025

Choose a reason for hiding this comment

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

All the above stuff moves the suffixes " / 4" and " measure" to after their spinboxes and this avoids translatable strings with leading spaces. Also changing them to "quarter(s)" and "measure(s)". New look:
image

@Jojo-Schmitz Jojo-Schmitz force-pushed the trans-texts branch 4 times, most recently from 5c20666 to bf752e8 Compare February 11, 2025 10:37
@Jojo-Schmitz Jojo-Schmitz force-pushed the trans-texts branch 2 times, most recently from 12c1e7a to b56e08e Compare February 12, 2025 14:38
TranslatableString("action", "&Note anchored line"),
TranslatableString("action", "Add note anchored line")
TranslatableString("action", "&Note-anchored line"),
TranslatableString("action", "Add note-anchored line")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will conflict with #26476

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Split off into #26478

* Placement -> Position
* Position abobe/below -> Offset above/below
* Add % suffix, move 'suffix' " / 4" and " measure" to after the spinbox and changing to "quarter" resp. "measure(s)
* Fix a reset button's accessibility text and add a missing tooltip to it
@Jojo-Schmitz Jojo-Schmitz changed the title Fix (translatable) texts Fix (translatable) texts in Edit stylöe dialog Feb 13, 2025
@Jojo-Schmitz Jojo-Schmitz changed the title Fix (translatable) texts in Edit stylöe dialog Fix (translatable) texts in Edit style dialog Feb 13, 2025
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.

3 participants