mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 20:04:15 +02:00
[fix][arch] displaying the wrong subtypes due to previous renaming
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user