feat: add strings
This commit is contained in:
@@ -5,13 +5,18 @@ export const strings = Object.freeze({
|
|||||||
allFieldRequired: 'all fields are required',
|
allFieldRequired: 'all fields are required',
|
||||||
company: 'company',
|
company: 'company',
|
||||||
constacts: 'contacts',
|
constacts: 'contacts',
|
||||||
|
contactsName: "Contact's name",
|
||||||
|
contactsCompany: "Contact's company",
|
||||||
|
contactsPhone: "Contact's phone",
|
||||||
contactList: 'contact list',
|
contactList: 'contact list',
|
||||||
editContact: 'edit contact',
|
editContact: 'edit contact',
|
||||||
|
editTheContact: 'edit the contact',
|
||||||
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`,
|
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`,
|
||||||
errorMessageMinLength: (minLen: number) => `Must be at least ${minLen} characters long.`,
|
errorMessageMinLength: (minLen: number) => `Must be at least ${minLen} characters long.`,
|
||||||
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`,
|
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`,
|
||||||
errorMessageRequired: 'This field is required.',
|
errorMessageRequired: 'This field is required.',
|
||||||
name: 'name',
|
name: 'name',
|
||||||
phone: 'phone',
|
phone: 'phone',
|
||||||
searchContactPlaceholder: 'Search contact...'
|
save: 'save',
|
||||||
|
searchContactPlaceholder: 'Search contact...',
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user