From f099b74fb5e6aec149df79b4168dd81d2a1402a7 Mon Sep 17 00:00:00 2001 From: yuetloo Date: Tue, 14 Nov 2023 15:31:59 -0500 Subject: [PATCH] add localization for round period --- vue-app/src/locales/it.json | 1 + vue-app/src/plugins/i18n/index.ts | 1 + vue-app/src/rounds/rounds.json | 1 + 3 files changed, 3 insertions(+) diff --git a/vue-app/src/locales/it.json b/vue-app/src/locales/it.json index a97c7de4b..65fba71b5 100644 --- a/vue-app/src/locales/it.json +++ b/vue-app/src/locales/it.json @@ -1035,6 +1035,7 @@ "p1": "Deposito di sicurezza" }, "roundInfo": { + "round_period": "Periodo di round", "link1": "Visualizza su {blockExplorer}", "div1": "Annullato", "div2": "Aperto", diff --git a/vue-app/src/plugins/i18n/index.ts b/vue-app/src/plugins/i18n/index.ts index 7681e8ae5..b4828eeeb 100644 --- a/vue-app/src/plugins/i18n/index.ts +++ b/vue-app/src/plugins/i18n/index.ts @@ -36,6 +36,7 @@ const i18n = createI18n<[MessageSchema], 'it' | 'zh-CN' | 'es' | 'en'>({ fallbackLocale: defaultLocale, globalInjection: true, datetimeFormats: { + it: defaultShortDateTimeFormat, 'zh-CN': defaultShortDateTimeFormat, es: defaultShortDateTimeFormat, en: defaultShortDateTimeFormat, diff --git a/vue-app/src/rounds/rounds.json b/vue-app/src/rounds/rounds.json index 4bf8d4b97..1ab6d68ab 100644 --- a/vue-app/src/rounds/rounds.json +++ b/vue-app/src/rounds/rounds.json @@ -3,6 +3,7 @@ "network": "arbitrum", "address": "0x96FBFf5171C38e8dbdEB1E8F559b94436A14529b", "startTime": 1696500211, + "votingDeadline": 1699265071, "isFinalized": true } ]