Skip to content

Commit

Permalink
update text
Browse files Browse the repository at this point in the history
  • Loading branch information
war-in committed Nov 20, 2024
1 parent 61d1a32 commit 5d54677
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,9 @@ const translations = {
updateRequiredView: {
updateRequired: 'Update required',
pleaseInstall: 'Please update to the latest version of New Expensify',
pleaseInstallExpensifyClassic: 'Please install the latest version of Expensify',
toGetLatestChanges: 'For mobile or desktop, download and install the latest version. For web, refresh your browser.',
newAppNotAvailable: 'The New Expensify app is no longer available.',
},
initialSettingsPage: {
about: 'About',
Expand Down
2 changes: 2 additions & 0 deletions src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,9 @@ const translations = {
updateRequiredView: {
updateRequired: 'Actualización requerida',
pleaseInstall: 'Por favor, actualiza a la última versión de Nuevo Expensify',
pleaseInstallExpensifyClassic: 'Por favor, instala la última versión de Expensify',
toGetLatestChanges: 'Para móvil o escritorio, descarga e instala la última versión. Para la web, actualiza tu navegador.',
newAppNotAvailable: 'La nueva aplicación de Expensify ya no está disponible.',
},
initialSettingsPage: {
about: 'Acerca de',
Expand Down
8 changes: 6 additions & 2 deletions src/pages/ErrorPage/UpdateRequiredView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,14 @@ function UpdateRequiredView() {
<View style={[styles.ph5, styles.alignItemsCenter, styles.mt5]}>
<View style={styles.updateRequiredViewTextContainer}>
<View style={[styles.mb3]}>
<Text style={[styles.newKansasLarge, styles.textAlignCenter]}>{translate('updateRequiredView.pleaseInstall')}</Text>
<Text style={[styles.newKansasLarge, styles.textAlignCenter]}>
{isProduction ? translate('updateRequiredView.pleaseInstallExpensifyClassic') : translate('updateRequiredView.pleaseInstall')}
</Text>
</View>
<View style={styles.mb5}>
<Text style={[styles.textAlignCenter, styles.textSupporting]}>{translate('updateRequiredView.toGetLatestChanges')}</Text>
<Text style={[styles.textAlignCenter, styles.textSupporting]}>
{isProduction ? translate('updateRequiredView.newAppNotAvailable') : translate('updateRequiredView.toGetLatestChanges')}
</Text>
</View>
</View>
</View>
Expand Down

0 comments on commit 5d54677

Please sign in to comment.