Skip to content

Commit

Permalink
Use translation keys that match quick action names
Browse files Browse the repository at this point in the history
  • Loading branch information
rafecolton committed Mar 26, 2024
1 parent 6a0fabe commit 76264c1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ export default {
recordDistance: 'Record Distance',
requestMoney: 'Request Money',
splitBill: 'Split Bill',
splitReceipt: 'Split Receipt',
splitScan: 'Split Receipt',
splitDistance: 'Split Distance',
sendMoney: 'Send Money',
assignTask: 'Assign Task',
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ export default {
recordDistance: 'Grabar Distancia',
requestMoney: 'Solicitar Dinero',
splitBill: 'Dividir Cuenta',
splitReceipt: 'Dividir Recibo',
splitScan: 'Dividir Recibo',
splitDistance: 'Dividir Distancia',
sendMoney: 'Enviar Dinero',
assignTask: 'Assignar Tarea',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ const getQuickActionTitle = (action) => {
case CONST.QUICK_ACTIONS.SPLIT_MANUAL:
return 'quickAction.splitBill';
case CONST.QUICK_ACTIONS.SPLIT_SCAN:
return 'quickAction.splitReceipt';
case CONST.QUICK_ACTIONS.SPLIT_DISTANCE:
return 'quickAction.splitScan';
case CONST.QUICK_ACTIONS.SPLIT_DISTANCE:
return 'quickAction.splitDistance';
case CONST.QUICK_ACTIONS.SEND_MONEY:
return 'quickAction.sendMoney';
case CONST.QUICK_ACTIONS.ASSIGN_TASK:
Expand Down

0 comments on commit 76264c1

Please sign in to comment.