remove double translation, avoid unsupported double quotes in INI file

This commit is contained in:
El RIDO
2020-10-13 07:28:35 +02:00
parent f12986a277
commit bb6a44ce7a
6 changed files with 7 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ class Configuration
'syntaxhighlightingtheme' => null,
'sizelimit' => 10485760,
'template' => 'bootstrap',
'info' => 'More information on the <a href="https://privatebin.info/">project page</a>.',
'info' => 'More information on the <a href=\'https://privatebin.info/\'>project page</a>.',
'notice' => '',
'languageselection' => false,
'languagedefault' => '',

View File

@@ -380,7 +380,7 @@ class Controller
$page->assign('SYNTAXHIGHLIGHTINGTHEME', $this->_conf->getKey('syntaxhighlightingtheme'));
$page->assign('FORMATTER', $formatters);
$page->assign('FORMATTERDEFAULT', $this->_conf->getKey('defaultformatter'));
$page->assign('INFO', I18n::_($this->_conf->getKey('info')));
$page->assign('INFO', I18n::_(str_replace("'", '"', $this->_conf->getKey('info'))));
$page->assign('NOTICE', I18n::_($this->_conf->getKey('notice')));
$page->assign('BURNAFTERREADINGSELECTED', $this->_conf->getKey('burnafterreadingselected'));
$page->assign('PASSWORD', $this->_conf->getKey('password'));