summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlupo49 <post@lupo49.de>2012-05-08 20:18:35 +0200
committerlupo49 <post@lupo49.de>2012-05-08 20:18:35 +0200
commitd6b9c7bffaacf3b0b983386eca336e4f8d60a2f3 (patch)
tree9bbc06b57d5a370c01b6b9c9577c4f2be47046df
parentf6e1661406b3af965d76120b9acd30c507977e4e (diff)
downloadrpg-d6b9c7bffaacf3b0b983386eca336e4f8d60a2f3.tar.gz
rpg-d6b9c7bffaacf3b0b983386eca336e4f8d60a2f3.tar.bz2
Restore page versions - add timestamp of the restored version to to the summary field.
This allows easier identifying of which version has been restored. (FS#2522)
-rw-r--r--inc/actions.php2
-rw-r--r--inc/lang/de-informal/lang.php2
-rw-r--r--inc/lang/de/lang.php2
-rw-r--r--inc/lang/en/lang.php2
4 files changed, 4 insertions, 4 deletions
diff --git a/inc/actions.php b/inc/actions.php
index 4a2e200ae..458926345 100644
--- a/inc/actions.php
+++ b/inc/actions.php
@@ -380,7 +380,7 @@ function act_revert($act){
if($REV){
$text = rawWiki($ID,$REV);
if(!$text) return 'show'; //something went wrong
- $sum = $lang['restored'];
+ $sum = sprintf($lang['restored'], dformat($REV));
}
// spam check
diff --git a/inc/lang/de-informal/lang.php b/inc/lang/de-informal/lang.php
index 093125aa6..61e5ef3d8 100644
--- a/inc/lang/de-informal/lang.php
+++ b/inc/lang/de-informal/lang.php
@@ -191,7 +191,7 @@ $lang['lastmod'] = 'Zuletzt geändert';
$lang['by'] = 'von';
$lang['deleted'] = 'gelöscht';
$lang['created'] = 'angelegt';
-$lang['restored'] = 'alte Version wiederhergestellt';
+$lang['restored'] = 'alte Version wiederhergestellt (%s)';
$lang['external_edit'] = 'Externe Bearbeitung';
$lang['summary'] = 'Zusammenfassung';
$lang['noflash'] = 'Das <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Plugin</a> wird benötigt, um diesen Inhalt anzuzeigen.';
diff --git a/inc/lang/de/lang.php b/inc/lang/de/lang.php
index 63ffd3008..cfbe04396 100644
--- a/inc/lang/de/lang.php
+++ b/inc/lang/de/lang.php
@@ -193,7 +193,7 @@ $lang['lastmod'] = 'Zuletzt geändert';
$lang['by'] = 'von';
$lang['deleted'] = 'gelöscht';
$lang['created'] = 'angelegt';
-$lang['restored'] = 'alte Version wieder hergestellt';
+$lang['restored'] = 'alte Version wieder hergestellt (%s)';
$lang['external_edit'] = 'Externe Bearbeitung';
$lang['summary'] = 'Zusammenfassung';
$lang['noflash'] = 'Das <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Plugin</a> wird benötigt, um diesen Inhalt anzuzeigen.';
diff --git a/inc/lang/en/lang.php b/inc/lang/en/lang.php
index c1fc543fb..7f0bf05e9 100644
--- a/inc/lang/en/lang.php
+++ b/inc/lang/en/lang.php
@@ -191,7 +191,7 @@ $lang['lastmod'] = 'Last modified';
$lang['by'] = 'by';
$lang['deleted'] = 'removed';
$lang['created'] = 'created';
-$lang['restored'] = 'old revision restored';
+$lang['restored'] = 'old revision restored (%s)';
$lang['external_edit'] = 'external edit';
$lang['summary'] = 'Edit summary';
$lang['noflash'] = 'The <a href="http://www.adobe.com/products/flashplayer/">Adobe Flash Plugin</a> is needed to display this content.';