feat: add more strings
This commit is contained in:
@@ -1,13 +1,17 @@
|
|||||||
export const strings = Object.freeze({
|
export const strings = Object.freeze({
|
||||||
|
actions: 'actions',
|
||||||
add: 'add',
|
add: 'add',
|
||||||
addContact: 'add a contact',
|
addContact: 'add a contact',
|
||||||
allFieldRequired: 'all fields are required',
|
allFieldRequired: 'all fields are required',
|
||||||
company: 'company',
|
company: 'company',
|
||||||
|
constacts: 'contacts',
|
||||||
contactList: 'contact list',
|
contactList: 'contact list',
|
||||||
name: 'name',
|
editContact: 'edit contact',
|
||||||
phone: 'phone',
|
|
||||||
errorMessageRequired: 'This field is required.',
|
|
||||||
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.',
|
||||||
|
name: 'name',
|
||||||
|
phone: 'phone',
|
||||||
|
searchContactPlaceholder: 'Search contact...'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user