You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
The Todo side picker and the Left/Right Half actions share the "Left"/"Right" strings, so most translations are wrong in one place #1965
Localizable.xcstrings has a single Left key and a single Right key, but the app uses them for two different things:
Half actions.WindowAction.displayName names Left Half "Left" and Right Half "Right", as it does "Top", "Bottom" and "Center" for the other halves (WindowAction.swift, around lines 417–471).
Todo side. The Todo side picker in Settings ▸ Behavior uses Text("Left") / Text("Right") (BehaviorSettingsView.swift:309–310), and TodoSidebarSide.title uses String(localized: "Left") / "Right" (TodoManager.swift:428–429). Here they mean the side of the screen.
One translation can't fit both, and the translators split. Most translated Left as a side and Right as a half. So in many languages the Left Half action reads "left", and the Todo picker offers "left" and "right half":
Left
Right
de
Links
Rechte Hälfte
fr
Gauche
Moitié droite
it
Sinistra
Metà destra
ru
Слева
Правая половина
ja
左
右半分
ko
왼쪽
오른쪽 절반
zh-Hans
左半屏
右半屏
nb, nn, sk, tr, uk, lt and vi follow the same pattern. ca, cs, id, nl, pl, pt-PT, ro, sv-SE and zh-Hant-HK leave Left in English. es, pt-BR, fa and hi use the side word for both, so their half actions read as sides. In ar, Left is غادر, which means "left" as in "departed". In Simplified Chinese the Todo side picker reads 左半屏/右半屏 ("left half / right half").
Possible fix: give the Todo side its own keys, keeping the English text, for example:
case.left:return String(localized:"Todo Side Left",defaultValue:"Left",comment:"Todo side option: the Todo app sits on the left side of the screen")case.right:return String(localized:"Todo Side Right",defaultValue:"Right",comment:"Todo side option: the Todo app sits on the right side of the screen")
and have the picker show TodoSidebarSide.title. After that, Left / Right / Top / Bottom / Center only name the halves, and each language can use its "half" wording there.
I can send a PR with the code change and the zh-Hans strings (左侧/右侧); the other languages would need their translators. Rectangle Pro's catalog may have the same overlap; I asked about it in rxhanson/Multitouch-Community#282.
Activity
Give the Todo side its own strings (#1966)