Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update AddressStep.tsx #55327

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ const translations = {
addressLine: ({lineNumber}: AddressLineParams) => `Address line ${lineNumber}`,
personalAddress: 'Personal address',
companyAddress: 'Company address',
noPO: 'PO boxes and mail drop addresses are not allowed',
noPO: 'No PO boxes or mail-drop addresses, please.',
jamesdeanexpensify marked this conversation as resolved.
Show resolved Hide resolved
city: 'City',
state: 'State',
streetAddress: 'Street address',
Expand Down Expand Up @@ -2201,7 +2201,6 @@ const translations = {
whatsYourLegalName: 'What’s your legal name?',
whatsYourDOB: 'What’s your date of birth?',
whatsYourAddress: 'What’s your address?',
noPOBoxesPlease: 'No PO boxes or mail-drop addresses, please.',
jamesdeanexpensify marked this conversation as resolved.
Show resolved Hide resolved
whatsYourSSN: 'What are the last four digits of your Social Security Number?',
noPersonalChecks: 'Don’t worry, no personal credit checks here!',
whatsYourPhoneNumber: 'What’s your phone number?',
Expand Down
3 changes: 1 addition & 2 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const translations = {
addressLine: ({lineNumber}: AddressLineParams) => `Dirección línea ${lineNumber}`,
personalAddress: 'Dirección física personal',
companyAddress: 'Dirección física de la empresa',
noPO: 'No se aceptan apartados ni direcciones postales',
noPO: 'Nada de apartados de correos ni direcciones de envío, por favor.',
city: 'Ciudad',
state: 'Estado',
streetAddress: 'Dirección',
Expand Down Expand Up @@ -2225,7 +2225,6 @@ const translations = {
whatsYourLegalName: '¿Cuál es tu nombre legal?',
whatsYourDOB: '¿Cuál es tu fecha de nacimiento?',
whatsYourAddress: '¿Cuál es tu dirección?',
noPOBoxesPlease: 'Nada de apartados de correos ni direcciones de envío, por favor.',
whatsYourSSN: '¿Cuáles son los últimos 4 dígitos de tu número de la seguridad social?',
noPersonalChecks: 'No te preocupes, no hacemos verificaciones de crédito personales.',
whatsYourPhoneNumber: '¿Cuál es tu número de teléfono?',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function AddressStep({onNext, onMove, isEditing}: SubStepProps) {
onMove={onMove}
formID={ONYXKEYS.FORMS.WALLET_ADDITIONAL_DETAILS}
formTitle={translate('personalInfoStep.whatsYourAddress')}
formPOBoxDisclaimer={translate('personalInfoStep.noPOBoxesPlease')}
formPOBoxDisclaimer={translate('common.noPO')}
onSubmit={handleSubmit}
stepFields={STEP_FIELDS}
inputFieldsIDs={INPUT_KEYS}
Expand Down
Loading