Repository navigation
fix(i18n): translate UI attributes across components - #217
Conversation
|
@Aaqibhafeezkhan is attempting to deploy a commit to the Clips Studio Team on Vercel. A member of the Team first needs to authorize it. |
Aaqibhafeezkhan
left a comment
There was a problem hiding this comment.
Implemented the UI attribute translations across TimelineEditor and the remaining affected components and pages. Added the missing t() imports and a Python regression test to catch untranslated literal attributes. Preserved URL, path, and identifier examples.
|
I'll check it and merge later I am fixing the video editor to try to make a better one a lot of people were complaining about it in feature request so I am adding features to a new one. |
MultilingualExport.tsx and AddVideos.tsx already imported t, so the added imports were duplicates (TS2300: Duplicate identifier 't'). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks @Aaqibhafeezkhan, merged! The CI typecheck caught one thing: |
What changed
placeholder,titleandaria-labelvalues inTimelineEditorand the remaining affected UI components and pages.t()imports and preserved the original English strings as translation keys.tests/test_ui_translatable_attributes.pyto catch untranslated literal attributes in the migrated components.The changes use the existing translation function, so available locale entries are applied automatically and missing translations continue to fall back to English.
Closes #91.