summaryrefslogtreecommitdiff
path: root/src/i18n/translations/enums/committeeRole.ts
blob: 06b9980e4c4e9aa6b4defc4b9bb572a62a3684e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import type { TranslationsDictionary } from '$types/TranslationsDictionary';
import CommitteeRole from 'enums/CommitteeRole';

const tEnum = {
  [CommitteeRole.Preses]: {
    sco: () => 'Preses',
    'en-GB': () => 'President',
  },
  [CommitteeRole.Secretar]: {
    sco: () => 'Secretar',
    'en-GB': () => 'Secretar',
  },
  [CommitteeRole.Thesaurer]: {
    sco: () => 'Thesaurer',
    'en-GB': () => 'Treasurer',
  },
  [CommitteeRole.Wabmaister]: {
    sco: () => 'Wabmaister',
    'en-GB': () => 'Webmaster',
  },
  [CommitteeRole.LallansEiditor]: {
    sco: () => 'Lallans Eiditor',
    'en-GB': () => 'Lallans Editor',
  },
};

type Raw = typeof tEnum;
export default tEnum as TranslationsDictionary<Raw>;