Unverified Commit 5600f0d2 authored by Alexandr's avatar Alexandr Committed by GitHub
Browse files

fix(translation): more languages marked as long (#804)

parent dff732ad
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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)