diff --git a/bauh/gems/arch/confirmation.py b/bauh/gems/arch/confirmation.py index 98b85aee..2ca3df79 100644 --- a/bauh/gems/arch/confirmation.py +++ b/bauh/gems/arch/confirmation.py @@ -22,7 +22,7 @@ def request_optional_deps(pkgname: str, pkg_mirrors: dict, watcher: ProcessWatch def request_install_missing_deps(pkgname: str, pkg_mirrors: dict, watcher: ProcessWatcher, i18n: dict) -> bool: deps_str = ''.join(['
- {} ( {} )'.format(d, m.upper()) for d, m in pkg_mirrors.items()]) - msg = '

{}

'.format(i18n['arch.missing_deps.body'].format('{}'.format(pkgname) + ':
' + deps_str)) + msg = '

{}

'.format(i18n['arch.missing_deps.body'].format(bold(pkgname)) + ':
' + deps_str) msg += i18n['ask.continue'] return watcher.request_confirmation(i18n['arch.missing_deps.title'], msg) diff --git a/bauh/view/qt/history.py b/bauh/view/qt/history.py index 504bfa90..89d51869 100644 --- a/bauh/view/qt/history.py +++ b/bauh/view/qt/history.py @@ -13,7 +13,7 @@ class HistoryDialog(QDialog): def __init__(self, history: PackageHistory, icon_cache: MemoryCache, locale_keys: dict): super(HistoryDialog, self).__init__() - self.setWindowTitle('{} - {} '.format(locale_keys['popup.history.title'], history.pkg.name)) + self.setWindowTitle('{} - {} ({})'.format(locale_keys['popup.history.title'], history.pkg.name, history.pkg.get_type())) layout = QVBoxLayout() self.setLayout(layout)