Browse Source

device, much?

master
meriadec 7 years ago
parent
commit
f3d8dc5b2d
No known key found for this signature in database GPG Key ID: C9A285535CC6EA7D
  1. 2
      src/components/Home.js
  2. 2
      src/components/Wrapper.js
  3. 6
      src/i18n/en/translation.yml

2
src/components/Home.js

@ -13,7 +13,7 @@ type Props = {
class Home extends PureComponent<Props> {
render() {
const { devices, t } = this.props
return <div>{t('common.connectedDevises', { count: devices.length })}</div>
return <div>{t('common.connectedDevices', { count: devices.length })}</div>
}
}

2
src/components/Wrapper.js

@ -17,7 +17,7 @@ const Wrapper = ({ devices, t }: { devices: Array<Object>, t: string => string }
<Fragment>
{devices.length === 0 ? (
<Overlay align="center" justify="center">
<Box color="white">{t('common.connectDevise')}</Box>
<Box color="white">{t('common.connectDevice')}</Box>
</Overlay>
) : (
<Box grow horizontal>

6
src/i18n/en/translation.yml

@ -1,6 +1,6 @@
common:
ok: Okay
cancel: Cancel
connectDevise: Please connect your devise
connectedDevises: You have {{count}} devise connected
connectedDevises_plural: You have {{count}} devises connected
connectDevice: Please connect your device
connectedDevices: You have {{count}} device connected
connectedDevices_plural: You have {{count}} devices connected

Loading…
Cancel
Save