diff --git a/apps/meteor/client/components/connectionStatus/ConnectionStatusBar.tsx b/apps/meteor/client/components/connectionStatus/ConnectionStatusBar.tsx index 2737a6fc4d4a..a67372be9a95 100644 --- a/apps/meteor/client/components/connectionStatus/ConnectionStatusBar.tsx +++ b/apps/meteor/client/components/connectionStatus/ConnectionStatusBar.tsx @@ -65,7 +65,7 @@ const ConnectionStatusBar: FC = function ConnectionStatusBar() { {t('meteor_status' as Parameters[0], { context: status })} - {status === 'waiting' && <> {t('meteor_status_reconnect_in', { count: reconnectCountdown })}} + {status === 'waiting' && <> {t('meteor_status_reconnect_in', { counter: reconnectCountdown })}} {['waiting', 'offline'].includes(status) && ( <> diff --git a/apps/meteor/client/views/marketplace/components/EnabledAppsCount.tsx b/apps/meteor/client/views/marketplace/components/EnabledAppsCount.tsx index da135cbdedfc..cd3e482b977b 100644 --- a/apps/meteor/client/views/marketplace/components/EnabledAppsCount.tsx +++ b/apps/meteor/client/views/marketplace/components/EnabledAppsCount.tsx @@ -19,8 +19,8 @@ const EnabledAppsCount = ({ }): ReactElement | null => { const t = useTranslation(); - const privateAppsCountText: string = t('Private_Apps_Count_Enabled', { count: enabled }); - const marketplaceAppsCountText: string = t('Apps_Count_Enabled', { count: enabled }); + const privateAppsCountText: string = t('Private_Apps_Count_Enabled', { counter: enabled }); + const marketplaceAppsCountText: string = t('Apps_Count_Enabled', { counter: enabled }); return ( { throw new Error(t('No_messages_found_to_prune')); } - dispatchToastMessage({ type: 'success', message: t('__count__message_pruned', { count }) }); + dispatchToastMessage({ type: 'success', message: t('__count__message_pruned', { counter: count }) }); methods.reset(); } catch (error: unknown) { dispatchToastMessage({ type: 'error', message: error }); diff --git a/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfList/VideoConfListItem.tsx b/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfList/VideoConfListItem.tsx index e63e47c402e6..8b9f073e4925 100644 --- a/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfList/VideoConfListItem.tsx +++ b/apps/meteor/client/views/room/contextualBar/VideoConference/VideoConfList/VideoConfListItem.tsx @@ -94,7 +94,7 @@ const VideoConfListItem = ({ {joinedUsers.length > VIDEOCONF_STACK_MAX_USERS - ? t('__usersCount__member_joined', { usersCount: joinedUsers.length - VIDEOCONF_STACK_MAX_USERS }) + ? t('__usersCount__member_joined', { counter: joinedUsers.length - VIDEOCONF_STACK_MAX_USERS }) : t('joined')} diff --git a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json index 80ad18ad6743..e88a0051d9a3 100644 --- a/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json +++ b/apps/meteor/packages/rocketchat-i18n/i18n/en.i18n.json @@ -3,13 +3,13 @@ "__agents__agents_and__count__conversations__period__": "{{agents}} agents and {{count}} conversations, {{period}}", "__count__empty_rooms_will_be_removed_automatically": "{{count}} empty rooms will be removed automatically.", "__count__empty_rooms_will_be_removed_automatically__rooms__": "{{count}} empty rooms will be removed automatically:
{{rooms}}.", - "__count__message_pruned": "{{count}} message pruned", - "__count__message_pruned_plural": "{{count}} messages pruned", + "__count__message_pruned": "{{counter}} message pruned", + "__count__message_pruned_plural": "{{counter}} messages pruned", "__count__conversations__period__": "{{count}} conversations, {{period}}", "__count__tags__and__count__conversations__period__": "{{count}} tags and {{conversations}} conversations, {{period}}", "__departments__departments_and__count__conversations__period__": "{{departments}} departments and {{count}} conversations, {{period}}", - "__usersCount__member_joined": "+ {{usersCount}} member joined", - "__usersCount__member_joined_plural": "+ {{usersCount}} members joined", + "__usersCount__member_joined": "+ {{counter}} member joined", + "__usersCount__member_joined_plural": "+ {{counter}} members joined", "__usersCount__people_will_be_invited": "{{usersCount}} people will be invited", "__username__is_no_longer__role__defined_by__user_by_": "{{username}} is no longer {{role}} by {{user_by}}", "__username__was_set__role__by__user_by_": "{{username}} was set {{role}} by {{user_by}}", @@ -532,10 +532,10 @@ "Apps_context_requested": "Requested", "Apps_context_private": "Private Apps", "Apps_context_premium": "Premium", - "Apps_Count_Enabled": "{{count}} app enabled", - "Apps_Count_Enabled_plural": "{{count}} apps enabled", - "Private_Apps_Count_Enabled": "{{count}} private app enabled", - "Private_Apps_Count_Enabled_plural": "{{count}} private apps enabled", + "Apps_Count_Enabled": "{{counter}} app enabled", + "Apps_Count_Enabled_plural": "{{counter}} apps enabled", + "Private_Apps_Count_Enabled": "{{counter}} private app enabled", + "Private_Apps_Count_Enabled_plural": "{{counter}} private apps enabled", "Apps_Count_Enabled_tooltip": "Community Edition workspaces can enable up to {{number}} {{context}} apps", "Apps_disabled_when_Enterprise_trial_ended": "Apps disabled when Enterprise trial ended", "Apps_disabled_when_Enterprise_trial_ended_description": "Workspaces on Community Edition can have up to 5 marketplace apps and 3 private apps enabled. Ask your workspace admin to reenable apps.", @@ -3516,7 +3516,7 @@ "meteor_status_failed": "The server connection failed", "meteor_status_offline": "Offline mode.", "meteor_status_reconnect_in": "trying again in one second...", - "meteor_status_reconnect_in_plural": "trying again in {{count}} seconds...", + "meteor_status_reconnect_in_plural": "trying again in {{counter}} seconds...", "meteor_status_try_now_offline": "Connect again", "meteor_status_try_now_waiting": "Try now", "meteor_status_waiting": "Waiting for server connection,", @@ -6088,4 +6088,4 @@ "Theme_Appearence": "Theme Appearence", "Premium": "Premium", "Premium_capability": "Premium capability" -} \ No newline at end of file +}