summaryrefslogtreecommitdiff
path: root/src/i18n
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2024-01-21 10:11:06 +0000
committerJoe Carstairs <jcarstairs@scottlogic.com>2024-01-29 10:51:49 +0000
commita78374f2ada4ec51bd59883973f4fa75b8f5499d (patch)
treeb644e2592de2b18df141868e02b389b0c31dd792 /src/i18n
parentaabde3ea11ff75513abe5dabd1931a2b76b116c4 (diff)
Fixes UserAlreadyExistsError
Diffstat (limited to 'src/i18n')
-rw-r--r--src/i18n/translations/errors/userAlreadyExistsError.ts15
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>;