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.
Re-write DownloadManager, DownloadThread(Worker) using
a custom thread pool implementation for speed. We don't
want to create a new thread for each url when the same
thread can be re-used.
Move all status messages from dlthread (DownloadThread) to
downloaders (YoutubeDLDownloader). Now all the status updates
(status, percent, eta, etc..) come from the downloader.