diff --git a/client/src/components/Auth/Registration.tsx b/client/src/components/Auth/Registration.tsx index dec13610797..495bc84c617 100644 --- a/client/src/components/Auth/Registration.tsx +++ b/client/src/components/Auth/Registration.tsx @@ -55,13 +55,15 @@ function Registration() { return (
-

Create your account

+

+ {localize(lang, 'com_auth_create_account')} +

{error && (
- There was an error attempting to register your account. Please try again. {errorMessage} + {localize(lang, 'com_auth_error_create')} {errorMessage}
)}
{ return ( diff --git a/client/src/components/Endpoints/EndpointOptionsDialog.jsx b/client/src/components/Endpoints/EndpointOptionsDialog.jsx index ffd2660ce85..c147b178d9a 100644 --- a/client/src/components/Endpoints/EndpointOptionsDialog.jsx +++ b/client/src/components/Endpoints/EndpointOptionsDialog.jsx @@ -48,7 +48,7 @@ const EndpointOptionsDialog = ({ open, onOpenChange, preset: _preset, title }) = <> diff --git a/client/src/components/Endpoints/Plugins/AgentSettings.jsx b/client/src/components/Endpoints/Plugins/AgentSettings.jsx index a36dcde0298..1ff09ffd950 100644 --- a/client/src/components/Endpoints/Plugins/AgentSettings.jsx +++ b/client/src/components/Endpoints/Plugins/AgentSettings.jsx @@ -46,7 +46,7 @@ function Settings(props) {
@@ -24,7 +24,7 @@ function OptionHover({ type, side }) { // {...options} >
-

{types[type]}

+

{localize(lang, types[type])}

diff --git a/client/src/components/Endpoints/Plugins/Settings.jsx b/client/src/components/Endpoints/Plugins/Settings.jsx index d1a8043cb2d..d1afa7bab3f 100644 --- a/client/src/components/Endpoints/Plugins/Settings.jsx +++ b/client/src/components/Endpoints/Plugins/Settings.jsx @@ -55,7 +55,7 @@ function Settings(props) {
{ }; useEffect(() => { - setTitle(preset?.title || 'My Preset'); + setTitle(preset?.title || localize(lang, 'com_endpoint_my_preset')); // eslint-disable-next-line react-hooks/exhaustive-deps }, [open]); return (