fix: added russian into long locales (#614)

This commit is contained in:
Alexandr 2021-01-10 08:40:03 +02:00 committed by GitHub
parent de8df72b38
commit 2817bb9846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
},
};
const isLongLocale = ["fr", "pt-br", "es"].includes(locale) === true;
const isLongLocale = ["fr", "pt-br", "es", "ru"].includes(locale) === true;
// filter out hidden stats defined by user & create the text nodes
const statItems = Object.keys(STATS)