diff --git a/common/locales/en/character.json b/common/locales/en/character.json index 17e609c752..3332addc9d 100644 --- a/common/locales/en/character.json +++ b/common/locales/en/character.json @@ -149,5 +149,9 @@ "mageWiki": "Mage", "rogueWiki": "Rogue", "healerWiki": "Healer", - "chooseClassLearn": "Learn more about classes" + "chooseClassLearn": "Learn more about classes", + "str": "STR", + "con": "CON", + "per": "PER", + "int": "INT" } diff --git a/website/views/shared/profiles/stats.jade b/website/views/shared/profiles/stats.jade index 686e070965..eb13a62d07 100644 --- a/website/views/shared/profiles/stats.jade +++ b/website/views/shared/profiles/stats.jade @@ -26,8 +26,9 @@ unless mobile table.table.table-striped(ng-show='user.flags.itemsEnabled') tr(ng-repeat='(k,v) in profile.items.gear.equipped', ng-init='piece=Content.gear.flat[v]', ng-show='piece') td - strong {{piece.text()}}:  - span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{stat.toUpperCase()}}  + strong {{piece.text()}} + strong(ng-show='piece.str || piece.con || piece.per || piece.int') :  + span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}}  h4(class=mobile?'item item-divider':'')=env.t('attributes') table.table.table-striped