Authors on languages dictionaries, date format on dashboard

This commit is contained in:
Diego Najar 2017-12-20 00:09:47 +01:00
parent 63b5c68a12
commit b3d36f66a4
8 changed files with 35 additions and 22 deletions

1
.gitignore vendored
View File

@ -2,5 +2,6 @@
bl-content/*
bl-plugins/timemachine
bl-plugins/remote-content
bl-plugins/simple-stats
bl-kernel/bludit.pro.php
bl-themes/docs

View File

@ -56,7 +56,7 @@ function table($status, $icon='arrow-circle-o-down') {
.'</a>
</td>';
echo '<td class="uk-text-center">'.( (ORDER_BY=='date') ? $page->dateRaw() : $page->position() ).'</td>';
echo '<td class="uk-text-center">'.( (ORDER_BY=='date') ? $page->dateRaw(ADMIN_PANEL_DATE_FORMAT) : $page->position() ).'</td>';
$friendlyURL = Text::isEmpty($Url->filters('page')) ? '/'.$page->key() : '/'.$Url->filters('page').'/'.$page->key();
echo '<td><a target="_blank" href="'.$page->permalink().'">'.$friendlyURL.'</a></td>';

View File

@ -30,7 +30,7 @@ foreach ($users as $username=>$User) {
echo '<td>'.$User->email().'</td>';
echo '<td class="uk-text-center">'.($User->enabled()?'<b>'.$L->g('Enabled').'</b>':$L->g('Disabled')).'</td>';
echo '<td class="uk-text-center">'.($User->role()=='admin'?$L->g('Administrator'):$L->g('Editor')).'</td>';
echo '<td class="uk-text-center">'.Date::format($User->registered(), DB_DATE_FORMAT, DB_DATE_FORMAT).'</td>';
echo '<td class="uk-text-center">'.Date::format($User->registered(), DB_DATE_FORMAT, ADMIN_PANEL_DATE_FORMAT).'</td>';
echo '</tr>';
}

View File

@ -68,6 +68,9 @@ define('BACKUP_DATE_FORMAT', 'Y-m-d-H-i-s');
// Sitemap date format
define('SITEMAP_DATE_FORMAT', 'Y-m-d');
// Date format for Manage Content, Manage Users
define('ADMIN_PANEL_DATE_FORMAT', 'D, j M Y, H:i');
// Date format for Dashboard schedule posts
define('SCHEDULED_DATE_FORMAT', 'D, j M Y, H:i');

View File

@ -3,12 +3,14 @@
"native": "Deutsch (Schweiz)",
"english-name": "German",
"locale": "de, de_CH",
"last-update": "2017-10-29",
"author": "Clickwork",
"email": "egoetschel@clickwork.ch",
"website": "https:\/\/clickwork.ch"
"last-update": "2017-12-20",
"authors": {
"0": "Clickwork https://clickwork.ch",
"1": "blog2read https://github.com/blog2read",
"2": ""
}
},
"dates": {
"dates": {
"Mon": "Mo",
"Tue": "Di",
"Wed": "Mi",

View File

@ -3,12 +3,14 @@
"native": "Deutsch (Deutschland)",
"english-name": "German",
"locale": "de, de_DE",
"last-update": "2017-10-29",
"author": "Clickwork",
"email": "egoetschel@clickwork.ch",
"website": "https:\/\/clickwork.ch"
"last-update": "2017-12-20",
"authors": {
"0": "Clickwork https://clickwork.ch",
"1": "blog2read https://github.com/blog2read",
"2": ""
}
},
"dates": {
"dates": {
"Mon": "Mo",
"Tue": "Di",
"Wed": "Mi",

View File

@ -3,10 +3,12 @@
"native": "English",
"english-name": "English",
"locale": "en, en_US, en_AU, en_CA, en_GB, en_IE, en_NZ",
"last-update": "2017-10-14",
"author": "Bludit",
"email": "",
"website": "https://www.bludit.com"
"last-update": "2017-12-20",
"authors": {
"0": "Diego @dignajar",
"1": "Clickwork https://clickwork.ch",
"2": "xm74"
}
},
"dates": {
"Mon": "Mon",
@ -273,4 +275,4 @@
"congratulations-you-have-successfully-installed-your-bludit": "Congratulations you have successfully installed your **Bludit**.",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "This theme may not be supported by this version of Bludit",
"read-more": "Read more"
}
}

View File

@ -3,10 +3,12 @@
"native": "Español",
"english-name": "Spanish",
"locale": "es, es_ES, es_AR, es_MX",
"last-update": "2017-10-14",
"author": "Bludit",
"email": "",
"website": "https://www.bludit.com"
"last-update": "2017-12-20",
"authors": {
"0": "Diego @dignajar",
"1": "",
"2": ""
}
},
"dates": {
"Mon": "Lun",
@ -271,5 +273,6 @@
"scheduled": "Programado",
"this-token-is-similar-to-a-password-it-should-not-be-shared": "Este token es similar a una contraseña, no debe compartirse.",
"congratulations-you-have-successfully-installed-your-bludit": "Felicitaciones Usted ha instalado con éxito **Bludit**",
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Este tema puede no ser compatible con esta versión de Bludit"
"this-theme-may-not-be-supported-by-this-version-of-bludit": "Este tema puede no ser compatible con esta versión de Bludit",
"read-more": "Leer más"
}