From 024608ecb73055255ca8821168402316f37dd3b6 Mon Sep 17 00:00:00 2001 From: fadhlu Date: Wed, 17 Mar 2021 13:05:28 +0700 Subject: [PATCH] Update grid layout --- src/locales/en.json | 2 +- src/routes/calculator/_resin.svelte | 34 ++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/locales/en.json b/src/locales/en.json index 5a19ac50..be7936da 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -191,7 +191,7 @@ "timeFormat": "en", "calculate": "Calculate", "currentTime": "Current Time", - "fullTime": "Your Resin Will Replenished After" + "fullTime": "Resin Will Be Replenished At" } }, "items": { diff --git a/src/routes/calculator/_resin.svelte b/src/routes/calculator/_resin.svelte index 079c86e3..fddf1bb3 100644 --- a/src/routes/calculator/_resin.svelte +++ b/src/routes/calculator/_resin.svelte @@ -1,15 +1,14 @@
-
+
-
+
-
- {#if fullTime} -
+
- {$t('calculator.resin.fullTime')}: {new Intl.DateTimeFormat( - $t('calculator.resin.timeFormat'), - dateTimeOptions, - ).format(fullTime)} + {new Intl.DateTimeFormat($t('calculator.resin.timeFormat'), dateTimeOptions).format(fullTime)} +