Skip to content

Commit

Permalink
update locale
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanslack committed May 13, 2024
1 parent d9e3986 commit b462315
Show file tree
Hide file tree
Showing 25 changed files with 3,807 additions and 3,224 deletions.
Binary file modified docs/User Guide/Startup_and_Setup_en.pdf
Binary file not shown.
Binary file modified docs/User Guide/User_Interface_Overview_en.pdf
Binary file not shown.
Binary file modified videomass/locale/en_US/LC_MESSAGES/videomass.mo
Binary file not shown.
581 changes: 310 additions & 271 deletions videomass/locale/en_US/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/es_CU/LC_MESSAGES/videomass.mo
Binary file not shown.
647 changes: 353 additions & 294 deletions videomass/locale/es_CU/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/es_ES/LC_MESSAGES/videomass.mo
Binary file not shown.
647 changes: 353 additions & 294 deletions videomass/locale/es_ES/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/es_MX/LC_MESSAGES/videomass.mo
Binary file not shown.
647 changes: 353 additions & 294 deletions videomass/locale/es_MX/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/fr_FR/LC_MESSAGES/videomass.mo
Binary file not shown.
654 changes: 356 additions & 298 deletions videomass/locale/fr_FR/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/it_IT/LC_MESSAGES/videomass.mo
Binary file not shown.
631 changes: 340 additions & 291 deletions videomass/locale/it_IT/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/nl_NL/LC_MESSAGES/videomass.mo
Binary file not shown.
663 changes: 359 additions & 304 deletions videomass/locale/nl_NL/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/pt_BR/LC_MESSAGES/videomass.mo
Binary file not shown.
664 changes: 359 additions & 305 deletions videomass/locale/pt_BR/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

Binary file modified videomass/locale/ru_RU/LC_MESSAGES/videomass.mo
Binary file not shown.
655 changes: 358 additions & 297 deletions videomass/locale/ru_RU/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

577 changes: 308 additions & 269 deletions videomass/locale/videomass.pot

Large diffs are not rendered by default.

Binary file modified videomass/locale/zh_CN/LC_MESSAGES/videomass.mo
Binary file not shown.
647 changes: 350 additions & 297 deletions videomass/locale/zh_CN/LC_MESSAGES/videomass.po

Large diffs are not rendered by default.

14 changes: 6 additions & 8 deletions videomass/vdms_dialogs/preferences.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ def __init__(self, parent):
msg = _('On operations completion')
labendop = wx.StaticText(tabFive, wx.ID_ANY, msg)
sizerexitopt.Add(labendop, 0, wx.ALL | wx.EXPAND, 5)
msg = (_("These options are temporary until the application is "
"closed, if necessary reset them at the next restart."))
msg = (_("These settings will remain active until the application is "
"closed, If necessary, remember to reactivate them."))
labendopdescr = wx.StaticText(tabFive, wx.ID_ANY, (msg))
sizerexitopt.Add(labendopdescr, 0, wx.ALL, 5)
sizerexitopt.Add((0, 10))
Expand All @@ -321,9 +321,11 @@ def __init__(self, parent):
sizerexitopt.Add(self.ckbx_turnoff, 0, wx.LEFT, 5)
sizersudo = wx.BoxSizer(wx.HORIZONTAL)
self.labsudo = wx.StaticText(tabFive, wx.ID_ANY, _('SUDO password:'))
self.labsudo.Disable()
sizersudo.Add(self.labsudo, 0, wx.LEFT | wx.TOP, 5)
self.txtctrl_sudo = wx.TextCtrl(tabFive, wx.ID_ANY, "",
style=wx.TE_PASSWORD, size=(300, -1))
self.txtctrl_sudo.Disable()
sizersudo.Add(self.txtctrl_sudo, 0, wx.ALL, 5)
sizerexitopt.Add(sizersudo, 0, wx.LEFT, 5)
tabFive.SetSizer(sizerexitopt)
Expand Down Expand Up @@ -540,7 +542,6 @@ def current_settings(self):
self.cmbx_icons.SetValue(self.appdata['icontheme'])
self.cmbx_iconsSize.SetValue(str(self.appdata['toolbarsize']))
self.rdbTBpref.SetSelection(self.appdata['toolbarpos'])

self.ckbx_cacheclr.SetValue(self.appdata['clearcache'])
self.ckbx_exitconfirm.SetValue(self.appdata['warnexiting'])
self.ckbx_logclr.SetValue(self.appdata['clearlogfiles'])
Expand All @@ -553,9 +554,7 @@ def current_settings(self):
self.txtctrl_sudo.SetValue(self.appdata.get("sudo_password", ''))
if self.ckbx_turnoff.GetValue():
if self.appdata['ostype'] != 'Windows':
self.txtctrl_sudo.Enable()
else:
self.labsudo.Disable(), self.txtctrl_sudo.Disable()
self.labsudo.Enable(), self.txtctrl_sudo.Enable()

if not self.settings['download-using-exec']:
self.txtctrl_ytdlp.Disable(), self.btn_ytdlp.Disable()
Expand Down Expand Up @@ -938,8 +937,7 @@ def on_exit_after(self, event):
if self.ckbx_exitapp.GetValue():
if self.ckbx_turnoff.IsChecked():
self.ckbx_turnoff.SetValue(False)
self.txtctrl_sudo.SetValue(""), self.txtctrl_sudo.Disable()
self.labsudo.Disable()
self.on_shutdown_after(None)
# --------------------------------------------------------------------#

def on_shutdown_after(self, event):
Expand Down
4 changes: 2 additions & 2 deletions videomass/vdms_main/main_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -1841,8 +1841,8 @@ def auto_shutdown(self):
if res:
succ = shutdown_system(self.appdata['sudo_password'])
if not succ:
msg = (_("Error while shutting down. Please see\" "
"Shutdown.log\" file for details."))
msg = (_("Error while shutting down. Please see "
"file log for details."))
self.statusbar_msg(msg,
self.appdata['colorscheme']['ERR1'],
'#fbf4f4')
Expand Down

0 comments on commit b462315

Please sign in to comment.