Browse Source

Add notification that restart will require login again

pull/544/head
Safihre 9 years ago
parent
commit
206d166cf4
  1. 2
      interfaces/Config/templates/_inc_header_uc.tmpl
  2. 3
      sabnzbd/skintext.py

2
interfaces/Config/templates/_inc_header_uc.tmpl

@ -52,7 +52,7 @@
configTranslate.failed = "$T('smpl-failed')";
configTranslate.explainRestart = "$T('explain-Restart')";
configTranslate.wizzardRestart = "$T('wizard-restarting')";
configTranslate.needRestart = "$T('restartRequired')";
configTranslate.needRestart = "$T('restartRequired') $T('explain-needNewLogin')".replace(/\<br(\s*\/|)\>/g, '\n');
configTranslate.buttonRestart = "$T('button-restart')";
configTranslate.confirmLeave = "$T('confirmWithoutSavingPrompt')";
</script>

3
sabnzbd/skintext.py

@ -297,7 +297,8 @@ SKIN_TEXT = {
# Configuration
'confgFile' : TT('Config File'),
'cache' : TT('Used cache'), #: Main config page, how much cache is in use
'explain-Restart' : TT('This will restart SABnzbd.<br />Use it when you think the program has a stability problem.<br />Downloading will be paused before the restart and resume afterwards.'),
'explain-Restart' : TT('This will restart SABnzbd.<br />Use it when you think the program has a stability problem.<br />Downloading will be paused before the restart and resume afterwards.') + TT('<br />If authentication is enabled, you will need to login again.'),
'explain-needNewLogin' : TT('<br />If authentication is enabled, you will need to login again.'),
'button-restart' : TT('Restart'),
'explain-orphans' : TT('There are orphaned jobs in the download folder.<br />You can choose to delete them (including files) or send them back to the queue.'),
'button-repair' : TT('Repair'),

Loading…
Cancel
Save