From a78374f2ada4ec51bd59883973f4fa75b8f5499d Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sun, 21 Jan 2024 10:11:06 +0000 Subject: Fixes UserAlreadyExistsError --- src/i18n/translations/errors/userAlreadyExistsError.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/i18n/translations/errors/userAlreadyExistsError.ts (limited to 'src/i18n') 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; -- cgit v1.2.3