fix: i18n system overhaul and sidebar UI bugs
- Fix LanguageProvider: add RTL support (ar/fa), translation caching, prevent blank flash during load, browser language detection - Fix detect-user-language: extend whitelist from 5 to all 15 languages - Remove hardcoded initialLanguage="fr" from auth layout - Complete fr.json translation (all sections translated from English) - Add missing admin.ai keys to all 13 non-English locales - Translate ai.autoLabels, ai.batchOrganization, memoryEcho sections for all locales - Remove duplicate top-level autoLabels/batchOrganization from en.json - Fix notebook creation: replace window.location.reload() with createNotebookOptimistic + router.refresh() - Fix notebook name truncation in sidebar with min-w-0 - Remove redundant router.refresh() after note creation in page.tsx Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,7 +63,13 @@
|
||||
"tagsGenerationProvider": "Tags Generation Provider",
|
||||
"title": "AI Configuration",
|
||||
"updateFailed": "Failed to update AI settings",
|
||||
"updateSuccess": "AI Settings updated successfully"
|
||||
"updateSuccess": "AI Settings updated successfully",
|
||||
"bestValue": "Najlepszy stosunek jakości do ceny",
|
||||
"bestQuality": "Najwyższa jakość",
|
||||
"providerOllamaOption": "🦙 Ollama (Local & Free)",
|
||||
"providerOpenAIOption": "🤖 OpenAI (GPT-5, GPT-4)",
|
||||
"providerCustomOption": "🔧 Custom OpenAI-Compatible",
|
||||
"saved": "(Zapisano)"
|
||||
},
|
||||
"aiTest": {
|
||||
"description": "Test your AI providers for tag generation and semantic search embeddings",
|
||||
@@ -156,9 +162,9 @@
|
||||
"analyzing": "Analizowanie Twoich notatek pod kątem sugestii etykiet...",
|
||||
"create": "Utwórz",
|
||||
"createNewLabel": "Utwórz nową etykietę",
|
||||
"created": "{count} labels created successfully",
|
||||
"created": "{count} etykiet utworzono pomyślnie",
|
||||
"creating": "Tworzenie etykiet...",
|
||||
"description": "I've detected recurring themes in \"{notebookName}\" ({totalNotes} notes). Create labels for them?",
|
||||
"description": "Wykryłem powtarzające się tematy w \"{notebookName}\" ({totalNotes} notatkach). Utworzyć dla nich etykiety?",
|
||||
"error": "Failed to fetch label suggestions",
|
||||
"new": "(nowa)",
|
||||
"noLabelsSelected": "No labels selected",
|
||||
@@ -602,14 +608,14 @@
|
||||
"memoryEcho": {
|
||||
"clickToView": "Kliknij, aby wyświetlić",
|
||||
"comparison": {
|
||||
"clickToView": "Click to view note",
|
||||
"helpful": "Helpful",
|
||||
"helpfulQuestion": "Is this comparison helpful?",
|
||||
"highSimilarityInsight": "These notes deal with the same topic with a high degree of similarity. They could be merged or consolidated.",
|
||||
"notHelpful": "Not Helpful",
|
||||
"similarityInfo": "These notes are connected by {similarity}% similarity",
|
||||
"title": "💡 Note Comparison",
|
||||
"untitled": "Untitled"
|
||||
"title": "💡 Porównanie notatek",
|
||||
"similarityInfo": "Te notatki są połączone przez {similarity}% podobieństwa",
|
||||
"highSimilarityInsight": "Te notatki dotyczą tego samego tematu z wysokim stopniem podobieństwa. Mogą zostać połączone.",
|
||||
"untitled": "Bez tytułu",
|
||||
"clickToView": "Kliknij aby wyświetlić notatkę",
|
||||
"helpfulQuestion": "Czy to porównanie jest pomocne?",
|
||||
"helpful": "Pomocne",
|
||||
"notHelpful": "Nie pomocne"
|
||||
},
|
||||
"connection": "connection",
|
||||
"connections": "Connections",
|
||||
@@ -618,40 +624,40 @@
|
||||
"description": "Proactive connections between your notes",
|
||||
"dismiss": "Dismiss for now",
|
||||
"editorSection": {
|
||||
"close": "Zamknij",
|
||||
"compare": "Compare",
|
||||
"compareAll": "Compare all",
|
||||
"loading": "Loading...",
|
||||
"merge": "Merge",
|
||||
"mergeAll": "Merge all",
|
||||
"title": "⚡ Connected Notes ({count})",
|
||||
"view": "View"
|
||||
"title": "⚡ Połączone notatki ({count})",
|
||||
"loading": "Ładowanie...",
|
||||
"view": "Wyświetl",
|
||||
"compare": "Porównaj",
|
||||
"merge": "Połącz",
|
||||
"compareAll": "Porównaj wszystko",
|
||||
"mergeAll": "Połącz wszystko",
|
||||
"close": "Zamknij"
|
||||
},
|
||||
"fused": "Fused",
|
||||
"fused": "Połączono",
|
||||
"fusion": {
|
||||
"archiveOriginals": "Archive original notes",
|
||||
"cancel": "Cancel",
|
||||
"confirmFusion": "Confirm fusion",
|
||||
"createBacklinks": "Create backlink to original notes",
|
||||
"edit": "Edit",
|
||||
"error": "Failed to merge notes",
|
||||
"finishEditing": "Finish editing",
|
||||
"generateError": "Failed to generate fusion",
|
||||
"generateFusion": "Generate the fusion",
|
||||
"generating": "Generating...",
|
||||
"keepAllTags": "Keep all tags",
|
||||
"mergeNotes": "Merge {count} note(s)",
|
||||
"modify": "Modify",
|
||||
"noContentReturned": "No fusion content returned from API",
|
||||
"notesToMerge": "📝 Notes to merge",
|
||||
"optionalPrompt": "💬 Fusion prompt (optional)",
|
||||
"optionsTitle": "Fusion options",
|
||||
"previewTitle": "📝 Preview of merged note",
|
||||
"promptPlaceholder": "Optional instructions for AI (e.g., 'Keep the formal style of note 1')...",
|
||||
"success": "Notes merged successfully!",
|
||||
"title": "🔗 Intelligent Fusion",
|
||||
"unknownDate": "Unknown date",
|
||||
"useLatestTitle": "Use latest note as title"
|
||||
"title": "🔗 Inteligentne fuzja",
|
||||
"mergeNotes": "Połącz {count} notatkę/i",
|
||||
"notesToMerge": "📝 Notatki do połączenia",
|
||||
"optionalPrompt": "💬 Prompt fuzji (opcjonalny)",
|
||||
"promptPlaceholder": "Opcjonalne instrukcje dla AI (np. 'Zachowaj formalny styl notatki 1')...",
|
||||
"generateFusion": "Wygeneruj fuzję",
|
||||
"generating": "Generowanie...",
|
||||
"previewTitle": "📝 Podgląd połączonej notatki",
|
||||
"edit": "Edytuj",
|
||||
"modify": "Modyfikuj",
|
||||
"finishEditing": "Zakończ edycję",
|
||||
"optionsTitle": "Opcje fuzji",
|
||||
"archiveOriginals": "Archiwizuj oryginalne notatki",
|
||||
"keepAllTags": "Zachowaj wszystkie tagi",
|
||||
"useLatestTitle": "Użyj najnowszej notatki jako tytułu",
|
||||
"createBacklinks": "Utwórz link do oryginalnych notatek",
|
||||
"cancel": "Anuluj",
|
||||
"confirmFusion": "Potwierdź fuzję",
|
||||
"success": "Notatki połączone pomyślnie!",
|
||||
"error": "Nie udało się połączyć notatek",
|
||||
"generateError": "Nie udało się wygenerować fuzji",
|
||||
"noContentReturned": "Brak zawartości fuzji z API",
|
||||
"unknownDate": "Nieznana data"
|
||||
},
|
||||
"helpful": "Helpful",
|
||||
"insightReady": "Your insight is ready!",
|
||||
|
||||
Reference in New Issue
Block a user