feat: add more strings

This commit is contained in:
2025-12-14 20:18:06 -03:00
parent 5f37892ecb
commit 6732e0b974

View File

@@ -1,13 +1,17 @@
export const strings = Object.freeze({
actions: 'actions',
add: 'add',
addContact: 'add a contact',
allFieldRequired: 'all fields are required',
company: 'company',
constacts: 'contacts',
contactList: 'contact list',
name: 'name',
phone: 'phone',
errorMessageRequired: 'This field is required.',
editContact: 'edit contact',
errorMessageMaxLength: (maxLen: number) => `Must be ${maxLen} characters or fewer.`,
errorMessageMinLength: (minLen: number) => `Must be at least ${minLen} characters long.`,
errorMessagePhonePattern: `Valid format: + (optional) plus 12 to 15 digits`,
errorMessageRequired: 'This field is required.',
name: 'name',
phone: 'phone',
searchContactPlaceholder: 'Search contact...'
});