@red-hat-developer-hub/backstage-plugin-lightspeed 1.0.3 → 1.1.0
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.
- package/CHANGELOG.md +36 -0
- package/README.md +1 -0
- package/dist/alpha.d.ts +38 -7
- package/dist/api/LightspeedApiClient.esm.js +19 -0
- package/dist/api/LightspeedApiClient.esm.js.map +1 -1
- package/dist/api/api.esm.js.map +1 -1
- package/dist/components/DeleteModal.esm.js +86 -10
- package/dist/components/DeleteModal.esm.js.map +1 -1
- package/dist/components/LightSpeedChat.esm.js +146 -56
- package/dist/components/LightSpeedChat.esm.js.map +1 -1
- package/dist/components/LightspeedChatBox.esm.js +4 -0
- package/dist/components/LightspeedChatBox.esm.js.map +1 -1
- package/dist/components/LightspeedChatBoxHeader.esm.js +88 -23
- package/dist/components/LightspeedChatBoxHeader.esm.js.map +1 -1
- package/dist/components/PermissionRequiredState.esm.js +2 -1
- package/dist/components/PermissionRequiredState.esm.js.map +1 -1
- package/dist/components/RenameConversationModal.esm.js +139 -0
- package/dist/components/RenameConversationModal.esm.js.map +1 -0
- package/dist/hooks/useLightspeedUpdatePermission.esm.js +12 -0
- package/dist/hooks/useLightspeedUpdatePermission.esm.js.map +1 -0
- package/dist/hooks/useRenameConversation.esm.js +44 -0
- package/dist/hooks/useRenameConversation.esm.js.map +1 -0
- package/dist/translations/de.esm.js +40 -8
- package/dist/translations/de.esm.js.map +1 -1
- package/dist/translations/es.esm.js +40 -8
- package/dist/translations/es.esm.js.map +1 -1
- package/dist/translations/fr.esm.js +40 -8
- package/dist/translations/fr.esm.js.map +1 -1
- package/dist/translations/ref.esm.js +40 -8
- package/dist/translations/ref.esm.js.map +1 -1
- package/dist/utils/lightspeed-chatbox-utils.esm.js +24 -45
- package/dist/utils/lightspeed-chatbox-utils.esm.js.map +1 -1
- package/package.json +11 -12
|
@@ -34,9 +34,13 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
34
34
|
"prompts.rhdh.title": "Comenzar con Red Hat Developer Hub",
|
|
35
35
|
"prompts.rhdh.message": "\xBFPuedes guiarme a trav\xE9s de los primeros pasos para comenzar a usar Developer Hub como desarrollador, como explorar el Cat\xE1logo de Software y agregar mi servicio?",
|
|
36
36
|
// Conversation history
|
|
37
|
-
"conversation.
|
|
38
|
-
"conversation.
|
|
39
|
-
"conversation.
|
|
37
|
+
"conversation.delete.confirm.title": "\xBFEliminar chat?",
|
|
38
|
+
"conversation.delete.confirm.message": "Ya no ver\xE1s este chat aqu\xED. Esto tambi\xE9n eliminar\xE1 la actividad relacionada como prompts, respuestas y comentarios de tu Actividad de Lightspeed.",
|
|
39
|
+
"conversation.delete.confirm.action": "Eliminar",
|
|
40
|
+
"conversation.rename.confirm.title": "\xBFRenombrar chat?",
|
|
41
|
+
"conversation.rename.confirm.action": "Renombrar",
|
|
42
|
+
"conversation.rename.placeholder": "Nombre del chat",
|
|
43
|
+
"conversation.action.error": "Error ocurrido: {{error}}",
|
|
40
44
|
// Permissions
|
|
41
45
|
"permission.required.title": "Permisos faltantes",
|
|
42
46
|
"permission.required.description": "Para ver el plugin de lightspeed, contacta a tu administrador para que te d\xE9 los permisos <b>lightspeed.chat.read</b> y <b>lightspeed.chat.create</b>.",
|
|
@@ -52,11 +56,19 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
52
56
|
"footer.accuracy.popover.link.label": "Aprende m\xE1s",
|
|
53
57
|
// Common actions
|
|
54
58
|
"common.cancel": "Cancelar",
|
|
59
|
+
"common.close": "Cerrar",
|
|
60
|
+
"common.readMore": "Leer m\xE1s",
|
|
61
|
+
"common.noSearchResults": "Ning\xFAn resultado coincide con la b\xFAsqueda",
|
|
55
62
|
// Menu items
|
|
56
63
|
"menu.newConversation": "Nuevo Chat",
|
|
57
64
|
// Chat-specific UI elements
|
|
58
65
|
"chatbox.header.title": "Developer Lightspeed",
|
|
59
|
-
"chatbox.search.placeholder": "Buscar
|
|
66
|
+
"chatbox.search.placeholder": "Buscar",
|
|
67
|
+
"chatbox.provider.other": "Otro",
|
|
68
|
+
"chatbox.emptyState.noPinnedChats": "No hay chats fijados",
|
|
69
|
+
"chatbox.emptyState.noRecentChats": "No hay chats recientes",
|
|
70
|
+
"chatbox.emptyState.noResults.title": "No se encontraron resultados",
|
|
71
|
+
"chatbox.emptyState.noResults.body": "Ajusta tu consulta de b\xFAsqueda e int\xE9ntalo de nuevo. Verifica tu ortograf\xEDa o prueba un t\xE9rmino m\xE1s general.",
|
|
60
72
|
"chatbox.welcome.greeting": "Hola, {{userName}}",
|
|
61
73
|
"chatbox.welcome.description": "\xBFC\xF3mo puedo ayudarte hoy?",
|
|
62
74
|
"chatbox.message.placeholder": "Env\xEDa un mensaje y opcionalmente sube un archivo JSON, YAML, o TXT...",
|
|
@@ -65,6 +77,15 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
65
77
|
// Accessibility and ARIA labels
|
|
66
78
|
"aria.chatbotSelector": "Selector de chatbot",
|
|
67
79
|
"aria.important": "Importante",
|
|
80
|
+
"aria.chatHistoryMenu": "Men\xFA de historial de chat",
|
|
81
|
+
"aria.closeDrawerPanel": "Cerrar panel lateral",
|
|
82
|
+
"aria.search.placeholder": "Buscar",
|
|
83
|
+
"aria.searchPreviousConversations": "Buscar chats anteriores",
|
|
84
|
+
"aria.resize": "Redimensionar",
|
|
85
|
+
"aria.options.label": "Opciones",
|
|
86
|
+
"aria.scroll.down": "Volver abajo",
|
|
87
|
+
"aria.scroll.up": "Volver arriba",
|
|
88
|
+
"aria.settings.label": "Opciones del chatbot",
|
|
68
89
|
// Modal actions
|
|
69
90
|
"modal.edit": "Editar",
|
|
70
91
|
"modal.save": "Guardar",
|
|
@@ -72,6 +93,9 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
72
93
|
"modal.cancel": "Cancelar",
|
|
73
94
|
// Conversation actions
|
|
74
95
|
"conversation.delete": "Eliminar",
|
|
96
|
+
"conversation.rename": "Renombrar",
|
|
97
|
+
"conversation.addToPinnedChats": "Fijar",
|
|
98
|
+
"conversation.removeFromPinnedChats": "Desfijar",
|
|
75
99
|
"conversation.announcement.userMessage": "Mensaje del Usuario: {{prompt}}. El mensaje del Bot est\xE1 cargando.",
|
|
76
100
|
// User states
|
|
77
101
|
"user.guest": "Invitado",
|
|
@@ -82,6 +106,11 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
82
106
|
"tooltip.microphone.active": "Dejar de escuchar",
|
|
83
107
|
"tooltip.microphone.inactive": "Usar micr\xF3fono",
|
|
84
108
|
"button.newChat": "Nuevo chat",
|
|
109
|
+
"tooltip.chatHistoryMenu": "Men\xFA de historial de chat",
|
|
110
|
+
"tooltip.responseRecorded": "Respuesta registrada",
|
|
111
|
+
"tooltip.backToTop": "Volver arriba",
|
|
112
|
+
"tooltip.backToBottom": "Volver abajo",
|
|
113
|
+
"tooltip.settings": "Opciones del chatbot",
|
|
85
114
|
// Modal titles
|
|
86
115
|
"modal.title.preview": "Vista previa del adjunto",
|
|
87
116
|
"modal.title.edit": "Editar adjunto",
|
|
@@ -117,10 +146,13 @@ const lightspeedTranslationEs = createTranslationMessages({
|
|
|
117
146
|
"feedback.completion.title": "Feedback enviado",
|
|
118
147
|
"feedback.completion.body": "Hemos recibido tu respuesta. \xA1Gracias por compartir tu feedback!",
|
|
119
148
|
// Conversation categorization
|
|
120
|
-
"conversation.category.
|
|
121
|
-
"conversation.category.
|
|
122
|
-
|
|
123
|
-
"
|
|
149
|
+
"conversation.category.pinnedChats": "Fijados",
|
|
150
|
+
"conversation.category.recent": "Recientes",
|
|
151
|
+
// lightspeed settings
|
|
152
|
+
"settings.pinned.enable": "Habilitar chats fijados",
|
|
153
|
+
"settings.pinned.disable": "Deshabilitar chats fijados",
|
|
154
|
+
"settings.pinned.enabled.description": "Los chats fijados est\xE1n actualmente habilitados",
|
|
155
|
+
"settings.pinned.disabled.description": "Los chats fijados est\xE1n actualmente deshabilitados"
|
|
124
156
|
}
|
|
125
157
|
});
|
|
126
158
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"es.esm.js","sources":["../../src/translations/es.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\n\nimport { lightspeedTranslationRef } from './ref';\n\n/**\n * Spanish translation for Developer Lightspeed.\n * @public\n */\nconst lightspeedTranslationEs = createTranslationMessages({\n ref: lightspeedTranslationRef,\n messages: {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': 'Asistente de desarrollo impulsado por IA',\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title':\n 'Obtener ayuda sobre legibilidad del código',\n 'prompts.codeReadability.message':\n '¿Puedes sugerir técnicas que pueda usar para hacer mi código más legible y mantenible?',\n 'prompts.debugging.title': 'Obtener ayuda con depuración',\n 'prompts.debugging.message':\n 'Mi aplicación está lanzando un error al intentar conectarse a la base de datos. ¿Puedes ayudarme a identificar el problema?',\n 'prompts.developmentConcept.title': 'Explicar un concepto de desarrollo',\n 'prompts.developmentConcept.message':\n '¿Puedes explicar cómo funciona la arquitectura de microservicios y sus ventajas sobre un diseño monolítico?',\n 'prompts.codeOptimization.title': 'Sugerir optimizaciones de código',\n 'prompts.codeOptimization.message':\n '¿Puedes sugerir formas comunes de optimizar el código para lograr mejor rendimiento?',\n 'prompts.documentation.title': 'Resumen de documentación',\n 'prompts.documentation.message':\n '¿Puedes resumir la documentación para implementar autenticación OAuth 2.0 en una aplicación web?',\n 'prompts.gitWorkflows.title': 'Flujos de trabajo con Git',\n 'prompts.gitWorkflows.message':\n 'Quiero hacer cambios en el código en otra rama sin perder mi trabajo existente. ¿Cuál es el procedimiento para hacer esto usando Git?',\n 'prompts.testingStrategies.title': 'Sugerir estrategias de prueba',\n 'prompts.testingStrategies.message':\n '¿Puedes recomendar algunas estrategias de prueba comunes que harán que mi aplicación sea robusta y libre de errores?',\n 'prompts.sortingAlgorithms.title':\n 'Desmitificar algoritmos de ordenamiento',\n 'prompts.sortingAlgorithms.message':\n '¿Puedes explicar la diferencia entre un algoritmo de ordenamiento rápido y uno de ordenamiento por mezcla, y cuándo usar cada uno?',\n 'prompts.eventDriven.title':\n 'Entender la arquitectura impulsada por eventos',\n 'prompts.eventDriven.message':\n '¿Puedes explicar qué es la arquitectura impulsada por eventos y cuándo es beneficioso usarla en el desarrollo de software?',\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Implementar con Tekton',\n 'prompts.tekton.message':\n '¿Puedes ayudarme a automatizar la implementación de mi aplicación usando pipelines de Tekton?',\n 'prompts.openshift.title': 'Crear una implementación de OpenShift',\n 'prompts.openshift.message':\n '¿Puedes guiarme a través de la creación de una nueva implementación en OpenShift para una aplicación containerizada?',\n 'prompts.rhdh.title': 'Comenzar con Red Hat Developer Hub',\n 'prompts.rhdh.message':\n '¿Puedes guiarme a través de los primeros pasos para comenzar a usar Developer Hub como desarrollador, como explorar el Catálogo de Software y agregar mi servicio?',\n\n // Conversation history\n 'conversation.history.confirm.title': '¿Eliminar chat?',\n 'conversation.history.confirm.message':\n 'Ya no verás este chat aquí. Esto también eliminará la actividad relacionada como prompts, respuestas y comentarios de tu Actividad de Lightspeed.',\n 'conversation.history.confirm.delete': 'Eliminar',\n\n // Permissions\n 'permission.required.title': 'Permisos faltantes',\n 'permission.required.description':\n 'Para ver el plugin de lightspeed, contacta a tu administrador para que te dé los permisos <b>lightspeed.chat.read</b> y <b>lightspeed.chat.create</b>.',\n\n // Disclaimers\n 'disclaimer.withValidation':\n 'Esta función utiliza tecnología de IA. No incluyas información personal ni otra información sensible en tu entrada. Las interacciones pueden ser utilizadas para mejorar los productos o servicios de Red Hat.',\n 'disclaimer.withoutValidation':\n 'Esta función utiliza tecnología de IA. No incluyas información personal ni otra información sensible en tu entrada. Las interacciones pueden ser utilizadas para mejorar los productos o servicios de Red Hat.',\n\n // Footer and feedback\n 'footer.accuracy.label':\n 'Siempre revisa el contenido generado por IA antes de usarlo.',\n 'footer.accuracy.popover.title': 'Verificar precisión',\n 'footer.accuracy.popover.description':\n 'Si bien Developer Lightspeed se esfuerza por la precisión, siempre existe la posibilidad de errores. Es una buena práctica verificar información crítica de fuentes confiables, especialmente si es crucial para la toma de decisiones o acciones.',\n 'footer.accuracy.popover.image.alt':\n 'Imagen de ejemplo para el popover de nota al pie',\n 'footer.accuracy.popover.cta.label': 'Entendido',\n 'footer.accuracy.popover.link.label': 'Aprende más',\n\n // Common actions\n 'common.cancel': 'Cancelar',\n\n // Menu items\n 'menu.newConversation': 'Nuevo Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Buscar chats anteriores...',\n 'chatbox.welcome.greeting': 'Hola, {{userName}}',\n 'chatbox.welcome.description': '¿Cómo puedo ayudarte hoy?',\n 'chatbox.message.placeholder':\n 'Envía un mensaje y opcionalmente sube un archivo JSON, YAML, o TXT...',\n 'chatbox.fileUpload.failed': 'La carga del archivo falló',\n 'chatbox.fileUpload.infoText':\n 'Los tipos de archivo soportados son: .txt, .yaml, y .json. El tamaño máximo del archivo es 25 MB.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Selector de chatbot',\n 'aria.important': 'Importante',\n\n // Modal actions\n 'modal.edit': 'Editar',\n 'modal.save': 'Guardar',\n 'modal.close': 'Cerrar',\n 'modal.cancel': 'Cancelar',\n\n // Conversation actions\n 'conversation.delete': 'Eliminar',\n 'conversation.announcement.userMessage':\n 'Mensaje del Usuario: {{prompt}}. El mensaje del Bot está cargando.',\n\n // User states\n 'user.guest': 'Invitado',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Adjuntar',\n 'tooltip.send': 'Enviar',\n 'tooltip.microphone.active': 'Dejar de escuchar',\n 'tooltip.microphone.inactive': 'Usar micrófono',\n 'button.newChat': 'Nuevo chat',\n\n // Modal titles\n 'modal.title.preview': 'Vista previa del adjunto',\n 'modal.title.edit': 'Editar adjunto',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'icono de lightspeed',\n 'icon.permissionRequired.alt': 'icono de permiso requerido',\n\n // Message utilities\n 'message.options.label': 'Opciones',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'El archivo ya existe.',\n 'file.upload.error.multipleFiles': 'Se subió más de un archivo.',\n 'file.upload.error.unsupportedType':\n 'Tipo de archivo no soportado. Los tipos soportados son: .txt, .yaml, y .json.',\n 'file.upload.error.fileTooLarge':\n 'El tamaño de tu archivo es demasiado grande. Por favor asegúrate de que tu archivo sea menor a 25 MB.',\n 'file.upload.error.readFailed':\n 'Error al leer el archivo: {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext debe estar dentro de un FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': '¿Por qué elegiste esta calificación?',\n 'feedback.form.textAreaPlaceholder':\n 'Proporciona comentarios adicionales opcionales',\n 'feedback.form.submitWord': 'Enviar',\n 'feedback.tooltips.goodResponse': 'Buena Respuesta',\n 'feedback.tooltips.badResponse': 'Mala Respuesta',\n 'feedback.tooltips.copied': 'Copiado',\n 'feedback.tooltips.copy': 'Copiar',\n 'feedback.tooltips.listening': 'Escuchando',\n 'feedback.tooltips.listen': 'Escuchar',\n 'feedback.quickResponses.positive.helpful': 'Información útil',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Fácil de entender',\n 'feedback.quickResponses.positive.resolvedIssue': 'Resolvió mi problema',\n 'feedback.quickResponses.negative.didntAnswer': 'No respondió mi pregunta',\n 'feedback.quickResponses.negative.hardToUnderstand': 'Difícil de entender',\n 'feedback.quickResponses.negative.notHelpful': 'No fue útil',\n 'feedback.completion.title': 'Feedback enviado',\n 'feedback.completion.body':\n 'Hemos recibido tu respuesta. ¡Gracias por compartir tu feedback!',\n\n // Conversation categorization\n 'conversation.category.today': 'Hoy',\n 'conversation.category.yesterday': 'Ayer',\n 'conversation.category.previous7Days': 'Últimos 7 días',\n 'conversation.category.previous30Days': 'Últimos 30 días',\n },\n});\n\nexport default lightspeedTranslationEs;\n"],"names":[],"mappings":";;;AAwBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA;AAAA,IAER,YAAc,EAAA,YAAA;AAAA,IACd,eAAiB,EAAA,0CAAA;AAAA;AAAA,IAGjB,+BACE,EAAA,+CAAA;AAAA,IACF,iCACE,EAAA,oGAAA;AAAA,IACF,yBAA2B,EAAA,iCAAA;AAAA,IAC3B,2BACE,EAAA,sIAAA;AAAA,IACF,kCAAoC,EAAA,oCAAA;AAAA,IACpC,oCACE,EAAA,yHAAA;AAAA,IACF,gCAAkC,EAAA,qCAAA;AAAA,IAClC,kCACE,EAAA,4FAAA;AAAA,IACF,6BAA+B,EAAA,6BAAA;AAAA,IAC/B,+BACE,EAAA,8GAAA;AAAA,IACF,4BAA8B,EAAA,2BAAA;AAAA,IAC9B,8BACE,EAAA,gJAAA;AAAA,IACF,iCAAmC,EAAA,+BAAA;AAAA,IACnC,mCACE,EAAA,+HAAA;AAAA,IACF,iCACE,EAAA,yCAAA;AAAA,IACF,mCACE,EAAA,6IAAA;AAAA,IACF,2BACE,EAAA,gDAAA;AAAA,IACF,6BACE,EAAA,qIAAA;AAAA;AAAA,IAGF,sBAAwB,EAAA,wBAAA;AAAA,IACxB,wBACE,EAAA,wGAAA;AAAA,IACF,yBAA2B,EAAA,0CAAA;AAAA,IAC3B,2BACE,EAAA,qIAAA;AAAA,IACF,oBAAsB,EAAA,oCAAA;AAAA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ations/es.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\n\nimport { lightspeedTranslationRef } from './ref';\n\n/**\n * Spanish translation for Developer Lightspeed.\n * @public\n */\nconst lightspeedTranslationEs = createTranslationMessages({\n ref: lightspeedTranslationRef,\n messages: {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': 'Asistente de desarrollo impulsado por IA',\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title':\n 'Obtener ayuda sobre legibilidad del código',\n 'prompts.codeReadability.message':\n '¿Puedes sugerir técnicas que pueda usar para hacer mi código más legible y mantenible?',\n 'prompts.debugging.title': 'Obtener ayuda con depuración',\n 'prompts.debugging.message':\n 'Mi aplicación está lanzando un error al intentar conectarse a la base de datos. ¿Puedes ayudarme a identificar el problema?',\n 'prompts.developmentConcept.title': 'Explicar un concepto de desarrollo',\n 'prompts.developmentConcept.message':\n '¿Puedes explicar cómo funciona la arquitectura de microservicios y sus ventajas sobre un diseño monolítico?',\n 'prompts.codeOptimization.title': 'Sugerir optimizaciones de código',\n 'prompts.codeOptimization.message':\n '¿Puedes sugerir formas comunes de optimizar el código para lograr mejor rendimiento?',\n 'prompts.documentation.title': 'Resumen de documentación',\n 'prompts.documentation.message':\n '¿Puedes resumir la documentación para implementar autenticación OAuth 2.0 en una aplicación web?',\n 'prompts.gitWorkflows.title': 'Flujos de trabajo con Git',\n 'prompts.gitWorkflows.message':\n 'Quiero hacer cambios en el código en otra rama sin perder mi trabajo existente. ¿Cuál es el procedimiento para hacer esto usando Git?',\n 'prompts.testingStrategies.title': 'Sugerir estrategias de prueba',\n 'prompts.testingStrategies.message':\n '¿Puedes recomendar algunas estrategias de prueba comunes que harán que mi aplicación sea robusta y libre de errores?',\n 'prompts.sortingAlgorithms.title':\n 'Desmitificar algoritmos de ordenamiento',\n 'prompts.sortingAlgorithms.message':\n '¿Puedes explicar la diferencia entre un algoritmo de ordenamiento rápido y uno de ordenamiento por mezcla, y cuándo usar cada uno?',\n 'prompts.eventDriven.title':\n 'Entender la arquitectura impulsada por eventos',\n 'prompts.eventDriven.message':\n '¿Puedes explicar qué es la arquitectura impulsada por eventos y cuándo es beneficioso usarla en el desarrollo de software?',\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Implementar con Tekton',\n 'prompts.tekton.message':\n '¿Puedes ayudarme a automatizar la implementación de mi aplicación usando pipelines de Tekton?',\n 'prompts.openshift.title': 'Crear una implementación de OpenShift',\n 'prompts.openshift.message':\n '¿Puedes guiarme a través de la creación de una nueva implementación en OpenShift para una aplicación containerizada?',\n 'prompts.rhdh.title': 'Comenzar con Red Hat Developer Hub',\n 'prompts.rhdh.message':\n '¿Puedes guiarme a través de los primeros pasos para comenzar a usar Developer Hub como desarrollador, como explorar el Catálogo de Software y agregar mi servicio?',\n\n // Conversation history\n 'conversation.delete.confirm.title': '¿Eliminar chat?',\n 'conversation.delete.confirm.message':\n 'Ya no verás este chat aquí. Esto también eliminará la actividad relacionada como prompts, respuestas y comentarios de tu Actividad de Lightspeed.',\n 'conversation.delete.confirm.action': 'Eliminar',\n 'conversation.rename.confirm.title': '¿Renombrar chat?',\n 'conversation.rename.confirm.action': 'Renombrar',\n 'conversation.rename.placeholder': 'Nombre del chat',\n 'conversation.action.error': 'Error ocurrido: {{error}}',\n\n // Permissions\n 'permission.required.title': 'Permisos faltantes',\n 'permission.required.description':\n 'Para ver el plugin de lightspeed, contacta a tu administrador para que te dé los permisos <b>lightspeed.chat.read</b> y <b>lightspeed.chat.create</b>.',\n\n // Disclaimers\n 'disclaimer.withValidation':\n 'Esta función utiliza tecnología de IA. No incluyas información personal ni otra información sensible en tu entrada. Las interacciones pueden ser utilizadas para mejorar los productos o servicios de Red Hat.',\n 'disclaimer.withoutValidation':\n 'Esta función utiliza tecnología de IA. No incluyas información personal ni otra información sensible en tu entrada. Las interacciones pueden ser utilizadas para mejorar los productos o servicios de Red Hat.',\n\n // Footer and feedback\n 'footer.accuracy.label':\n 'Siempre revisa el contenido generado por IA antes de usarlo.',\n 'footer.accuracy.popover.title': 'Verificar precisión',\n 'footer.accuracy.popover.description':\n 'Si bien Developer Lightspeed se esfuerza por la precisión, siempre existe la posibilidad de errores. Es una buena práctica verificar información crítica de fuentes confiables, especialmente si es crucial para la toma de decisiones o acciones.',\n 'footer.accuracy.popover.image.alt':\n 'Imagen de ejemplo para el popover de nota al pie',\n 'footer.accuracy.popover.cta.label': 'Entendido',\n 'footer.accuracy.popover.link.label': 'Aprende más',\n\n // Common actions\n 'common.cancel': 'Cancelar',\n 'common.close': 'Cerrar',\n 'common.readMore': 'Leer más',\n 'common.noSearchResults': 'Ningún resultado coincide con la búsqueda',\n\n // Menu items\n 'menu.newConversation': 'Nuevo Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Buscar',\n 'chatbox.provider.other': 'Otro',\n 'chatbox.emptyState.noPinnedChats': 'No hay chats fijados',\n 'chatbox.emptyState.noRecentChats': 'No hay chats recientes',\n 'chatbox.emptyState.noResults.title': 'No se encontraron resultados',\n 'chatbox.emptyState.noResults.body':\n 'Ajusta tu consulta de búsqueda e inténtalo de nuevo. Verifica tu ortografía o prueba un término más general.',\n 'chatbox.welcome.greeting': 'Hola, {{userName}}',\n 'chatbox.welcome.description': '¿Cómo puedo ayudarte hoy?',\n 'chatbox.message.placeholder':\n 'Envía un mensaje y opcionalmente sube un archivo JSON, YAML, o TXT...',\n 'chatbox.fileUpload.failed': 'La carga del archivo falló',\n 'chatbox.fileUpload.infoText':\n 'Los tipos de archivo soportados son: .txt, .yaml, y .json. El tamaño máximo del archivo es 25 MB.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Selector de chatbot',\n 'aria.important': 'Importante',\n 'aria.chatHistoryMenu': 'Menú de historial de chat',\n 'aria.closeDrawerPanel': 'Cerrar panel lateral',\n 'aria.search.placeholder': 'Buscar',\n 'aria.searchPreviousConversations': 'Buscar chats anteriores',\n 'aria.resize': 'Redimensionar',\n 'aria.options.label': 'Opciones',\n 'aria.scroll.down': 'Volver abajo',\n 'aria.scroll.up': 'Volver arriba',\n 'aria.settings.label': 'Opciones del chatbot',\n\n // Modal actions\n 'modal.edit': 'Editar',\n 'modal.save': 'Guardar',\n 'modal.close': 'Cerrar',\n 'modal.cancel': 'Cancelar',\n\n // Conversation actions\n 'conversation.delete': 'Eliminar',\n 'conversation.rename': 'Renombrar',\n 'conversation.addToPinnedChats': 'Fijar',\n 'conversation.removeFromPinnedChats': 'Desfijar',\n 'conversation.announcement.userMessage':\n 'Mensaje del Usuario: {{prompt}}. El mensaje del Bot está cargando.',\n\n // User states\n 'user.guest': 'Invitado',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Adjuntar',\n 'tooltip.send': 'Enviar',\n 'tooltip.microphone.active': 'Dejar de escuchar',\n 'tooltip.microphone.inactive': 'Usar micrófono',\n 'button.newChat': 'Nuevo chat',\n 'tooltip.chatHistoryMenu': 'Menú de historial de chat',\n 'tooltip.responseRecorded': 'Respuesta registrada',\n 'tooltip.backToTop': 'Volver arriba',\n 'tooltip.backToBottom': 'Volver abajo',\n 'tooltip.settings': 'Opciones del chatbot',\n\n // Modal titles\n 'modal.title.preview': 'Vista previa del adjunto',\n 'modal.title.edit': 'Editar adjunto',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'icono de lightspeed',\n 'icon.permissionRequired.alt': 'icono de permiso requerido',\n\n // Message utilities\n 'message.options.label': 'Opciones',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'El archivo ya existe.',\n 'file.upload.error.multipleFiles': 'Se subió más de un archivo.',\n 'file.upload.error.unsupportedType':\n 'Tipo de archivo no soportado. Los tipos soportados son: .txt, .yaml, y .json.',\n 'file.upload.error.fileTooLarge':\n 'El tamaño de tu archivo es demasiado grande. Por favor asegúrate de que tu archivo sea menor a 25 MB.',\n 'file.upload.error.readFailed':\n 'Error al leer el archivo: {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext debe estar dentro de un FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': '¿Por qué elegiste esta calificación?',\n 'feedback.form.textAreaPlaceholder':\n 'Proporciona comentarios adicionales opcionales',\n 'feedback.form.submitWord': 'Enviar',\n 'feedback.tooltips.goodResponse': 'Buena Respuesta',\n 'feedback.tooltips.badResponse': 'Mala Respuesta',\n 'feedback.tooltips.copied': 'Copiado',\n 'feedback.tooltips.copy': 'Copiar',\n 'feedback.tooltips.listening': 'Escuchando',\n 'feedback.tooltips.listen': 'Escuchar',\n 'feedback.quickResponses.positive.helpful': 'Información útil',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Fácil de entender',\n 'feedback.quickResponses.positive.resolvedIssue': 'Resolvió mi problema',\n 'feedback.quickResponses.negative.didntAnswer': 'No respondió mi pregunta',\n 'feedback.quickResponses.negative.hardToUnderstand': 'Difícil de entender',\n 'feedback.quickResponses.negative.notHelpful': 'No fue útil',\n 'feedback.completion.title': 'Feedback enviado',\n 'feedback.completion.body':\n 'Hemos recibido tu respuesta. ¡Gracias por compartir tu feedback!',\n\n // Conversation categorization\n 'conversation.category.pinnedChats': 'Fijados',\n 'conversation.category.recent': 'Recientes',\n\n // lightspeed settings\n 'settings.pinned.enable': 'Habilitar chats fijados',\n 'settings.pinned.disable': 'Deshabilitar chats fijados',\n 'settings.pinned.enabled.description':\n 'Los chats fijados están actualmente habilitados',\n 'settings.pinned.disabled.description':\n 'Los chats fijados están actual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,EAAA,QAAA;AAAA,IAC5B,gCAAkC,EAAA,iBAAA;AAAA,IAClC,+BAAiC,EAAA,gBAAA;AAAA,IACjC,0BAA4B,EAAA,SAAA;AAAA,IAC5B,wBAA0B,EAAA,QAAA;AAAA,IAC1B,6BAA+B,EAAA,YAAA;AAAA,IAC/B,0BAA4B,EAAA,UAAA;AAAA,IAC5B,0CAA4C,EAAA,wBAAA;AAAA,IAC5C,mDAAqD,EAAA,sBAAA;AAAA,IACrD,gDAAkD,EAAA,yBAAA;AAAA,IAClD,8CAAgD,EAAA,6BAAA;AAAA,IAChD,mDAAqD,EAAA,wBAAA;AAAA,IACrD,6CAA+C,EAAA,gBAAA;AAAA,IAC/C,2BAA6B,EAAA,kBAAA;AAAA,IAC7B,0BACE,EAAA,qEAAA;AAAA;AAAA,IAGF,mCAAqC,EAAA,SAAA;AAAA,IACrC,8BAAgC,EAAA,WAAA;AAAA;AAAA,IAGhC,wBAA0B,EAAA,yBAAA;AAAA,IAC1B,yBAA2B,EAAA,4BAAA;AAAA,IAC3B,qCACE,EAAA,oDAAA;AAAA,IACF,sCACE,EAAA;AAAA;AAEN,CAAC;;;;"}
|
|
@@ -34,9 +34,13 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
34
34
|
"prompts.rhdh.title": "Commencer avec Red Hat Developer Hub",
|
|
35
35
|
"prompts.rhdh.message": "Pouvez-vous me guider \xE0 travers les premi\xE8res \xE9tapes pour commencer \xE0 utiliser Developer Hub en tant que d\xE9veloppeur, comme explorer le Catalogue de Logiciels et ajouter mon service ?",
|
|
36
36
|
// Conversation history
|
|
37
|
-
"conversation.
|
|
38
|
-
"conversation.
|
|
39
|
-
"conversation.
|
|
37
|
+
"conversation.delete.confirm.title": "Supprimer le chat ?",
|
|
38
|
+
"conversation.delete.confirm.message": "Vous ne verrez plus ce chat ici. Cela supprimera \xE9galement l'activit\xE9 connexe comme les invites, les r\xE9ponses et les commentaires de votre Activit\xE9 Lightspeed.",
|
|
39
|
+
"conversation.delete.confirm.action": "Supprimer",
|
|
40
|
+
"conversation.rename.confirm.title": "Renommer le chat ?",
|
|
41
|
+
"conversation.rename.confirm.action": "Renommer",
|
|
42
|
+
"conversation.rename.placeholder": "Nom du chat",
|
|
43
|
+
"conversation.action.error": "Erreur survenue : {{error}}",
|
|
40
44
|
// Permissions
|
|
41
45
|
"permission.required.title": "Permissions manquantes",
|
|
42
46
|
"permission.required.description": "Pour voir le plugin lightspeed, contactez votre administrateur pour qu'il vous donne les permissions <b>lightspeed.chat.read</b> et <b>lightspeed.chat.create</b>.",
|
|
@@ -52,11 +56,19 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
52
56
|
"footer.accuracy.popover.link.label": "En savoir plus",
|
|
53
57
|
// Common actions
|
|
54
58
|
"common.cancel": "Annuler",
|
|
59
|
+
"common.close": "Fermer",
|
|
60
|
+
"common.readMore": "En savoir plus",
|
|
61
|
+
"common.noSearchResults": "Aucun r\xE9sultat ne correspond \xE0 la recherche",
|
|
55
62
|
// Menu items
|
|
56
63
|
"menu.newConversation": "Nouveau Chat",
|
|
57
64
|
// Chat-specific UI elements
|
|
58
65
|
"chatbox.header.title": "Developer Lightspeed",
|
|
59
|
-
"chatbox.search.placeholder": "Rechercher
|
|
66
|
+
"chatbox.search.placeholder": "Rechercher",
|
|
67
|
+
"chatbox.provider.other": "Autre",
|
|
68
|
+
"chatbox.emptyState.noPinnedChats": "Aucun chat \xE9pingl\xE9",
|
|
69
|
+
"chatbox.emptyState.noRecentChats": "Aucun chat r\xE9cent",
|
|
70
|
+
"chatbox.emptyState.noResults.title": "Aucun r\xE9sultat trouv\xE9",
|
|
71
|
+
"chatbox.emptyState.noResults.body": "Ajustez votre requ\xEAte de recherche et r\xE9essayez. V\xE9rifiez votre orthographe ou essayez un terme plus g\xE9n\xE9ral.",
|
|
60
72
|
"chatbox.welcome.greeting": "Bonjour, {{userName}}",
|
|
61
73
|
"chatbox.welcome.description": "Comment puis-je vous aider aujourd'hui ?",
|
|
62
74
|
"chatbox.message.placeholder": "Envoyez un message et t\xE9l\xE9chargez optionnellement un fichier JSON, YAML, ou TXT...",
|
|
@@ -65,6 +77,15 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
65
77
|
// Accessibility and ARIA labels
|
|
66
78
|
"aria.chatbotSelector": "S\xE9lecteur de chatbot",
|
|
67
79
|
"aria.important": "Important",
|
|
80
|
+
"aria.chatHistoryMenu": "Menu historique des chats",
|
|
81
|
+
"aria.closeDrawerPanel": "Fermer le panneau lat\xE9ral",
|
|
82
|
+
"aria.search.placeholder": "Rechercher",
|
|
83
|
+
"aria.searchPreviousConversations": "Rechercher dans les chats pr\xE9c\xE9dents",
|
|
84
|
+
"aria.resize": "Redimensionner",
|
|
85
|
+
"aria.options.label": "Options",
|
|
86
|
+
"aria.scroll.down": "Retour en bas",
|
|
87
|
+
"aria.scroll.up": "Retour en haut",
|
|
88
|
+
"aria.settings.label": "Options du chatbot",
|
|
68
89
|
// Modal actions
|
|
69
90
|
"modal.edit": "Modifier",
|
|
70
91
|
"modal.save": "Enregistrer",
|
|
@@ -72,6 +93,9 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
72
93
|
"modal.cancel": "Annuler",
|
|
73
94
|
// Conversation actions
|
|
74
95
|
"conversation.delete": "Supprimer",
|
|
96
|
+
"conversation.rename": "Renommer",
|
|
97
|
+
"conversation.addToPinnedChats": "\xC9pingler",
|
|
98
|
+
"conversation.removeFromPinnedChats": "D\xE9s\xE9pingler",
|
|
75
99
|
"conversation.announcement.userMessage": "Message de l'utilisateur : {{prompt}}. Le message du bot se charge.",
|
|
76
100
|
// User states
|
|
77
101
|
"user.guest": "Invit\xE9",
|
|
@@ -82,6 +106,11 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
82
106
|
"tooltip.microphone.active": "Arr\xEAter d'\xE9couter",
|
|
83
107
|
"tooltip.microphone.inactive": "Utiliser le microphone",
|
|
84
108
|
"button.newChat": "Nouveau chat",
|
|
109
|
+
"tooltip.chatHistoryMenu": "Menu historique des chats",
|
|
110
|
+
"tooltip.responseRecorded": "R\xE9ponse enregistr\xE9e",
|
|
111
|
+
"tooltip.backToTop": "Retour en haut",
|
|
112
|
+
"tooltip.backToBottom": "Retour en bas",
|
|
113
|
+
"tooltip.settings": "Options du chatbot",
|
|
85
114
|
// Modal titles
|
|
86
115
|
"modal.title.preview": "Aper\xE7u de la pi\xE8ce jointe",
|
|
87
116
|
"modal.title.edit": "Modifier la pi\xE8ce jointe",
|
|
@@ -117,10 +146,13 @@ const lightspeedTranslationFr = createTranslationMessages({
|
|
|
117
146
|
"feedback.completion.title": "Feedback soumis",
|
|
118
147
|
"feedback.completion.body": "Nous avons re\xE7u votre r\xE9ponse. Merci de partager votre feedback !",
|
|
119
148
|
// Conversation categorization
|
|
120
|
-
"conversation.category.
|
|
121
|
-
"conversation.category.
|
|
122
|
-
|
|
123
|
-
"
|
|
149
|
+
"conversation.category.pinnedChats": "\xC9pingl\xE9s",
|
|
150
|
+
"conversation.category.recent": "R\xE9cent",
|
|
151
|
+
// lightspeed settings
|
|
152
|
+
"settings.pinned.enable": "Activer les chats \xE9pingl\xE9s",
|
|
153
|
+
"settings.pinned.disable": "D\xE9sactiver les chats \xE9pingl\xE9s",
|
|
154
|
+
"settings.pinned.enabled.description": "Les chats \xE9pingl\xE9s sont actuellement activ\xE9s",
|
|
155
|
+
"settings.pinned.disabled.description": "Les chats \xE9pingl\xE9s sont actuellement d\xE9sactiv\xE9s"
|
|
124
156
|
}
|
|
125
157
|
});
|
|
126
158
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.esm.js","sources":["../../src/translations/fr.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\n\nimport { lightspeedTranslationRef } from './ref';\n\n/**\n * French translation for Developer Lightspeed.\n * @public\n */\nconst lightspeedTranslationFr = createTranslationMessages({\n ref: lightspeedTranslationRef,\n messages: {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': \"Assistant de développement alimenté par l'IA\",\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title':\n \"Obtenir de l'aide sur la lisibilité du code\",\n 'prompts.codeReadability.message':\n 'Pouvez-vous suggérer des techniques que je peux utiliser pour rendre mon code plus lisible et maintenable ?',\n 'prompts.debugging.title': \"Obtenir de l'aide pour le débogage\",\n 'prompts.debugging.message':\n \"Mon application lance une erreur lors de la tentative de connexion à la base de données. Pouvez-vous m'aider à identifier le problème ?\",\n 'prompts.developmentConcept.title': 'Expliquer un concept de développement',\n 'prompts.developmentConcept.message':\n \"Pouvez-vous expliquer comment fonctionne l'architecture des microservices et ses avantages par rapport à une conception monolithique ?\",\n 'prompts.codeOptimization.title': 'Suggérer des optimisations de code',\n 'prompts.codeOptimization.message':\n \"Pouvez-vous suggérer des moyens courants d'optimiser le code pour obtenir de meilleures performances ?\",\n 'prompts.documentation.title': 'Résumé de la documentation',\n 'prompts.documentation.message':\n \"Pouvez-vous résumer la documentation pour implémenter l'authentification OAuth 2.0 dans une application web ?\",\n 'prompts.gitWorkflows.title': 'Flux de travail avec Git',\n 'prompts.gitWorkflows.message':\n 'Je veux apporter des modifications au code sur une autre branche sans perdre mon travail existant. Quelle est la procédure pour faire cela en utilisant Git ?',\n 'prompts.testingStrategies.title': 'Suggérer des stratégies de test',\n 'prompts.testingStrategies.message':\n 'Pouvez-vous recommander des stratégies de test courantes qui rendront mon application robuste et sans erreur ?',\n 'prompts.sortingAlgorithms.title': 'Démystifier les algorithmes de tri',\n 'prompts.sortingAlgorithms.message':\n 'Pouvez-vous expliquer la différence entre un algorithme de tri rapide et un algorithme de tri par fusion, et quand utiliser chacun ?',\n 'prompts.eventDriven.title':\n \"Comprendre l'architecture orientée événements\",\n 'prompts.eventDriven.message':\n \"Pouvez-vous expliquer ce qu'est l'architecture orientée événements et quand il est bénéfique de l'utiliser dans le développement de logiciels ?\",\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Déployer avec Tekton',\n 'prompts.tekton.message':\n \"Pouvez-vous m'aider à automatiser le déploiement de mon application en utilisant des pipelines Tekton ?\",\n 'prompts.openshift.title': 'Créer un déploiement OpenShift',\n 'prompts.openshift.message':\n \"Pouvez-vous me guider à travers la création d'un nouveau déploiement dans OpenShift pour une application conteneurisée ?\",\n 'prompts.rhdh.title': 'Commencer avec Red Hat Developer Hub',\n 'prompts.rhdh.message':\n 'Pouvez-vous me guider à travers les premières étapes pour commencer à utiliser Developer Hub en tant que développeur, comme explorer le Catalogue de Logiciels et ajouter mon service ?',\n\n // Conversation history\n 'conversation.history.confirm.title': 'Supprimer le chat ?',\n 'conversation.history.confirm.message':\n \"Vous ne verrez plus ce chat ici. Cela supprimera également l'activité connexe comme les invites, les réponses et les commentaires de votre Activité Lightspeed.\",\n 'conversation.history.confirm.delete': 'Supprimer',\n\n // Permissions\n 'permission.required.title': 'Permissions manquantes',\n 'permission.required.description':\n \"Pour voir le plugin lightspeed, contactez votre administrateur pour qu'il vous donne les permissions <b>lightspeed.chat.read</b> et <b>lightspeed.chat.create</b>.\",\n\n // Disclaimers\n 'disclaimer.withValidation':\n \"Cette fonctionnalité utilise la technologie IA. N'incluez pas d'informations personnelles ou d'autres informations sensibles dans votre saisie. Les interactions peuvent être utilisées pour améliorer les produits ou services de Red Hat.\",\n 'disclaimer.withoutValidation':\n \"Cette fonctionnalité utilise la technologie IA. N'incluez pas d'informations personnelles ou d'autres informations sensibles dans votre saisie. Les interactions peuvent être utilisées pour améliorer les produits ou services de Red Hat.\",\n\n // Footer and feedback\n 'footer.accuracy.label':\n \"Toujours examiner le contenu généré par l'IA avant utilisation.\",\n 'footer.accuracy.popover.title': \"Vérifier l'exactitude\",\n 'footer.accuracy.popover.description':\n \"Bien que Developer Lightspeed s'efforce d'être exact, il y a toujours une possibilité d'erreurs. C'est une bonne pratique de vérifier les informations critiques auprès de sources fiables, surtout si c'est crucial pour la prise de décision ou les actions.\",\n 'footer.accuracy.popover.image.alt':\n \"Image d'exemple pour le popover de note de bas de page\",\n 'footer.accuracy.popover.cta.label': 'Compris',\n 'footer.accuracy.popover.link.label': 'En savoir plus',\n\n // Common actions\n 'common.cancel': 'Annuler',\n\n // Menu items\n 'menu.newConversation': 'Nouveau Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Rechercher dans les chats précédents...',\n 'chatbox.welcome.greeting': 'Bonjour, {{userName}}',\n 'chatbox.welcome.description': \"Comment puis-je vous aider aujourd'hui ?\",\n 'chatbox.message.placeholder':\n 'Envoyez un message et téléchargez optionnellement un fichier JSON, YAML, ou TXT...',\n 'chatbox.fileUpload.failed': 'Le téléchargement du fichier a échoué',\n 'chatbox.fileUpload.infoText':\n 'Les types de fichiers pris en charge sont : .txt, .yaml, et .json. La taille maximale du fichier est de 25 Mo.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Sélecteur de chatbot',\n 'aria.important': 'Important',\n\n // Modal actions\n 'modal.edit': 'Modifier',\n 'modal.save': 'Enregistrer',\n 'modal.close': 'Fermer',\n 'modal.cancel': 'Annuler',\n\n // Conversation actions\n 'conversation.delete': 'Supprimer',\n 'conversation.announcement.userMessage':\n \"Message de l'utilisateur : {{prompt}}. Le message du bot se charge.\",\n\n // User states\n 'user.guest': 'Invité',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Joindre',\n 'tooltip.send': 'Envoyer',\n 'tooltip.microphone.active': \"Arrêter d'écouter\",\n 'tooltip.microphone.inactive': 'Utiliser le microphone',\n 'button.newChat': 'Nouveau chat',\n\n // Modal titles\n 'modal.title.preview': 'Aperçu de la pièce jointe',\n 'modal.title.edit': 'Modifier la pièce jointe',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'icône lightspeed',\n 'icon.permissionRequired.alt': 'icône de permission requise',\n\n // Message utilities\n 'message.options.label': 'Options',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'Le fichier existe déjà.',\n 'file.upload.error.multipleFiles': \"Plus d'un fichier a été téléchargé.\",\n 'file.upload.error.unsupportedType':\n 'Type de fichier non pris en charge. Les types pris en charge sont : .txt, .yaml, et .json.',\n 'file.upload.error.fileTooLarge':\n 'La taille de votre fichier est trop importante. Veuillez vous assurer que votre fichier fait moins de 25 Mo.',\n 'file.upload.error.readFailed':\n 'Échec de la lecture du fichier : {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext doit être dans un FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': 'Pourquoi avez-vous choisi cette évaluation ?',\n 'feedback.form.textAreaPlaceholder':\n 'Fournissez des commentaires supplémentaires optionnels',\n 'feedback.form.submitWord': 'Soumettre',\n 'feedback.tooltips.goodResponse': 'Bonne Réponse',\n 'feedback.tooltips.badResponse': 'Mauvaise Réponse',\n 'feedback.tooltips.copied': 'Copié',\n 'feedback.tooltips.copy': 'Copier',\n 'feedback.tooltips.listening': 'Écoute',\n 'feedback.tooltips.listen': 'Écouter',\n 'feedback.quickResponses.positive.helpful': 'Informations utiles',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Facile à comprendre',\n 'feedback.quickResponses.positive.resolvedIssue': 'A résolu mon problème',\n 'feedback.quickResponses.negative.didntAnswer':\n \"N'a pas répondu à ma question\",\n 'feedback.quickResponses.negative.hardToUnderstand':\n 'Difficile à comprendre',\n 'feedback.quickResponses.negative.notHelpful': 'Pas utile',\n 'feedback.completion.title': 'Feedback soumis',\n 'feedback.completion.body':\n 'Nous avons reçu votre réponse. Merci de partager votre feedback !',\n\n // Conversation categorization\n 'conversation.category.today': \"Aujourd'hui\",\n 'conversation.category.yesterday': 'Hier',\n 'conversation.category.previous7Days': '7 derniers jours',\n 'conversation.category.previous30Days': '30 derniers jours',\n },\n});\n\nexport default lightspeedTranslationFr;\n"],"names":[],"mappings":";;;AAwBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA;AAAA,IAER,YAAc,EAAA,YAAA;AAAA,IACd,eAAiB,EAAA,oDAAA;AAAA;AAAA,IAGjB,+BACE,EAAA,gDAAA;AAAA,IACF,iCACE,EAAA,gHAAA;AAAA,IACF,yBAA2B,EAAA,uCAAA;AAAA,IAC3B,2BACE,EAAA,qJAAA;AAAA,IACF,kCAAoC,EAAA,0CAAA;AAAA,IACpC,oCACE,EAAA,2IAAA;AAAA,IACF,gCAAkC,EAAA,uCAAA;AAAA,IAClC,kCACE,EAAA,2GAAA;AAAA,IACF,6BAA+B,EAAA,kCAAA;AAAA,IAC/B,+BACE,EAAA,qHAAA;AAAA,IACF,4BAA8B,EAAA,0BAAA;AAAA,IAC9B,8BACE,EAAA,kKAAA;AAAA,IACF,iCAAmC,EAAA,uCAAA;AAAA,IACnC,mCACE,EAAA,mHAAA;AAAA,IACF,iCAAmC,EAAA,uCAAA;AAAA,IACnC,mCACE,EAAA,yIAAA;AAAA,IACF,2BACE,EAAA,wDAAA;AAAA,IACF,6BACE,EAAA,mKAAA;AAAA;AAAA,IAGF,sBAAwB,EAAA,yBAAA;AAAA,IACxB,wBACE,EAAA,+GAAA;AAAA,IACF,yBAA2B,EAAA,sCAAA;AAAA,IAC3B,2BACE,EAAA,sIAAA;AAAA,IACF,oBAAsB,EAAA,sCAAA;AAAA,IACtB,sBACE,EAAA,wMAAA;AAAA;AAAA,IAGF,oCAAsC,EAAA,qBAAA;AAAA,IACtC,sCACE,EAAA,6KAAA;AAAA,IACF,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IACvB,kBAAoB,EAAA,6BAAA;AAAA;AAAA,IAGpB,qBAAuB,EAAA,qBAAA;AAAA,IACvB,6BAA+B,EAAA,gCAAA;AAAA;AAAA,IAG/B,uBAAyB,EAAA,SAAA;AAAA;AAAA,IAGzB,iCAAmC,EAAA,+BAAA;AAAA,IACnC,iCAAmC,EAAA,oDAAA;AAAA,IACnC,mCACE,EAAA,4FAAA;AAAA,IACF,gCACE,EAAA,8GAAA;AAAA,IACF,8BACE,EAAA,sDAAA;AAAA;AAAA,IAGF,8BACE,EAAA,6EAAA;AAAA;AAAA,IAGF,qBAAuB,EAAA,iDAAA;AAAA,IACvB,mCACE,EAAA,2DAAA;AAAA,IACF,0BAA4B,EAAA,WAAA;AAAA,IAC5B,gCAAkC,EAAA,kBAAA;AAAA,IAClC,+BAAiC,EAAA,qBAAA;AAAA,IACjC,0BAA4B,EAAA,UAAA;AAAA,IAC5B,wBAA0B,EAAA,QAAA;AAAA,IAC1B,6BAA+B,EAAA,WAAA;AAAA,IAC/B,0BAA4B,EAAA,YAAA;AAAA,IAC5B,0CAA4C,EAAA,qBAAA;AAAA,IAC5C,mDAAqD,EAAA,wBAAA;AAAA,IACrD,gDAAkD,EAAA,6BAAA;AAAA,IAClD,8CACE,EAAA,qCAAA;AAAA,IACF,mDACE,EAAA,2BAAA;AAAA,IACF,6CAA+C,EAAA,WAAA;AAAA,IAC/C,2BAA6B,EAAA,iBAAA;AAAA,IAC7B,0BACE,EAAA,yEAAA;AAAA;AAAA,IAGF,6BAA+B,EAAA,aAAA;AAAA,IAC/B,iCAAmC,EAAA,MAAA;AAAA,IACnC,qCAAuC,EAAA,kBAAA;AAAA,IACvC,sCAAwC,EAAA;AAAA;AAE5C,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"fr.esm.js","sources":["../../src/translations/fr.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationMessages } from '@backstage/core-plugin-api/alpha';\n\nimport { lightspeedTranslationRef } from './ref';\n\n/**\n * French translation for Developer Lightspeed.\n * @public\n */\nconst lightspeedTranslationFr = createTranslationMessages({\n ref: lightspeedTranslationRef,\n messages: {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': \"Assistant de développement alimenté par l'IA\",\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title':\n \"Obtenir de l'aide sur la lisibilité du code\",\n 'prompts.codeReadability.message':\n 'Pouvez-vous suggérer des techniques que je peux utiliser pour rendre mon code plus lisible et maintenable ?',\n 'prompts.debugging.title': \"Obtenir de l'aide pour le débogage\",\n 'prompts.debugging.message':\n \"Mon application lance une erreur lors de la tentative de connexion à la base de données. Pouvez-vous m'aider à identifier le problème ?\",\n 'prompts.developmentConcept.title': 'Expliquer un concept de développement',\n 'prompts.developmentConcept.message':\n \"Pouvez-vous expliquer comment fonctionne l'architecture des microservices et ses avantages par rapport à une conception monolithique ?\",\n 'prompts.codeOptimization.title': 'Suggérer des optimisations de code',\n 'prompts.codeOptimization.message':\n \"Pouvez-vous suggérer des moyens courants d'optimiser le code pour obtenir de meilleures performances ?\",\n 'prompts.documentation.title': 'Résumé de la documentation',\n 'prompts.documentation.message':\n \"Pouvez-vous résumer la documentation pour implémenter l'authentification OAuth 2.0 dans une application web ?\",\n 'prompts.gitWorkflows.title': 'Flux de travail avec Git',\n 'prompts.gitWorkflows.message':\n 'Je veux apporter des modifications au code sur une autre branche sans perdre mon travail existant. Quelle est la procédure pour faire cela en utilisant Git ?',\n 'prompts.testingStrategies.title': 'Suggérer des stratégies de test',\n 'prompts.testingStrategies.message':\n 'Pouvez-vous recommander des stratégies de test courantes qui rendront mon application robuste et sans erreur ?',\n 'prompts.sortingAlgorithms.title': 'Démystifier les algorithmes de tri',\n 'prompts.sortingAlgorithms.message':\n 'Pouvez-vous expliquer la différence entre un algorithme de tri rapide et un algorithme de tri par fusion, et quand utiliser chacun ?',\n 'prompts.eventDriven.title':\n \"Comprendre l'architecture orientée événements\",\n 'prompts.eventDriven.message':\n \"Pouvez-vous expliquer ce qu'est l'architecture orientée événements et quand il est bénéfique de l'utiliser dans le développement de logiciels ?\",\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Déployer avec Tekton',\n 'prompts.tekton.message':\n \"Pouvez-vous m'aider à automatiser le déploiement de mon application en utilisant des pipelines Tekton ?\",\n 'prompts.openshift.title': 'Créer un déploiement OpenShift',\n 'prompts.openshift.message':\n \"Pouvez-vous me guider à travers la création d'un nouveau déploiement dans OpenShift pour une application conteneurisée ?\",\n 'prompts.rhdh.title': 'Commencer avec Red Hat Developer Hub',\n 'prompts.rhdh.message':\n 'Pouvez-vous me guider à travers les premières étapes pour commencer à utiliser Developer Hub en tant que développeur, comme explorer le Catalogue de Logiciels et ajouter mon service ?',\n\n // Conversation history\n 'conversation.delete.confirm.title': 'Supprimer le chat ?',\n 'conversation.delete.confirm.message':\n \"Vous ne verrez plus ce chat ici. Cela supprimera également l'activité connexe comme les invites, les réponses et les commentaires de votre Activité Lightspeed.\",\n 'conversation.delete.confirm.action': 'Supprimer',\n 'conversation.rename.confirm.title': 'Renommer le chat ?',\n 'conversation.rename.confirm.action': 'Renommer',\n 'conversation.rename.placeholder': 'Nom du chat',\n 'conversation.action.error': 'Erreur survenue : {{error}}',\n\n // Permissions\n 'permission.required.title': 'Permissions manquantes',\n 'permission.required.description':\n \"Pour voir le plugin lightspeed, contactez votre administrateur pour qu'il vous donne les permissions <b>lightspeed.chat.read</b> et <b>lightspeed.chat.create</b>.\",\n\n // Disclaimers\n 'disclaimer.withValidation':\n \"Cette fonctionnalité utilise la technologie IA. N'incluez pas d'informations personnelles ou d'autres informations sensibles dans votre saisie. Les interactions peuvent être utilisées pour améliorer les produits ou services de Red Hat.\",\n 'disclaimer.withoutValidation':\n \"Cette fonctionnalité utilise la technologie IA. N'incluez pas d'informations personnelles ou d'autres informations sensibles dans votre saisie. Les interactions peuvent être utilisées pour améliorer les produits ou services de Red Hat.\",\n\n // Footer and feedback\n 'footer.accuracy.label':\n \"Toujours examiner le contenu généré par l'IA avant utilisation.\",\n 'footer.accuracy.popover.title': \"Vérifier l'exactitude\",\n 'footer.accuracy.popover.description':\n \"Bien que Developer Lightspeed s'efforce d'être exact, il y a toujours une possibilité d'erreurs. C'est une bonne pratique de vérifier les informations critiques auprès de sources fiables, surtout si c'est crucial pour la prise de décision ou les actions.\",\n 'footer.accuracy.popover.image.alt':\n \"Image d'exemple pour le popover de note de bas de page\",\n 'footer.accuracy.popover.cta.label': 'Compris',\n 'footer.accuracy.popover.link.label': 'En savoir plus',\n\n // Common actions\n 'common.cancel': 'Annuler',\n 'common.close': 'Fermer',\n 'common.readMore': 'En savoir plus',\n 'common.noSearchResults': 'Aucun résultat ne correspond à la recherche',\n\n // Menu items\n 'menu.newConversation': 'Nouveau Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Rechercher',\n 'chatbox.provider.other': 'Autre',\n 'chatbox.emptyState.noPinnedChats': 'Aucun chat épinglé',\n 'chatbox.emptyState.noRecentChats': 'Aucun chat récent',\n 'chatbox.emptyState.noResults.title': 'Aucun résultat trouvé',\n 'chatbox.emptyState.noResults.body':\n 'Ajustez votre requête de recherche et réessayez. Vérifiez votre orthographe ou essayez un terme plus général.',\n 'chatbox.welcome.greeting': 'Bonjour, {{userName}}',\n 'chatbox.welcome.description': \"Comment puis-je vous aider aujourd'hui ?\",\n 'chatbox.message.placeholder':\n 'Envoyez un message et téléchargez optionnellement un fichier JSON, YAML, ou TXT...',\n 'chatbox.fileUpload.failed': 'Le téléchargement du fichier a échoué',\n 'chatbox.fileUpload.infoText':\n 'Les types de fichiers pris en charge sont : .txt, .yaml, et .json. La taille maximale du fichier est de 25 Mo.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Sélecteur de chatbot',\n 'aria.important': 'Important',\n 'aria.chatHistoryMenu': 'Menu historique des chats',\n 'aria.closeDrawerPanel': 'Fermer le panneau latéral',\n 'aria.search.placeholder': 'Rechercher',\n 'aria.searchPreviousConversations': 'Rechercher dans les chats précédents',\n 'aria.resize': 'Redimensionner',\n 'aria.options.label': 'Options',\n 'aria.scroll.down': 'Retour en bas',\n 'aria.scroll.up': 'Retour en haut',\n 'aria.settings.label': 'Options du chatbot',\n\n // Modal actions\n 'modal.edit': 'Modifier',\n 'modal.save': 'Enregistrer',\n 'modal.close': 'Fermer',\n 'modal.cancel': 'Annuler',\n\n // Conversation actions\n 'conversation.delete': 'Supprimer',\n 'conversation.rename': 'Renommer',\n 'conversation.addToPinnedChats': 'Épingler',\n 'conversation.removeFromPinnedChats': 'Désépingler',\n 'conversation.announcement.userMessage':\n \"Message de l'utilisateur : {{prompt}}. Le message du bot se charge.\",\n\n // User states\n 'user.guest': 'Invité',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Joindre',\n 'tooltip.send': 'Envoyer',\n 'tooltip.microphone.active': \"Arrêter d'écouter\",\n 'tooltip.microphone.inactive': 'Utiliser le microphone',\n 'button.newChat': 'Nouveau chat',\n 'tooltip.chatHistoryMenu': 'Menu historique des chats',\n 'tooltip.responseRecorded': 'Réponse enregistrée',\n 'tooltip.backToTop': 'Retour en haut',\n 'tooltip.backToBottom': 'Retour en bas',\n 'tooltip.settings': 'Options du chatbot',\n\n // Modal titles\n 'modal.title.preview': 'Aperçu de la pièce jointe',\n 'modal.title.edit': 'Modifier la pièce jointe',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'icône lightspeed',\n 'icon.permissionRequired.alt': 'icône de permission requise',\n\n // Message utilities\n 'message.options.label': 'Options',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'Le fichier existe déjà.',\n 'file.upload.error.multipleFiles': \"Plus d'un fichier a été téléchargé.\",\n 'file.upload.error.unsupportedType':\n 'Type de fichier non pris en charge. Les types pris en charge sont : .txt, .yaml, et .json.',\n 'file.upload.error.fileTooLarge':\n 'La taille de votre fichier est trop importante. Veuillez vous assurer que votre fichier fait moins de 25 Mo.',\n 'file.upload.error.readFailed':\n 'Échec de la lecture du fichier : {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext doit être dans un FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': 'Pourquoi avez-vous choisi cette évaluation ?',\n 'feedback.form.textAreaPlaceholder':\n 'Fournissez des commentaires supplémentaires optionnels',\n 'feedback.form.submitWord': 'Soumettre',\n 'feedback.tooltips.goodResponse': 'Bonne Réponse',\n 'feedback.tooltips.badResponse': 'Mauvaise Réponse',\n 'feedback.tooltips.copied': 'Copié',\n 'feedback.tooltips.copy': 'Copier',\n 'feedback.tooltips.listening': 'Écoute',\n 'feedback.tooltips.listen': 'Écouter',\n 'feedback.quickResponses.positive.helpful': 'Informations utiles',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Facile à comprendre',\n 'feedback.quickResponses.positive.resolvedIssue': 'A résolu mon problème',\n 'feedback.quickResponses.negative.didntAnswer':\n \"N'a pas répondu à ma question\",\n 'feedback.quickResponses.negative.hardToUnderstand':\n 'Difficile à comprendre',\n 'feedback.quickResponses.negative.notHelpful': 'Pas utile',\n 'feedback.completion.title': 'Feedback soumis',\n 'feedback.completion.body':\n 'Nous avons reçu votre réponse. Merci de partager votre feedback !',\n\n // Conversation categorization\n 'conversation.category.pinnedChats': 'Épinglés',\n 'conversation.category.recent': 'Récent',\n\n // lightspeed settings\n 'settings.pinned.enable': 'Activer les chats épinglés',\n 'settings.pinned.disable': 'Désactiver les chats épinglés',\n 'settings.pinned.enabled.description':\n 'Les chats épinglés sont actuellement activés',\n 'settings.pinned.disabled.description':\n 'Les chats épinglés sont actuellement désactivés',\n },\n});\n\nexport default lightspeedTranslationFr;\n"],"names":[],"mappings":";;;AAwBA,MAAM,0BAA0B,yBAA0B,CAAA;AAAA,EACxD,GAAK,EAAA,wBAAA;AAAA,EACL,QAAU,EAAA;AAAA;AAAA,IAER,YAAc,EAAA,YAAA;AAAA,IACd,eAAiB,EAAA,oDAAA;AAAA;AAAA,IAGjB,+BACE,EAAA,gDAAA;AAAA,IACF,iCACE,EAAA,gHAAA;AAAA,IACF,yBAA2B,EAAA,uCAAA;AAAA,IAC3B,2BACE,EAAA,qJAAA;AAAA,IACF,kCAAoC,EAAA,0CAAA;AAAA,IACpC,oCACE,EAAA,2IAAA;AAAA,IACF,gCAAkC,EAAA,uCAAA;AAAA,IAClC,kCACE,EAAA,2GAAA;AAAA,IACF,6BAA+B,EAAA,kCAAA;AAAA,IAC/B,+BACE,EAAA,qHAAA;AAAA,IACF,4BAA8B,EAAA,0BAAA;AAAA,IAC9B,8BACE,EAAA,kKAAA;AAAA,IACF,iCAAmC,EAAA,uCAAA;AAAA,IACnC,mCACE,EAAA,mHAAA;AAAA,IACF,iCAAmC,EAAA,uCAAA;AAAA,IACnC,mCACE,EAAA,yIAAA;AAAA,IACF,2BACE,EAAA,wDAAA;AAAA,IACF,6BACE,EAAA,mKAAA;AAAA;AAAA,IAGF,sBAAwB,EAAA,yBAAA;AAAA,IACxB,wBACE,EAAA,+GAAA;AAAA,IACF,yBAA2B,EAAA,sCAAA;AAAA,IAC3B,2BACE,EAAA,sIAAA;AAAA,IACF,oBAAsB,EAAA,sCAAA;AAAA,IACtB,sBACE,EAAA,wMAAA;AAAA;AAAA,IAGF,mCAAqC,EAAA,qBAAA;AAAA,IACrC,qCACE,EAAA,6KAAA;AAAA,IACF,oCAAsC,EAAA,WAAA;AAAA,IACtC,mCAAqC,EAAA,oBAAA;AAAA,IACrC,oCAAsC,EAAA,UAAA;AAAA,IACtC,iCAA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A,iDAAA;AAAA,IACvB,mCACE,EAAA,2DAAA;AAAA,IACF,0BAA4B,EAAA,WAAA;AAAA,IAC5B,gCAAkC,EAAA,kBAAA;AAAA,IAClC,+BAAiC,EAAA,qBAAA;AAAA,IACjC,0BAA4B,EAAA,UAAA;AAAA,IAC5B,wBAA0B,EAAA,QAAA;AAAA,IAC1B,6BAA+B,EAAA,WAAA;AAAA,IAC/B,0BAA4B,EAAA,YAAA;AAAA,IAC5B,0CAA4C,EAAA,qBAAA;AAAA,IAC5C,mDAAqD,EAAA,wBAAA;AAAA,IACrD,gDAAkD,EAAA,6BAAA;AAAA,IAClD,8CACE,EAAA,qCAAA;AAAA,IACF,mDACE,EAAA,2BAAA;AAAA,IACF,6CAA+C,EAAA,WAAA;AAAA,IAC/C,2BAA6B,EAAA,iBAAA;AAAA,IAC7B,0BACE,EAAA,yEAAA;AAAA;AAAA,IAGF,mCAAqC,EAAA,gBAAA;AAAA,IACrC,8BAAgC,EAAA,WAAA;AAAA;AAAA,IAGhC,wBAA0B,EAAA,kCAAA;AAAA,IAC1B,yBAA2B,EAAA,wCAAA;AAAA,IAC3B,qCACE,EAAA,uDAAA;AAAA,IACF,sCACE,EAAA;AAAA;AAEN,CAAC;;;;"}
|
|
@@ -31,9 +31,13 @@ const lightspeedMessages = {
|
|
|
31
31
|
"prompts.rhdh.title": "Getting Started with Red Hat Developer Hub",
|
|
32
32
|
"prompts.rhdh.message": "Can you guide me through the first steps to start using Developer Hub as a developer, like exploring the Software Catalog and adding my service?",
|
|
33
33
|
// Conversation history
|
|
34
|
-
"conversation.
|
|
35
|
-
"conversation.
|
|
36
|
-
"conversation.
|
|
34
|
+
"conversation.delete.confirm.title": "Delete chat?",
|
|
35
|
+
"conversation.delete.confirm.message": "You'll no longer see this chat here. This will also delete related activity like prompts, responses, and feedback from your Lightspeed Activity.",
|
|
36
|
+
"conversation.delete.confirm.action": "Delete",
|
|
37
|
+
"conversation.rename.confirm.title": "Rename chat?",
|
|
38
|
+
"conversation.rename.confirm.action": "Rename",
|
|
39
|
+
"conversation.rename.placeholder": "Chat name",
|
|
40
|
+
"conversation.action.error": "Error occured: {{error}}",
|
|
37
41
|
// Permissions
|
|
38
42
|
"permission.required.title": "Missing permissions",
|
|
39
43
|
"permission.required.description": "To view lightspeed plugin, contact your administrator to give the <b>lightspeed.chat.read</b> and <b>lightspeed.chat.create</b> permissions.",
|
|
@@ -49,11 +53,19 @@ const lightspeedMessages = {
|
|
|
49
53
|
"footer.accuracy.popover.link.label": "Learn more",
|
|
50
54
|
// Common actions
|
|
51
55
|
"common.cancel": "Cancel",
|
|
56
|
+
"common.close": "Close",
|
|
57
|
+
"common.readMore": "Read more",
|
|
58
|
+
"common.noSearchResults": "No result matches the search",
|
|
52
59
|
// Menu items
|
|
53
60
|
"menu.newConversation": "New Chat",
|
|
54
61
|
// Chat-specific UI elements
|
|
55
62
|
"chatbox.header.title": "Developer Lightspeed",
|
|
56
|
-
"chatbox.search.placeholder": "Search
|
|
63
|
+
"chatbox.search.placeholder": "Search",
|
|
64
|
+
"chatbox.provider.other": "Other",
|
|
65
|
+
"chatbox.emptyState.noPinnedChats": "No pinned chats",
|
|
66
|
+
"chatbox.emptyState.noRecentChats": "No recent chats",
|
|
67
|
+
"chatbox.emptyState.noResults.title": "No results found",
|
|
68
|
+
"chatbox.emptyState.noResults.body": "Adjust your search query and try again. Check your spelling or try a more general term.",
|
|
57
69
|
"chatbox.welcome.greeting": "Hello, {{userName}}",
|
|
58
70
|
"chatbox.welcome.description": "How can I help you today?",
|
|
59
71
|
"chatbox.message.placeholder": "Send a message and optionally upload a JSON, YAML, or TXT file...",
|
|
@@ -62,6 +74,15 @@ const lightspeedMessages = {
|
|
|
62
74
|
// Accessibility and ARIA labels
|
|
63
75
|
"aria.chatbotSelector": "Chatbot selector",
|
|
64
76
|
"aria.important": "Important",
|
|
77
|
+
"aria.chatHistoryMenu": "Chat history menu",
|
|
78
|
+
"aria.closeDrawerPanel": "Close drawer panel",
|
|
79
|
+
"aria.search.placeholder": "Search",
|
|
80
|
+
"aria.searchPreviousConversations": "Search previous conversations",
|
|
81
|
+
"aria.resize": "Resize",
|
|
82
|
+
"aria.options.label": "Options",
|
|
83
|
+
"aria.scroll.down": "Back to bottom",
|
|
84
|
+
"aria.scroll.up": "Back to top",
|
|
85
|
+
"aria.settings.label": "Chatbot options",
|
|
65
86
|
// Modal actions
|
|
66
87
|
"modal.edit": "Edit",
|
|
67
88
|
"modal.save": "Save",
|
|
@@ -69,6 +90,9 @@ const lightspeedMessages = {
|
|
|
69
90
|
"modal.cancel": "Cancel",
|
|
70
91
|
// Conversation actions
|
|
71
92
|
"conversation.delete": "Delete",
|
|
93
|
+
"conversation.rename": "Rename",
|
|
94
|
+
"conversation.addToPinnedChats": "Pin",
|
|
95
|
+
"conversation.removeFromPinnedChats": "Unpin",
|
|
72
96
|
"conversation.announcement.userMessage": "Message from User: {{prompt}}. Message from Bot is loading.",
|
|
73
97
|
// User states
|
|
74
98
|
"user.guest": "Guest",
|
|
@@ -79,6 +103,11 @@ const lightspeedMessages = {
|
|
|
79
103
|
"tooltip.microphone.active": "Stop listening",
|
|
80
104
|
"tooltip.microphone.inactive": "Use microphone",
|
|
81
105
|
"button.newChat": "New chat",
|
|
106
|
+
"tooltip.chatHistoryMenu": "Chat history menu",
|
|
107
|
+
"tooltip.responseRecorded": "Response recorded",
|
|
108
|
+
"tooltip.backToTop": "Back to top",
|
|
109
|
+
"tooltip.backToBottom": "Back to bottom",
|
|
110
|
+
"tooltip.settings": "Chatbot options",
|
|
82
111
|
// Modal titles
|
|
83
112
|
"modal.title.preview": "Preview attachment",
|
|
84
113
|
"modal.title.edit": "Edit attachment",
|
|
@@ -114,10 +143,13 @@ const lightspeedMessages = {
|
|
|
114
143
|
"feedback.completion.title": "Feedback submitted",
|
|
115
144
|
"feedback.completion.body": "We've received your response. Thank you for sharing your feedback!",
|
|
116
145
|
// Conversation categorization
|
|
117
|
-
"conversation.category.
|
|
118
|
-
"conversation.category.
|
|
119
|
-
|
|
120
|
-
"
|
|
146
|
+
"conversation.category.pinnedChats": "Pinned",
|
|
147
|
+
"conversation.category.recent": "Recent",
|
|
148
|
+
// lightspeed settings
|
|
149
|
+
"settings.pinned.enable": "Enable pinned chats",
|
|
150
|
+
"settings.pinned.disable": "Disable pinned chats",
|
|
151
|
+
"settings.pinned.enabled.description": "Pinned chats are currently enabled",
|
|
152
|
+
"settings.pinned.disabled.description": "Pinned chats are currently disabled"
|
|
121
153
|
};
|
|
122
154
|
const lightspeedTranslationRef = createTranslationRef({
|
|
123
155
|
id: "plugin.lightspeed",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ref.esm.js","sources":["../../src/translations/ref.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/**\n * Messages object containing all English translations.\n * This is our single source of truth for translations.\n * @alpha\n */\nexport const lightspeedMessages = {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': 'AI-powered development assistant',\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title': 'Get Help On Code Readability',\n 'prompts.codeReadability.message':\n 'Can you suggest techniques I can use to make my code more readable and maintainable?',\n 'prompts.debugging.title': 'Get Help With Debugging',\n 'prompts.debugging.message':\n 'My application is throwing an error when trying to connect to the database. Can you help me identify the issue?',\n 'prompts.developmentConcept.title': 'Explain a Development Concept',\n 'prompts.developmentConcept.message':\n 'Can you explain how microservices architecture works and its advantages over a monolithic design?',\n 'prompts.codeOptimization.title': 'Suggest Code Optimizations',\n 'prompts.codeOptimization.message':\n 'Can you suggest common ways to optimize code to achieve better performance?',\n 'prompts.documentation.title': 'Documentation Summary',\n 'prompts.documentation.message':\n 'Can you summarize the documentation for implementing OAuth 2.0 authentication in a web app?',\n 'prompts.gitWorkflows.title': 'Workflows With Git',\n 'prompts.gitWorkflows.message':\n 'I want to make changes to code on another branch without losing my existing work. What is the procedure to do this using Git?',\n 'prompts.testingStrategies.title': 'Suggest Testing Strategies',\n 'prompts.testingStrategies.message':\n 'Can you recommend some common testing strategies that will make my application robust and error-free?',\n 'prompts.sortingAlgorithms.title': 'Demystify Sorting Algorithms',\n 'prompts.sortingAlgorithms.message':\n 'Can you explain the difference between a quicksort and a merge sort algorithm, and when to use each?',\n 'prompts.eventDriven.title': 'Understand Event-Driven Architecture',\n 'prompts.eventDriven.message':\n \"Can you explain what event-driven architecture is and when it's beneficial to use it in software development?\",\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Deploy With Tekton',\n 'prompts.tekton.message':\n 'Can you help me automate the deployment of my application using Tekton pipelines?',\n 'prompts.openshift.title': 'Create An OpenShift Deployment',\n 'prompts.openshift.message':\n 'Can you guide me through creating a new deployment in OpenShift for a containerized application?',\n 'prompts.rhdh.title': 'Getting Started with Red Hat Developer Hub',\n 'prompts.rhdh.message':\n 'Can you guide me through the first steps to start using Developer Hub as a developer, like exploring the Software Catalog and adding my service?',\n\n // Conversation history\n 'conversation.history.confirm.title': 'Delete chat?',\n 'conversation.history.confirm.message':\n \"You'll no longer see this chat here. This will also delete related activity like prompts, responses, and feedback from your Lightspeed Activity.\",\n 'conversation.history.confirm.delete': 'Delete',\n\n // Permissions\n 'permission.required.title': 'Missing permissions',\n 'permission.required.description':\n 'To view lightspeed plugin, contact your administrator to give the <b>lightspeed.chat.read</b> and <b>lightspeed.chat.create</b> permissions.',\n\n // Disclaimers\n 'disclaimer.withValidation':\n \"This feature uses AI technology. Do not include any personal information or any other sensitive information in your input. Interactions may be used to improve Red Hat's products or services.\",\n 'disclaimer.withoutValidation':\n \"This feature uses AI technology. Do not include any personal information or any other sensitive information in your input. Interactions may be used to improve Red Hat's products or services.\",\n\n // Footer and feedback\n 'footer.accuracy.label': 'Always review AI generated content prior to use.',\n 'footer.accuracy.popover.title': 'Verify accuracy',\n 'footer.accuracy.popover.description':\n \"While Developer Lightspeed strives for accuracy, there's always a possibility of errors. It's a good practice to verify critical information from reliable sources, especially if it's crucial for decision-making or actions.\",\n 'footer.accuracy.popover.image.alt': 'Example image for footnote popover',\n 'footer.accuracy.popover.cta.label': 'Got it',\n 'footer.accuracy.popover.link.label': 'Learn more',\n\n // Common actions\n 'common.cancel': 'Cancel',\n\n // Menu items\n 'menu.newConversation': 'New Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Search previous chats...',\n 'chatbox.welcome.greeting': 'Hello, {{userName}}',\n 'chatbox.welcome.description': 'How can I help you today?',\n 'chatbox.message.placeholder':\n 'Send a message and optionally upload a JSON, YAML, or TXT file...',\n 'chatbox.fileUpload.failed': 'File upload failed',\n 'chatbox.fileUpload.infoText':\n 'Supported file types are: .txt, .yaml, and .json. The maximum file size is 25 MB.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Chatbot selector',\n 'aria.important': 'Important',\n\n // Modal actions\n 'modal.edit': 'Edit',\n 'modal.save': 'Save',\n 'modal.close': 'Close',\n 'modal.cancel': 'Cancel',\n\n // Conversation actions\n 'conversation.delete': 'Delete',\n 'conversation.announcement.userMessage':\n 'Message from User: {{prompt}}. Message from Bot is loading.',\n\n // User states\n 'user.guest': 'Guest',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Attach',\n 'tooltip.send': 'Send',\n 'tooltip.microphone.active': 'Stop listening',\n 'tooltip.microphone.inactive': 'Use microphone',\n 'button.newChat': 'New chat',\n\n // Modal titles\n 'modal.title.preview': 'Preview attachment',\n 'modal.title.edit': 'Edit attachment',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'lightspeed icon',\n 'icon.permissionRequired.alt': 'permission required icon',\n\n // Message utilities\n 'message.options.label': 'Options',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'File already exists.',\n 'file.upload.error.multipleFiles': 'Uploaded more than one file.',\n 'file.upload.error.unsupportedType':\n 'Unsupported file type. Supported types are: .txt, .yaml, and .json.',\n 'file.upload.error.fileTooLarge':\n 'Your file size is too large. Please ensure that your file is less than 25 MB.',\n 'file.upload.error.readFailed': 'Failed to read file: {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext must be within a FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': 'Why did you choose this rating?',\n 'feedback.form.textAreaPlaceholder': 'Provide optional additional feedback',\n 'feedback.form.submitWord': 'Submit',\n 'feedback.tooltips.goodResponse': 'Good Response',\n 'feedback.tooltips.badResponse': 'Bad Response',\n 'feedback.tooltips.copied': 'Copied',\n 'feedback.tooltips.copy': 'Copy',\n 'feedback.tooltips.listening': 'Listening',\n 'feedback.tooltips.listen': 'Listen',\n 'feedback.quickResponses.positive.helpful': 'Helpful information',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Easy to understand',\n 'feedback.quickResponses.positive.resolvedIssue': 'Resolved my issue',\n 'feedback.quickResponses.negative.didntAnswer': \"Didn't answer my question\",\n 'feedback.quickResponses.negative.hardToUnderstand': 'Hard to understand',\n 'feedback.quickResponses.negative.notHelpful': 'Not Helpful',\n 'feedback.completion.title': 'Feedback submitted',\n 'feedback.completion.body':\n \"We've received your response. Thank you for sharing your feedback!\",\n\n // Conversation categorization\n 'conversation.category.today': 'Today',\n 'conversation.category.yesterday': 'Yesterday',\n 'conversation.category.previous7Days': 'Previous 7 Days',\n 'conversation.category.previous30Days': 'Previous 30 Days',\n};\n\n/**\n * Translation Reference for Developer Lightspeed\n * @alpha\n **/\nexport const lightspeedTranslationRef = createTranslationRef({\n id: 'plugin.lightspe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A,EACnC,mCACE,EAAA,qEAAA;AAAA,EACF,gCACE,EAAA,+EAAA;AAAA,EACF,8BAAgC,EAAA,uCAAA;AAAA;AAAA,EAGhC,8BACE,EAAA,yEAAA;AAAA;AAAA,EAGF,qBAAuB,EAAA,iCAAA;AAAA,EACvB,mCAAqC,EAAA,sCAAA;AAAA,EACrC,0BAA4B,EAAA,QAAA;AAAA,EAC5B,gCAAkC,EAAA,eAAA;AAAA,EAClC,+BAAiC,EAAA,cAAA;AAAA,EACjC,0BAA4B,EAAA,QAAA;AAAA,EAC5B,wBAA0B,EAAA,MAAA;AAAA,EAC1B,6BAA+B,EAAA,WAAA;AAAA,EAC/B,0BAA4B,EAAA,QAAA;AAAA,EAC5B,0CAA4C,EAAA,qBAAA;AAAA,EAC5C,mDAAqD,EAAA,oBAAA;AAAA,EACrD,gDAAkD,EAAA,mBAAA;AAAA,EAClD,8CAAgD,EAAA,2BAAA;AAAA,EAChD,mDAAqD,EAAA,oBAAA;AAAA,EACrD,6CAA+C,EAAA,aAAA;AAAA,EAC/C,2BAA6B,EAAA,oBAAA;AAAA,EAC7B,0BACE,EAAA,oEAAA;AAAA;AAAA,EAGF,6BAA+B,EAAA,OAAA;AAAA,EAC/B,iCAAmC,EAAA,WAAA;AAAA,EACnC,qCAAuC,EAAA,iBAAA;AAAA,EACvC,sCAAwC,EAAA;AAC1C;AAMO,MAAM,2BAA2B,oBAAqB,CAAA;AAAA,EAC3D,EAAI,EAAA,mBAAA;AAAA,EACJ,QAAU,EAAA;AACZ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"ref.esm.js","sources":["../../src/translations/ref.ts"],"sourcesContent":["/*\n * Copyright Red Hat, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { createTranslationRef } from '@backstage/core-plugin-api/alpha';\n\n/**\n * Messages object containing all English translations.\n * This is our single source of truth for translations.\n * @alpha\n */\nexport const lightspeedMessages = {\n // Page titles and headers\n 'page.title': 'Lightspeed',\n 'page.subtitle': 'AI-powered development assistant',\n\n // Sample prompts - General Development\n 'prompts.codeReadability.title': 'Get Help On Code Readability',\n 'prompts.codeReadability.message':\n 'Can you suggest techniques I can use to make my code more readable and maintainable?',\n 'prompts.debugging.title': 'Get Help With Debugging',\n 'prompts.debugging.message':\n 'My application is throwing an error when trying to connect to the database. Can you help me identify the issue?',\n 'prompts.developmentConcept.title': 'Explain a Development Concept',\n 'prompts.developmentConcept.message':\n 'Can you explain how microservices architecture works and its advantages over a monolithic design?',\n 'prompts.codeOptimization.title': 'Suggest Code Optimizations',\n 'prompts.codeOptimization.message':\n 'Can you suggest common ways to optimize code to achieve better performance?',\n 'prompts.documentation.title': 'Documentation Summary',\n 'prompts.documentation.message':\n 'Can you summarize the documentation for implementing OAuth 2.0 authentication in a web app?',\n 'prompts.gitWorkflows.title': 'Workflows With Git',\n 'prompts.gitWorkflows.message':\n 'I want to make changes to code on another branch without losing my existing work. What is the procedure to do this using Git?',\n 'prompts.testingStrategies.title': 'Suggest Testing Strategies',\n 'prompts.testingStrategies.message':\n 'Can you recommend some common testing strategies that will make my application robust and error-free?',\n 'prompts.sortingAlgorithms.title': 'Demystify Sorting Algorithms',\n 'prompts.sortingAlgorithms.message':\n 'Can you explain the difference between a quicksort and a merge sort algorithm, and when to use each?',\n 'prompts.eventDriven.title': 'Understand Event-Driven Architecture',\n 'prompts.eventDriven.message':\n \"Can you explain what event-driven architecture is and when it's beneficial to use it in software development?\",\n\n // Sample prompts - RHDH Specific\n 'prompts.tekton.title': 'Deploy With Tekton',\n 'prompts.tekton.message':\n 'Can you help me automate the deployment of my application using Tekton pipelines?',\n 'prompts.openshift.title': 'Create An OpenShift Deployment',\n 'prompts.openshift.message':\n 'Can you guide me through creating a new deployment in OpenShift for a containerized application?',\n 'prompts.rhdh.title': 'Getting Started with Red Hat Developer Hub',\n 'prompts.rhdh.message':\n 'Can you guide me through the first steps to start using Developer Hub as a developer, like exploring the Software Catalog and adding my service?',\n\n // Conversation history\n 'conversation.delete.confirm.title': 'Delete chat?',\n 'conversation.delete.confirm.message':\n \"You'll no longer see this chat here. This will also delete related activity like prompts, responses, and feedback from your Lightspeed Activity.\",\n 'conversation.delete.confirm.action': 'Delete',\n 'conversation.rename.confirm.title': 'Rename chat?',\n 'conversation.rename.confirm.action': 'Rename',\n 'conversation.rename.placeholder': 'Chat name',\n 'conversation.action.error': 'Error occured: {{error}}',\n\n // Permissions\n 'permission.required.title': 'Missing permissions',\n 'permission.required.description':\n 'To view lightspeed plugin, contact your administrator to give the <b>lightspeed.chat.read</b> and <b>lightspeed.chat.create</b> permissions.',\n\n // Disclaimers\n 'disclaimer.withValidation':\n \"This feature uses AI technology. Do not include any personal information or any other sensitive information in your input. Interactions may be used to improve Red Hat's products or services.\",\n 'disclaimer.withoutValidation':\n \"This feature uses AI technology. Do not include any personal information or any other sensitive information in your input. Interactions may be used to improve Red Hat's products or services.\",\n\n // Footer and feedback\n 'footer.accuracy.label': 'Always review AI generated content prior to use.',\n 'footer.accuracy.popover.title': 'Verify accuracy',\n 'footer.accuracy.popover.description':\n \"While Developer Lightspeed strives for accuracy, there's always a possibility of errors. It's a good practice to verify critical information from reliable sources, especially if it's crucial for decision-making or actions.\",\n 'footer.accuracy.popover.image.alt': 'Example image for footnote popover',\n 'footer.accuracy.popover.cta.label': 'Got it',\n 'footer.accuracy.popover.link.label': 'Learn more',\n\n // Common actions\n 'common.cancel': 'Cancel',\n 'common.close': 'Close',\n 'common.readMore': 'Read more',\n 'common.noSearchResults': 'No result matches the search',\n\n // Menu items\n 'menu.newConversation': 'New Chat',\n\n // Chat-specific UI elements\n 'chatbox.header.title': 'Developer Lightspeed',\n 'chatbox.search.placeholder': 'Search',\n 'chatbox.provider.other': 'Other',\n 'chatbox.emptyState.noPinnedChats': 'No pinned chats',\n 'chatbox.emptyState.noRecentChats': 'No recent chats',\n 'chatbox.emptyState.noResults.title': 'No results found',\n 'chatbox.emptyState.noResults.body':\n 'Adjust your search query and try again. Check your spelling or try a more general term.',\n 'chatbox.welcome.greeting': 'Hello, {{userName}}',\n 'chatbox.welcome.description': 'How can I help you today?',\n 'chatbox.message.placeholder':\n 'Send a message and optionally upload a JSON, YAML, or TXT file...',\n 'chatbox.fileUpload.failed': 'File upload failed',\n 'chatbox.fileUpload.infoText':\n 'Supported file types are: .txt, .yaml, and .json. The maximum file size is 25 MB.',\n\n // Accessibility and ARIA labels\n 'aria.chatbotSelector': 'Chatbot selector',\n 'aria.important': 'Important',\n 'aria.chatHistoryMenu': 'Chat history menu',\n 'aria.closeDrawerPanel': 'Close drawer panel',\n 'aria.search.placeholder': 'Search',\n 'aria.searchPreviousConversations': 'Search previous conversations',\n 'aria.resize': 'Resize',\n 'aria.options.label': 'Options',\n 'aria.scroll.down': 'Back to bottom',\n 'aria.scroll.up': 'Back to top',\n 'aria.settings.label': 'Chatbot options',\n\n // Modal actions\n 'modal.edit': 'Edit',\n 'modal.save': 'Save',\n 'modal.close': 'Close',\n 'modal.cancel': 'Cancel',\n\n // Conversation actions\n 'conversation.delete': 'Delete',\n 'conversation.rename': 'Rename',\n 'conversation.addToPinnedChats': 'Pin',\n 'conversation.removeFromPinnedChats': 'Unpin',\n 'conversation.announcement.userMessage':\n 'Message from User: {{prompt}}. Message from Bot is loading.',\n\n // User states\n 'user.guest': 'Guest',\n 'user.loading': '...',\n\n // Button tooltips and labels\n 'tooltip.attach': 'Attach',\n 'tooltip.send': 'Send',\n 'tooltip.microphone.active': 'Stop listening',\n 'tooltip.microphone.inactive': 'Use microphone',\n 'button.newChat': 'New chat',\n 'tooltip.chatHistoryMenu': 'Chat history menu',\n 'tooltip.responseRecorded': 'Response recorded',\n 'tooltip.backToTop': 'Back to top',\n 'tooltip.backToBottom': 'Back to bottom',\n 'tooltip.settings': 'Chatbot options',\n\n // Modal titles\n 'modal.title.preview': 'Preview attachment',\n 'modal.title.edit': 'Edit attachment',\n\n // Alt texts for icons\n 'icon.lightspeed.alt': 'lightspeed icon',\n 'icon.permissionRequired.alt': 'permission required icon',\n\n // Message utilities\n 'message.options.label': 'Options',\n\n // File attachment errors\n 'file.upload.error.alreadyExists': 'File already exists.',\n 'file.upload.error.multipleFiles': 'Uploaded more than one file.',\n 'file.upload.error.unsupportedType':\n 'Unsupported file type. Supported types are: .txt, .yaml, and .json.',\n 'file.upload.error.fileTooLarge':\n 'Your file size is too large. Please ensure that your file is less than 25 MB.',\n 'file.upload.error.readFailed': 'Failed to read file: {{errorMessage}}',\n\n // Developer error messages\n 'error.context.fileAttachment':\n 'useFileAttachmentContext must be within a FileAttachmentContextProvider',\n\n // Feedback actions\n 'feedback.form.title': 'Why did you choose this rating?',\n 'feedback.form.textAreaPlaceholder': 'Provide optional additional feedback',\n 'feedback.form.submitWord': 'Submit',\n 'feedback.tooltips.goodResponse': 'Good Response',\n 'feedback.tooltips.badResponse': 'Bad Response',\n 'feedback.tooltips.copied': 'Copied',\n 'feedback.tooltips.copy': 'Copy',\n 'feedback.tooltips.listening': 'Listening',\n 'feedback.tooltips.listen': 'Listen',\n 'feedback.quickResponses.positive.helpful': 'Helpful information',\n 'feedback.quickResponses.positive.easyToUnderstand': 'Easy to understand',\n 'feedback.quickResponses.positive.resolvedIssue': 'Resolved my issue',\n 'feedback.quickResponses.negative.didntAnswer': \"Didn't answer my question\",\n 'feedback.quickResponses.negative.hardToUnderstand': 'Hard to understand',\n 'feedback.quickResponses.negative.notHelpful': 'Not Helpful',\n 'feedback.completion.title': 'Feedback submitted',\n 'feedback.completion.body':\n \"We've received your response. Thank you for sharing your feedback!\",\n\n // Conversation categorization\n 'conversation.category.pinnedChats': 'Pinned',\n 'conversation.category.recent': 'Recent',\n\n // lightspeed settings\n 'settings.pinned.enable': 'Enable pinned chats',\n 'settings.pinned.disable': 'Disable pinned chats',\n 'settings.pinned.enabled.description': 'Pinned chats are currently enabled',\n 'settings.pinned.disabled.description': 'Pinned chats are currently disabled',\n};\n\n/**\n * Translation Reference for Developer Lightspeed\n * @alpha\n **/\nexport const lightspeedTranslationRef = createTranslationRef({\n id: 'plugin.lightspeed',\n messages: lightspeedMessages,\n});\n"],"names":[],"mappings":";;AAuBO,MAAM,kBAAqB,GAAA;AAAA;AAAA,EAEhC,YAAc,EAAA,YAAA;AAAA,EACd,eAAiB,EAAA,kCAAA;AAAA;AAAA,EAGjB,+BAAiC,EAAA,8BAAA;AAAA,EACjC,iCACE,EAAA,sFAAA;AAAA,EACF,yBAA2B,EAAA,yBAAA;AAAA,EAC3B,2BACE,EAAA,iHAAA;AAAA,EACF,kCAAoC,EAAA,+BAAA;AAAA,EACpC,oCACE,EAAA,mGAAA;AAAA,EACF,gCAAkC,EAAA,4BAAA;AAAA,EAClC,kCACE,EAAA,6EAAA;AAAA,EACF,6BAA+B,EAAA,uBAAA;AAAA,EAC/B,+BACE,EAAA,6FAAA;AAAA,EACF,4BAA8B,EAAA,oBAAA;AAAA,EAC9B,8BACE,EAAA,+HAAA;AAAA,EACF,iCAAmC,EAAA,4BAAA;AAAA,EACnC,mCACE,EAAA,uGAAA;AAAA,EACF,iCAAmC,EAAA,8BAAA;AAAA,EACnC,mCACE,EAAA,sGAAA;AAAA,EACF,2BAA6B,EAAA,sCAAA;AAAA,EAC7B,6BACE,EAAA,+GAAA;AAAA;AAAA,EAGF,sBAAwB,EAAA,oBAAA;AAAA,EACxB,wBACE,EAAA,mFAAA;AAAA,EACF,yBAA2B,EAAA,gCAAA;AAAA,EAC3B,2BACE,EAAA,kGAAA;AAAA,EACF,oBAAsB,EAAA,4CAAA;AAAA,EACtB,sBACE,EAAA,kJAAA;AAAA;AAAA,EAGF,mCAAqC,EAAA,cAAA;AAAA,EACrC,qCACE,EAAA,kJAAA;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