Files
agenda-web/src/app/strings.ts

22 lines
729 B
TypeScript

export const strings = Object.freeze({
actions: 'actions',
add: 'add',
addContact: 'add a contact',
allFieldRequired: 'all fields are required',
company: 'company',
contacts: 'contacts',
contactsName: "Contact's name",
contactsCompany: "Contact's company",
contactsPhone: "Contact's phone",
contactList: 'contact list',
editContact: 'edit contact',
editTheContact: 'edit the contact',
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`,
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`,
errorMessageRequired: 'This field is required.',
name: 'name',
phone: 'phone',
save: 'save',
searchContactPlaceholder: 'Search contact...',
});