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 = {
Search: 'Search',
},
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',
'Replace selected text': 'Replace selected text',
Insert: 'Insert',
......
......@@ -72,8 +72,7 @@ const es = {
Search: 'Buscar',
},
AI: {
'Find a better way to word this':
'Encuentre una mejor manera de redactar esto',
Placeholder: 'Le puedo ayudar en algo? Escriba su mensaje aquí.',
Submit: 'Entregar',
'Replace selected text': 'Reemplazar texto seleccionado',
Insert: 'Insertar',
......
......@@ -205,10 +205,9 @@ const AskAIOverlay = ({ setPosition, position, config }) => {
id="askAiInput"
onKeyPress={handleKeyDown}
placeholder={
!isEmpty(i18n) &&
i18n.exists(`Wax.AI.Find a better way to word this`)
? t(`Wax.AI.Find a better way to word this`)
: 'Find a better way to word this'
!isEmpty(i18n) && i18n.exists(`Wax.AI.Placeholder`)
? t(`Wax.AI.Placeholder`)
: 'How can I help you? Type your prompt here.'
}
ref={inputRef}
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