From 4ff7d5adf8a922e9a28f3c9a9afccbd2067bcac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Laxstr=C3=B6m?= Date: Wed, 18 May 2016 15:05:21 +0200 Subject: [PATCH] Add tooltip to the "more languages" action to provide better context Bug: T135224 Change-Id: I3c5d909ff334182e25b48fd3917260087ee276ef --- extension.json | 3 ++- i18n/en.json | 1 + i18n/qqq.json | 1 + resources/js/ext.uls.compactlinks.js | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/extension.json b/extension.json index 101d1f4f..3eca969e 100644 --- a/extension.json +++ b/extension.json @@ -246,7 +246,8 @@ "mediawiki.ui.button" ], "messages": [ - "ext-uls-compact-link-count" + "ext-uls-compact-link-count", + "ext-uls-compact-link-info" ], "localBasePath": "resources", "remoteExtPath": "UniversalLanguageSelector/resources" diff --git a/i18n/en.json b/i18n/en.json index 92ea7d31..07855544 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -61,6 +61,7 @@ "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)", "apihelp-languagesearch-description": "Search for language names in any script.", "apihelp-languagesearch-param-search": "Search string.", "apihelp-languagesearch-param-typos": "Number of spelling mistakes allowed in the search string.", diff --git a/i18n/qqq.json b/i18n/qqq.json index 9b87e2e5..319f79bd 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -63,6 +63,7 @@ "ext-uls-input-disable-notification-info-interlanguage": "Notification bubble text when input methods are disabled, appears if the ULS is at interlanguage toolbar", "ext-uls-language-settings-applying": "Label for apply settings button in language settings screen, while settings being saved. Please keep it short.", "ext-uls-compact-link-count": "Message next to list of languages which indicates that there are more languages than the ones shown. Parameters:\n* $1 - number of languages\n{{Identical|More}}", + "ext-uls-compact-link-info": "Tooltip for a button that shows all available languages next to short list of relevant languages", "apihelp-languagesearch-description": "{{doc-apihelp-description|languagesearch}}", "apihelp-languagesearch-param-search": "{{doc-apihelp-param|languagesearch|search}}\n{{Identical|Search string}}", "apihelp-languagesearch-param-typos": "{{doc-apihelp-param|languagesearch|typos}}", diff --git a/resources/js/ext.uls.compactlinks.js b/resources/js/ext.uls.compactlinks.js index 5fddbbb8..70abd9d6 100644 --- a/resources/js/ext.uls.compactlinks.js +++ b/resources/js/ext.uls.compactlinks.js @@ -352,6 +352,7 @@ $trigger = $( '