|
@@ -1328,7 +1328,8 @@
|
|
|
|
|
|
<div class="self-end flex space-x-1 mr-1 shrink-0">
|
|
|
{#if (!history?.currentId || history.messages[history.currentId]?.done == true) && ($_user?.role === 'admin' || ($_user?.permissions?.chat?.stt ?? true))}
|
|
|
- <Tooltip content={$i18n.t('Record voice')}>
|
|
|
+ <!-- {$i18n.t('Record voice')} -->
|
|
|
+ <Tooltip content={$i18n.t('Dictate')}>
|
|
|
<button
|
|
|
id="voice-input-button"
|
|
|
class=" text-gray-600 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-200 transition rounded-full p-1.5 mr-0.5 self-center"
|
|
@@ -1402,7 +1403,8 @@
|
|
|
</div>
|
|
|
{:else if prompt === '' && files.length === 0 && ($_user?.role === 'admin' || ($_user?.permissions?.chat?.call ?? true))}
|
|
|
<div class=" flex items-center">
|
|
|
- <Tooltip content={$i18n.t('Call')}>
|
|
|
+ <!-- {$i18n.t('Call')} -->
|
|
|
+ <Tooltip content={$i18n.t('Voice mode')}>
|
|
|
<button
|
|
|
class=" bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full p-1.5 self-center"
|
|
|
type="button"
|