2017-04-11 02:30:17 +00:00
{
"@metadata" : {
2017-07-12 15:12:40 +00:00
"authors" : [ ]
2017-04-11 02:30:17 +00:00
} ,
2017-08-16 19:55:05 +00:00
"minerva-last-modified-date" : "Last edited on $1, at $2" ,
2019-09-19 21:19:07 +00:00
"minerva-watchlist-cta" : "Keep track of this page and all changes to it." ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-cookies-required" : "Cookies are required to switch view modes. Please enable them and try again." ,
"mobile-frontend-editor-edit" : "Edit" ,
2019-04-04 21:20:39 +00:00
"minerva-download" : "Download PDF" ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-editor-redlink-create" : "Create page" ,
"mobile-frontend-editor-redlink-explain" : "This page has not yet been created." ,
"mobile-frontend-editor-redlink-leave" : "No, thanks." ,
"mobile-frontend-history" : "View edit history of this page." ,
"mobile-frontend-home-button" : "Home" ,
2019-10-16 15:04:19 +00:00
"mobile-frontend-language-article-heading" : "Language" ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-languages-not-available" : "This page is not available in other languages." ,
"mobile-frontend-main-menu-button-tooltip" : "Open main menu" ,
"mobile-frontend-main-menu-contributions" : "Contributions" ,
"mobile-frontend-main-menu-login" : "Log in" ,
"mobile-frontend-main-menu-logout" : "Log out" ,
"mobile-frontend-main-menu-nearby" : "Nearby" ,
"mobile-frontend-main-menu-settings" : "Settings" ,
"mobile-frontend-main-menu-watchlist" : "Watchlist" ,
"mobile-frontend-meta-data-issues" : "Page issues" ,
"mobile-frontend-meta-data-issues-categories" : "About this category" ,
2018-03-13 23:15:04 +00:00
"mobile-frontend-meta-data-issues-header" : "Page issues" ,
2018-07-11 21:13:19 +00:00
"minerva-meta-data-issues-section-header" : "Section issues" ,
2017-07-22 07:27:42 +00:00
"mobile-frontend-pageaction-edit-tooltip" : "Edit the lead section of this page" ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-placeholder" : "Search {{SITENAME}}" ,
"mobile-frontend-random-button" : "Random" ,
2019-07-31 23:28:27 +00:00
"mobile-frontend-redirected-from" : "Redirected from \"[[$1]]\"" ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-talk-back-to-filepage" : "Return to the file \"$1\"." ,
"mobile-frontend-talk-back-to-page" : "Return to \"$1\" page." ,
"mobile-frontend-talk-back-to-projectpage" : "Return to the project page \"$1\"." ,
"mobile-frontend-talk-back-to-userpage" : "Return to the user page of \"{{GENDER:$1|$1}}\"." ,
2017-07-13 16:02:47 +00:00
"mobile-frontend-user-button-tooltip" : "Show my notifications" ,
2017-07-12 15:12:40 +00:00
"mobile-frontend-user-newmessages" : "You have new messages on your talk page" ,
"mobile-frontend-user-page-contributions" : "Contributions" ,
"mobile-frontend-user-page-member-since" : "{{GENDER:$2|Joined}} $1" ,
"mobile-frontend-user-page-talk" : "Talk" ,
[UI] [new] add user menu
Add new user menu. The changes required include:
- Break up AuthMenuEntry into reusable components. They're now simple,
independent, static functions in AuthUtil that are easy to reason
about and compose.
There's lots of verbose code because of the builder and director
patterns. That is, most of the code is for building the thing we
actually want to build instead of just building it. It's easy to write
but no fun to read--even simple configurations are extremely verbose
expressions that must be threaded through the system.
These builders are also single purpose and unlikely to be reusable
unlike a URI builder, for example. As objects, they're not especially
composable either.
- Similarly, break up Menu/DefaultBuilder into BuilderUtil and ban
inheritance. Inheritance has not worked well on the frontend of
MobileFrontend. I don't think it's going to work well here. E.g., I
could have made changes to the base class' getPersonalTools() method
such that the client passes a parameter for the advanced config or
maybe I just override it in the subclass. In either case, I think it
makes the whole hierarchy nuanced and harder to reason about for
something that should be simple.
- Add ProfileMenuEntry and LogOutMenuEntry for the user menu.
- Rename insertLogInOutMenuItem() to insertAuthMenuItem() which matches
the entry name, AuthMenuEntry.
- Extension:SandboxLink is needed to display the sandbox link in the
user menu.
- Performance note: the toolbar is now processed in MinervaTemplate,
which corresponds to removing the buildPersonalUrls() override.
- To mimic the design of main menu, the following steps would be
necessary:
1. Create a user/Default and user/Advanced user menu builder and also
a user/IBuilder interface.
2. Create a user/Director.
3. Create a service entry for Minerva.Menu.UserDirector in
ServiceWiring. The Director is actually powerless and doesn't get
to make any decisions--the appropriate builder is passed in from
ServiceWiring which checks the mode.
4. Access the service in SkinMinerva to set a userMenuHTML data member
on the Minerva QuickTemplate.
5. In MinervaTemplate, access the userMenuHTML QuickTemplate member
and do the usual song and dance of inflating a Mustache template.
This patch does everything except add a service, which was agreed to
be unnecessary, so that logic is now in SkinMinerva.
- Wrap the existing echo user notifications button and new user menu
button in a nav element. This seems like a semantic improvement.
- The existing styling and logic for the search bar and search overlay
are pretty messy and delicate. Changes made to that LESS endeavored to
be surgical. There's lots of room for improvement in the toolbar but
it's out of scope.
- Rename logout icon to logOut.
Bug: T214540
Change-Id: Ib517864fcf4e4d611e05525a6358ee6662fe4e05
2019-06-25 20:12:58 +00:00
"minerva-user-menu-button" : "User menu" ,
2020-01-10 22:23:04 +00:00
"minerva-user-navigation" : "User navigation" ,
2023-07-22 01:00:15 +00:00
"minerva-page-actions-editfull" : "Edit full page" ,
2019-10-16 15:04:19 +00:00
"minerva-page-actions-overflow" : "More" ,
2019-06-24 17:59:11 +00:00
"minerva-page-actions-language-switcher" : "Languages" ,
2019-10-16 15:04:19 +00:00
"minerva-page-actions-history" : "History" ,
2022-06-01 23:30:42 +00:00
"minerva-prefs-talkpage" : "[[mw:Talk:Moderator Tools/Content moderation on mobile web|Discussion]]" ,
2017-08-17 22:35:39 +00:00
"skinname-minerva" : "MinervaNeue" ,
2018-01-08 22:18:16 +00:00
"minerva-skin-desc" : "A responsive mobile first skin" ,
2018-05-08 22:03:52 +00:00
"skin-minerva-issue-learn-more" : "Learn more" ,
2023-09-29 21:55:29 +00:00
"skin-minerva-time-ago-seconds" : "{{PLURAL:$1|$1 second|$1 seconds}} ago" ,
2023-10-30 23:01:26 +00:00
"skin-minerva-time-ago-minutes" : "{{PLURAL:$1|$1 minute|$1 minutes}} ago" ,
"skin-minerva-time-ago-hours" : "{{PLURAL:$1|$1 hour|$1 hours}} ago" ,
2023-09-29 21:55:29 +00:00
"skin-minerva-time-ago-days" : "{{PLURAL:$1|$1 day|$1 days}} ago" ,
"skin-minerva-time-ago-months" : "{{PLURAL:$1|$1 month|$1 months}} ago" ,
"skin-minerva-time-ago-years" : "{{PLURAL:$1|$1 year|$1 years}} ago" ,
2021-04-28 21:58:51 +00:00
"skin-minerva-mobile-option-MinervaShowCategories" : "Categories" ,
"skin-minerva-mobile-option-MinervaShowCategories-description" : "View categories of pages" ,
2018-11-12 20:32:28 +00:00
"skin-minerva-mobile-option-MinervaPageIssuesNewTreatment" : "Improved page issues treatment" ,
2019-07-31 14:57:27 +00:00
"skin-minerva-mobile-option-MinervaPageIssuesNewTreatment-description" : "Page issues (Template:ambox) will be inlined in the article." ,
2020-02-20 11:35:38 +00:00
"skin-minerva-recentchanges-warning-enhanced-not-supported" : "Unfortunately, grouping results by page is not available on mobile. If you would like to use the group by page feature please visit the desktop site." ,
2024-04-24 15:37:34 +00:00
"skin-minerva-night-mode-unavailable" : "Page only available in \"Light\" color theme." ,
2020-02-20 11:35:38 +00:00
"minerva.css" : "/* All CSS here will be loaded for users of the MinervaNeue skin */" ,
"minerva.js" : "/* All JavaScript here will be loaded for users of the MinervaNeue skin */"
2017-07-22 07:27:42 +00:00
}