Skip to content
Commits on Source (2)
......@@ -617,7 +617,7 @@
"topPeriod1":"1 year"
},
"update": {
"title":"Update",
"title":"Update to v{{version}}",
"version": "New v{{version}} available!"
},
"downloading":"Downloading",
......
......@@ -709,7 +709,7 @@
"topPeriod1": "1 año"
},
"update": {
"title": "Actualizar",
"title": "Actualizar a v{{version}}",
"version": "Nueva v{{version}} disponible!"
},
"downloading": "Descargando",
......
......@@ -33,7 +33,7 @@ export default class UpdatingScreen extends Component {
return (
<View style={[CS.backgroundWhite, CS.padding, CS.flexContainer]}>
<Text style={[CS.fontXXL, CS.textCenter, CS.padding]}>{i18n.t('update.title')}</Text>
<Text style={[CS.fontXXL, CS.textCenter, CS.padding]}>{i18n.t('update.title', {version: updateService.version})}</Text>
<View style={[CS.centered, CS.flexContainer]}>
<View>
<Image
......@@ -41,9 +41,8 @@ export default class UpdatingScreen extends Component {
style={ComponentsStyle.logo}
source={require('../assets/logos/logo.png')}
/>
<Text style={[CS.fontM, CS.fontLight, CS.textCenter, CS.paddingBottom, CS.colorDark]}>{i18n.t('update.title', {version: updateService.version})}</Text>
<Text style={[CS.fontM, CS.fontMedium, CS.textCenter, CS.colorDark]}>{i18n.t('downloading')} {updateService.progress}%</Text>
<Progress.Bar progress={updateService.progress/100} width={null} color={colors.primary} />
<Text style={[CS.fontM, CS.fontMedium, CS.textCenter, CS.colorDark, CS.marginTop]}>{i18n.t('downloading')} {updateService.progress}%</Text>
</View>
</View>
</View>
......