diff --git a/common/locales/en/character.json b/common/locales/en/character.json index 935392e455..7f5d188610 100644 --- a/common/locales/en/character.json +++ b/common/locales/en/character.json @@ -151,5 +151,6 @@ "str": "STR", "con": "CON", "per": "PER", - "int": "INT" + "int": "INT", + "noBenefits": "No benefits" } diff --git a/website/views/shared/profiles/stats.jade b/website/views/shared/profiles/stats.jade index b2583c0e0b..aadfc24262 100644 --- a/website/views/shared/profiles/stats.jade +++ b/website/views/shared/profiles/stats.jade @@ -29,6 +29,7 @@ unless mobile td strong {{piece.text()}}:  span(ng-repeat='stat in ["str","con","per","int"]', ng-show='piece[stat]') {{piece[stat]}} {{env.t(stat)}}  + span(ng-hide='piece.str || piece.con || piece.per || piece.int')=env.t('noBenefits') h4(class=mobile?'item item-divider':'')=env.t('attributes') table.table.table-striped