mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-12-21 06:11:29 +08:00
fix(translation): more languages marked as long (#804)
This commit is contained in:
parent
dff732adf5
commit
5600f0d241
@ -128,7 +128,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
|
||||
},
|
||||
};
|
||||
|
||||
const isLongLocale = ["fr", "pt-br", "es", "ru"].includes(locale) === true;
|
||||
const longLocales = ["cn", "es", "fr", "pt-br", "ru", "uk-ua", "id", "my", "pl"];
|
||||
const isLongLocale = longLocales.includes(locale) === true;
|
||||
|
||||
// filter out hidden stats defined by user & create the text nodes
|
||||
const statItems = Object.keys(STATS)
|
||||
|
Loading…
Reference in New Issue
Block a user