refactor: use i18n-next style of plurals
This commit is contained in:
parent
618dd0f27f
commit
55049da705
5 changed files with 9 additions and 7 deletions
|
@ -447,7 +447,7 @@ export default function ScheduleDetails() {
|
||||||
</FormField>
|
</FormField>
|
||||||
|
|
||||||
<FormField style={{ flex: 1 }}>
|
<FormField style={{ flex: 1 }}>
|
||||||
<FormLabel title={t('general.account')} />
|
<FormLabel title={t('general.account_one')} />
|
||||||
<AccountAutocomplete
|
<AccountAutocomplete
|
||||||
value={state.fields.account}
|
value={state.fields.account}
|
||||||
inputProps={{ placeholder: t('schedules.none') }}
|
inputProps={{ placeholder: t('schedules.none') }}
|
||||||
|
|
|
@ -240,7 +240,7 @@ export function SchedulesTable({
|
||||||
<>
|
<>
|
||||||
<TableHeader height={ROW_HEIGHT} inset={15} version="v2">
|
<TableHeader height={ROW_HEIGHT} inset={15} version="v2">
|
||||||
<Field width="flex">{t('general.payee')}</Field>
|
<Field width="flex">{t('general.payee')}</Field>
|
||||||
<Field width="flex">{t('general.account')}</Field>
|
<Field width="flex">{t('general.account_one')}</Field>
|
||||||
<Field width={110}>{t('schedules.nextDate')}</Field>
|
<Field width={110}>{t('schedules.nextDate')}</Field>
|
||||||
<Field width={120}>{t('general.status')}</Field>
|
<Field width={120}>{t('general.status')}</Field>
|
||||||
<Field width={100} style={{ textAlign: 'right' }}>
|
<Field width={100} style={{ textAlign: 'right' }}>
|
||||||
|
|
|
@ -53,7 +53,7 @@ export default function Schedules() {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Page title={t('general.schedules')}>
|
<Page title={t('general.schedule_other')}>
|
||||||
<View
|
<View
|
||||||
style={{
|
style={{
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
"tryDemo": "Try Demo"
|
"tryDemo": "Try Demo"
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
"account": "Account",
|
"account_one": "Account",
|
||||||
|
"account_other": "Accounts",
|
||||||
"add": "Add",
|
"add": "Add",
|
||||||
"amount": "Amount",
|
"amount": "Amount",
|
||||||
"approximatelyWithAmount": "Approximately {{amount}}",
|
"approximatelyWithAmount": "Approximately {{amount}}",
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
"restart": "Restart",
|
"restart": "Restart",
|
||||||
"save": "Save",
|
"save": "Save",
|
||||||
"schedule": "Schedule",
|
"schedule": "Schedule",
|
||||||
"schedules": "Schedules",
|
"schedule_other": "Schedules",
|
||||||
"status": "Status"
|
"status": "Status"
|
||||||
},
|
},
|
||||||
"schedules": {
|
"schedules": {
|
||||||
|
|
|
@ -13,7 +13,8 @@
|
||||||
"tryDemo": "Probar Demo"
|
"tryDemo": "Probar Demo"
|
||||||
},
|
},
|
||||||
"general": {
|
"general": {
|
||||||
"account": "Cuenta",
|
"account_one": "Cuenta",
|
||||||
|
"account_other": "Cuentas",
|
||||||
"add": "Agregar",
|
"add": "Agregar",
|
||||||
"amount": "Monto",
|
"amount": "Monto",
|
||||||
"approximatelyWithAmount": "Aproximadamente {{amount}}",
|
"approximatelyWithAmount": "Aproximadamente {{amount}}",
|
||||||
|
@ -27,7 +28,7 @@
|
||||||
"restart": "Reiniciar",
|
"restart": "Reiniciar",
|
||||||
"save": "Guardar",
|
"save": "Guardar",
|
||||||
"schedule": "Agenda",
|
"schedule": "Agenda",
|
||||||
"schedules": "Agendas",
|
"schedule_other": "Agendas",
|
||||||
"status": "Estado"
|
"status": "Estado"
|
||||||
},
|
},
|
||||||
"schedules": {
|
"schedules": {
|
||||||
|
|
Loading…
Reference in a new issue