fix: comprehensive i18n — replace hardcoded French/English strings with t() calls
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m7s
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 1m7s
Replaced ~100+ hardcoded French and English text strings across 30+ components with proper i18n t() calls. Added 57 new translation keys to all 15 locale files (ar, de, en, es, fa, fr, hi, it, ja, ko, nl, pl, pt, ru, zh). Key changes: - contextual-ai-chat.tsx: 30 French strings → t() (actions, toasts, labels, placeholders) - ai-chat.tsx: 15 French/English strings → t() (header, tabs, welcome, insights, history) - note-inline-editor.tsx: 20 French fallbacks removed (toolbar, save status, checklist) - lab-skeleton.tsx: French loading text → t() - admin-header.tsx, header.tsx, editor-connections-section.tsx: French fallbacks removed - New AI chat component, agent cards, sidebar, settings panel i18n cleanup Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,30 @@
|
||||
"noModels": "Brak modeli. Kliknij ↺",
|
||||
"modelsAvailable": "{count} model(i) dostępny(e)",
|
||||
"enterUrlToLoad": "Podaj URL i kliknij ↺",
|
||||
"currentProvider": "(Bieżący: {provider})"
|
||||
"currentProvider": "(Bieżący: {provider})",
|
||||
"pageTitle": "Zarządzanie AI",
|
||||
"pageDescription": "Monitoruj i konfiguruj funkcje AI",
|
||||
"configure": "Konfiguruj",
|
||||
"features": "Funkcje AI",
|
||||
"providerStatus": "Status dostawców AI",
|
||||
"recentRequests": "Ostatnie żądania AI",
|
||||
"comingSoon": "Wkrótce dostępne",
|
||||
"activeFeatures": "Aktywne funkcje",
|
||||
"successRate": "Wskaźnik sukcesu",
|
||||
"avgResponseTime": "Średni czas odpowiedzi",
|
||||
"configuredProviders": "Skonfigurowani dostawcy",
|
||||
"settingUpdated": "Ustawienie zaktualizowane",
|
||||
"updateFailedShort": "Aktualizacja nie powiodła się",
|
||||
"titleSuggestions": "Sugestie tytułów",
|
||||
"titleSuggestionsDesc": "Sugeruje tytuły dla notatek po 50+ słowach",
|
||||
"aiAssistant": "Asystent AI",
|
||||
"aiAssistantDesc": "Włącz czat AI i narzędzia poprawy tekstu",
|
||||
"memoryEchoFeature": "Zauważyłem coś...",
|
||||
"memoryEchoFeatureDesc": "Codzienna analiza powiązań między notatkami",
|
||||
"languageDetection": "Wykrywanie języka",
|
||||
"languageDetectionDesc": "Automatycznie wykrywa język każdej notatki",
|
||||
"autoLabeling": "Automatyczne etykietowanie",
|
||||
"autoLabelingDesc": "Automatycznie sugeruje i stosuje etykiety"
|
||||
},
|
||||
"aiTest": {
|
||||
"description": "Przetestuj swoich dostawców AI pod kątem generowania tagów i embeddingów wyszukiwania semantycznego",
|
||||
@@ -195,7 +218,9 @@
|
||||
"email": "E-mail",
|
||||
"name": "Imię",
|
||||
"role": "Rola"
|
||||
}
|
||||
},
|
||||
"title": "Użytkownicy",
|
||||
"description": "Zarządzaj użytkownikami i uprawnieniami"
|
||||
},
|
||||
"chat": "Czat AI",
|
||||
"lab": "Laboratorium",
|
||||
@@ -231,7 +256,18 @@
|
||||
"testing": "Testowanie...",
|
||||
"testSearch": "Testuj wyszukiwanie"
|
||||
},
|
||||
"settingsDescription": "Konfiguruj ustawienia aplikacji"
|
||||
"settingsDescription": "Konfiguruj ustawienia aplikacji",
|
||||
"dashboard": {
|
||||
"title": "Panel",
|
||||
"description": "Przegląd metryk aplikacji",
|
||||
"recentActivity": "Ostatnia aktywność",
|
||||
"recentActivityPlaceholder": "Ostatnia aktywność zostanie wyświetlona tutaj."
|
||||
},
|
||||
"error": {
|
||||
"title": "Błąd w panelu administracyjnym",
|
||||
"description": "Renderowanie strony nie powiodło się. Możesz spróbować ponownie.",
|
||||
"retry": "Ponów"
|
||||
}
|
||||
},
|
||||
"ai": {
|
||||
"analyzing": "Analiza AI...",
|
||||
@@ -322,7 +358,57 @@
|
||||
"translationFailed": "Tłumaczenie nie powiodło się",
|
||||
"undo": "Cofnij AI",
|
||||
"undoAI": "Cofnij przekształcenie AI",
|
||||
"undoApplied": "Oryginalny tekst przywrócony"
|
||||
"undoApplied": "Oryginalny tekst przywrócony",
|
||||
"minWordsError": "Notatka musi zawierać co najmniej 5 słów, aby używać akcji AI.",
|
||||
"genericError": "Błąd AI",
|
||||
"actionError": "Błąd podczas akcji AI",
|
||||
"appliedToNote": "Zastosowano w notatce",
|
||||
"applyToNote": "Zastosuj w notatce",
|
||||
"undoLastAction": "Cofnij ostatnią akcję AI",
|
||||
"selectContext": "Wybierz kontekst...",
|
||||
"selectNotebook": "Wybierz notatnik",
|
||||
"chatPlaceholder": "Poproś AI o edycję, podsumowanie lub szkic...",
|
||||
"assistantTitle": "Asystent AI",
|
||||
"currentNote": "Bieżąca notatka",
|
||||
"shrinkPanel": "Zmień rozmiar panelu",
|
||||
"expandPanel": "Powiększ panel",
|
||||
"chatTab": "Chat",
|
||||
"noteActions": "Akcje notatki",
|
||||
"askToStart": "Zadaj asystentowi pytanie, aby rozpocząć.",
|
||||
"contextLabel": "Kontekst",
|
||||
"thisNote": "Ta notatka",
|
||||
"allMyNotes": "Wszystkie notatki",
|
||||
"notebookGeneric": "Notatnik",
|
||||
"writingTone": "Ton pisania",
|
||||
"askAboutThisNote": "Zapytaj AI o tę notatkę...",
|
||||
"askAboutYourNotes": "Zapytaj AI o swoje notatki...",
|
||||
"webSearchLabel": "Wyszukiwanie w sieci",
|
||||
"newLineHint": "Shift+Enter = nowa linia",
|
||||
"resultLabel": "Wynik",
|
||||
"discardAction": "Odrzuć",
|
||||
"transformationsDesc": "Transformacje — zastosowane bezpośrednio w notatce",
|
||||
"writeMinWordsAction": "Napisz co najmniej 5 słów, aby aktywować akcje AI.",
|
||||
"processingAction": "Przetwarzanie...",
|
||||
"action": {
|
||||
"clarify": "Doprecyzuj",
|
||||
"shorten": "Skróć",
|
||||
"improve": "Popraw",
|
||||
"toMarkdown": "Do Markdown"
|
||||
},
|
||||
"openAssistant": "Otwórz asystenta AI",
|
||||
"poweredByMomento": "Napędzany przez Momento AI",
|
||||
"welcomeMsg": "Cześć! Jestem twoim asystentem AI. Jak mogę ci dzisiaj pomóc z notatkami? Mogę doprecyzować ton, rozwinąć treść lub podsumować.",
|
||||
"summaryLast5": "Podsumowanie ostatnich 5 notatek",
|
||||
"analyzingProgress": "Analizowanie...",
|
||||
"generateInsightsBtn": "Generuj wnioski",
|
||||
"newDiscussion": "Nowa dyskusja",
|
||||
"noRecentConversations": "Brak ostatnich rozmów.",
|
||||
"discussionContextLabel": "Kontekst dyskusji",
|
||||
"webSearchNotConfigured": "Wyszukiwanie w sieci (Nieskonfigurowane)",
|
||||
"historyTab": "Historia",
|
||||
"insightsTab": "Wnioski",
|
||||
"aiCopilot": "AI Copilot",
|
||||
"suggestTitle": "Sugestia tytułu AI"
|
||||
},
|
||||
"aiSettings": {
|
||||
"description": "Skonfiguruj swoje funkcje AI i preferencje",
|
||||
@@ -951,7 +1037,12 @@
|
||||
"viewModeGroup": "Tryb wyświetlania notatek",
|
||||
"reorderTabs": "Zmień kolejność kart",
|
||||
"modified": "Zmodyfikowano",
|
||||
"created": "Utworzono"
|
||||
"created": "Utworzono",
|
||||
"loading": "Ładowanie...",
|
||||
"exportPDF": "Eksportuj PDF",
|
||||
"savedStatus": "Zapisano",
|
||||
"dirtyStatus": "Zmodyfikowano",
|
||||
"completedLabel": "Ukończone"
|
||||
},
|
||||
"pagination": {
|
||||
"next": "→",
|
||||
@@ -1043,7 +1134,8 @@
|
||||
"searchPlaceholder": "Przeszukaj swoje notatki...",
|
||||
"searching": "Wyszukiwanie...",
|
||||
"semanticInProgress": "Wyszukiwanie semantyczne AI...",
|
||||
"semanticTooltip": "Wyszukiwanie semantyczne AI"
|
||||
"semanticTooltip": "Wyszukiwanie semantyczne AI",
|
||||
"disabledAdmin": "Wyszukiwanie wyłączone w trybie admin"
|
||||
},
|
||||
"semanticSearch": {
|
||||
"exactMatch": "Dokładne dopasowanie",
|
||||
@@ -1484,5 +1576,9 @@
|
||||
"markUndone": "Oznacz jako nieukończone",
|
||||
"todayAt": "Dzisiaj o {time}",
|
||||
"tomorrowAt": "Jutro o {time}"
|
||||
},
|
||||
"lab": {
|
||||
"initializing": "Inicjalizacja przestrzeni",
|
||||
"loadingIdeas": "Ładowanie twoich pomysłów..."
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user