diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2024-01-21 10:11:06 +0000 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2024-01-29 10:51:49 +0000 |
| commit | a78374f2ada4ec51bd59883973f4fa75b8f5499d (patch) | |
| tree | b644e2592de2b18df141868e02b389b0c31dd792 /src/i18n | |
| parent | aabde3ea11ff75513abe5dabd1931a2b76b116c4 (diff) | |
Fixes UserAlreadyExistsError
Diffstat (limited to 'src/i18n')
| -rw-r--r-- | src/i18n/translations/errors/userAlreadyExistsError.ts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/i18n/translations/errors/userAlreadyExistsError.ts b/src/i18n/translations/errors/userAlreadyExistsError.ts new file mode 100644 index 0000000..cb95153 --- /dev/null +++ b/src/i18n/translations/errors/userAlreadyExistsError.ts @@ -0,0 +1,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>; |
