From 11f4675bf825669e56a59128b8280dafe12ce9c4 Mon Sep 17 00:00:00 2001 From: Uffy Date: Tue, 6 Aug 2024 16:44:04 +0800 Subject: [PATCH] feat: add it locale --- next/api/src/i18n/locales.ts | 1 + next/api/src/utils/locale.ts | 1 + next/web/src/i18n/locales.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/next/api/src/i18n/locales.ts b/next/api/src/i18n/locales.ts index 2aea48071..d3c86f0a3 100644 --- a/next/api/src/i18n/locales.ts +++ b/next/api/src/i18n/locales.ts @@ -17,4 +17,5 @@ export const LOCALES = [ 'ar', 'ms', 'tl', + 'it' ]; diff --git a/next/api/src/utils/locale.ts b/next/api/src/utils/locale.ts index b89e2471a..359f94581 100644 --- a/next/api/src/utils/locale.ts +++ b/next/api/src/utils/locale.ts @@ -57,4 +57,5 @@ export const allowedTicketLanguages = [ 'ar', 'ms', 'tl', + 'it' ]; diff --git a/next/web/src/i18n/locales.ts b/next/web/src/i18n/locales.ts index 547103bec..b4bf8ed4c 100644 --- a/next/web/src/i18n/locales.ts +++ b/next/web/src/i18n/locales.ts @@ -19,6 +19,7 @@ export const LOCALES: Record = { ar: '阿拉伯语', ms: '马来语', tl: '菲律宾语', + it: '意大利语' }; export const TicketLanguages: Record = {