feat: статья из Discover, локализация, подсказки

- Статья: заголовок + ссылка (truncate), title в URL, articleTitle в Message
- Локализация Sources, Research Progress, Answer, шагов, formingAnswer
- Подсказки: промпт без жёсткого примера, разнообразие, label 'Что ещё спросить'
- embeddedTranslations, countryToLocale, locale инструкция для LLM

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
home
2026-02-21 00:37:06 +03:00
parent f4d945a2b5
commit 3fa83bc605
68 changed files with 2301 additions and 345 deletions

View File

@@ -16,6 +16,13 @@ const en = {
'common.loading': 'Loading...',
'common.error': 'Error',
'common.retry': 'Retry',
'chat.related': 'Related',
'chat.searchImages': 'Search images',
'chat.searchVideos': 'Search videos',
'chat.video': 'Video',
'chat.uploadedFile': 'Uploaded File',
'chat.viewMore': 'View {count} more',
'chat.sources': 'Sources',
} as const;
const ru = {
@@ -34,6 +41,13 @@ const ru = {
'common.loading': 'Загрузка...',
'common.error': 'Ошибка',
'common.retry': 'Повторить',
'chat.related': 'Похожие',
'chat.searchImages': 'Поиск изображений',
'chat.searchVideos': 'Поиск видео',
'chat.video': 'Видео',
'chat.uploadedFile': 'Загруженный файл',
'chat.viewMore': 'Ещё {count}',
'chat.sources': 'Источники',
} as const;
const de = {
@@ -52,6 +66,13 @@ const de = {
'common.loading': 'Laden...',
'common.error': 'Fehler',
'common.retry': 'Wiederholen',
'chat.related': 'Ähnlich',
'chat.searchImages': 'Bilder suchen',
'chat.searchVideos': 'Videos suchen',
'chat.video': 'Video',
'chat.uploadedFile': 'Hochgeladene Datei',
'chat.viewMore': '{count} weitere',
'chat.sources': 'Quellen',
} as const;
const fr = {
@@ -70,6 +91,13 @@ const fr = {
'common.loading': 'Chargement...',
'common.error': 'Erreur',
'common.retry': 'Réessayer',
'chat.related': 'Similaires',
'chat.searchImages': 'Rechercher des images',
'chat.searchVideos': 'Rechercher des vidéos',
'chat.video': 'Vidéo',
'chat.uploadedFile': 'Fichier téléchargé',
'chat.viewMore': '{count} de plus',
'chat.sources': 'Sources',
} as const;
const es = {
@@ -88,6 +116,13 @@ const es = {
'common.loading': 'Cargando...',
'common.error': 'Error',
'common.retry': 'Reintentar',
'chat.related': 'Relacionado',
'chat.searchImages': 'Buscar imágenes',
'chat.searchVideos': 'Buscar videos',
'chat.video': 'Video',
'chat.uploadedFile': 'Archivo subido',
'chat.viewMore': '{count} más',
'chat.sources': 'Fuentes',
} as const;
const uk = {
@@ -106,6 +141,13 @@ const uk = {
'common.loading': 'Завантаження...',
'common.error': 'Помилка',
'common.retry': 'Повторити',
'chat.related': 'Повʼязані',
'chat.searchImages': 'Пошук зображень',
'chat.searchVideos': 'Пошук відео',
'chat.video': 'Відео',
'chat.uploadedFile': 'Завантажений файл',
'chat.viewMore': 'Ще {count}',
'chat.sources': 'Джерела',
} as const;
export const translations: Record<string, Record<TranslationKeys, string>> = {