Jdlrobson has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/372184 )

Change subject: i18n: Add Minerva specific message key for last modified bar
......................................................................

i18n: Add Minerva specific message key for last modified bar

This is currently defined in MobileFrontend which uses it for
Special:MobileWatchlist.

We shouldn't use two messages for 2 purposes so let's give it
its own dedicated message.

Change-Id: Id5df6aad20815b88b8bd2685514e7eb3237a5b3b
---
M i18n/en.json
M i18n/qqq.json
M includes/skins/SkinMinerva.php
3 files changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/MinervaNeue 
refs/changes/84/372184/1

diff --git a/i18n/en.json b/i18n/en.json
index f7d2b38..cf941eb 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -3,6 +3,7 @@
                "authors": []
        },
        "skinname-minervaneue": "MinervaNeue",
+       "minerva-last-modified-date": "Last edited on $1, at $2",
        "minerva-talk-add-topic": "Add discussion",
        "mobile-frontend-console-recruit": "\\o/ Hey! This is open source 
software and we need volunteers to help us build this thing, make it better and 
fix any bugs that you might be seeing in this JavaScript console!\n\nYou can 
find our backlog @ https://phabricator.wikimedia.org/project/profile/67/";,
        "mobile-frontend-cookies-required": "Cookies are required to switch 
view modes. Please enable them and try again.",
diff --git a/i18n/qqq.json b/i18n/qqq.json
index 9a23537..daf5fe1 100644
--- a/i18n/qqq.json
+++ b/i18n/qqq.json
@@ -12,6 +12,7 @@
                ]
        },
        "skinname-minervaneue": "The skin name for MinervaNeue.",
+       "minerva-last-modified-date": "Text that displays the date the page was 
last modified. Parameters:\n* $1 - date\n* $2 - 
time\n{{Related|Mobile-frontend-last-modified}}",
        "minerva-talk-add-topic": "Label for button which shows at bottom of 
talk pages in mobile view prompting addition of topic",
        "mobile-frontend-console-recruit": "Message that is displayed in the 
JavaScript console aimed at developers in an attempt to recruit volunteers. The 
\\o/ emoticon is a man with his arms in the air with the purpose of drawing 
attention to the message. If this doesn't translate into the destination 
language feel free to omit it or use something more applicable.",
        "mobile-frontend-cookies-required": "Error message shown when user 
attempts to switch site modes and cookies are not enabled.",
diff --git a/includes/skins/SkinMinerva.php b/includes/skins/SkinMinerva.php
index 850d14e..e6d66f4 100644
--- a/includes/skins/SkinMinerva.php
+++ b/includes/skins/SkinMinerva.php
@@ -734,7 +734,7 @@
                        $lastModified = $this->msg( 'mobile-frontend-history' 
)->plain();
                } else {
                        $lastModified = $this->msg(
-                               'mobile-frontend-last-modified-date',
+                               'minerva-last-modified-date',
                                $this->getLanguage()->userDate( $timestamp, 
$user ),
                                $this->getLanguage()->userTime( $timestamp, 
$user )
                        )->parse();

-- 
To view, visit https://gerrit.wikimedia.org/r/372184
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id5df6aad20815b88b8bd2685514e7eb3237a5b3b
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/MinervaNeue
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to