add few locales (#3151)
This commit is contained in:
parent
3b3e95a413
commit
19b350761c
8 changed files with 20 additions and 9 deletions
|
|
@ -348,7 +348,7 @@ function AlertForm(props) {
|
|||
type="checkbox"
|
||||
checked={instance.webhook}
|
||||
onClick={onChangeCheck}
|
||||
label="Webhook"
|
||||
label={t('Webhook')}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { Checkbox } from 'UI';
|
|||
import { observer } from 'mobx-react-lite';
|
||||
import { useStore } from 'App/mstore';
|
||||
import { toast } from 'react-toastify';
|
||||
import { t } from 'i18next';
|
||||
|
||||
function OptOut() {
|
||||
const { userStore } = useStore();
|
||||
|
|
@ -13,10 +14,10 @@ function OptOut() {
|
|||
setOptOut(!optOut);
|
||||
void updateClient({ optOut: !optOut })
|
||||
.then(() => {
|
||||
toast('Account settings updated successfully', { type: 'success' });
|
||||
toast(t('Account settings updated successfully'), { type: 'success' });
|
||||
})
|
||||
.catch((e) => {
|
||||
toast(e.message || 'Failed to update account settings', {
|
||||
toast(e.message || t('Failed to update account settings'), {
|
||||
type: 'error',
|
||||
});
|
||||
setOptOut(optOut);
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ function ClickMapRagePicker() {
|
|||
|
||||
return (
|
||||
<div className="mr-4 flex items-center gap-2 cursor-pointer">
|
||||
<Checkbox onChange={onToggle} label="Include rage clicks" />
|
||||
<Checkbox onChange={onToggle} label={t('Include rage clicks')} />
|
||||
|
||||
<Button size="small" onClick={refreshHeatmapSession}>
|
||||
{t('Get new session')}
|
||||
|
|
|
|||
|
|
@ -1496,5 +1496,7 @@
|
|||
"Bad Requests": "Bad Requests",
|
||||
"Tap Rage": "Tap Rage",
|
||||
"More attribute": "More attribute",
|
||||
"More attributes": "More attributes"
|
||||
"More attributes": "More attributes",
|
||||
"Account settings updated successfully": "Account settings updated successfully",
|
||||
"Include rage clicks": "Include rage clicks"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1496,5 +1496,7 @@
|
|||
"Bad Requests": "Solicitudes incorrectas",
|
||||
"Tap Rage": "Ira al tocar",
|
||||
"More attribute": "Más atributos",
|
||||
"More attributes": "Más atributos"
|
||||
"More attributes": "Más atributos",
|
||||
"Account settings updated successfully": "Configuración de la cuenta actualizada correctamente",
|
||||
"Include rage clicks": "Incluir clics de ira"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1496,5 +1496,7 @@
|
|||
"Bad Requests": "Mauvaises requêtes",
|
||||
"Tap Rage": "Rage au tap",
|
||||
"More attribute": "Plus d'attributs",
|
||||
"More attributes": "Plus d'attributs"
|
||||
"More attributes": "Plus d'attributs",
|
||||
"Account settings updated successfully": "Paramètres du compte mis à jour avec succès",
|
||||
"Include rage clicks": "Inclure les clics de rage"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1496,5 +1496,7 @@
|
|||
"Bad Requests": "Неудачные запросы",
|
||||
"Tap Rage": "Невыносимые тапы",
|
||||
"More attribute": "Еще атрибут",
|
||||
"More attributes": "Еще атрибуты"
|
||||
"More attributes": "Еще атрибуты",
|
||||
"Account settings updated successfully": "Настройки аккаунта успешно обновлены",
|
||||
"Include rage clicks": "Включить невыносимые клики"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1496,5 +1496,7 @@
|
|||
"Bad Requests": "错误请求",
|
||||
"Tap Rage": "点击狂怒",
|
||||
"More attributes": "更多属性",
|
||||
"More attribute": "更多属性"
|
||||
"More attribute": "更多属性",
|
||||
"Account settings updated successfully": "帐户设置已成功更新",
|
||||
"Include rage clicks": "包括点击狂怒"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue