Skip to content
Snippets Groups Projects
Commit 5ee3ab11 authored by chris's avatar chris
Browse files

Merge branch 'master' of gitlab.coko.foundation:wax/wax-prosemirror

parents 7d368c8c 4aa60fc1
No related branches found
No related tags found
No related merge requests found
Pipeline #56825 passed with stages
in 3 minutes and 27 seconds
...@@ -72,7 +72,7 @@ const en = { ...@@ -72,7 +72,7 @@ const en = {
Search: 'Search', Search: 'Search',
}, },
AI: { AI: {
'Find a better way to word this': 'Find a better way to word this', Placeholder: 'How can I help you? Type your prompt here.',
Submit: 'Submit', Submit: 'Submit',
'Replace selected text': 'Replace selected text', 'Replace selected text': 'Replace selected text',
Insert: 'Insert', Insert: 'Insert',
......
...@@ -72,8 +72,7 @@ const es = { ...@@ -72,8 +72,7 @@ const es = {
Search: 'Buscar', Search: 'Buscar',
}, },
AI: { AI: {
'Find a better way to word this': Placeholder: 'Le puedo ayudar en algo? Escriba su mensaje aquí.',
'Encuentre una mejor manera de redactar esto',
Submit: 'Entregar', Submit: 'Entregar',
'Replace selected text': 'Reemplazar texto seleccionado', 'Replace selected text': 'Reemplazar texto seleccionado',
Insert: 'Insertar', Insert: 'Insertar',
......
...@@ -205,10 +205,9 @@ const AskAIOverlay = ({ setPosition, position, config }) => { ...@@ -205,10 +205,9 @@ const AskAIOverlay = ({ setPosition, position, config }) => {
id="askAiInput" id="askAiInput"
onKeyPress={handleKeyDown} onKeyPress={handleKeyDown}
placeholder={ placeholder={
!isEmpty(i18n) && !isEmpty(i18n) && i18n.exists(`Wax.AI.Placeholder`)
i18n.exists(`Wax.AI.Find a better way to word this`) ? t(`Wax.AI.Placeholder`)
? t(`Wax.AI.Find a better way to word this`) : 'How can I help you? Type your prompt here.'
: 'Find a better way to word this'
} }
ref={inputRef} ref={inputRef}
type="text" type="text"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment