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>
)}

View File

@@ -698,6 +698,7 @@
"postSearch.hint": "Mit ↑↓ navigieren, Enter auswählen, Esc schließen",
"statusBar.posts": "{count} Beiträge",
"statusBar.media": "{count} Medien",
"statusBar.more": "+{count} weitere",
"statusBar.theme": "Theme: {theme}",
"statusBar.ui": "UI",
"statusBar.uiLanguage": "UI-Sprache",

View File

@@ -698,6 +698,7 @@
"postSearch.hint": "Use ↑↓ to navigate, Enter to select, Esc to close",
"statusBar.posts": "{count} posts",
"statusBar.media": "{count} media",
"statusBar.more": "+{count} more",
"statusBar.theme": "Theme: {theme}",
"statusBar.ui": "UI",
"statusBar.uiLanguage": "UI language",

View File

@@ -698,6 +698,7 @@
"postSearch.hint": "Busca por título, slug o contenido",
"statusBar.posts": "Publicaciones",
"statusBar.media": "Medios",
"statusBar.more": "+{count} más",
"statusBar.theme": "Tema: {theme}",
"statusBar.ui": "UI",
"statusBar.uiLanguage": "Idioma de la interfaz",

View File

@@ -698,6 +698,7 @@
"postSearch.hint": "Rechercher par titre, slug ou contenu",
"statusBar.posts": "Articles",
"statusBar.media": "Médias",
"statusBar.more": "+{count} en plus",
"statusBar.theme": "Thème : {theme}",
"statusBar.ui": "UI",
"statusBar.uiLanguage": "Langue de linterface",

View File

@@ -698,6 +698,7 @@
"postSearch.hint": "Cerca per titolo, slug o contenuto",
"statusBar.posts": "Articoli",
"statusBar.media": "Media",
"statusBar.more": "+{count} in più",
"statusBar.theme": "Tema: {theme}",
"statusBar.ui": "UI",
"statusBar.uiLanguage": "Lingua interfaccia",