diff --git a/lang/de/lang.php b/lang/de/lang.php index fa5cc20..bdc63b4 100644 --- a/lang/de/lang.php +++ b/lang/de/lang.php @@ -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'; diff --git a/lang/en/lang.php b/lang/en/lang.php index 7e72678..563486b 100644 --- a/lang/en/lang.php +++ b/lang/en/lang.php @@ -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 : diff --git a/syntax.php b/syntax.php index 1b2a096..f553c45 100644 --- a/syntax.php +++ b/syntax.php @@ -87,7 +87,7 @@ class syntax_plugin_whoisinyourhackspace extends DokuWiki_Syntax_Plugin { $date = new DateTime(); $date->setTimeStamp($api->state->lastchange); - $content .= "

seit " . $date->format('d.m.Y H:i') . " Uhr

"; + $content .= "

{$this->getLang('wiyh_since')} " . $date->format('d.m.Y H:i') . " Uhr

"; $content .= '
'; $content .= '';