Skip to content

Remove numeric string literals from translations JSONs#58

Merged
Nidrax merged 1 commit into
trunkfrom
nidrax/fix-non-editable-font-size
Jun 15, 2026
Merged

Remove numeric string literals from translations JSONs#58
Nidrax merged 1 commit into
trunkfrom
nidrax/fix-non-editable-font-size

Conversation

@Nidrax

@Nidrax Nidrax commented Jun 15, 2026

Copy link
Copy Markdown
Member

0e85fb9 added automatic string literal extractor for translations, adding a few new untranslated strings, one of them being "32" which is a set value of the font_size Entry field in the data/widgets/paste_text.xml:11, making it un-editable in-app once localized.

This change removes the numeric string literals from translations:

  • "10"
  • "100"
  • "16"
  • "32"

The string "180" remains in the files, being used for canvas rotation value in menus.

The "Select Font" literal was also temporarily removed, because it caused to break the behavior of the font selection dropdown menu text that should display currently selected font name being overwritten by the i18n value.

Fixes #56

0e85fb9 added automatic string
literal extractor for translations, adding a few new untranslated
strings, one of them being "32" which is a set value of the
`font_size` Entry field in the `data/widgets/paste_text.xml:11`,
making it un-editable in-app once localized.

This change removes the numeric string literals from translations:
- "10"
- "100"
- "16"
- "32"

The string "180" remains in the files, being used for
canvas rotation value in menus.

The "Select Font" literal was also temporarily removed, because it
caused to break the behavior of the font selection dropdown menu
text that should display currently selected font name being overwritten
by the i18n value.

Fixes #56
@Nidrax Nidrax force-pushed the nidrax/fix-non-editable-font-size branch from 56745ff to a86151b Compare June 15, 2026 22:34
@Nidrax Nidrax merged commit f4d42a7 into trunk Jun 15, 2026
10 checks passed
@Nidrax Nidrax deleted the nidrax/fix-non-editable-font-size branch June 15, 2026 22:34
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.

Can't change text font size in the "Add Text" menu.

1 participant