mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
feat: lang.
This commit is contained in:
@@ -4,7 +4,13 @@ import { formatMessage } from 'services/intl';
|
||||
import { ListSelect } from 'components';
|
||||
|
||||
export default function SalutationList({ ...restProps }) {
|
||||
const saluations = ['Mr.', 'Mrs.', 'Ms.', 'Miss', 'Dr.'];
|
||||
const saluations = [
|
||||
formatMessage({ id: 'mr' }),
|
||||
formatMessage({ id: 'mrs' }),
|
||||
formatMessage({ id: 'ms' }),
|
||||
formatMessage({ id: 'miss' }),
|
||||
formatMessage({ id: 'dr' }),
|
||||
];
|
||||
const items = saluations.map((saluation) => ({
|
||||
key: saluation,
|
||||
label: saluation,
|
||||
|
||||
Reference in New Issue
Block a user