diff --git a/CHANGELOG.md b/CHANGELOG.md index c5ae7cfe..9a4e783f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,8 +16,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Arch - Upgrading: when an installed package does not meet a dependency expression, it is displayed to be installed (e.g: 'optimus-manager-qt' relies on 'optimus-manager' >= 1.4, but the current provided version is '1.3'. Even so, 'optimus-manager' will be displayed to be installed) - 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) + - 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 diff --git a/bauh/gems/flatpak/model.py b/bauh/gems/flatpak/model.py index 16c2506a..cf0b519e 100644 --- a/bauh/gems/flatpak/model.py +++ b/bauh/gems/flatpak/model.py @@ -95,13 +95,13 @@ class FlatpakApplication(SoftwarePackage): partial.base_ref = self.ref partial.ref = '/'.join((partial_id, *self.ref.split('/')[1:])) partial.status = PackageStatus.READY - partial.name += ' ( {} )'.format(partial_id.split('.')[-1]) + partial.name += ' ({})'.format(partial_id.split('.')[-1]) 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