diff --git a/src/ROUTES.js b/src/ROUTES.js
index 61c8542be45f..0a84cb15ed98 100644
--- a/src/ROUTES.js
+++ b/src/ROUTES.js
@@ -8,7 +8,7 @@ import {addTrailingForwardSlash} from './libs/Url';
const REPORT = 'r';
export default {
- ADD_BANK_ACCOUNT: 'add-bank-account',
+ ADD_PERSONAL_BANK_ACCOUNT: 'add-personal-bank-account',
HOME: '',
SETTINGS: 'settings',
SETTINGS_PROFILE: 'settings/profile',
diff --git a/src/languages/en.js b/src/languages/en.js
index acb1a603eb12..e4aa2ef234fd 100755
--- a/src/languages/en.js
+++ b/src/languages/en.js
@@ -255,9 +255,9 @@ export default {
enterPassword: 'Enter a password',
setPassword: 'Set Password',
},
- addBankAccountPage: {
+ addPersonalBankAccountPage: {
enterPassword: 'Enter password',
- addBankAccount: 'Add a Bank Account',
+ addPersonalBankAccount: 'Add Bank Account',
alreadyAdded: 'This account has already been added.',
selectAccount: 'Select an account:',
},
diff --git a/src/languages/es.js b/src/languages/es.js
index 4e1ecc05646e..18a028813f3b 100644
--- a/src/languages/es.js
+++ b/src/languages/es.js
@@ -251,9 +251,9 @@ export default {
enterPassword: 'Escribe una contraseña',
setPassword: 'Configura tu Contraseña',
},
- addBankAccountPage: {
+ addPersonalBankAccountPage: {
enterPassword: 'Escribe una contraseña',
- addBankAccount: 'Agregar una cuenta bancaria',
+ addPersonalBankAccount: 'Agregar cuenta bancaria',
alreadyAdded: 'Esta cuenta ya ha sido agregada.',
selectAccount: 'Selecciona una cuenta:',
},
diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js
index 1df7250464ef..78035e2cb4e8 100644
--- a/src/libs/Navigation/AppNavigator/AuthScreens.js
+++ b/src/libs/Navigation/AppNavigator/AuthScreens.js
@@ -49,7 +49,7 @@ import {
NewChatModalStackNavigator,
SettingsModalStackNavigator,
EnablePaymentsStackNavigator,
- AddBankAccountModalStackNavigator,
+ AddPersonalBankAccountModalStackNavigator,
} from './ModalStackNavigators';
import SCREENS from '../../../SCREENS';
import Timers from '../../Timers';
@@ -266,9 +266,9 @@ class AuthScreens extends React.Component {
component={IOUDetailsModalStackNavigator}
/>
diff --git a/src/libs/Navigation/AppNavigator/ModalStackNavigators.js b/src/libs/Navigation/AppNavigator/ModalStackNavigators.js
index c9ab6088892d..7a3685f25067 100644
--- a/src/libs/Navigation/AppNavigator/ModalStackNavigators.js
+++ b/src/libs/Navigation/AppNavigator/ModalStackNavigators.js
@@ -20,7 +20,7 @@ import SettingsAddSecondaryLoginPage from '../../../pages/settings/AddSecondaryL
import IOUCurrencySelection from '../../../pages/iou/IOUCurrencySelection';
import ReportParticipantsPage from '../../../pages/ReportParticipantsPage';
import EnablePaymentsPage from '../../../pages/EnablePayments';
-import AddBankAccountPage from '../../../pages/AddBankAccountPage';
+import AddPersonalBankAccountPage from '../../../pages/AddPersonalBankAccountPage';
const defaultSubRouteOptions = {
cardStyle: styles.navigationScreenCardStyle,
@@ -147,9 +147,9 @@ const EnablePaymentsStackNavigator = createModalStackNavigator([{
name: 'EnablePayments_Root',
}]);
-const AddBankAccountModalStackNavigator = createModalStackNavigator([{
- Component: AddBankAccountPage,
- name: 'AddBankAccount_Root',
+const AddPersonalBankAccountModalStackNavigator = createModalStackNavigator([{
+ Component: AddPersonalBankAccountPage,
+ name: 'AddPersonalBankAccount_Root',
}]);
export {
@@ -163,5 +163,5 @@ export {
NewChatModalStackNavigator,
SettingsModalStackNavigator,
EnablePaymentsStackNavigator,
- AddBankAccountModalStackNavigator,
+ AddPersonalBankAccountModalStackNavigator,
};
diff --git a/src/libs/Navigation/linkingConfig.js b/src/libs/Navigation/linkingConfig.js
index c73f4705a73b..7053c8d4f021 100644
--- a/src/libs/Navigation/linkingConfig.js
+++ b/src/libs/Navigation/linkingConfig.js
@@ -104,9 +104,9 @@ export default {
IOU_Details_Root: ROUTES.IOU_DETAILS_WITH_IOU_REPORT_ID,
},
},
- AddBankAccount: {
+ AddPersonalBankAccount: {
screens: {
- AddBankAccount_Root: ROUTES.ADD_BANK_ACCOUNT,
+ AddPersonalBankAccount_Root: ROUTES.ADD_PERSONAL_BANK_ACCOUNT,
},
},
EnablePayments: {
diff --git a/src/pages/AddBankAccountPage.js b/src/pages/AddPersonalBankAccountPage.js
similarity index 93%
rename from src/pages/AddBankAccountPage.js
rename to src/pages/AddPersonalBankAccountPage.js
index 51598fe60a8d..9fb582421717 100644
--- a/src/pages/AddBankAccountPage.js
+++ b/src/pages/AddPersonalBankAccountPage.js
@@ -50,7 +50,7 @@ const defaultProps = {
},
};
-class AddBankAccountPage extends React.Component {
+class AddPersonalBankAccountPage extends React.Component {
constructor(props) {
super(props);
@@ -88,7 +88,7 @@ class AddBankAccountPage extends React.Component {
return (
Navigation.dismissModal()}
/>
{(!this.props.plaidLinkToken || this.props.plaidBankAccounts.loading)
@@ -111,7 +111,7 @@ class AddBankAccountPage extends React.Component {
{accounts.length > 0 && (
- {this.props.translate('addBankAccountPage.selectAccount')}
+ {this.props.translate('addPersonalBankAccountPage.selectAccount')}
{_.map(accounts, (account, index) => (
{account.alreadyExists && (
- {this.props.translate('addBankAccountPage.alreadyAdded')}
+ {this.props.translate('addPersonalBankAccountPage.alreadyAdded')}
)}
@@ -145,7 +145,7 @@ class AddBankAccountPage extends React.Component {
{!_.isUndefined(this.state.selectedIndex) && (
<>
- {this.props.translate('addBankAccountPage.enterPassword')}
+ {this.props.translate('addPersonalBankAccountPage.enterPassword')}