diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb index db75c7a..304ab93 100644 --- a/lib/l10n/app_de.arb +++ b/lib/l10n/app_de.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Bitte prüfe:\n• Mikrofonberechtigungen sind erteilt\n• Spracherkennung ist auf deinem Gerät verfügbar\n• Du bist mit dem Server verbunden", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "Mermaid-Vorschau ist auf dieser Plattform nicht verfügbar.", + "chartPreviewUnavailable": "Diagramm-Vorschau ist auf dieser Plattform nicht verfügbar.", + "notes": "Notizen", + "searchNotes": "Notizen suchen...", + "createNote": "Notiz erstellen", + "noNotesYet": "Noch keine Notizen", + "noNotesFound": "Keine Notizen gefunden", + "createFirstNoteHint": "Tippe auf +, um deine erste Notiz zu erstellen.", + "tryDifferentSearch": "Versuche einen anderen Suchbegriff.", + "loadingNotes": "Notizen werden geladen...", + "loadingNote": "Notiz wird geladen...", + "failedToLoadNotes": "Notizen konnten nicht geladen werden", + "deleteNoteTitle": "Notiz löschen", + "deleteNoteMessage": "\"{title}\" löschen? Dies kann nicht rückgängig gemacht werden.", + "noteTitle": "Notiz-Titel", + "writeNote": "Schreibe etwas...", + "noteSaved": "Notiz gespeichert", + "saving": "Speichern...", + "saved": "Gespeichert", + "unsavedChanges": "Ungespeicherte Änderungen", + "noteCopiedToClipboard": "Notiz in Zwischenablage kopiert", + "generateTitle": "Titel generieren", + "generatingTitle": "Titel wird generiert...", + "noContentToGenerateTitle": "Füge zuerst Inhalt hinzu, um einen Titel zu generieren", + "failedToGenerateTitle": "Titel konnte nicht generiert werden", + "noContentToEnhance": "Füge zuerst Inhalt hinzu, um ihn zu verbessern", + "noteEnhanced": "Notiz mit KI verbessert", + "failedToEnhanceNote": "Notiz konnte nicht verbessert werden", + "noModelSelected": "Bitte wähle zuerst ein Modell aus", + "enhanceWithAI": "Mit KI verbessern", + "enhanceNote": "Notiz verbessern", + "startDictation": "Diktat starten", + "stopRecording": "Aufnahme stoppen", + "voiceInputUnavailable": "Spracheingabe nicht verfügbar", + "failedToStartDictation": "Diktat konnte nicht gestartet werden", + "noteNotFound": "Notiz nicht gefunden", + "untitled": "Unbenannt", + "today": "Heute", + "yesterday": "Gestern", + "previous7Days": "Letzte 7 Tage", + "previous30Days": "Letzte 30 Tage", + "older": "Älter", + "tapToExpand": "Tippen zum Erweitern", + "byAuthor": "Von {name}", + "wordCount": "{count} Wörter", + "charCount": "{count} Zeichen" } diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb index 50571ca..de624cd 100644 --- a/lib/l10n/app_en.arb +++ b/lib/l10n/app_en.arb @@ -1786,5 +1786,13 @@ "example": "500" } } + }, + "mermaidPreviewUnavailable": "Mermaid preview is not available on this platform.", + "@mermaidPreviewUnavailable": { + "description": "Shown when Mermaid diagrams cannot be rendered on the current platform." + }, + "chartPreviewUnavailable": "Chart preview is not available on this platform.", + "@chartPreviewUnavailable": { + "description": "Shown when Chart.js charts cannot be rendered on the current platform." } } diff --git a/lib/l10n/app_es.arb b/lib/l10n/app_es.arb index 7250f18..4529b4d 100644 --- a/lib/l10n/app_es.arb +++ b/lib/l10n/app_es.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Comprueba lo siguiente:\n• Los permisos del micrófono están concedidos\n• El reconocimiento de voz está disponible en tu dispositivo\n• Estás conectado al servidor", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "La vista previa de Mermaid no está disponible en esta plataforma.", + "chartPreviewUnavailable": "La vista previa de gráficos no está disponible en esta plataforma.", + "notes": "Notas", + "searchNotes": "Buscar notas...", + "createNote": "Crear nota", + "noNotesYet": "Aún no hay notas", + "noNotesFound": "No se encontraron notas", + "createFirstNoteHint": "Toca + para crear tu primera nota.", + "tryDifferentSearch": "Prueba con otro término de búsqueda.", + "loadingNotes": "Cargando notas...", + "loadingNote": "Cargando nota...", + "failedToLoadNotes": "Error al cargar las notas", + "deleteNoteTitle": "Eliminar nota", + "deleteNoteMessage": "¿Eliminar \"{title}\"? Esta acción no se puede deshacer.", + "noteTitle": "Título de la nota", + "writeNote": "Escribe algo...", + "noteSaved": "Nota guardada", + "saving": "Guardando...", + "saved": "Guardado", + "unsavedChanges": "Cambios sin guardar", + "noteCopiedToClipboard": "Nota copiada al portapapeles", + "generateTitle": "Generar título", + "generatingTitle": "Generando título...", + "noContentToGenerateTitle": "Añade contenido primero para generar un título", + "failedToGenerateTitle": "Error al generar el título", + "noContentToEnhance": "Añade contenido primero para mejorar", + "noteEnhanced": "Nota mejorada con IA", + "failedToEnhanceNote": "Error al mejorar la nota", + "noModelSelected": "Por favor, selecciona un modelo primero", + "enhanceWithAI": "Mejorar con IA", + "enhanceNote": "Mejorar nota", + "startDictation": "Iniciar dictado", + "stopRecording": "Detener grabación", + "voiceInputUnavailable": "Entrada de voz no disponible", + "failedToStartDictation": "Error al iniciar el dictado", + "noteNotFound": "Nota no encontrada", + "untitled": "Sin título", + "today": "Hoy", + "yesterday": "Ayer", + "previous7Days": "Últimos 7 días", + "previous30Days": "Últimos 30 días", + "older": "Más antiguo", + "tapToExpand": "Toca para expandir", + "byAuthor": "Por {name}", + "wordCount": "{count} palabras", + "charCount": "{count} caracteres" } diff --git a/lib/l10n/app_fr.arb b/lib/l10n/app_fr.arb index 58417ee..b5c419c 100644 --- a/lib/l10n/app_fr.arb +++ b/lib/l10n/app_fr.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Veuillez vérifier :\n• Les autorisations du microphone sont accordées\n• La reconnaissance vocale est disponible sur votre appareil\n• Vous êtes connecté au serveur", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "L'aperçu Mermaid n'est pas disponible sur cette plateforme.", + "chartPreviewUnavailable": "L'aperçu des graphiques n'est pas disponible sur cette plateforme.", + "notes": "Notes", + "searchNotes": "Rechercher des notes...", + "createNote": "Créer une note", + "noNotesYet": "Pas encore de notes", + "noNotesFound": "Aucune note trouvée", + "createFirstNoteHint": "Appuyez sur + pour créer votre première note.", + "tryDifferentSearch": "Essayez un autre terme de recherche.", + "loadingNotes": "Chargement des notes...", + "loadingNote": "Chargement de la note...", + "failedToLoadNotes": "Échec du chargement des notes", + "deleteNoteTitle": "Supprimer la note", + "deleteNoteMessage": "Supprimer \"{title}\" ? Cette action est irréversible.", + "noteTitle": "Titre de la note", + "writeNote": "Écrivez quelque chose...", + "noteSaved": "Note enregistrée", + "saving": "Enregistrement...", + "saved": "Enregistré", + "unsavedChanges": "Modifications non enregistrées", + "noteCopiedToClipboard": "Note copiée dans le presse-papiers", + "generateTitle": "Générer un titre", + "generatingTitle": "Génération du titre...", + "noContentToGenerateTitle": "Ajoutez d'abord du contenu pour générer un titre", + "failedToGenerateTitle": "Échec de la génération du titre", + "noContentToEnhance": "Ajoutez d'abord du contenu à améliorer", + "noteEnhanced": "Note améliorée par l'IA", + "failedToEnhanceNote": "Échec de l'amélioration de la note", + "noModelSelected": "Veuillez d'abord sélectionner un modèle", + "enhanceWithAI": "Améliorer avec l'IA", + "enhanceNote": "Améliorer la note", + "startDictation": "Démarrer la dictée", + "stopRecording": "Arrêter l'enregistrement", + "voiceInputUnavailable": "Entrée vocale non disponible", + "failedToStartDictation": "Échec du démarrage de la dictée", + "noteNotFound": "Note introuvable", + "untitled": "Sans titre", + "today": "Aujourd'hui", + "yesterday": "Hier", + "previous7Days": "7 derniers jours", + "previous30Days": "30 derniers jours", + "older": "Plus ancien", + "tapToExpand": "Appuyez pour développer", + "byAuthor": "Par {name}", + "wordCount": "{count} mots", + "charCount": "{count} caractères" } diff --git a/lib/l10n/app_it.arb b/lib/l10n/app_it.arb index 74e0a96..d5f4dd4 100644 --- a/lib/l10n/app_it.arb +++ b/lib/l10n/app_it.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Controlla:\n• Sono state concesse le autorizzazioni del microfono\n• Il riconoscimento vocale è disponibile sul dispositivo\n• Sei connesso al server", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "L'anteprima Mermaid non è disponibile su questa piattaforma.", + "chartPreviewUnavailable": "L'anteprima dei grafici non è disponibile su questa piattaforma.", + "notes": "Note", + "searchNotes": "Cerca note...", + "createNote": "Crea nota", + "noNotesYet": "Nessuna nota ancora", + "noNotesFound": "Nessuna nota trovata", + "createFirstNoteHint": "Tocca + per creare la tua prima nota.", + "tryDifferentSearch": "Prova con un altro termine di ricerca.", + "loadingNotes": "Caricamento note...", + "loadingNote": "Caricamento nota...", + "failedToLoadNotes": "Impossibile caricare le note", + "deleteNoteTitle": "Elimina nota", + "deleteNoteMessage": "Eliminare \"{title}\"? Questa azione non può essere annullata.", + "noteTitle": "Titolo della nota", + "writeNote": "Scrivi qualcosa...", + "noteSaved": "Nota salvata", + "saving": "Salvataggio...", + "saved": "Salvato", + "unsavedChanges": "Modifiche non salvate", + "noteCopiedToClipboard": "Nota copiata negli appunti", + "generateTitle": "Genera titolo", + "generatingTitle": "Generazione titolo...", + "noContentToGenerateTitle": "Aggiungi prima del contenuto per generare un titolo", + "failedToGenerateTitle": "Impossibile generare il titolo", + "noContentToEnhance": "Aggiungi prima del contenuto da migliorare", + "noteEnhanced": "Nota migliorata con IA", + "failedToEnhanceNote": "Impossibile migliorare la nota", + "noModelSelected": "Seleziona prima un modello", + "enhanceWithAI": "Migliora con IA", + "enhanceNote": "Migliora nota", + "startDictation": "Avvia dettatura", + "stopRecording": "Interrompi registrazione", + "voiceInputUnavailable": "Input vocale non disponibile", + "failedToStartDictation": "Impossibile avviare la dettatura", + "noteNotFound": "Nota non trovata", + "untitled": "Senza titolo", + "today": "Oggi", + "yesterday": "Ieri", + "previous7Days": "Ultimi 7 giorni", + "previous30Days": "Ultimi 30 giorni", + "older": "Più vecchio", + "tapToExpand": "Tocca per espandere", + "byAuthor": "Di {name}", + "wordCount": "{count} parole", + "charCount": "{count} caratteri" } diff --git a/lib/l10n/app_ko.arb b/lib/l10n/app_ko.arb index 23950ef..03c6340 100644 --- a/lib/l10n/app_ko.arb +++ b/lib/l10n/app_ko.arb @@ -539,5 +539,51 @@ "transportModePolling": "폴링 폴백", "transportModeWs": "WebSocket 전용", "transportModePollingInfo": "WebSocket이 차단되면 HTTP 폴링으로 폴백합니다. 가능하면 WebSocket으로 업그레이드합니다.", - "transportModeWsInfo": "오버헤드가 낮지만 엄격한 프록시/방화벽 뒤에서 실패할 수 있습니다." + "transportModeWsInfo": "오버헤드가 낮지만 엄격한 프록시/방화벽 뒤에서 실패할 수 있습니다.", + "mermaidPreviewUnavailable": "이 플랫폼에서는 Mermaid 미리보기를 사용할 수 없습니다.", + "chartPreviewUnavailable": "이 플랫폼에서는 차트 미리보기를 사용할 수 없습니다.", + "notes": "노트", + "searchNotes": "노트 검색...", + "createNote": "노트 만들기", + "noNotesYet": "아직 노트가 없습니다", + "noNotesFound": "노트를 찾을 수 없습니다", + "createFirstNoteHint": "+를 탭하여 첫 번째 노트를 만드세요.", + "tryDifferentSearch": "다른 검색어를 시도해 보세요.", + "loadingNotes": "노트 불러오는 중...", + "loadingNote": "노트 불러오는 중...", + "failedToLoadNotes": "노트를 불러올 수 없습니다", + "deleteNoteTitle": "노트 삭제", + "deleteNoteMessage": "\"{title}\"을(를) 삭제하시겠습니까? 이 작업은 취소할 수 없습니다.", + "noteTitle": "노트 제목", + "writeNote": "무언가 작성하세요...", + "noteSaved": "노트 저장됨", + "saving": "저장 중...", + "saved": "저장됨", + "unsavedChanges": "저장되지 않은 변경사항", + "noteCopiedToClipboard": "노트가 클립보드에 복사됨", + "generateTitle": "제목 생성", + "generatingTitle": "제목 생성 중...", + "noContentToGenerateTitle": "제목을 생성하려면 먼저 내용을 추가하세요", + "failedToGenerateTitle": "제목 생성 실패", + "noContentToEnhance": "개선하려면 먼저 내용을 추가하세요", + "noteEnhanced": "AI로 노트 개선됨", + "failedToEnhanceNote": "노트 개선 실패", + "noModelSelected": "먼저 모델을 선택하세요", + "enhanceWithAI": "AI로 개선", + "enhanceNote": "노트 개선", + "startDictation": "받아쓰기 시작", + "stopRecording": "녹음 중지", + "voiceInputUnavailable": "음성 입력을 사용할 수 없습니다", + "failedToStartDictation": "받아쓰기 시작 실패", + "noteNotFound": "노트를 찾을 수 없습니다", + "untitled": "제목 없음", + "today": "오늘", + "yesterday": "어제", + "previous7Days": "지난 7일", + "previous30Days": "지난 30일", + "older": "이전", + "tapToExpand": "탭하여 확장", + "byAuthor": "{name} 작성", + "wordCount": "{count}단어", + "charCount": "{count}자" } diff --git a/lib/l10n/app_nl.arb b/lib/l10n/app_nl.arb index 43e6400..f2b1704 100644 --- a/lib/l10n/app_nl.arb +++ b/lib/l10n/app_nl.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Controleer het volgende:\n• Microfoonmachtigingen zijn toegestaan\n• Spraakherkenning is beschikbaar op je apparaat\n• Je bent verbonden met de server", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "Mermaid-voorbeeld is niet beschikbaar op dit platform.", + "chartPreviewUnavailable": "Grafiekvoorbeeld is niet beschikbaar op dit platform.", + "notes": "Notities", + "searchNotes": "Notities zoeken...", + "createNote": "Notitie maken", + "noNotesYet": "Nog geen notities", + "noNotesFound": "Geen notities gevonden", + "createFirstNoteHint": "Tik op + om je eerste notitie te maken.", + "tryDifferentSearch": "Probeer een andere zoekterm.", + "loadingNotes": "Notities laden...", + "loadingNote": "Notitie laden...", + "failedToLoadNotes": "Notities laden mislukt", + "deleteNoteTitle": "Notitie verwijderen", + "deleteNoteMessage": "\"{title}\" verwijderen? Dit kan niet ongedaan worden gemaakt.", + "noteTitle": "Notitietitel", + "writeNote": "Schrijf iets...", + "noteSaved": "Notitie opgeslagen", + "saving": "Opslaan...", + "saved": "Opgeslagen", + "unsavedChanges": "Niet-opgeslagen wijzigingen", + "noteCopiedToClipboard": "Notitie gekopieerd naar klembord", + "generateTitle": "Titel genereren", + "generatingTitle": "Titel genereren...", + "noContentToGenerateTitle": "Voeg eerst inhoud toe om een titel te genereren", + "failedToGenerateTitle": "Titel genereren mislukt", + "noContentToEnhance": "Voeg eerst inhoud toe om te verbeteren", + "noteEnhanced": "Notitie verbeterd met AI", + "failedToEnhanceNote": "Notitie verbeteren mislukt", + "noModelSelected": "Selecteer eerst een model", + "enhanceWithAI": "Verbeteren met AI", + "enhanceNote": "Notitie verbeteren", + "startDictation": "Dicteren starten", + "stopRecording": "Opname stoppen", + "voiceInputUnavailable": "Spraakinvoer niet beschikbaar", + "failedToStartDictation": "Dicteren starten mislukt", + "noteNotFound": "Notitie niet gevonden", + "untitled": "Naamloos", + "today": "Vandaag", + "yesterday": "Gisteren", + "previous7Days": "Afgelopen 7 dagen", + "previous30Days": "Afgelopen 30 dagen", + "older": "Ouder", + "tapToExpand": "Tik om uit te vouwen", + "byAuthor": "Door {name}", + "wordCount": "{count} woorden", + "charCount": "{count} tekens" } diff --git a/lib/l10n/app_ru.arb b/lib/l10n/app_ru.arb index a6d53b6..90ee837 100644 --- a/lib/l10n/app_ru.arb +++ b/lib/l10n/app_ru.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "Проверьте:\n• Разрешение на микрофон предоставлено\n• Распознавание речи доступно на устройстве\n• Есть подключение к серверу", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "Предпросмотр Mermaid недоступен на этой платформе.", + "chartPreviewUnavailable": "Предпросмотр диаграмм недоступен на этой платформе.", + "notes": "Заметки", + "searchNotes": "Поиск заметок...", + "createNote": "Создать заметку", + "noNotesYet": "Заметок пока нет", + "noNotesFound": "Заметки не найдены", + "createFirstNoteHint": "Нажмите +, чтобы создать первую заметку.", + "tryDifferentSearch": "Попробуйте другой поисковый запрос.", + "loadingNotes": "Загрузка заметок...", + "loadingNote": "Загрузка заметки...", + "failedToLoadNotes": "Не удалось загрузить заметки", + "deleteNoteTitle": "Удалить заметку", + "deleteNoteMessage": "Удалить \"{title}\"? Это действие нельзя отменить.", + "noteTitle": "Название заметки", + "writeNote": "Напишите что-нибудь...", + "noteSaved": "Заметка сохранена", + "saving": "Сохранение...", + "saved": "Сохранено", + "unsavedChanges": "Несохранённые изменения", + "noteCopiedToClipboard": "Заметка скопирована в буфер обмена", + "generateTitle": "Сгенерировать название", + "generatingTitle": "Генерация названия...", + "noContentToGenerateTitle": "Сначала добавьте содержимое для генерации названия", + "failedToGenerateTitle": "Не удалось сгенерировать название", + "noContentToEnhance": "Сначала добавьте содержимое для улучшения", + "noteEnhanced": "Заметка улучшена с помощью ИИ", + "failedToEnhanceNote": "Не удалось улучшить заметку", + "noModelSelected": "Сначала выберите модель", + "enhanceWithAI": "Улучшить с помощью ИИ", + "enhanceNote": "Улучшить заметку", + "startDictation": "Начать диктовку", + "stopRecording": "Остановить запись", + "voiceInputUnavailable": "Голосовой ввод недоступен", + "failedToStartDictation": "Не удалось начать диктовку", + "noteNotFound": "Заметка не найдена", + "untitled": "Без названия", + "today": "Сегодня", + "yesterday": "Вчера", + "previous7Days": "Последние 7 дней", + "previous30Days": "Последние 30 дней", + "older": "Старше", + "tapToExpand": "Нажмите для раскрытия", + "byAuthor": "Автор: {name}", + "wordCount": "{count} слов", + "charCount": "{count} символов" } diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb index a52145a..91da20f 100644 --- a/lib/l10n/app_zh.arb +++ b/lib/l10n/app_zh.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "请检查:\n• 已授予麦克风权限\n• 设备支持语音识别\n• 已连接到服务器", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "此平台不支持 Mermaid 预览。", + "chartPreviewUnavailable": "此平台不支持图表预览。", + "notes": "笔记", + "searchNotes": "搜索笔记...", + "createNote": "创建笔记", + "noNotesYet": "暂无笔记", + "noNotesFound": "未找到笔记", + "createFirstNoteHint": "点击 + 创建您的第一条笔记。", + "tryDifferentSearch": "尝试其他搜索词。", + "loadingNotes": "正在加载笔记...", + "loadingNote": "正在加载笔记...", + "failedToLoadNotes": "加载笔记失败", + "deleteNoteTitle": "删除笔记", + "deleteNoteMessage": "删除「{title}」?此操作无法撤消。", + "noteTitle": "笔记标题", + "writeNote": "写点什么...", + "noteSaved": "笔记已保存", + "saving": "保存中...", + "saved": "已保存", + "unsavedChanges": "未保存的更改", + "noteCopiedToClipboard": "笔记已复制到剪贴板", + "generateTitle": "生成标题", + "generatingTitle": "正在生成标题...", + "noContentToGenerateTitle": "请先添加内容以生成标题", + "failedToGenerateTitle": "生成标题失败", + "noContentToEnhance": "请先添加内容以进行增强", + "noteEnhanced": "笔记已通过 AI 增强", + "failedToEnhanceNote": "增强笔记失败", + "noModelSelected": "请先选择一个模型", + "enhanceWithAI": "使用 AI 增强", + "enhanceNote": "增强笔记", + "startDictation": "开始听写", + "stopRecording": "停止录音", + "voiceInputUnavailable": "语音输入不可用", + "failedToStartDictation": "启动听写失败", + "noteNotFound": "未找到笔记", + "untitled": "无标题", + "today": "今天", + "yesterday": "昨天", + "previous7Days": "过去 7 天", + "previous30Days": "过去 30 天", + "older": "更早", + "tapToExpand": "点击展开", + "byAuthor": "作者:{name}", + "wordCount": "{count} 字", + "charCount": "{count} 字符" } diff --git a/lib/l10n/app_zh_Hant.arb b/lib/l10n/app_zh_Hant.arb index 7cb513f..31da857 100644 --- a/lib/l10n/app_zh_Hant.arb +++ b/lib/l10n/app_zh_Hant.arb @@ -761,5 +761,51 @@ "voiceCallErrorHelp": "請檢查:\n• 已授予麥克風權限\n• 設備支持語音識別\n• 已連接到服務器", "@voiceCallErrorHelp": { "description": "Guidance shown when the voice call encounters an error." - } + }, + "mermaidPreviewUnavailable": "此平台不支援 Mermaid 預覽。", + "chartPreviewUnavailable": "此平台不支援圖表預覽。", + "notes": "筆記", + "searchNotes": "搜尋筆記...", + "createNote": "建立筆記", + "noNotesYet": "尚無筆記", + "noNotesFound": "找不到筆記", + "createFirstNoteHint": "點擊 + 建立您的第一則筆記。", + "tryDifferentSearch": "嘗試其他搜尋詞。", + "loadingNotes": "正在載入筆記...", + "loadingNote": "正在載入筆記...", + "failedToLoadNotes": "載入筆記失敗", + "deleteNoteTitle": "刪除筆記", + "deleteNoteMessage": "刪除「{title}」?此操作無法復原。", + "noteTitle": "筆記標題", + "writeNote": "寫點什麼...", + "noteSaved": "筆記已儲存", + "saving": "儲存中...", + "saved": "已儲存", + "unsavedChanges": "未儲存的變更", + "noteCopiedToClipboard": "筆記已複製到剪貼簿", + "generateTitle": "產生標題", + "generatingTitle": "正在產生標題...", + "noContentToGenerateTitle": "請先新增內容以產生標題", + "failedToGenerateTitle": "產生標題失敗", + "noContentToEnhance": "請先新增內容以進行增強", + "noteEnhanced": "筆記已透過 AI 增強", + "failedToEnhanceNote": "增強筆記失敗", + "noModelSelected": "請先選擇一個模型", + "enhanceWithAI": "使用 AI 增強", + "enhanceNote": "增強筆記", + "startDictation": "開始聽寫", + "stopRecording": "停止錄音", + "voiceInputUnavailable": "語音輸入不可用", + "failedToStartDictation": "啟動聽寫失敗", + "noteNotFound": "找不到筆記", + "untitled": "無標題", + "today": "今天", + "yesterday": "昨天", + "previous7Days": "過去 7 天", + "previous30Days": "過去 30 天", + "older": "更早", + "tapToExpand": "點擊展開", + "byAuthor": "作者:{name}", + "wordCount": "{count} 字", + "charCount": "{count} 字元" } diff --git a/lib/shared/widgets/markdown/markdown_config.dart b/lib/shared/widgets/markdown/markdown_config.dart index 284db71..dae9069 100644 --- a/lib/shared/widgets/markdown/markdown_config.dart +++ b/lib/shared/widgets/markdown/markdown_config.dart @@ -226,6 +226,7 @@ class ConduitMarkdown { required ConduitThemeExtension conduitTheme, required String code, }) { + final l10n = AppLocalizations.of(context); final textStyle = AppTypography.bodySmallStyle.copyWith( color: conduitTheme.codeText.withValues(alpha: 0.7), ); @@ -246,7 +247,8 @@ class ConduitMarkdown { mainAxisSize: MainAxisSize.min, children: [ Text( - 'Mermaid preview is not available on this platform.', + l10n?.mermaidPreviewUnavailable ?? + 'Mermaid preview is not available on this platform.', style: textStyle, ), const SizedBox(height: Spacing.xs), @@ -324,6 +326,7 @@ class ConduitMarkdown { required BuildContext context, required ConduitThemeExtension conduitTheme, }) { + final l10n = AppLocalizations.of(context); final textStyle = AppTypography.bodySmallStyle.copyWith( color: conduitTheme.codeText.withValues(alpha: 0.7), ); @@ -340,7 +343,8 @@ class ConduitMarkdown { ), ), child: Text( - 'Chart preview is not available on this platform.', + l10n?.chartPreviewUnavailable ?? + 'Chart preview is not available on this platform.', style: textStyle, ), );