mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
d39b5c958a
Pages that are not supported in other languages should not display the ULS when the language button is clicked. Instead, a simple message explaining that the page contents are supported in other languages should be displayed inside the dropdown. Additionally, the language button should be modified for these non-content pages, to non include any label and be quiet instead of progressive. This patch implements these specifications by appropriately modifying the mustache templates and the underlying skin classes. Bug: T316559 Change-Id: I37d8e61a1287b31d1a304d2a955f532b9b8fa505
80 lines
7.4 KiB
JSON
80 lines
7.4 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Ajeje Brazorf",
|
|
"Amire80",
|
|
"Darth Kule",
|
|
"EugeneZelenko",
|
|
"Liuxinyu970226",
|
|
"Lloffiwr",
|
|
"Matma Rex",
|
|
"Metalhead64",
|
|
"Raymond",
|
|
"Robby",
|
|
"Shirayuki",
|
|
"Tacsipacsi",
|
|
"Thibaut120094",
|
|
"Umherirrender",
|
|
"Verdy p"
|
|
]
|
|
},
|
|
"skinname-vector": "{{name}}",
|
|
"skinname-vector-2022": "{{name}}",
|
|
"vector-specialversion-name": "{{name}}",
|
|
"vector-skin-desc": "{{desc|what=skin|name=Vector|url=https://www.mediawiki.org/wiki/Skin:Vector}}",
|
|
"prefs-vector-enable-vector-1-label": "Label for the checkbox to force Legacy Vector operation accessible via Special:Preferences. When this checkbox is enabled, the December 2019 of Vector is used. When this checkbox is disabled, the actively developed version of Vector is used instead.",
|
|
"prefs-vector-enable-vector-1-help": "Detail explaining the operation of the prefs-vector-enable-vector-1-label checkbox.",
|
|
"vector-opt-out": "Text of link that takes the user to the Special:Preferences page so they can opt-out of the latest version of Vector and go back to legacy Vector.",
|
|
"vector-opt-out-tooltip": "Used as the tooltip for the Vector opt-out link",
|
|
"vector.css": "{{optional}}",
|
|
"vector.js": "{{optional}}",
|
|
"vector-action-toggle-sidebar": "Accessibility label for the button that toggles the sidebar's visibility, as well as audible presentation for screen readers.",
|
|
"vector-languages": "Label for language alert in sidebar when language switching is in header\n\n{{Identical|Language}}",
|
|
"vector-language-button-aria-label": "Accessibility label for language button dropdown menu in modern Vector.\n* $1 - the count of languages available, supports plural",
|
|
"vector-language-button-label": "Label for language button in modern Vector.\n\nArguments:\n* $1 number of languages, supports plural",
|
|
"vector-no-language-button-label": "Label for language button when article does not exist in any other language.",
|
|
"vector-no-language-button-aria-label": "Accessibility label for language button dropdown menu in modern Vector.",
|
|
"vector-language-redirect-to-top": "Explains language links location at top of page and provides link to top. See also [[:phab:T295555]].",
|
|
"vector-language-variant-switcher-label": "Label for the language variant switcher.",
|
|
"vector-action-addsection": "Used in the Vector skin. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}\n{{Identical|Add topic}}",
|
|
"vector-action-delete": "Used in the Vector skin, as the name of a tab at the top of the page. See for example {{canonicalurl:Translating:MediaWiki|useskin=vector}}\n\n{{Identical|Delete}}",
|
|
"vector-action-move": "The \"Move\" action renames pages.\n\nUsed in the Vector skin, on the tabs at the top of the page. See for example {{canonicalurl:Talk:Main_Page|useskin=vector}}\n\n{{Identical|Move}}",
|
|
"vector-action-protect": "Tab at top of page, in vector skin\n\n{{Identical|Protect}}",
|
|
"vector-action-undelete": "Tab at top of page, in vector skin.\n{{Identical|Undelete}}",
|
|
"vector-action-unprotect": "Tab at top of page, in vector skin.\n{{Identical|Change protection}}",
|
|
"vector-view-create": "Tab label in the Vector skin. See for example {{canonicalurl:Foo|useskin=vector}}\n\nWhen Visual Editor is enabled, it appears next to {{msg-mw|Visualeditor-ca-createsource}}.\n\n{{Identical|Create}}",
|
|
"vector-view-edit": "Tab label in the Vector skin. See for example {{canonicalurl:Translating:MediaWiki|useskin=vector}}\n{{Identical|Edit}}",
|
|
"vector-view-history": "Tab label in the Vector skin. See for example {{canonicalurl:Translating:MediaWiki|useskin=vector}}\n{{Identical|View history}}",
|
|
"vector-view-view": "Tab label in the Vector skin (verb). See for example {{canonicalurl:Translating:MediaWiki|useskin=vector}}.\n{{Identical|Read}}",
|
|
"vector-view-viewsource": "Tab label in the Vector skin.\n{{Identical|View source}}",
|
|
"vector-jumptonavigation": "Accessibility link for jumping to the navigation links. Visually hidden by default.\n\nSee also\n* {{msg-mw|Navigation}}",
|
|
"vector-jumptosearch": "Accessibility link for jumping to the site search. Visually hidden by default.\n\nSee also\n* {{msg-mw|Search}}",
|
|
"vector-jumptocontent": "Accessibility link for jumping to the content and skipping the navigation. Visually hidden by default.",
|
|
"vector-more-actions": "Label in the Vector skin's menu for the less-important or rarer actions which are not shown as tabs (like moving the page, or for sysops deleting or protecting the page), as well as (for users with a narrow viewing window in their browser) the less-important tab actions which the user's browser is unable to fit in. {{Identical|More}}",
|
|
"vector-search-loader": "Text to display below search input while the search suggestion module is loading",
|
|
"vector-searchsuggest-containing": "Label used in the special item of the search suggestions list which gives the user an option to perform a full text search for the term. Used in the Codex typeahead search component.",
|
|
"vector-intro-page": "Introduction or tutorial page for the wiki. Typically either Project/Help:Introduction ([[d:Q3945]]) or Project/Help:Tutorial ([[d:Q915263]]).",
|
|
"vector-toc-label": "Heading of table of contents\n\n{{Identical|Content}}",
|
|
"vector-toc-beginning": "Shown in the table of contents: Text of link to the beginning of the article.",
|
|
"vector-toc-toggle-button-label": "Used to label TOC section toggle buttons for screen readers",
|
|
"vector-anon-user-menu-pages": "Label describing the anon editor links in the anon user menu",
|
|
"vector-anon-user-menu-pages-learn": "Lowercase text of link that goes to Help:Introduction and helps the user learn more about editing",
|
|
"vector-anon-user-menu-pages-label": "Accessible version of 'vector-anon-user-menu-pages' link text, prompts user to learn more about editing",
|
|
"vector-main-menu-tooltip": "Used as title attribute for main menu icon on hover.",
|
|
"vector-toc-menu-tooltip": "Used as title attribute for table of contents icon on hover.",
|
|
"vector-toc-collapsible-button-label": "Used as the label for the table of contents collapsible toggle button",
|
|
"vector-site-nav-label": "Accessible label for site (main menu) nav landmark",
|
|
"vector-main-menu-label": "Main menu label",
|
|
"vector-limited-width-toggle": "Toggle for control to limit content width.",
|
|
"vector-page-tools-label": "Label for the page tools pinnable dropdown\n{{identical|Tools}}",
|
|
"vector-page-tools-general-label": "Label for the page tools 'General' menu\n{{identical|General}}",
|
|
"vector-page-tools-actions-label": "Label for the page tools 'Actions' menu\n{{identical|Action}}",
|
|
"vector-pin-element-label": "Label for toggle button in PinnableHeader to pin an element",
|
|
"vector-unpin-element-label": "Label for toggle button in PinnableHeader to unpin an element",
|
|
"vector-2022-prefs-talkpage": "Link to the desktop improvements project talk page which is shown before the preview link in skin preferences. See T307113 for more information.",
|
|
"tooltip-vector-anon-user-menu-title": "Used as title attribute for user menu icon on hover for anonymous users.",
|
|
"vector-prefs-limited-width": "Used in [[Special:Preferences]]",
|
|
"vector-prefs-limited-width-help": "Help message used on [[Special:Preferences]].\n\nSee also:\n* {{msg-mw|Mypreferences}}",
|
|
"empty-language-selector-body": "Text of the body of the dropdown that explains to the user that the page is not supported in other languages. The dropdown opens when the less prominent language button is clicked, inside non-content pages"
|
|
}
|