text: const en = {
    common: {
      or: 'or',
      cancel: 'Cancel',
      reset: 'Reset',
      save: 'Save',
      search: 'Search',
      edit: 'Edit',
      remove: 'Remove',
      new: 'New',
      export: 'Export to Excel',
      noDataToExport: 'No data to export',
      import: 'Import',
      discard: 'Discard',
      yes: 'Yes',
      no: 'No',
      pause: 'Pause',
      areYouSure: 'Are you sure?',
      view: 'View',
      destroy: 'Delete',
      mustSelectARow: 'Must select a row',
    },
  
    app: {
      title: '',
    },
  
    entities: {
      pet: {
        name: 'pet',
        label: '',
        menu: '',
        exporterFileName: 'pet_export',
        list: {
          menu: '',
          title: '',
        },
        create: {
          success: 'pet saved successfully',
        },
        update: {
          success: 'pet saved successfully',
        },
        destroy: {
          success: 'pet deleted successfully',
        },
        destroyAll: {
          success: 'pet(s) deleted successfully',
        },
        edit: {
          title: 'Edit pet',
        },
        fields: {
          id: '',
          'owner': '',
          'name': '',
          'type': '',
          'breed': '',
          'size': '',
          'bookings': '',
          createdAt: 'Created at',
          updatedAt: 'Updated at',
          createdAtRange: 'Created at',
        },
        enumerators: {
          'type': {
            'cat': '',
            'dog': '',
          },
          'size': {
            'small': '',
            'medium': '',
            'large': '',
          },
        },
        new: {
          title: 'New pet',
        },
        view: {
          title: 'View pet',
        },
        importer: {
          title: 'Import pets',
          fileName: 'pet_import_template',
          hint:
            'Files/Images columns must be the URLs of the files separated by space.',
        },
      },
  
      booking: {
        name: 'booking',
        label: '',
        menu: '',
        exporterFileName: 'booking_export',
        list: {
          menu: '',
          title: '',
        },
        create: {
          success: 'booking saved successfully',
        },
        update: {
          success: 'booking saved successfully',
        },
        destroy: {
          success: 'booking deleted successfully',
        },
        destroyAll: {
          success: 'booking(s) deleted successfully',
        },
        edit: {
          title: 'Edit booking',
        },
        fields: {
          id: '',
          'owner': '',
          'pet': '',
          'arrivalRange': '',
          'arrival': '',
          'departureRange': '',
          'departure': '',
          'clientNotes': '',
          'employeeNotes': '',
          'photos': '',
          'status': '',
          'cancellationNotes': '',
          'feeRange': '',
          'fee': '',
          'receipt': '',
          createdAt: 'Created at',
          updatedAt: 'Updated at',
          createdAtRange: 'Created at',
        },
        enumerators: {
          'status': {
            'booked': '',
            'progress': '',
            'cancelled': '',
            'completed': '',
          },
        },
        new: {
          title: 'New booking',
        },
        view: {
          title: 'View booking',
        },
        importer: {
          title: 'Import bookings',
          fileName: 'booking_import_template',
          hint:
            'Files/Images columns must be the URLs of the files separated by space.',
        },
      },
    },
  
    auth: {
      profile: {
        title: 'Edit Profile',
        success: 'Profile updated successfully',
      },
      createAnAccount: 'Create an account',
      rememberMe: 'Remember me',
      forgotPassword: 'Forgot password',
      signin: 'Sign in',
      signup: 'Sign up',
      signout: 'Sign out',
      alreadyHaveAnAccount:
        'Already have an account? Sign in.',
      signinWithAnotherAccount:
        'Sign in with another account',
      emailUnverified: {
        message: `Please confirm your email at <strong>{0}</strong> to confinue.`,
        submit: `Resend email verification`,
      },
      emptyPermissions: {
        message: `You have no permissions yet. Wait for the admin to grant you privileges.`,
      },
      passwordReset: {
        message: 'Send password reset email',
        error: `Email not recognized`,
      },
      emailAddressVerificationEmail: {
        error: `Email not recognized`,
      },
      verificationEmailSuccess: `Verification email sent successfully`,
      passwordResetSuccess: `Password reset email sent successfully`,
    },
  
    roles: {
      owner: {
        label: 'Owner',
        description: 'Full access to all resources',
      },
      editor: {
        label: 'Editor',
        description: 'Edit access to all resources',
      },
      viewer: {
        label: 'Viewer',
        description: 'View access to all resources',
      },
      auditLogViewer: {
        label: 'Audit Log Viewer',
        description: 'Access to view audit logs',
      },
      iamSecurityReviewer: {
        label: 'Security Reviewer',
        description: `Full access to manage users roles`,
      },
      entityEditor: {
        label: 'Entity Editor',
        description: 'Edit access to all entities',
      },
      entityViewer: {
        label: 'Entity Viewer',
        description: 'View access to all entities',
      },
      petEditor: {
        label: 'pet Editor',
        description: 'Edit access to pet',
      },
      petViewer: {
        label: 'pet Viewer',
        description: 'View access to pet',
      },
      bookingEditor: {
        label: 'booking Editor',
        description: 'Edit access to booking',
      },
      bookingViewer: {
        label: 'booking Viewer',
        description: 'View access to booking',
      },
    },
  
    iam: {
      title: 'Identity and Access Management',
      menu: 'IAM',
      disable: 'Disable',
      disabled: 'Disabled',
      enabled: 'Enabled',
      enable: 'Enable',
      doEnableSuccess: 'User enabled successfully',
      doDisableSuccess: 'User disabled successfully',
      doDisableAllSuccess: 'User(s) disabled successfully',
      doEnableAllSuccess: 'User(s) enabled successfully',
      doAddSuccess: 'User(s) saved successfully',
      doUpdateSuccess: 'User saved successfully',
      viewBy: 'View By',
      users: {
        name: 'users',
        label: 'Users',
        exporterFileName: 'users_export',
        doRemoveAllSelectedSuccess:
          'Permissions removed successfully',
      },
      roles: {
        label: 'Roles',
        doRemoveAllSelectedSuccess:
          'Permissions removed successfully',
      },
      edit: {
        title: 'Edit User',
      },
      new: {
        title: 'New User(s)',
        emailsHint:
          'Separate multiple email addresses using the comma character.',
      },
      view: {
        title: 'View User',
        activity: 'Activity',
      },
      importer: {
        title: 'Import Users',
        fileName: 'users_import_template',
        hint:
          'Files/Images columns must be the URLs of the files separated by space. Relationships must be the ID of the referenced records separated by space. Roles must be the role ids separated by space.',
      },
      errors: {
        userAlreadyExists:
          'User with this email already exists',
        userNotFound: 'User not found',
        disablingHimself: `You can't disable yourself`,
        revokingOwnPermission: `You can't revoke your own owner permission`,
      },
    },
  
    user: {
      fields: {
        id: 'Id',
        authenticationUid: 'Authentication Uid',
        avatars: 'Avatar',
        email: 'Email',
        emails: 'Email(s)',
        fullName: 'Name',
        firstName: 'First Name',
        lastName: 'Last Name',
        status: 'Status',
        disabled: 'Disabled',
        phoneNumber: 'Phone Number',
        role: 'Role',
        createdAt: 'Created at',
        updatedAt: 'Updated at',
        roleUser: 'Role/User',
        roles: 'Roles',
        createdAtRange: 'Created at',
        password: 'Password',
        rememberMe: 'Remember me',
      },
      enabled: 'Enabled',
      disabled: 'Disabled',
      validations: {
        // eslint-disable-next-line
        email: 'Email ${value} is invalid',
      },
    },
  
    auditLog: {
      menu: 'Audit Logs',
      title: 'Audit Logs',
      exporterFileName: 'audit_log_export',
      entityNamesHint:
        'Separate multiple entities using the comma character.',
      fields: {
        id: 'Id',
        timestampRange: 'Period',
        entityName: 'Entity',
        entityNames: 'Entities',
        entityId: 'Entity ID',
        action: 'Action',
        values: 'Values',
        timestamp: 'Date',
        createdByEmail: 'User Email',
      },
    },
    settings: {
      title: 'Settings',
      menu: 'Settings',
      save: {
        success:
          'Settings saved successfully. The page will reload in {0} seconds for changes to take effect.',
      },
      fields: {
        theme: 'Theme',
      },
      colors: {
        default: 'Default',
        cyan: 'Cyan',
        'geek-blue': 'Geek Blue',
        gold: 'Gold',
        lime: 'Lime',
        magenta: 'Magenta',
        orange: 'Orange',
        'polar-green': 'Polar Green',
        purple: 'Purple',
        red: 'Red',
        volcano: 'Volcano',
        yellow: 'Yellow',
      },
    },
    home: {
      menu: 'Home',
      message: `This page uses fake data for demonstration purposes only. You can edit it at frontend/view/home/HomePage.js.`,
      charts: {
        day: 'Day',
        red: 'Red',
        green: 'Green',
        yellow: 'Yellow',
        grey: 'Grey',
        blue: 'Blue',
        sales: 'Sales',
        visitor: 'Visitors',
        months: {
          1: 'January',
          2: 'February',
          3: 'March',
          4: 'April',
          5: 'May',
          6: 'June',
          7: 'July',
        },
        eating: 'Eating',
        drinking: 'Drinking',
        sleeping: 'Sleeping',
        designing: 'Designing',
        coding: 'Coding',
        cycling: 'Cycling',
        running: 'Running',
        customer: 'Customer',
      },
    },
    errors: {
      backToHome: 'Back to home',
      403: `Sorry, you don't have access to this page`,
      404: 'Sorry, the page you visited does not exist',
      500: 'Sorry, the server is reporting an error',
      forbidden: {
        message: 'Forbidden',
      },
      validation: {
        message: 'An error occurred',
      },
      defaultErrorMessage: 'Ops, an error occurred',
    },
    // See https://github.com/jquense/yup#using-a-custom-locale-dictionary
    /* eslint-disable */
    validation: {
      mixed: {
        default: '${path} is invalid',
        required: '${path} is required',
        oneOf:
          '${path} must be one of the following values: ${values}',
        notOneOf:
          '${path} must not be one of the following values: ${values}',
        notType: ({ path, type, value, originalValue }) => {
          return `${path} must be a ${type}`;
        },
      },
      string: {
        length:
          '${path} must be exactly ${length} characters',
        min: '${path} must be at least ${min} characters',
        max: '${path} must be at most ${max} characters',
        matches:
          '${path} must match the following: "${regex}"',
        email: '${path} must be a valid email',
        url: '${path} must be a valid URL',
        trim: '${path} must be a trimmed string',
        lowercase: '${path} must be a lowercase string',
        uppercase: '${path} must be a upper case string',
        selected: '${path} must be selected',
      },
      number: {
        min:
          '${path} must be greater than or equal to ${min}',
        max: '${path} must be less than or equal to ${max}',
        lessThan: '${path} must be less than ${less}',
        moreThan: '${path} must be greater than ${more}',
        notEqual: '${path} must be not equal to ${notEqual}',
        positive: '${path} must be a positive number',
        negative: '${path} must be a negative number',
        integer: '${path} must be an integer',
      },
      date: {
        min: '${path} field must be later than ${min}',
        max: '${path} field must be at earlier than ${max}',
      },
      boolean: {},
      object: {
        noUnknown:
          '${path} field cannot have keys not specified in the object shape',
      },
      array: {
        min: '${path} field must have at least ${min} items',
        max:
          '${path} field must have less than or equal to ${max} items',
      },
    },
    /* eslint-disable */
    fileUploader: {
      upload: 'Upload',
      image: 'You must upload an image',
      size: 'File is too big. Max allowed size is {0}',
      formats: `Invalid format. Must be '{0}'.`,
    },
    importer: {
      line: 'Line',
      status: 'Status',
      pending: 'Pending',
      imported: 'Imported',
      error: 'Error',
      total: `{0} imported, {1} pending and {2} with error`,
      importedMessage: `Processed {0} of {1}.`,
      noNavigateAwayMessage:
        'Do not navigate away from this page or import will be stopped.',
      completed: {
        success:
          'Import completed. All rows were successfully imported.',
        someErrors:
          'Processing completed, but some rows were unable to be imported.',
        allErrors: 'Import failed. There are no valid rows.',
      },
      form: {
        downloadTemplate: 'Download the template',
        hint:
          'Click or drag the file to this area to continue',
      },
      list: {
        discardConfirm:
          'Are you sure? Non-imported data will be lost.',
      },
      errors: {
        invalidFileEmpty: 'The file is empty',
        invalidFileExcel:
          'Only excel (.xlsx) files are allowed',
        invalidFileUpload:
          'Invalid file. Make sure you are using the last version of the template.',
        importHashRequired: 'Import hash is required',
        importHashExistent: 'Data has already been imported',
      },
    },
  
    autocomplete: {
      loading: 'Loading...',
    },
  
    imagesViewer: {
      noImage: 'No image',
    },
  
    firebaseErrors: {
      'auth/user-disabled': 'Your account is disabled',
      'auth/user-not-found': `Sorry, we don't recognize your credentials`,
      'auth/wrong-password': `Sorry, we don't recognize your credentials`,
      'auth/weak-password': 'This password is too weak',
      'auth/email-already-in-use': 'Email is already in use',
      'auth/invalid-email': 'Please provide a valid email',
      'auth/account-exists-with-different-credential':
        'Email is already in use for a different authentication method.',
      'auth/credential-already-in-use':
        'Credentials are already in use',
    },
  };
  
  export default en;
  