fix(i18n): wrap untranslated frontend strings and add i18n lint rule (#37776)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Evan Rusackas
2026-02-23 00:27:37 -05:00
committed by GitHub
parent 672a380587
commit 3f64ad3da5
71 changed files with 65097 additions and 15158 deletions

View File

@@ -131,7 +131,7 @@ test('Should have remove button', async () => {
test('Should have SortableDragger icon', async () => {
const props = createProps();
render(<CollectionControl {...props} />);
expect(await screen.findByLabelText('drag')).toBeVisible();
expect(await screen.findByLabelText('Drag to reorder')).toBeVisible();
});
test('Should call Control component', async () => {

View File

@@ -72,7 +72,7 @@ const SortableList = SortableContainer(List);
const SortableDragger = SortableHandle(() => (
<Icons.MenuOutlined
role="img"
aria-label="drag"
aria-label={t('Drag to reorder')}
className="text-primary"
style={{ cursor: 'ns-resize' }}
/>