From 902005471f5e863349d568d12a057780463c281e Mon Sep 17 00:00:00 2001 From: Raimond Spekking Date: Thu, 19 Nov 2015 13:56:04 +0000 Subject: [PATCH] Add a new message key on watchlist for "Hide" The older message key "hide" is used on many places, often inline But this new message is used as first word of a line and at least in German it needs a capital letter in the translation Change-Id: I26ed976d89d1dc9759abf22f6d39b77d26c68731 --- includes/specials/SpecialWatchlist.php | 2 +- languages/i18n/en.json | 1 + languages/i18n/qqq.json | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index 7cc7d5fb2d..52ff4cdfa1 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -466,7 +466,7 @@ class SpecialWatchlist extends ChangesListSpecialPage { # Namespace filter and put the whole form together. $form .= $wlInfo; $form .= $cutofflinks; - $form .= $this->msg( 'hide' ) . + $form .= $this->msg( 'watchlist-hide' ) . $this->msg( 'colon-separator' )->escaped() . implode( ' ', $links ); $form .= "\n
\n

"; diff --git a/languages/i18n/en.json b/languages/i18n/en.json index acc50f1753..8d85bbd870 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -1926,6 +1926,7 @@ "wlnote": "Below {{PLURAL:$1|is the last change|are the last $1 changes}} in the last {{PLURAL:$2|hour|$2 hours}}, as of $3, $4.", "wlshowlast": "Show last $1 hours $2 days", "watchlistall2": "all", + "watchlist-hide": "Hide", "wlshowtime": "Show last:", "wlshowhideminor": "minor edits", "wlshowhidebots": "bots", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index e0dd3f4693..40404aaa9c 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -2100,6 +2100,7 @@ "wlnote": "Used on [[Special:Watchlist]] when a maximum number of hours or days is specified.\n\nParameters:\n* $1 - the number of changes shown\n* $2 - the number of hours for which the changes are shown\n* $3 - a date alone\n* $4 - a time alone", "wlshowlast": "Appears on [[Special:Watchlist]]. Parameters:\n* $1 - a choice of different numbers of hours (\"1 | 2 | 6 | 12\")\n* $2 - a choice of different numbers of days (\"1 | 3 | 7\" and the maximum number of days available)\nClicking on your choice changes the list of changes you see (without changing the default in my preferences).", "watchlistall2": "Appears on [[Special:Watchlist]], after {{msg-mw|wlshowtime}}, as the option to display all available data regardless of age.\n{{Identical|All}}", + "watchlist-hide": "Appears on [[Special:Watchlist]]. It is the first word on a new line with checkboxes to hide/unhide options", "wlshowtime": "Appears on [[Special:Watchlist]].", "wlshowhideminor": "Option text in [[Special:Watchlist]]. Cf. {{msg-mw|rcshowhideminor}}.\n{{Identical|Minor edit}}", "wlshowhidebots": "Option text in [[Special:Watchlist]]. Cf. {{msg-mw|rcshowhidebots}}.\n{{Identical|Bot}}", -- 2.20.1