1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-07-08 23:58:21 +00:00
trezor-wallet/src/components/modals/QrModal/index.messages.js
2019-03-04 13:33:02 +01:00

34 lines
1.1 KiB
JavaScript

/* @flow */
import { defineMessages } from 'react-intl';
import type { Messages } from 'flowtype/npm/react-intl';
const definedMessages: Messages = defineMessages({
TR_SCAN_QR_CODE: {
id: 'TR_SCAN_QR_CODE',
defaultMessage: 'Scan QR code',
description: 'Title for the Scan QR modal dialog',
},
TR_WAITING_FOR_CAMERA: {
id: 'TR_WAITING_FOR_CAMERA',
defaultMessage: 'Waiting for camera...',
},
TR_OOPS_SOMETHING_WENT_WRONG: {
id: 'TR_OOPS_SOMETHING_WENT_WRONG',
defaultMessage: 'Oops! Something went wrong!',
},
TR_CAMERA_PERMISSION_DENIED: {
id: 'TR_CAMERA_PERMISSION_DENIED',
defaultMessage: 'Permission to access the camera was denied.',
},
TR_CAMERA_NOT_RECOGNIZED: {
id: 'TR_CAMERA_NOT_RECOGNIZED',
defaultMessage: 'The camera was not recognized.',
},
TR_UNKOWN_ERROR_SEE_CONSOLE: {
id: 'TR_UNKOWN_ERROR_SEE_CONSOLE',
defaultMessage: 'Unknown error. See console logs for details.',
},
});
export default definedMessages;