summaryrefslogtreecommitdiff
path: root/src/i18n/translations/errors/userAlreadyExistsError.ts
blob: cb95153d7daa770965705b63ec8a49b320881fe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import type { TranslationsDictionary } from '$types/TranslationsDictionary';

const tPage = {
  message: {
    sco: ({ userId }: { userId: string }) => `
      There’s else a user wi the ID ${userId}.
    `,
    'en-GB': ({ userId }: { userId: string }) => `
      A user already exists with the ID ${userId}.
    `,
  },
};

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