mirror of
https://github.com/apache/superset.git
synced 2026-05-31 13:19:23 +00:00
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:
@@ -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 () => {
|
||||
|
||||
@@ -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' }}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user