mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-22 22:59:28 +01:00
add toasts keys i18n
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
|
||||
if (position) {
|
||||
await updateUserInfo(localStorage.token, { location: position });
|
||||
toast.success('User location successfully retrieved.');
|
||||
toast.success($i18n.t('User location successfully retrieved.'));
|
||||
} else {
|
||||
userLocation = false;
|
||||
}
|
||||
@@ -111,7 +111,7 @@
|
||||
saveSettings({ responseAutoCopy: responseAutoCopy });
|
||||
} else {
|
||||
toast.error(
|
||||
'Clipboard write permission denied. Please check your browser settings to grant the necessary access.'
|
||||
$i18n.t('Clipboard write permission denied. Please check your browser settings to grant the necessary access.')
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user