Repository navigation
Add position, size and transparency labels - #14
Merged
Merged
Conversation
Top, bottom, left, right, the four corners and small, medium, large are generic option names any app's settings may need, so they go into the core module. Transparency belongs to GraphicsAndDesign next to Opacity. Every language follows Apple's own wording: the positions and corners as in the iOS accessibility settings, the sizes as in the text-size and widget options, and transparency as in 'Reduce Transparency' rather than the AirPods listening mode Apple also calls Transparency.
Jeehut
force-pushed
the
wip/positions-sizes-transparency
branch
from
October 12, 2026 09:34
3febe1a to
259134b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #7.
Adds the labels @hanneskaeufler asked for:
TranslateKit:TK.Label.top,.bottom,.left,.right,.topLeft,.topRight,.bottomLeft,.bottomRight,.small,.medium,.large– generic option names (a badge position, a widget size) that apps of any category use.TranslateKitGraphicsAndDesign:TK.Label.transparency, next to the existingopacity.All twelve ship in the 40 languages of the package and use Apple's own wording from iOS 27 wherever Apple has one:
Translations: sides
Translations: corners
Translations: sizes and transparency
How this was verified
PositionSizeTransparencyTestschecks the English values and reads the compiled bundles for every language that lacks one of the twelve keys. With the new entries reduced to English it failed for all twelve; with this branch it passes:The catalog diff only adds entries: a JSON comparison against
mainfound no existing key changed.swift test --build-system swiftbuildon Xcode 26.6 / Swift 6.3.3, as in CI.Tests/TranslateKitTests/CompiledCatalog.swiftis the same helper as in #12 and #13.