fix: remove duplicate value i18n (#8547)

* fix: remove duplicate value i18n

Signed-off-by: Udit Takkar <[email protected]>

* feat: add duplicate check in next config

Signed-off-by: Udit Takkar <[email protected]>

* fix: remove more duplicates

Signed-off-by: Udit Takkar <[email protected]>

* fix: description on two factor page

Signed-off-by: Udit Takkar <[email protected]>

* Update apps/web/next.config.js

* Update apps/web/next.config.js

---------

Signed-off-by: Udit Takkar <[email protected]>
Co-authored-by: Hariom Balhara <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-06-08 13:37:54 +00:00
1 parent 4417097f97
commit 9b28b7f78a
33 files changed
+57 -91

No files matched your search

@@ -81,7 +81,7 @@ export default function ApiKeyDialogForm({
</div>
<span className="text-muted text-sm">
{apiKeyDetails.neverExpires
? t("never_expire_key")
? t("never_expires")
: `${t("expires")} ${apiKeyDetails?.expiresAt?.toLocaleDateString()}`}
</span>
</div>
@@ -140,7 +140,7 @@ export default function ApiKeyDialogForm({
control={form.control}
render={({ field: { onChange, value } }) => (
<Switch
label={t("never_expire_key")}
label={t("never_expires")}
onCheckedChange={onChange}
checked={value}
disabled={!!defaultValues}