Merge branch 'wgem' into nconfig

This commit is contained in:
Vinícius Moreira
2019-12-20 10:38:28 -03:00
2 changed files with 5 additions and 1 deletions

View File

@@ -56,6 +56,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- an exception happens when retrieving matches from the cached AUR index - an exception happens when retrieving matches from the cached AUR index
- not using the optimized compilation settings if the custom makepkg file is not found during the installation process - not using the optimized compilation settings if the custom makepkg file is not found during the installation process
## [0.7.5] 2019-12-20
### Fixes
- Fix missing i18n keys when there are no mapped translations for the system's default locale [#40](https://github.com/vinifmor/bauh/issues/40)
## [0.7.4] 2019-12-09 ## [0.7.4] 2019-12-09
### Improvements ### Improvements
- AUR - AUR

View File

@@ -55,7 +55,7 @@ def get_locale_keys(key: str = None, locale_dir: str = resource.get_path('locale
break break
if not locale_path: if not locale_path:
return key, {} return current_locale if current_locale else key, {}
with open(locale_path, 'r') as f: with open(locale_path, 'r') as f:
locale_keys = f.readlines() locale_keys = f.readlines()