forked from r31k/dw-whoisinyourhackspace
Add and use 'since' translation key
This commit is contained in:
parent
16556e7722
commit
d411aa2d0f
|
@ -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';
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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>';
|
||||
|
|
Loading…
Reference in New Issue