[fix][arch] displaying the wrong subtypes due to previous renaming

This commit is contained in:
Vinícius Moreira
2020-04-13 16:51:53 -03:00
parent 1fdf3d6952
commit 8d55ae28b0
12 changed files with 64 additions and 68 deletions

View File

@@ -10,7 +10,7 @@ class PackageViewStatus(Enum):
def get_type_label(type_: str, gem: str, i18n: I18n) -> str:
type_label = 'gem.{}.type.{}.label'.format(gem, type_)
type_label = 'gem.{}.type.{}.label'.format(gem, type_.lower())
return i18n.get(type_label, type_.capitalize()).strip()