mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 19:04:15 +02:00
[flatpak] installation level tooltip fixes
This commit is contained in:
@@ -18,6 +18,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- Not checking the dependency version expression when it is only available on AUR
|
||||
- Not properly treating a dependency version before comparing with others (could display that a given dependency was not found)
|
||||
|
||||
- Flatpak
|
||||
- installation level tooltip not being localized
|
||||
- displaying installation level tooltip for not installed apps
|
||||
|
||||
## [0.9.14] 2021-02-03
|
||||
### Improvements
|
||||
|
||||
@@ -100,8 +100,8 @@ class FlatpakApplication(SoftwarePackage):
|
||||
return partial
|
||||
|
||||
def get_name_tooltip(self) -> str:
|
||||
if self.installation and self.i18n is not None:
|
||||
return '{} ( {} )'.format(self.name, self.i18n[self.installation.lower()])
|
||||
if self.installed and self.installation and self.i18n is not None:
|
||||
return '{} ({})'.format(self.name, self.i18n['flatpak.info.installation.{}'.format(self.installation.lower().strip())])
|
||||
|
||||
return self.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user