The icons search algorithm was searching first under the
/usr/share/pixmaps directory for the icons which had as a
result to miss the 256x256 icon under /usr/share/icons/hicolor/256x256/apps/
and retrieve the 48x48 icon
Now the algorithm first searches the $XDG_DATA_DIRS
and then the fallback directory (/usr/share/pixmaps)
CHANGES
=======
setup.py
Add youtube_dl_gui/locale file on the installation script
__init__.py
Add localization via gettext
Move optionsmanager, logmanager initialization out of the main() function
mainframe.py
Add the gettext _() function to translate the strings
optiosframe.py
Add the gettext _() function to translate the strings
Add LocalizationTab
optionsmanager.py
Add new option 'locale_name'
utils.py
Add get_locale_file() function
NEW FILES
=========
locale_build: Contains scripts to auto create locale files
youtube_dl_gui/locale: Contains locale files for youtube-dlg
Now youtubedlg stores the non-string part of the options
into settings.json. This way we only need a TwoWayOrderedDict
on the optionsframe.py module to store the options(video_format,
audio_quality, etc..) instead of using a dictionary on the parsers.py
module and a list with all the available values on the optionsframe.py
module. This change also helps us to keep all the GUI strings on the
GUI modules making it easier to translate the GUI.
NOTE
=====
Youtubedlg will reset all the stored options on the first usage of the
new system due to compatibility issues with the old settings.json.
CHANGES
=======
optionsframe.py
Store the values into a TwoWayOrderedDict and map their values-keys
on the load-save_options methods.
optionsmanager.py
Enable the value check system on the _settings_are_valid() method.
parsers.py
Remove all the module attributes and some of the options_build methods.