/* eslint sort-keys: "error" */
export default {
  apiErrors: {
    badData: 'Bad Data Error',
    badDataMessage: 'The received data is unexpected',
    badParameters: 'Bad Parameters Error',
    badParametersMessage: 'The parameters sent are wrong',
    criteriaNotMatched: 'Incorrect Space',
    criteriaNotMatchedMessage: 'The package you’ve scanned doesn’t belong in this space...',
    groupInvalidId: 'Invalid Group ID',
    groupInvalidIdMessage: '{{groupId}}',
    groupNotFound: 'Group Not Found',
    groupNotFoundMessage: '{{groupId}}',
    invalidSpaceBarcode: 'Invalid Space Barcode',
    invalidSpaceBarcodeMessage: "Looks like you haven't scanned a space barcode.",
    networkConnection: 'Check Your Internet Connection',
    networkConnectionMessage: 'Turn on your internet connection to perform this action',
    packageNotFound: 'Package Not Found',
    packageNotFoundMessage: 'Unable to find any package for the barcode you’ve scanned !',
    scanPackageFirst: 'Please Scan The Package',
    scanPackageFirstMessage:
      'Looks like you scanned the barcode for the space instead of a package.',
    serverError: 'Server Error',
    serverErrorMessage: 'Unexpected server error\n(code: {{code}})',
    spaceNotFound: 'Space Not Found',
    spaceNotFoundMessage: 'We cannot find the space you’ve scanned. Please try again...',
    unknown: 'Unknown Error',
    unknownMessage: 'An unknown error happened',
  },
  common: {
    address: 'Address',
    back: 'Back',
    cancel: 'Cancel',
    continue: 'Continue',
    current: 'Current',
    fastScanError: {
      message: 'Wait for previous scan to be completed',
    },
    group: 'Group',
    ok: 'OK',
    orderId: 'Order id',
    package: 'Package',
    packageId: 'Package id',
    retailer: 'Retailer',
    retry: 'Retry',
    route: 'Route',
    spaceRoute: 'Space route',
    undefined: 'Undefined',
    unknown: 'Unknown',
  },
  component: {
    appVersion: {
      prefix: 'Current version - {{version}} (build {{build}}-{{revision}})',
    },
    backendSelector: {
      button: 'Select the backend:',
      title: 'Backend',
    },
    bleScanner: {
      bluetoothDisconnected: 'Please, Enable The Bluetooth',
      bluetoothUnsupportedMessage: "This device doesn't support bluetooth",
      bluetoothUnsupportedTitle: 'Bluetooth Not Supported',
      enableBluetooth: 'Enable Bluetooth',
      enableLocation: 'Enable Location',
      errorTitle: 'Barcode Scanner Disconnected',
      locationDisconnected: 'Please, Enable The Location Services',
      retry: 'Search A Scanner Again',
      scannerDisconnected: 'Barcode Scanner Disconnected',
      searchScanner: 'Looking For A Barcode Scanner\n(BLE Mode)',
      useCamera: 'Use Camera To Scan',
      useHIDBluetooth: 'Use HID Device',
    },
    loginForm: {
      buttonSubmit: 'Login',
      feedbackLogin: 'Logging in...',
      fieldLabelPassword: 'Password',
      fieldLabelUsername: 'Username',
      passwordRequired: 'Password required',
      placeholderPassword: 'Enter your password',
      placeholderUsername: 'Enter your username',
      usernameRequired: 'Username required',
    },
    packageDetails: {
      details: {
        deliveryDate: 'Delivery Date',
        hasSiblings: 'Multi-part',
        inWarehouse: 'In warehouse',
        lastStatusTime: 'Last Update',
        orderNumber: 'Order No.',
        packageNumber: 'Package No.',
        retailer: 'Retailer',
        route: 'Route',
        routeSequence: 'Route Sequence',
        timeslot: {
          subtitle: '{{start}} - {{end}}',
          title: 'Timeslot',
        },
        title: 'Package Details',
      },
      events: {
        empty: 'This package has no events',
        eventInfo: '{{at}}, by {{by}}',
        subtitles: {
          packageAddedToGroup: 'Added to',
          packageImported: 'Imported to the system',
          packagePairFailed: 'Tried pairing to',
          packagePaired: 'Added to',
          packageRemovedFromGroup: 'Removed from',
          packageRouteAssigned: 'Assigned to',
          packageRouteUnassigned: 'Unassigned from',
          packageUnpairFailed: 'Tried unpairing from',
          packageUnpaired: 'Unpaired from',
        },
        title: 'Event History',
        titles: {
          packageAddedToGroup: 'Added To Group',
          packageImported: 'Package Imported',
          packagePairFailed: 'Pairing Failed',
          packagePaired: 'Space Paired',
          packageRemovedFromGroup: 'Removed From Group',
          packageRouteAssigned: 'Route Assigned',
          packageRouteUnassigned: 'Route Unassigned',
          packageUnpairFailed: 'Unpair Failed',
          packageUnpaired: 'Space Unpaired',
        },
      },
      history: {
        empty: 'This package was not paired with any space',
        item: 'By {{by}}, at {{at}}',
        title: 'Pairing History',
      },
      siblings: {
        title: 'Multi-part',
      },
      spaces: {
        empty: 'There are not related spaces defined for this package',
        title: 'Related Spaces',
      },
    },
  },
  screen: {
    dispatch: {
      confirmation: {
        scan: {
          message: 'Are you sure you want to detach the packages from space\n{{space}}?',
          title: 'Detach Items?',
        },
      },
      space: {
        error: {
          title: 'Oops!',
        },
        scan: {
          message: 'Scan a space to detach the packages',
          title: 'Scan A Space',
        },
      },
    },
    findGroups: {
      empty: 'No groups to show here\nright now...',
      searchPlaceholder: 'Search by group name',
      title: 'Groups',
    },
    findPackage: {
      scan: {
        button: 'Cancel',
        message: 'Scan the package to get its details',
        title: 'Scan Now',
      },
    },
    findSpace: {
      scan: {
        button: 'Cancel',
        message: 'Scan the space to get its details',
        title: 'Scan Now',
      },
    },
    groupDetails: {
      empty: 'No packages in this \ngroup yet...',
      searchPlaceholder: 'Search by package number',
    },
    home: {
      menu: {
        dev: 'Development Panel',
        dispatching: 'Dispatch A Round',
        findGroups: 'Find Groups Details',
        findPackage: 'Find Package Details',
        findSpace: 'Find Space Details',
        logout: 'Logout',
        sorting: 'Move A Package',
      },
      welcome: 'Hello!',
      welcomeDescription: 'What do you want to do today?',
    },
    login: {
      feedbackError: 'Invalid username or password',
    },
    packageDetails: {
      empty: 'The package is empty',
    },
    sorting: {
      errorInfo: {
        scannedSpace: 'Scanned Space',
        scannedSpaceMessage: '{{spaceName}}, {{spaceBarcode}}',
        targetSpaces: 'Eligible Spaces',
      },
      package: {
        error: {
          message: 'Invalid package barcode',
          title: 'Oops!',
        },
        scan: {
          message: 'Scan an item to add it to a space',
          title: 'Scan Now',
        },
      },
      space: {
        error: {
          message: 'Invalid space barcode',
          title: 'Oops!',
        },
        scan: {
          message: 'Scan the space to add the package\n{{barcode}}',
          targetSpaces: 'Eligible spaces for this package:',
          title: 'Scan A Space',
        },
      },
    },
    spaceDetails: {
      empty: 'No packages in this \nspace yet...',
      searchPlaceholder: 'Search by package number',
    },
    splashScreen: {
      versionMismatch: {
        message: 'There is a new version available ({{targetVersion}}) in {{store}}',
        title: 'Update available',
      },
    },
  },
  storybook: {
    field: 'Field',
    loremIpsum: 'Lorem ipsum',
    placeholder: 'Placeholder',
  },
  template: {
    cameraMask: {
      flashlight: 'Flashlight',
    },
  },
};
