summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doku.php3
-rw-r--r--inc/lang/en/lang.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/doku.php b/doku.php
index e90f8bea2..be6ab81f8 100644
--- a/doku.php
+++ b/doku.php
@@ -54,7 +54,8 @@ if($DATE_AT) {
if($rev_t === '') {
$REV = '';
} else if ($rev_t === false) {
- msg('Seite gab es zu diesem Zeitpunkt noch nicht');
+ $rev_n = $pagelog->getRelativeRevision($DATE_AT,+1);
+ msg(sprintf($lang['page_nonexist_rev'], $DATE_AT,$rev_n));
$REV = $DATE_AT;
} else {
$REV = $rev_t;
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index 73b9981d2..ad887f4c4 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -365,4 +365,5 @@ $lang['currentns'] = 'Current namespace';
$lang['searchresult'] = 'Search Result';
$lang['plainhtml'] = 'Plain HTML';
$lang['wikimarkup'] = 'Wiki Markup';
+$lang['page_nonexist_rev'] = "Page has not existed with revision %d, try %d";
//Setup VIM: ex: et ts=2 :