diff --git a/src/languages/en.ts b/src/languages/en.ts index f4c3e2158428..d7d8e10eb64f 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -1756,6 +1756,7 @@ export default { mustBeOnlineToViewMembers: 'You must be online in order to view members of this workspace.', requested: 'Requested', distanceRates: 'Distance rates', + selected: ({selectedNumber}) => `${selectedNumber} selected`, }, type: { free: 'Free', @@ -1817,7 +1818,6 @@ export default { makeMember: 'Make member', makeAdmin: 'Make admin', selectAll: 'Select all', - selected: ({selectedNumber}) => `${selectedNumber} selected`, error: { genericAdd: 'There was a problem adding this workspace member.', cannotRemove: 'You cannot remove yourself or the workspace owner.', @@ -1923,7 +1923,6 @@ export default { disableRate: 'Disable rate', disableRates: 'Disable rates', enableRates: 'Enable rates', - selected: 'Selected', status: 'Status', enabled: 'Enabled', disabled: 'Disabled', diff --git a/src/languages/es.ts b/src/languages/es.ts index 0b1ec1059f58..48c4c5bb94c6 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -1780,6 +1780,7 @@ export default { mustBeOnlineToViewMembers: 'Debes estar en línea para poder ver los miembros de este espacio de trabajo.', requested: 'Solicitado', distanceRates: 'Tasas de distancia', + selected: ({selectedNumber}) => `${selectedNumber} seleccionados`, }, type: { free: 'Gratis', @@ -1841,7 +1842,6 @@ export default { makeMember: 'Hacer miembro', makeAdmin: 'Hacer administrador', selectAll: 'Seleccionar todo', - selected: ({selectedNumber}) => `${selectedNumber} seleccionados`, error: { genericAdd: 'Ha ocurrido un problema al añadir el miembro al espacio de trabajo.', cannotRemove: 'No puedes eliminarte ni a ti mismo ni al dueño del espacio de trabajo.', @@ -1948,7 +1948,6 @@ export default { disableRate: 'Desactivar tasa', disableRates: 'Desactivar tasas', enableRates: 'Activar tasas', - selected: 'Seleccionada', status: 'Estado', enabled: 'Activada', disabled: 'Desactivada', diff --git a/src/pages/workspace/WorkspaceMembersPage.tsx b/src/pages/workspace/WorkspaceMembersPage.tsx index 3970533870c1..9763391fc9d4 100644 --- a/src/pages/workspace/WorkspaceMembersPage.tsx +++ b/src/pages/workspace/WorkspaceMembersPage.tsx @@ -464,7 +464,7 @@ function WorkspaceMembersPage({policyMembers, personalDetails, route, policy, se shouldAlwaysShowDropdownMenu pressOnEnter - customText={translate('workspace.people.selected', {selectedNumber: selectedEmployees.length})} + customText={translate('workspace.common.selected', {selectedNumber: selectedEmployees.length})} buttonSize={CONST.DROPDOWN_BUTTON_SIZE.MEDIUM} onPress={() => null} options={getBulkActionsButtonOptions()} diff --git a/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx b/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx index b8af141f6933..fe6e0ff1e03f 100644 --- a/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx +++ b/src/pages/workspace/distanceRates/PolicyDistanceRatesPage.tsx @@ -215,7 +215,7 @@ function PolicyDistanceRatesPage({policy, route}: PolicyDistanceRatesPageProps) shouldAlwaysShowDropdownMenu pressOnEnter - customText={`${selectedDistanceRates.length} ${translate('workspace.distanceRates.selected')}`} + customText={translate('workspace.common.selected', {selectedNumber: selectedDistanceRates.length})} buttonSize={CONST.DROPDOWN_BUTTON_SIZE.MEDIUM} onPress={() => null} options={getBulkActionsButtonOptions()}