This patch replaces the display and input settings menu bar at the
bottom of the content language selector, with a floating icon that
opens a menu containing all the available language actions. In case
that only the language settings action is available, the language
settings menu is being opened instead.
In order to provide extensibility and support the addition of new
action items from other extensions, a registry class that inherits
from OO.Registry class is created. This class is used to create a
singleton registry object that holds all action items that should
be rendered inside the menu. Other modules/extensions can use this
registry to add new actions items to the menu, by passing the item
as argument, in the following form:
{ name: "", icon: "", text: "", handler: function() {} }
Bug: T289840
Change-Id: Iee017a9e3e6a654145e9fdd2b7df35baa348697d
79 lines
4.7 KiB
JSON
79 lines
4.7 KiB
JSON
{
|
|
"@metadata": {
|
|
"authors": [
|
|
"Nike",
|
|
"Kunal Mehta",
|
|
"Niharika",
|
|
"Amire80",
|
|
"Santhosh Thottingal"
|
|
],
|
|
"message-documentation": "qqq"
|
|
},
|
|
"uls-desc": "Gives the user several ways to select a language and to adjust language settings",
|
|
"uls-plang-title-languages": "Languages",
|
|
"uls-ime-helppage": "https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Extension:UniversalLanguageSelector/Input_methods/$1",
|
|
"ext-uls-select-language-settings-icon-tooltip": "Language settings",
|
|
"ext-uls-undo-language-tooltip-text": "Language changed from $1",
|
|
"ext-uls-undo-language-tooltip-text-local": "Language changed for this wiki. Check your [[Special:GlobalPreferences|global preferences]] to change language for all wikis.",
|
|
"ext-uls-language-settings-preferences-link": "More language settings",
|
|
"uls-betafeature-label": "Compact language links",
|
|
"uls-betafeature-desc": "Show a shorter version of the language list, with just the languages that are more relevant to you.",
|
|
"ext-uls-display-settings-title": "Display settings",
|
|
"ext-uls-display-settings-language-tab": "Language",
|
|
"ext-uls-display-settings-fonts-tab": "Fonts",
|
|
"ext-uls-display-settings-title-short": "Display",
|
|
"ext-uls-display-settings-desc": "Set language used for menus and fonts.",
|
|
"ext-uls-language-settings-title": "Language settings",
|
|
"ext-uls-language-settings-apply": "Apply settings",
|
|
"ext-uls-language-settings-cancel": "Cancel",
|
|
"ext-uls-language-buttons-help": "Change the language of menus. Content language will not be affected.",
|
|
"ext-uls-display-settings-font-settings": "Font settings",
|
|
"ext-uls-display-settings-ui-language": "Display language",
|
|
"ext-uls-display-settings-anon-label": "Display language:",
|
|
"ext-uls-display-settings-anon-same-as-content": "$1 (same as content)",
|
|
"ext-uls-display-settings-anon-log-in-cta": "[[Special:UserLogin|Log in]] to select a different language for menus.",
|
|
"ext-uls-webfonts-settings-title": "Download fonts when needed",
|
|
"ext-uls-webfonts-settings-info": "Download missing fonts automatically and allow selection of preferred fonts.",
|
|
"ext-uls-webfonts-settings-info-link": "More information",
|
|
"ext-uls-webfonts-select-for": "Select font for $1",
|
|
"ext-uls-webfonts-select-for-ui-info": "Font used for user interface",
|
|
"ext-uls-webfonts-select-for-content-info": "Font used for content",
|
|
"ext-uls-webfonts-system-font": "System font",
|
|
"ext-uls-back-to-display-settings": "Back to display settings",
|
|
"ext-uls-input-settings-title": "Input settings",
|
|
"ext-uls-input-settings-title-short": "Input",
|
|
"ext-uls-input-settings-desc": "Writing in a different language?",
|
|
"ext-uls-input-settings-ime-settings": "Input methods for $1",
|
|
"ext-uls-input-settings-ui-language": "Language used for writing",
|
|
"ext-uls-back-to-input-settings": "Back to input settings",
|
|
"ext-uls-ime-help": "How to use",
|
|
"ext-uls-disable-input-method": "Use native keyboard",
|
|
"ext-uls-input-settings-more-languages-tooltip": "More languages",
|
|
"jquery-ime-other-languages": "Other languages",
|
|
"jquery-ime-disable-text": "Use native keyboard",
|
|
"jquery-ime-help": "Help",
|
|
"ext-uls-input-disable": "Disable input tools",
|
|
"ext-uls-input-enable": "Enable input tools",
|
|
"ext-uls-input-disable-info": "Input tools are disabled.",
|
|
"ext-uls-input-settings-noime": "No input methods are available for this language.",
|
|
"ext-uls-input-disable-notification": "Input tools have been disabled",
|
|
"ext-uls-input-disable-notification-undo": "Undo",
|
|
"ext-uls-input-disable-notification-info-personal": "You can enable the input tools at any time from the language settings.",
|
|
"ext-uls-input-disable-notification-info-interlanguage": "You can enable the input tools at any time from the language settings next to the language list.",
|
|
"ext-uls-language-settings-applying": "Applying...",
|
|
"ext-uls-compact-link-count": "{{PLURAL:$1|One more|$1 more}}",
|
|
"ext-uls-compact-link-info": "All languages (initial selection from common choices by you and others)",
|
|
"prefs-languages": "Languages",
|
|
"ext-uls-compact-language-links-preference": "Use a [[$1|compact language list]], with languages relevant to you.",
|
|
"ext-uls-compact-no-results": "This page is not available in the language you searched for.",
|
|
"ext-uls-setlang-error": "There was an error while updating your preferred language. Error: $1",
|
|
"ext-uls-setlang-unknown-error": "Unknown error",
|
|
"ext-uls-setlang-message": "The link you followed requested the interface to be shown in <strong>$1 ($2)</strong>",
|
|
"ext-uls-setlang-heading": "Change interface language?",
|
|
"ext-uls-setlang-accept": "Accept change",
|
|
"ext-uls-setlang-loading": "Applying...",
|
|
"ext-uls-setlang-cancel": "Don't change",
|
|
"ext-uls-actions-menu-header": "More options",
|
|
"ext-uls-actions-menu-language-settings-item-label": "Open language settings"
|
|
}
|