From e1d555f993400c2c8e7de6c67e2eb5aed57e0bc5 Mon Sep 17 00:00:00 2001 From: Anders Wegge Jakobsen Date: Thu, 25 May 2006 14:28:23 +0000 Subject: [PATCH] Fix hardcoded 'done.' when removing watchlist entries --- RELEASE-NOTES | 1 + includes/SpecialWatchlist.php | 2 +- languages/Messages.php | 1 + languages/MessagesDa.php | 2 ++ languages/MessagesIt.php | 1 + 5 files changed, 6 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index b13efa7238..423dbc4aed 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -334,6 +334,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN custom log type. * (bug 6057) Count "licenses" as a message (and show it in Special:Allmessages) * Added $wgGrammarForms global +* Fixed hardcoded 'done.' when removing watchlist entries. == Compatibility == diff --git a/includes/SpecialWatchlist.php b/includes/SpecialWatchlist.php index c8e70a8cf4..68113fcb54 100644 --- a/includes/SpecialWatchlist.php +++ b/includes/SpecialWatchlist.php @@ -97,7 +97,7 @@ function wfSpecialWatchlist( $par ) { $wgOut->addHTML( "
\n" . wfMsg( 'iteminvalidname', htmlspecialchars($one) ) ); } } - $wgOut->addHTML( "done.

\n" ); + $wgOut->addHTML( "
\n" . wfMsg( 'wldone' ) . "

\n" ); } if ( $wgUseWatchlistCache ) { diff --git a/languages/Messages.php b/languages/Messages.php index 960edaf568..f8e3e6ee99 100644 --- a/languages/Messages.php +++ b/languages/Messages.php @@ -1074,6 +1074,7 @@ at the bottom of the screen (deleting a content page also deletes the accompanyi 'wlsaved' => 'This is a saved version of your watchlist.', 'wlhideshowown' => '$1 my edits', 'wlhideshowbots' => '$1 bot edits', +'wldone' => 'Done.', 'enotif_mailer' => '{{SITENAME}} Notification Mailer', 'enotif_reset' => 'Mark all pages visited', diff --git a/languages/MessagesDa.php b/languages/MessagesDa.php index b1678ac270..0d1621180f 100644 --- a/languages/MessagesDa.php +++ b/languages/MessagesDa.php @@ -933,6 +933,8 @@ i bunden af skærmen.", 'wlhide' => 'Skjul', 'wlhideshowown' => '$1 mine redigeringer.', 'wlhideshowbots' => '$1 robotredigeringer.', +'wldone' => 'Gennemført.', + 'enotif_mailer' => '{{SITENAME}} informationsmail', 'enotif_reset' => 'Marker alle sider som besøgt', 'enotif_newpagetext'=> 'Dette er en ny side.', diff --git a/languages/MessagesIt.php b/languages/MessagesIt.php index d234210e0a..23b61a1c79 100644 --- a/languages/MessagesIt.php +++ b/languages/MessagesIt.php @@ -36,6 +36,7 @@ "tog-forceeditsummary" => "Chiedi conferma se l'oggetto della modifica è vuoto", "tog-watchlisthideown" => "Nascondi le mie modifiche negli osservati speciali", "tog-watchlisthidebots" => "Nascondi le modifiche dei bot negli osservati speciali", +'wldone' => 'Fatto.', "underline-always" => "Sempre", "underline-never" => "Mai", -- 2.20.1