chore: i18n the last - hopefully

This commit is contained in:
2026-02-21 13:38:01 +01:00
parent d7840a60df
commit f8e532fbf5
9 changed files with 18 additions and 8 deletions

View File

@@ -95,8 +95,6 @@ const EditorToolbar: React.FC<EditorToolbarProps> = ({ onUserInteraction }) => {
const [insertMode, setInsertMode] = useState<InsertModalMode>(null);
const [selectedText, setSelectedText] = useState('');
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const runCommand = useCallback((commandKey: any, payload?: unknown) => {
if (loading) return;
const editor = getEditor();

View File

@@ -51,7 +51,7 @@ export const StatusBar: React.FC = () => {
<span className="task-spinner" />
<span>{runningTasks[0].message}</span>
{runningTasks.length > 1 && (
<span className="text-muted">+{runningTasks.length - 1} more</span>
<span className="text-muted">{t('statusBar.more', { count: runningTasks.length - 1 })}</span>
)}
</div>
)}