Open amponce opened 2 months ago
Existing PR has been created and is ready to go after approval https://github.com/department-of-veterans-affairs/vets-website/pull/31775
@amponce here are my edits, mainly removing some extra words and making the tense and the voice consistent, trying to follow the VA Styleguide as much as possible:
export const errorMessages = {
'questions.isMarried': 'Select whether you're married (select yes or no)',
'questions.hasDependents': 'Enter a valid number for dependents',
'questions.hasVehicle': 'Select whether you own a vehicle (select yes or no)',
'questions.hasRealEstate': 'Select whether you own real estate (select yes or no)',
'questions.hasRecreationalVehicle': 'Select whether you have a recreational vehicle (select yes or no)',
'questions.hasBeenAdjudicatedBankrupt': 'Select whether you've declared for bankruptcy (select yes or no)',
'questions.vetIsEmployed': 'Select whether you're employed (select yes or no)',
'questions.spouseIsEmployed': 'Select whether your spouse is employed (select yes or no)',
'questions.spouseHasBenefits': 'Select whether your spouse has benefits (select yes or no)',
'questions.hasCreditCardBills': 'Select whether you have credit card bills (select yes or no)',
'questions.hasRepayments': 'Select whether you have repayments (select yes or no)',
'personalData.dependents.dependentAge': 'Enter a valid age for each dependent',
'personalData.veteran.employmentHistory': 'Provide valid employment history',
'personalData.spouse.employmentHistory': 'Provide valid employment history',
additionalIncome: 'Provide valid additional income',
benefits: 'Provide valid benefit information',
cashOnHand: 'Enter a valid dollar amount for your cash on hand',
cashInBank: 'Enter a valid dollar amount for your cash in bank',
monetaryAssets: 'Provide valid information for all your monetary assets',
realEstateValue: 'Enter a valid dollar amount for the value of your real estate assets',
recVehicleAmount: 'Enter a valid dollar amount for your recreational vehicle(s)',
otherAssets: 'Provide valid information for all other assets',
expenseRecords: 'Provide valid expenses',
installmentContracts: 'Provide valid installment contracts',
utilityExpenses: 'Provide valid utility expenses',
otherExpenses: 'Provide valid other expenses',
monthlyHousingExpenses: 'Enter a valid dollar amount for your monthly housing expenses',
additionalData: 'Provide valid bankruptcy information',
bankruptcyHistory: 'Provide valid bankruptcy information',
resolutionOption: index => `Select a resolution option for the ${numberToWords(index + 1)} selected debt`,
resolutionComment: index => `Enter a resolution amount for the ${numberToWords(index + 1)} selected debt`,
resolutionWaiverCheck: index => `Select whether you agree to the waiver for the ${numberToWords(index + 1)} selected debt`,
};
cc: @mgleo @charlottecesana feel free to chime in as well!
Thanks for reviewing Joe!
Updated PR with new error text, after we open the CAIA review we can revive the PR
https://github.com/department-of-veterans-affairs/vets-website/pull/31775
Overview
Parent ticket: #90457
Related PR: 31775 - Error Message Pattern
This task involves working with the design team to refine error messaging content and creating a CAIA ticket to review and approve error override messages.
The error messages listed below have been implemented in the referenced PR and now require design team approval and a formal review through a CAIA ticket.
Error Messages for Review:
Tasks:
[ ] 1: Review and approval of error messages
[ ] 2: Submit CAIA Ticket for error override approval
Acceptance Criteria: