From a841c1b96f37eb217f3c7cd006d9b4dd6265992e Mon Sep 17 00:00:00 2001 From: MrS0m30n3 Date: Fri, 9 Dec 2016 16:59:16 -0200 Subject: [PATCH] mainframe.py: Fix gettext tags --- youtube_dl_gui/mainframe.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/youtube_dl_gui/mainframe.py b/youtube_dl_gui/mainframe.py index b8a6672..bf81830 100644 --- a/youtube_dl_gui/mainframe.py +++ b/youtube_dl_gui/mainframe.py @@ -492,10 +492,10 @@ class MainFrame(wx.Frame): self.opt_manager.options["video_format"] = selected_format self.opt_manager.options["audio_format"] = "" #NOTE Set to default value, check parsers.py elif selected_format in AUDIO_FORMATS: - self.opt_manager.options["video_format"] = DEFAULT_FORMATS["default"] + self.opt_manager.options["video_format"] = DEFAULT_FORMATS[_("default")] self.opt_manager.options["audio_format"] = selected_format else: - self.opt_manager.options["video_format"] = DEFAULT_FORMATS["default"] + self.opt_manager.options["video_format"] = DEFAULT_FORMATS[_("default")] self.opt_manager.options["audio_format"] = "" def _update_savepath(self, event): @@ -963,7 +963,7 @@ class MainFrame(wx.Frame): def _start_download(self): if self._status_list.is_empty(): - self._create_popup(_("No items to download)", + self._create_popup(_("No items to download"), self.WARNING_LABEL, wx.OK | wx.ICON_EXCLAMATION) else: