mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 05:54:15 +02:00
[appimage] fix -> not properly retrieving the 'Category' field options translated
This commit is contained in:
@@ -96,6 +96,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- AppImage
|
||||
- manual file installation
|
||||
- crashing if the AppImage icon is not on the extracted folder root path [#132](https://github.com/vinifmor/bauh/issues/132)
|
||||
- not properly retrieving the 'Category' field options translated
|
||||
- some environment variable are not available during the launch process
|
||||
- Arch
|
||||
- not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub)
|
||||
|
||||
@@ -105,7 +105,7 @@ class AppImageManager(SoftwareManager):
|
||||
input_description = TextInputComponent(label=self.i18n['description'].capitalize())
|
||||
|
||||
cat_ops = [InputOption(label=self.i18n['category.none'].capitalize(), value=0)]
|
||||
cat_ops.extend([InputOption(label=self.i18n[c.lower()].capitalize(), value=c) for c in self.context.default_categories])
|
||||
cat_ops.extend([InputOption(label=self.i18n.get('category.{}'.format(c.lower()), c.lower()).capitalize(), value=c) for c in self.context.default_categories])
|
||||
inp_cat = SingleSelectComponent(label=self.i18n['category'], type_=SelectViewType.COMBO, options=cat_ops,
|
||||
default_option=cat_ops[0])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user