mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +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:
@@ -23,7 +23,7 @@ import {
|
||||
useState,
|
||||
MouseEvent as ReactMouseEvent,
|
||||
} from 'react';
|
||||
|
||||
import { t } from '@apache-superset/core';
|
||||
import { throttle } from 'lodash';
|
||||
import {
|
||||
POPOVER_INITIAL_HEIGHT,
|
||||
@@ -135,7 +135,7 @@ export default function useResizeButton(
|
||||
return [
|
||||
<Icons.ArrowsAltOutlined
|
||||
role="button"
|
||||
aria-label="Resize"
|
||||
aria-label={t('Resize')}
|
||||
tabIndex={0}
|
||||
onMouseDown={onDragDown}
|
||||
className="edit-popover-resize"
|
||||
|
||||
Reference in New Issue
Block a user