Cleanup #2

Merged
r31k merged 5 commits from panigrc/dw-whoisinyourhackspace:master into master 2021-02-26 22:16:05 +01:00
3 changed files with 3 additions and 1 deletions
Showing only changes of commit d411aa2d0f - Show all commits

View File

@ -12,6 +12,7 @@ $lang['wiyh_closed'] = 'ist geschlossen';
$lang['wiyh_stats'] = 'Raumöffnungsstatistiken';
$lang['wiyh_no_api_path'] = 'Es wurde kein API-Pfad angegeben.';
$lang['wiyh_fetch_error'] = 'Der API-Pfad konnte nicht abgerufen werden.';
$lang['wiyh_since'] = 'seit';

View File

@ -12,6 +12,7 @@ $lang['wiyh_closed'] = 'is closed.';
$lang['wiyh_stats'] = 'Stats';
$lang['wiyh_no_api_path'] = 'No API path was given.';
$lang['wiyh_fetch_error'] = 'Could not fetch API path.';
$lang['wiyh_since'] = 'since';
//Setup VIM: ex: et ts=4 :

View File

@ -87,7 +87,7 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin {
$date = new DateTime();
$date->setTimeStamp($api->state->lastchange);
$content .= "<p class=\"text\">seit " . $date->format('d.m.Y H:i') . " Uhr</p>";
$content .= "<p class=\"text\">{$this->getLang('wiyh_since')} " . $date->format('d.m.Y H:i') . " Uhr</p>";
$content .= '<hr />';
$content .= '</div>';