Fix some english phrases

This commit is contained in:
Diego Najar 2019-06-16 22:31:48 +02:00
parent 88765e15f9
commit 016754b67c
5 changed files with 11 additions and 5 deletions

View File

@ -10,7 +10,7 @@ echo '
echo '<tr>';
echo '<td>Bludit Edition</td>';
if (defined('BLUDIT_PRO')) {
echo '<td>PRO - '.$L->g('Thanks for support Bludit').' <span class="fa fa-heart" style="color: #ffc107"></span></td>';
echo '<td>PRO - '.$L->g('Thanks for supporting Bludit').' <span class="fa fa-heart" style="color: #ffc107"></span></td>';
} else {
echo '<td>Standard - <a target="_blank" href="https://pro.bludit.com">'.$L->g('Upgrade to Bludit PRO').'</a></td>';
}

View File

@ -56,7 +56,7 @@
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
'selected'=>$user->role(),
'class'=>'',
'tip'=>'Author: Can write and edit his own content. Editor: Can write and edit the content of others.'
'tip'=>$L->g('author-can-write-and-edit-their-own-content')
));
}

View File

@ -51,7 +51,7 @@
'options'=>array('author'=>$L->g('Author'), 'editor'=>$L->g('Editor'), 'admin'=>$L->g('Administrator')),
'selected'=>'Author',
'class'=>'',
'tip'=>'Author: Can write and edit his own content. Editor: Can write and edit the content of others.'
'tip'=>$L->g('author-can-write-and-edit-their-own-content')
));
echo Bootstrap::formInputText(array(

View File

@ -588,7 +588,7 @@ function editSettings($args) {
// Add syslog
$syslog->add(array(
'dictionaryKey'=>'changes-on-settings',
'dictionaryKey'=>'settings-changes',
'notes'=>''
));
@ -790,6 +790,10 @@ function activateTheme($themeDirectory) {
global $L, $language;
if (Sanitize::pathFile(PATH_THEMES.$themeDirectory)) {
if (Sanitize::pathFile(PATH_THEMES.$themeDirectory, 'install.php')) {
include_once(PATH_THEMES.$themeDirectory.'install.php');
}
$site->set(array('theme'=>$themeDirectory));
$syslog->add(array(

View File

@ -269,8 +269,10 @@ class Page {
$tmp['description'] = $this->description();
$tmp['type'] = $this->type();
$tmp['slug'] = $this->slug();
$tmp['date'] = $this->dateRaw();
$tmp['date'] = $this->date();
$tmp['dateRaw'] = $this->dateRaw();
$tmp['tags'] = $this->tags(false);
$tmp['username'] = $this->username();
$tmp['dateUTC'] = Date::convertToUTC($this->dateRaw(), DB_DATE_FORMAT, DB_DATE_FORMAT);
$tmp['permalink'] = $this->permalink(true);
$tmp['coverImage'] = $this->coverImage(true);