feat (lang): preference.

This commit is contained in:
elforjani3
2021-06-07 11:58:48 +02:00
parent 05528395c1
commit c6eadaca09
6 changed files with 68 additions and 22 deletions

View File

@@ -44,7 +44,7 @@ export default function PreferencesGeneralForm({}) {
inline={true}
intent={inputIntent({ error, touched })}
className={'form-group--org-name'}
helperText={'Shown on sales forms and purchase orders.'}
helperText={<T id={'shown_on_sales_forms_and_purchase_orders'} />}
>
<InputGroup medium={'true'} {...field} />
</FormGroup>
@@ -59,9 +59,7 @@ export default function PreferencesGeneralForm({}) {
inline={true}
intent={inputIntent({ error, touched })}
className={classNames('form-group--select-list', CLASSES.FILL)}
helperText={
'For reporting, you can specify any month as the start of your financial year (also called your financial reporting year or accounting year).'
}
helperText={<T id={'for_reporting_you_can_specify_any_month'} />}
>
<DateInput
{...momentFormatter('MMMM Do YYYY')}
@@ -125,7 +123,11 @@ export default function PreferencesGeneralForm({}) {
inline={true}
intent={inputIntent({ error, touched })}
helperText={
"You can't change the base currency as there are transactions recorded in your organization."
<T
id={
'you_can_t_change_the_base_currency_as_there_are_transactions'
}
/>
}
>
<ListSelect