diff --git a/.changeset/witty-foxes-thank.md b/.changeset/witty-foxes-thank.md new file mode 100644 index 0000000000000..99ce5cd6e37e4 --- /dev/null +++ b/.changeset/witty-foxes-thank.md @@ -0,0 +1,6 @@ +--- +"@rocket.chat/meteor": patch +"@rocket.chat/i18n": patch +--- + +Fixes a typo in the app update success toast diff --git a/apps/meteor/client/views/marketplace/AppDetailsPage/AppDetailsPage.tsx b/apps/meteor/client/views/marketplace/AppDetailsPage/AppDetailsPage.tsx index f31613ebcd396..2b384e27082f1 100644 --- a/apps/meteor/client/views/marketplace/AppDetailsPage/AppDetailsPage.tsx +++ b/apps/meteor/client/views/marketplace/AppDetailsPage/AppDetailsPage.tsx @@ -76,7 +76,7 @@ const AppDetailsPage = ({ id }: AppDetailsPageProps): ReactElement => { })), ); reset(data); - dispatchToastMessage({ type: 'success', message: `${name} settings saved succesfully` }); + dispatchToastMessage({ type: 'success', message: t('App_Settings_Saved_Successfully', { appName: name }) }); } catch (e: any) { handleAPIError(e); } diff --git a/packages/i18n/src/locales/en.i18n.json b/packages/i18n/src/locales/en.i18n.json index 1a7ecd479baeb..4f3c109638bc1 100644 --- a/packages/i18n/src/locales/en.i18n.json +++ b/packages/i18n/src/locales/en.i18n.json @@ -562,6 +562,7 @@ "api-bypass-rate-limit_description": "Permission to call api without rate limitation", "APIs": "APIs", "App_Info": "App Info", + "App_Settings_Saved_Successfully": "{{appName}} saved successfully", "Apps_context_enterprise": "Enterprise", "App_has_been_disabled_addon_message_one": "The app {{appNames}} has been disabled because of an invalid add-on. A valid add-on subscription is required to re-enable it", "App_has_been_disabled_addon_message_other": "The apps {{appNames}} have been disabled because of invalid add-ons. A valid add-on subscription is required to re-enable them",