Skip to content

Commit

Permalink
fix(translation): more languages marked as long (anuraghazra#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty541 authored Jan 17, 2021
1 parent dff732a commit 5600f0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cards/stats-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5600f0d

Please sign in to comment.