feat: Complete internationalization and code cleanup

## Translation Files
- Add 11 new language files (es, de, pt, ru, zh, ja, ko, ar, hi, nl, pl)
- Add 100+ missing translation keys across all 15 languages
- New sections: notebook, pagination, ai.batchOrganization, ai.autoLabels
- Update nav section with workspace, quickAccess, myLibrary keys

## Component Updates
- Update 15+ components to use translation keys instead of hardcoded text
- Components: notebook dialogs, sidebar, header, note-input, ghost-tags, etc.
- Replace 80+ hardcoded English/French strings with t() calls
- Ensure consistent UI across all supported languages

## Code Quality
- Remove 77+ console.log statements from codebase
- Clean up API routes, components, hooks, and services
- Keep only essential error handling (no debugging logs)

## UI/UX Improvements
- Update Keep logo to yellow post-it style (from-yellow-400 to-amber-500)
- Change selection colors to #FEF3C6 (notebooks) and #EFB162 (nav items)
- Make "+" button permanently visible in notebooks section
- Fix grammar and syntax errors in multiple components

## Bug Fixes
- Fix JSON syntax errors in it.json, nl.json, pl.json, zh.json
- Fix syntax errors in notebook-suggestion-toast.tsx
- Fix syntax errors in use-auto-tagging.ts
- Fix syntax errors in paragraph-refactor.service.ts
- Fix duplicate "fusion" section in nl.json

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

Ou une version plus courte si vous préférez :

feat(i18n): Add 15 languages, remove logs, update UI components

- Create 11 new translation files (es, de, pt, ru, zh, ja, ko, ar, hi, nl, pl)
- Add 100+ translation keys: notebook, pagination, AI features
- Update 15+ components to use translations (80+ strings)
- Remove 77+ console.log statements from codebase
- Fix JSON syntax errors in 4 translation files
- Fix component syntax errors (toast, hooks, services)
- Update logo to yellow post-it style
- Change selection colors (#FEF3C6, #EFB162)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-11 22:26:13 +01:00
parent fc2c40249e
commit 7fb486c9a4
183 changed files with 48288 additions and 1290 deletions

View File

@@ -33,7 +33,7 @@ L'objectif est de créer un flux de travail où la capture reste instantanée, m
Contrairement à Google Keep (pas d'IA) et Notion (IA à la demande et complexe), Memento Phase 1 introduit **trois innovations exclusives**:
1. **Contextual Smart Assistance** - Les fonctionnalités IA n'apparaissent que quand c'est pertinent:
- Suggestions de titres uniquement après 50+ mots sans titre
- Suggestions de titres uniquement après 10+ mots sans titre
- Toast non-intrusive avec options "Voir | Plus tard | Ne plus demander"
- L'utilisateur découvre les features naturellement sans être overwhelmed
@@ -199,7 +199,7 @@ Phase 1 respects existing patterns:
**Performance:**
- **Recherche sémantique:** < 300ms pour une base de 1000 notes
- **Pourquoi:** Ne pas ralentir l'UX, l'utilisateur ne doit pas attendre
- **Suggestions titres:** < 2s après détection (50+ mots sans titre)
- **Suggestions titres:** < 2s après détection (10+ mots sans titre)
- **Pourquoi:** Doit paraître "instantané" pour l'utilisateur
- **Memory Echo analysis:** Traitement en arrière-plan, blocage UI < 100ms
- **Pourquoi:** L'utilisateur ne doit jamais sentir que l'IA "travaille"
@@ -248,7 +248,7 @@ Phase 1 respects existing patterns:
**Must-Have Capabilities:**
**1. Intelligent Title Suggestions**
- Déclenchement automatique après 50+ mots sans titre
- Déclenchement automatique après 10+ mots sans titre
- Toast non-intrusive: "J'ai 3 idées de titres pour ta note, les voir?"
- 3 suggestions IA présentées en dropdown
- Options: "Voir" | "Plus tard" | "Ne plus demander"
@@ -383,7 +383,7 @@ Trois mois plus tard:
- **"C'est comme si j'avais un assistant de recherche personnel qui lit tout ce que j'écris"**
**Journey Requirements Revealed:**
- Détection intelligente du moment opportun (50+ mots sans titre)
- Détection intelligente du moment opportun (10+ mots sans titre)
- Recherche sémantique qui comprend l'intention, pas juste les mots
- Memory Echo avec fréquence contrôlable (pas spam)
- Feedback utilisateur pour apprentissage (👍👎)
@@ -734,7 +734,7 @@ Memento introduces a new interaction pattern for AI features: **context-aware ap
**The Pattern:**
**Example 1 - Title Suggestions:**
- **Trigger:** User writes 50+ words without a title
- **Trigger:** User writes 10+ words without a title
- **Appearance:** Subtle toast: "I have 3 title ideas for this note, view them?"
- **Options:** "View" | "Not now" | "Don't ask for this note"
- **Outcome:** Feature discovered naturally, not overwhelming
@@ -1109,7 +1109,7 @@ Memento Phase 1 MVP IA combines two MVP philosophies:
**Core User Journeys Supported:**
**Journey 1: Alex (Primary User - Success Path)**
- Title suggestions when writing 50+ words
- Title suggestions when writing 10+ words
- Semantic search finds notes by meaning
- Memory Echo reveals hidden connections
- Complete workflow: capture → search → discover
@@ -1127,7 +1127,7 @@ Memento Phase 1 MVP IA combines two MVP philosophies:
**Must-Have Capabilities (MVP):**
**1. Intelligent Title Suggestions**
- Déclenchement automatique après 50+ mots sans titre
- Déclenchement automatique après 10+ mots sans titre
- Toast notification non-intrusive avec options "Voir | Plus tard | Ne plus demander"
- 3 suggestions IA générées en < 2s
- Application one-click ou saisie manuelle