@djangocfg/ext-knowbase 1.0.25 → 1.0.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const de: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Wissensassistent',
6
+ titleShort: 'Support',
7
+ placeholder: 'Fragen Sie mich alles...',
8
+ enterToSend: 'Enter zum Senden, Shift+Enter für neue Zeile',
9
+ thinking: 'Denke nach...',
10
+ source: 'Quelle {index}',
11
+ startConversation: 'Gespräch beginnen',
12
+ startConversationDescription: 'Fragen Sie mich alles über die Dokumentation, Funktionen oder erhalten Sie Hilfe für Ihr Projekt.',
13
+ openChat: 'Support-Chat öffnen',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Chat-Sitzungen',
18
+ description: 'Chatverlauf anzeigen und verwalten',
19
+ noSessions: 'Noch keine Sitzungen',
20
+ noSessionsDescription: 'Beginnen Sie ein neues Gespräch, um Ihre erste Sitzung zu erstellen.',
21
+ untitled: 'Unbenannte Sitzung',
22
+ active: 'Aktiv',
23
+ archive: 'Archiv',
24
+ delete: 'Löschen',
25
+ loadingMore: 'Lade mehr...',
26
+ noMore: 'Keine weiteren Sitzungen',
27
+ newChat: 'Neuer Chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sitzungen',
32
+ collapse: 'Einklappen',
33
+ expand: 'Ausklappen',
34
+ close: 'Schließen',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const es: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Asistente de conocimiento',
6
+ titleShort: 'Soporte',
7
+ placeholder: 'Pregúntame lo que quieras...',
8
+ enterToSend: 'Presiona Enter para enviar, Shift+Enter para nueva línea',
9
+ thinking: 'Pensando...',
10
+ source: 'Fuente {index}',
11
+ startConversation: 'Iniciar conversación',
12
+ startConversationDescription: 'Pregúntame sobre la documentación, funcionalidades u obtén ayuda con tu proyecto.',
13
+ openChat: 'Abrir chat de soporte',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sesiones de chat',
18
+ description: 'Ver y gestionar tu historial de chat',
19
+ noSessions: 'Sin sesiones',
20
+ noSessionsDescription: 'Inicia una nueva conversación para crear tu primera sesión.',
21
+ untitled: 'Sesión sin título',
22
+ active: 'Activa',
23
+ archive: 'Archivar',
24
+ delete: 'Eliminar',
25
+ loadingMore: 'Cargando más...',
26
+ noMore: 'No hay más sesiones',
27
+ newChat: 'Nuevo chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sesiones',
32
+ collapse: 'Contraer',
33
+ expand: 'Expandir',
34
+ close: 'Cerrar',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const fr: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Assistant de connaissances',
6
+ titleShort: 'Support',
7
+ placeholder: 'Posez-moi une question...',
8
+ enterToSend: 'Appuyez sur Entrée pour envoyer, Shift+Entrée pour nouvelle ligne',
9
+ thinking: 'Réflexion...',
10
+ source: 'Source {index}',
11
+ startConversation: 'Démarrer une conversation',
12
+ startConversationDescription: 'Posez-moi des questions sur la documentation, les fonctionnalités ou obtenez de l\'aide pour votre projet.',
13
+ openChat: 'Ouvrir le chat support',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sessions de chat',
18
+ description: 'Afficher et gérer votre historique de chat',
19
+ noSessions: 'Aucune session',
20
+ noSessionsDescription: 'Commencez une nouvelle conversation pour créer votre première session.',
21
+ untitled: 'Session sans titre',
22
+ active: 'Active',
23
+ archive: 'Archiver',
24
+ delete: 'Supprimer',
25
+ loadingMore: 'Chargement...',
26
+ noMore: 'Plus de sessions',
27
+ newChat: 'Nouveau chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sessions',
32
+ collapse: 'Réduire',
33
+ expand: 'Développer',
34
+ close: 'Fermer',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const it: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Assistente della conoscenza',
6
+ titleShort: 'Supporto',
7
+ placeholder: 'Chiedimi qualsiasi cosa...',
8
+ enterToSend: 'Premi Invio per inviare, Shift+Invio per nuova riga',
9
+ thinking: 'Sto pensando...',
10
+ source: 'Fonte {index}',
11
+ startConversation: 'Inizia una conversazione',
12
+ startConversationDescription: 'Chiedimi qualsiasi cosa sulla documentazione, le funzionalità o ottieni aiuto per il tuo progetto.',
13
+ openChat: 'Apri chat supporto',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sessioni chat',
18
+ description: 'Visualizza e gestisci la cronologia chat',
19
+ noSessions: 'Nessuna sessione',
20
+ noSessionsDescription: 'Inizia una nuova conversazione per creare la tua prima sessione.',
21
+ untitled: 'Sessione senza titolo',
22
+ active: 'Attiva',
23
+ archive: 'Archivia',
24
+ delete: 'Elimina',
25
+ loadingMore: 'Caricamento...',
26
+ noMore: 'Nessun\'altra sessione',
27
+ newChat: 'Nuova chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sessioni',
32
+ collapse: 'Comprimi',
33
+ expand: 'Espandi',
34
+ close: 'Chiudi',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const ja: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'ナレッジアシスタント',
6
+ titleShort: 'サポート',
7
+ placeholder: '何でも質問してください...',
8
+ enterToSend: 'Enterで送信、Shift+Enterで改行',
9
+ thinking: '考え中...',
10
+ source: 'ソース {index}',
11
+ startConversation: '会話を始める',
12
+ startConversationDescription: 'ドキュメント、機能について、またはプロジェクトのヘルプについて何でも質問してください。',
13
+ openChat: 'サポートチャットを開く',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'チャットセッション',
18
+ description: 'チャット履歴の表示と管理',
19
+ noSessions: 'セッションはありません',
20
+ noSessionsDescription: '新しい会話を始めて最初のセッションを作成してください。',
21
+ untitled: '無題のセッション',
22
+ active: 'アクティブ',
23
+ archive: 'アーカイブ',
24
+ delete: '削除',
25
+ loadingMore: '読み込み中...',
26
+ noMore: 'セッションはこれ以上ありません',
27
+ newChat: '新規チャット',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'セッション',
32
+ collapse: '折りたたむ',
33
+ expand: '展開',
34
+ close: '閉じる',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const nl: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Kennisassistent',
6
+ titleShort: 'Support',
7
+ placeholder: 'Vraag me alles...',
8
+ enterToSend: 'Druk op Enter om te verzenden, Shift+Enter voor nieuwe regel',
9
+ thinking: 'Aan het nadenken...',
10
+ source: 'Bron {index}',
11
+ startConversation: 'Start een gesprek',
12
+ startConversationDescription: 'Vraag me alles over de documentatie, functies of krijg hulp bij uw project.',
13
+ openChat: 'Open support chat',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Chatsessies',
18
+ description: 'Bekijk en beheer uw chatgeschiedenis',
19
+ noSessions: 'Nog geen sessies',
20
+ noSessionsDescription: 'Start een nieuw gesprek om uw eerste sessie te maken.',
21
+ untitled: 'Naamloze sessie',
22
+ active: 'Actief',
23
+ archive: 'Archief',
24
+ delete: 'Verwijderen',
25
+ loadingMore: 'Meer laden...',
26
+ noMore: 'Geen sessies meer',
27
+ newChat: 'Nieuwe chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sessies',
32
+ collapse: 'Inklappen',
33
+ expand: 'Uitklappen',
34
+ close: 'Sluiten',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const no: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Kunnskapsassistent',
6
+ titleShort: 'Støtte',
7
+ placeholder: 'Spør meg om hva som helst...',
8
+ enterToSend: 'Trykk Enter for å sende, Shift+Enter for ny linje',
9
+ thinking: 'Tenker...',
10
+ source: 'Kilde {index}',
11
+ startConversation: 'Start en samtale',
12
+ startConversationDescription: 'Spør meg om dokumentasjonen, funksjoner eller få hjelp med prosjektet ditt.',
13
+ openChat: 'Åpne supportchat',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Chatøkter',
18
+ description: 'Vis og administrer chathistorikken din',
19
+ noSessions: 'Ingen økter ennå',
20
+ noSessionsDescription: 'Start en ny samtale for å opprette din første økt.',
21
+ untitled: 'Navnløs økt',
22
+ active: 'Aktiv',
23
+ archive: 'Arkiv',
24
+ delete: 'Slett',
25
+ loadingMore: 'Laster flere...',
26
+ noMore: 'Ingen flere økter',
27
+ newChat: 'Ny chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Økter',
32
+ collapse: 'Skjul',
33
+ expand: 'Utvid',
34
+ close: 'Lukk',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const pl: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Asystent wiedzy',
6
+ titleShort: 'Wsparcie',
7
+ placeholder: 'Zapytaj mnie o cokolwiek...',
8
+ enterToSend: 'Naciśnij Enter, aby wysłać, Shift+Enter dla nowej linii',
9
+ thinking: 'Myślę...',
10
+ source: 'Źródło {index}',
11
+ startConversation: 'Rozpocznij rozmowę',
12
+ startConversationDescription: 'Zapytaj mnie o dokumentację, funkcje lub uzyskaj pomoc z projektem.',
13
+ openChat: 'Otwórz czat wsparcia',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sesje czatu',
18
+ description: 'Przeglądaj i zarządzaj historią czatu',
19
+ noSessions: 'Brak sesji',
20
+ noSessionsDescription: 'Rozpocznij nową rozmowę, aby utworzyć pierwszą sesję.',
21
+ untitled: 'Sesja bez tytułu',
22
+ active: 'Aktywna',
23
+ archive: 'Archiwizuj',
24
+ delete: 'Usuń',
25
+ loadingMore: 'Ładowanie...',
26
+ noMore: 'Brak więcej sesji',
27
+ newChat: 'Nowy czat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sesje',
32
+ collapse: 'Zwiń',
33
+ expand: 'Rozwiń',
34
+ close: 'Zamknij',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const ptBR: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Assistente de Conhecimento',
6
+ titleShort: 'Suporte',
7
+ placeholder: 'Pergunte-me qualquer coisa...',
8
+ enterToSend: 'Pressione Enter para enviar, Shift+Enter para nova linha',
9
+ thinking: 'Pensando...',
10
+ source: 'Fonte {index}',
11
+ startConversation: 'Iniciar Conversa',
12
+ startConversationDescription: 'Pergunte-me sobre a documentação, recursos ou obtenha ajuda com seu projeto.',
13
+ openChat: 'Abrir Chat de Suporte',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sessões de Chat',
18
+ description: 'Visualize e gerencie seu histórico de chat',
19
+ noSessions: 'Nenhuma Sessão Ainda',
20
+ noSessionsDescription: 'Inicie uma nova conversa para criar sua primeira sessão.',
21
+ untitled: 'Sessão sem Título',
22
+ active: 'Ativa',
23
+ archive: 'Arquivar',
24
+ delete: 'Excluir',
25
+ loadingMore: 'Carregando mais...',
26
+ noMore: 'Não há mais sessões',
27
+ newChat: 'Novo Chat',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sessões',
32
+ collapse: 'Recolher',
33
+ expand: 'Expandir',
34
+ close: 'Fechar',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const sv: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Kunskapsassistent',
6
+ titleShort: 'Support',
7
+ placeholder: 'Fråga mig vad som helst...',
8
+ enterToSend: 'Tryck Enter för att skicka, Shift+Enter för ny rad',
9
+ thinking: 'Tänker...',
10
+ source: 'Källa {index}',
11
+ startConversation: 'Starta en konversation',
12
+ startConversationDescription: 'Fråga mig om dokumentationen, funktioner eller få hjälp med ditt projekt.',
13
+ openChat: 'Öppna supportchatt',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Chattsessioner',
18
+ description: 'Visa och hantera din chatthistorik',
19
+ noSessions: 'Inga sessioner ännu',
20
+ noSessionsDescription: 'Starta en ny konversation för att skapa din första session.',
21
+ untitled: 'Namnlös session',
22
+ active: 'Aktiv',
23
+ archive: 'Arkiv',
24
+ delete: 'Ta bort',
25
+ loadingMore: 'Laddar fler...',
26
+ noMore: 'Inga fler sessioner',
27
+ newChat: 'Ny chatt',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Sessioner',
32
+ collapse: 'Fäll ihop',
33
+ expand: 'Expandera',
34
+ close: 'Stäng',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const tr: KnowbaseTranslations = {
4
+ chat: {
5
+ title: 'Bilgi Asistanı',
6
+ titleShort: 'Destek',
7
+ placeholder: 'Bana bir şey sorun...',
8
+ enterToSend: 'Göndermek için Enter, yeni satır için Shift+Enter',
9
+ thinking: 'Düşünüyor...',
10
+ source: 'Kaynak {index}',
11
+ startConversation: 'Sohbet Başlat',
12
+ startConversationDescription: 'Dokümantasyon, özellikler hakkında soru sorun veya projeniz için yardım alın.',
13
+ openChat: 'Destek Sohbetini Aç',
14
+ },
15
+
16
+ sessions: {
17
+ title: 'Sohbet Oturumları',
18
+ description: 'Sohbet geçmişinizi görüntüleyin ve yönetin',
19
+ noSessions: 'Henüz oturum yok',
20
+ noSessionsDescription: 'İlk oturumunuzu oluşturmak için yeni bir sohbet başlatın.',
21
+ untitled: 'Adsız Oturum',
22
+ active: 'Aktif',
23
+ archive: 'Arşivle',
24
+ delete: 'Sil',
25
+ loadingMore: 'Daha fazla yükleniyor...',
26
+ noMore: 'Başka oturum yok',
27
+ newChat: 'Yeni Sohbet',
28
+ },
29
+
30
+ actions: {
31
+ sessions: 'Oturumlar',
32
+ collapse: 'Daralt',
33
+ expand: 'Genişlet',
34
+ close: 'Kapat',
35
+ },
36
+ };
@@ -0,0 +1,36 @@
1
+ import type { KnowbaseTranslations } from '../types';
2
+
3
+ export const zh: KnowbaseTranslations = {
4
+ chat: {
5
+ title: '知识助手',
6
+ titleShort: '支持',
7
+ placeholder: '有什么问题请问我...',
8
+ enterToSend: '按Enter发送,Shift+Enter换行',
9
+ thinking: '思考中...',
10
+ source: '来源 {index}',
11
+ startConversation: '开始对话',
12
+ startConversationDescription: '向我询问关于文档、功能的任何问题,或获取项目帮助。',
13
+ openChat: '打开支持聊天',
14
+ },
15
+
16
+ sessions: {
17
+ title: '聊天会话',
18
+ description: '查看和管理您的聊天记录',
19
+ noSessions: '暂无会话',
20
+ noSessionsDescription: '开始新对话以创建您的第一个会话。',
21
+ untitled: '未命名会话',
22
+ active: '活跃',
23
+ archive: '归档',
24
+ delete: '删除',
25
+ loadingMore: '加载更多...',
26
+ noMore: '没有更多会话',
27
+ newChat: '新建聊天',
28
+ },
29
+
30
+ actions: {
31
+ sessions: '会话',
32
+ collapse: '收起',
33
+ expand: '展开',
34
+ close: '关闭',
35
+ },
36
+ };
@@ -12,9 +12,23 @@ import { useCallback, useMemo } from 'react';
12
12
  import { en } from './locales/en';
13
13
  import { ko } from './locales/ko';
14
14
  import { ru } from './locales/ru';
15
+ import { ja } from './locales/ja';
16
+ import { de } from './locales/de';
17
+ import { fr } from './locales/fr';
18
+ import { zh } from './locales/zh';
19
+ import { it } from './locales/it';
20
+ import { es } from './locales/es';
21
+ import { nl } from './locales/nl';
22
+ import { ar } from './locales/ar';
23
+ import { tr } from './locales/tr';
24
+ import { ptBR } from './locales/pt-BR';
25
+ import { pl } from './locales/pl';
26
+ import { sv } from './locales/sv';
27
+ import { no } from './locales/no';
28
+ import { da } from './locales/da';
15
29
 
16
30
  import type { KnowbaseTranslations, KnowbaseLocalKeys } from './types';
17
- const translations: Record<string, KnowbaseTranslations> = { en, ru, ko };
31
+ const translations: Record<string, KnowbaseTranslations> = { en, ru, ko, ja, de, fr, zh, it, es, nl, ar, tr, 'pt-BR': ptBR, pl, sv, no, da };
18
32
 
19
33
  /**
20
34
  * Get nested value from object by dot-notation path