feat(i18n): translate the phase 4 strings; tell the two rotate icons apart
The 60 new camera, crop, look and output-size strings in the 36 machine-translated languages. The rotate-left and rotate-right arrows were near mirror twins at 16 px; their arcs are now lopsided so the direction reads at a glance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
69a1e84c51
commit
863c6cf27b
183 files changed
+2167
-5
No files matched your search
@@ -149,7 +149,9 @@ def head(tx, ty, angle, size=2.4, spread=40):
|
||||
return f"M{f(ax)} {f(ay)} L{f(tx)} {f(ty)} L{f(bx)} {f(by)}"
|
||||
|
||||
def turn_arrow(clockwise):
|
||||
cx, cy, r, a0, a1 = 8, 8.5, 5.5, 295, 65
|
||||
# A lopsided arc, longer on the side the turn starts from, so the two directions read as mirror images at 16 px.
|
||||
cx, cy, r = 8, 8.5, 5.5
|
||||
a0, a1 = (250, 65) if clockwise else (295, 110)
|
||||
x1, y1 = cx + r * math.sin(math.radians(a1)), cy - r * math.cos(math.radians(a1))
|
||||
x0, y0 = cx + r * math.sin(math.radians(a0)), cy - r * math.cos(math.radians(a0))
|
||||
return arc(cx, cy, r, a0, a1) + " " + (head(x1, y1, a1 + 90) if clockwise else head(x0, y0, a0 - 90))
|
||||
|
||||
Reference in new issue
Block a user