Add a new message key on watchlist for "Hide"
authorRaimond Spekking <raimond.spekking@gmail.com>
Thu, 19 Nov 2015 13:56:04 +0000 (13:56 +0000)
committer[[mw:User:Raymond]] <gerritpatchuploader@gmail.com>
Thu, 19 Nov 2015 13:56:04 +0000 (13:56 +0000)
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
languages/i18n/en.json
languages/i18n/qqq.json

index 7cc7d5f..52ff4cd 100644 (file)
@@ -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<hr />\n<p>";
index acc50f1..8d85bbd 100644 (file)
        "wlnote": "Below {{PLURAL:$1|is the last change|are the last <strong>$1</strong> changes}} in the last {{PLURAL:$2|hour|<strong>$2</strong> 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",
index e0dd3f4..40404aa 100644 (file)
        "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}}",