diff --git a/src/cards/stats-card.js b/src/cards/stats-card.js index 28f7ac0..9ee4b24 100644 --- a/src/cards/stats-card.js +++ b/src/cards/stats-card.js @@ -77,7 +77,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => { theme, }); - const apostrophe = ["x", "s"].includes(name.slice(-1)) ? "" : "s"; + const apostrophe = ["x", "s"].includes(name.slice(-1).toLocaleLowerCase()) ? "" : "s"; const i18n = new I18n({ locale, translations: statCardLocales({ name, apostrophe }),