From 90d9b774720bd2232eea1ec63674af9cc69d3d62 Mon Sep 17 00:00:00 2001 From: Christian Paul Date: Wed, 12 Jan 2022 12:47:06 +0100 Subject: [PATCH] Typo: langauge -> language --- src/utils/i18n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/i18n.js b/src/utils/i18n.js index 4b08f319..e740a0d6 100644 --- a/src/utils/i18n.js +++ b/src/utils/i18n.js @@ -35,7 +35,7 @@ const format = (str, ...rest) => { }; export function language(config) { - // if a langauge is given in the config we always return that + // if a language is given in the config we always return that if (config !== undefined && config.lang !== undefined && config.lang !== 'zz') return config.lang; const lang = ( (typeof window.language === 'string' ? window.language : null) ||