Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: adjusting strings

Ilian Sapundshiev2063cf5cb4ea
diff --git a/src/renderer/components/chat/ChatView.tsx b/src/renderer/components/chat/ChatView.tsx
index e0137c96d..c4a2c4b42 100644
--- a/src/renderer/components/chat/ChatView.tsx
+++ b/src/renderer/components/chat/ChatView.tsx
@@ -696,13 +696,7 @@ function ChatView() {
</TsIconButton>
)}
<TsIconButton
- tooltip={
- t('core:send') +
- ' -> ' +
- aiDefaultProvider?.name +
- ' - ' +
- aiDefaultProvider?.url
- }
+ tooltip={`${t('core:send')} -> ${aiDefaultProvider?.name} - ${aiDefaultProvider?.url}`}
onClick={handleChatMessage}
>
<SendIcon />
@@ -712,9 +706,9 @@ function ChatView() {
},
}}
/>
- <FormHelperText sx={{ margin: 0 }}>
+ <FormHelperText sx={{ margin: '0 auto' }}>
{t('core:aiHelp', {
- chatModel: currentModel && '(' + currentModel.name + ')',
+ chatModel: currentModel && `(${currentModel.name})`,
})}
</FormHelperText>
</FormControl>