Skip to content

Commit

Permalink
Merge pull request #27640 from paultsimura/fix/26897-reimbursement-units
Browse files Browse the repository at this point in the history
fix: Reimbursements - Track distance: inconsistency in units capitalization
  • Loading branch information
madmax330 authored Sep 22, 2023
2 parents 171259c + 367307e commit f39184e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,6 @@ export default {
reimburse: {
captureReceipts: 'Capture receipts',
fastReimbursementsHappyMembers: 'Fast reimbursements = happy members!',
kilometers: 'Kilometers',
viewAllReceipts: 'View all receipts',
reimburseReceipts: 'Reimburse receipts',
trackDistance: 'Track distance',
Expand Down
1 change: 0 additions & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,6 @@ export default {
reimburse: {
captureReceipts: 'Captura recibos',
fastReimbursementsHappyMembers: '¡Reembolsos rápidos = miembros felices!',
kilometers: 'Kilómetros',
viewAllReceipts: 'Ver todos los recibos',
reimburseReceipts: 'Reembolsar recibos',
trackDistance: 'Medir distancia',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/workspace/reimburse/WorkspaceRateAndUnitPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class WorkspaceRateAndUnitPage extends React.Component {

getUnitItems() {
return [
{label: this.props.translate('workspace.reimburse.kilometers'), value: CONST.CUSTOM_UNITS.DISTANCE_UNIT_KILOMETERS},
{label: this.props.translate('common.kilometers'), value: CONST.CUSTOM_UNITS.DISTANCE_UNIT_KILOMETERS},
{label: this.props.translate('common.miles'), value: CONST.CUSTOM_UNITS.DISTANCE_UNIT_MILES},
];
}
Expand Down

0 comments on commit f39184e

Please sign in to comment.