diff options
author | Brian Evans <grknight@gentoo.org> | 2019-04-11 12:58:18 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2019-04-11 12:58:18 -0400 |
commit | 8befe8b8f4fecc31aa7f04fbb4b31a98dce28325 (patch) | |
tree | c45b2e6a265c342333073bfef0dca899bd676721 /MLEB/UniversalLanguageSelector | |
parent | Update Widgets for 1.32 (diff) | |
download | extensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.tar.gz extensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.tar.bz2 extensions-8befe8b8f4fecc31aa7f04fbb4b31a98dce28325.zip |
Update Language Bundle to 2019.01
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/UniversalLanguageSelector')
69 files changed, 1237 insertions, 582 deletions
diff --git a/MLEB/UniversalLanguageSelector/.eslintrc.json b/MLEB/UniversalLanguageSelector/.eslintrc.json index 678fae13..c47c6ae6 100644 --- a/MLEB/UniversalLanguageSelector/.eslintrc.json +++ b/MLEB/UniversalLanguageSelector/.eslintrc.json @@ -1,15 +1,11 @@ { - "extends": "wikimedia", - "env": { - "browser": true - }, + "root": true, + "extends": [ + "wikimedia/client", + "wikimedia/jquery" + ], "globals": { - "$": false, "mw": false, "OO": false - }, - "rules": { - "dot-notation": [ "error", { "allowKeywords": true } ], - "max-len": 0 } } diff --git a/MLEB/UniversalLanguageSelector/Gruntfile.js b/MLEB/UniversalLanguageSelector/Gruntfile.js index 4d11aeb9..738cfaef 100644 --- a/MLEB/UniversalLanguageSelector/Gruntfile.js +++ b/MLEB/UniversalLanguageSelector/Gruntfile.js @@ -36,7 +36,7 @@ module.exports = function ( grunt ) { svgmin: { options: { js2svg: { - indent: ' ', + indent: '\t', pretty: true }, multipass: true, diff --git a/MLEB/UniversalLanguageSelector/RELEASE-NOTES b/MLEB/UniversalLanguageSelector/RELEASE-NOTES index 023d7964..db46ee0f 100644 --- a/MLEB/UniversalLanguageSelector/RELEASE-NOTES +++ b/MLEB/UniversalLanguageSelector/RELEASE-NOTES @@ -1,13 +1,14 @@ -== UniversalLanguageSelector 2018.10 == -Released at 2018-10-29. +== UniversalLanguageSelector 2019.01 == +Released at 2019-01-22. === Noteworthy changes === -* Remove PHP entry point. Please update your configuration! -* Support UI language change when Global Preferences are present. (T198206) -* Drop support for discontinued freegeoip.net. -* Correct alignment of cog in interlanguage links in Vector skin. -* ULS now sends Vary: Accept-Language header. -* Performance optimizations. +* Maintenance updates only. ==== Input Methods ==== -* Update Sarjom Baha layout. +* Added Tilde layouts for Hausa, Igbo, and Yoruba. +* Added Ewe layout. +* Fixed Fon tilde input method. +* Added a transliteration layout for the Ho language in the Warang Citi alphabet. +* Enable the Palochka layout for Ingush. +* Fixed the Blin / Tigre / Tigrinya GeezIM layouts. +* Fixed the Santali Ol Chiki InScript 2 layout. diff --git a/MLEB/UniversalLanguageSelector/UniversalLanguageSelector.php b/MLEB/UniversalLanguageSelector/UniversalLanguageSelector.php deleted file mode 100644 index e69de29b..00000000 --- a/MLEB/UniversalLanguageSelector/UniversalLanguageSelector.php +++ /dev/null diff --git a/MLEB/UniversalLanguageSelector/extension.json b/MLEB/UniversalLanguageSelector/extension.json index 3969bbfe..e040a93d 100644 --- a/MLEB/UniversalLanguageSelector/extension.json +++ b/MLEB/UniversalLanguageSelector/extension.json @@ -1,370 +1,389 @@ { - "name": "UniversalLanguageSelector", - "version": "2018-10-26", - "author": [ - "Alolita Sharma", - "Amir Aharoni", - "Arun Ganesh", - "Brandon Harris", - "Kartik Mistry", - "Niharika Kohli", - "Niklas Laxström", - "Pau Giner", - "Santhosh Thottingal", - "Siebrand Mazeland" - ], - "url": "https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector", - "descriptionmsg": "uls-desc", - "license-name": "GPL-2.0-or-later", - "requires": { - "MediaWiki": ">= 1.30.0" - }, - "Hooks": { - "BeforePageDisplay": "UniversalLanguageSelectorHooks::addModules", - "EnterMobileMode": "UniversalLanguageSelectorHooks::onEnterMobileMode", - "GetBetaFeaturePreferences": "UniversalLanguageSelectorHooks::onGetBetaFeaturePreferences", - "GetPreferences": "UniversalLanguageSelectorHooks::onGetPreferences", - "LocalUserCreated": "UniversalLanguageSelectorHooks::onLocalUserCreated", - "MakeGlobalVariablesScript": "UniversalLanguageSelectorHooks::addVariables", - "PersonalUrls": "UniversalLanguageSelectorHooks::addPersonalBarTrigger", - "ResourceLoaderGetConfigVars": "UniversalLanguageSelectorHooks::addConfig", - "ResourceLoaderRegisterModules": "UniversalLanguageSelectorHooks::onResourceLoaderRegisterModules", - "ResourceLoaderTestModules": "UniversalLanguageSelectorHooks::addTestModules", - "SkinTemplateOutputPageBeforeExec": "UniversalLanguageSelectorHooks::onSkinTemplateOutputPageBeforeExec", - "UserGetLanguageObject": "UniversalLanguageSelectorHooks::getLanguage" - }, - "APIModules": { - "languagesearch": "ApiLanguageSearch", - "ulslocalization": "ApiULSLocalization" - }, - "MessagesDirs": { - "UniversalLanguageSelector": [ - "i18n", - "i18n/api" - ] - }, - "AutoloadClasses": { - "ApiLanguageSearch": "api/ApiLanguageSearch.php", - "ApiULSLocalization": "api/ApiULSLocalization.php", - "FontRepoCompiler": "includes/FontRepoCompiler.php", - "LanguageNameSearch": "data/LanguageNameSearch.php", - "LanguageNameSearchData": "data/LanguageNameSearchData.php", - "ResourceLoaderULSJsonMessageModule": "includes/ResourceLoaderULSJsonMessageModule.php", - "ResourceLoaderULSModule": "includes/ResourceLoaderULSModule.php", - "ULSJsonMessageLoader": "includes/ULSJsonMessageLoader.php", - "UniversalLanguageSelectorHooks": "UniversalLanguageSelector.hooks.php" - }, - "DefaultUserOptions": { - "uls-preferences": "", - "compact-language-links": true - }, - "config": { - "@ULSGeoService": "ULS can use a geolocation service to suggest languages based on the country the user is vising from. If set to an URL it will query that service which must return an object which has key \"country_code\" or \"country\". For example https://api.ipstack.com/check?access_key=yourkey&fields=country_code. Setting this to false will prevent built-in geolocation from being used. You can also provide your own geolocation by assigning such object to window.Geo.", - "ULSGeoService": false, - "@ULSEnable": "Enable language selection, compact language links, input methods and webfonts for everyone, unless the behavior is overridden by the configuration variables below. Even if false the classes and resource loader modules are registered for the use of other extensions. Language changing via cookie or setlang query parameter is not possible.", - "ULSEnable": true, - "@ULSEnableAnon": "Equivalent to $wgULSEnable for anonymous users only. Does not have any effect if $wgULSEnable is false.", - "ULSEnableAnon": true, - "@ULSAnonCanChangeLanguage": "Allow anonymous users to change language with cookie and setlang query parameter. Do not use if you are caching anonymous page views without taking cookies into account. Does not have any effect if either of $wgULSEnable or $wgULSEnableAnon is set to false. @since 2013.04", - "ULSAnonCanChangeLanguage": true, - "@ULSLanguageDetection": "Try to use preferred interface language for anonymous users. Do not use if you are caching anonymous page views without taking Accept-Language into account. Does not have any effect if any of $wgULSEnable, or $wgULSEnableAnon is set to false.", - "ULSLanguageDetection": true, - "@ULSIMEEnabled": "Enable the input methods feature for all users by default. Can be controlled by the user.", - "ULSIMEEnabled": true, - "@ULSWebfontsEnabled": "Enable the webfonts feature for all users by default. Can be controlled by the user. @since 2014.02", - "ULSWebfontsEnabled": true, - "@ULSMobileWebfontsEnabled": "Set whether webfont support is loaded within the mobile interface (via the MobileFrontend extension).", - "ULSMobileWebfontsEnabled": false, - "@ULSPosition": "The location and the form of the language selection trigger. The possible values are: (a) \"personal\"- as a link near the username or the log in link in the personal toolbar (default). (b) \"interlanguage\": as an icon near the header of the list of interlanguage links in the sidebar.", - "ULSPosition": "personal", - "@ULSEventLogging": "Whether to use EventLogging. The EventLogging extension must be installed if this option is enabled. @since 2013.06", - "ULSEventLogging": false, - "@ULSImeSelectors": "Array of jQuery selectors of elements on which IME should be enabled. @since 2013.11", - "ULSImeSelectors": [ - "input:not([type])", - "input[type=text]", - "input[type=search]", - "textarea", - "[contenteditable]" - ], - "@ULSNoImeSelectors": "Array of jQuery selectors of elements on which IME must not be enabled. @since 2013.07", - "ULSNoImeSelectors": [ - "#wpCaptchaWord", - ".ve-ce-surface-paste" - ], - "@ULSNoWebfontsSelectors": "Array of jQuery selectors of elements on which webfonts must not be applied. By default exclude elements with .autonym because that style set font as Autonym @since 2013.09", - "ULSNoWebfontsSelectors": [ - "#p-lang li.interlanguage-link > a" - ], - "@ULSFontRepositoryBasePath": "Base path of ULS font repository. If not set, will be set to 'UniversalLanguageSelector/data/fontrepo/fonts/', relative to $wgExtensionAssetsPath. @since 2013.10", - "ULSFontRepositoryBasePath": false, - "ULSCompactLanguageLinksBetaFeature": true, - "@ULSCompactLanguageLinksBetaFeature": "Set compact interlanguage links as beta feature or not. If set false, compact interlanguage links will be available by default to all users.", - "ULSCompactLinksForNewAccounts": false, - "@ULSCompactLinksForNewAccounts": "Enable compact interlanguage links for new user accounts.", - "ULSCompactLinksEnableAnon": false, - "@ULSCompactLinksEnableAnon": "Enable compact interlanguage links for anonymous users." - }, - "callback": "UniversalLanguageSelectorHooks::setVersionConstant", - "ResourceModules": { - "ext.uls.common": { - "targets": [ "desktop", "mobile" ], - "scripts": "js/ext.uls.common.js", - "styles": "css/ext.uls.less", - "skinStyles": { - "monobook": "css/ext.uls-monobook.css", - "vector": "css/ext.uls-vector.less" - }, - "dependencies": [ - "jquery.uls.data", - "mediawiki.api", - "mediawiki.cookie", - "mediawiki.storage", - "mediawiki.user" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.compactlinks": { - "scripts": "js/ext.uls.compactlinks.js", - "styles": "css/ext.uls.compactlinks.less", - "dependencies": [ - "mediawiki.jqueryMsg", - "mediawiki.language", - "mediawiki.ui.button", - "ext.uls.init" - ], - "messages": [ - "ext-uls-compact-link-count", - "ext-uls-compact-link-info", - "ext-uls-compact-no-results" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.geoclient": { - "scripts": "js/ext.uls.geoclient.js", - "dependencies": [ - "mediawiki.cookie" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.i18n": { - "targets": [ "desktop", "mobile" ], - "scripts": "js/ext.uls.i18n.js", - "dependencies": [ - "jquery.i18n", - "mediawiki.util" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.ime": { - "scripts": "js/ext.uls.ime.js", - "dependencies": [ - "ext.uls.common", - "ext.uls.preferences", - "ext.uls.mediawiki", - "ext.uls.messages", - "jquery.ime", - "mediawiki.notify" - ], - "messages": [ - "uls-ime-helppage" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.init": { - "targets": [ "desktop" ], - "dependencies": [ "ext.uls.common" ] - }, - "ext.uls.inputsettings": { - "scripts": "js/ext.uls.inputsettings.js", - "styles": "css/ext.uls.inputsettings.less", - "dependencies": [ - "ext.uls.ime", - "ext.uls.languagesettings", - "ext.uls.mediawiki", - "jquery.ime", - "mediawiki.ui.button", - "mediawiki.ui.radio" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.interface": { - "scripts": "js/ext.uls.interface.js", - "styles": "css/ext.uls.interface.less", - "dependencies": [ - "ext.uls.common", - "mediawiki.jqueryMsg", - "mediawiki.storage", - "mediawiki.user", - "ext.uls.webfonts" - ], - "messages": [ - "uls-plang-title-languages", - "ext-uls-select-language-settings-icon-tooltip", - "ext-uls-undo-language-tooltip-text", - "ext-uls-undo-language-tooltip-text-local" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.interlanguage": { - "styles": "css/ext.uls.interlanguage.less", - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.languagenames": { - "class": "ResourceLoaderULSModule" - }, - "ext.uls.languagesettings": { - "scripts": "js/ext.uls.languagesettings.js", - "styles": "css/ext.uls.languagesettings.less", - "dependencies": [ - "ext.uls.messages", - "ext.uls.preferences", - "jquery.uls.grid", - "mediawiki.ui.button" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.mediawiki": { - "targets": [ "desktop", "mobile" ], - "scripts": "js/ext.uls.mediawiki.js", - "dependencies": [ - "ext.uls.common", - "ext.uls.languagenames", - "ext.uls.messages", - "jquery.uls", - "jquery.uls.grid", - "mediawiki.util" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.messages": { - "class": "ResourceLoaderULSJsonMessageModule", - "dependencies": "ext.uls.i18n", - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.preferencespage": { - "styles": "css/ext.uls.preferencespage.less", - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.pt": { - "styles": "css/ext.uls.pt.less", - "localBasePath": "resources", - "skinStyles": { - "monobook": "css/ext.uls.pt-monobook.less" - }, - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.webfonts": { - "scripts": "js/ext.uls.webfonts.js", - "dependencies": [ - "ext.uls.common", - "ext.uls.preferences", - "jquery.client" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.webfonts.fonts": { - "dependencies": [ - "jquery.webfonts", - "ext.uls.webfonts.repository" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.webfonts.mobile": { - "scripts": "js/ext.uls.webfonts.mobile.js", - "targets": [ - "mobile" - ], - "dependencies": [ - "jquery.webfonts", - "ext.uls.webfonts.repository" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "ext.uls.webfonts.repository": { - "scripts": "js/ext.uls.webfonts.repository.js", - "targets": [ - "desktop", - "mobile" - ], - "localBasePath": "resources", - "remoteExtPath": "UniversalLanguageSelector/resources" - }, - "jquery.ime": { - "scripts": "jquery.ime/jquery.ime.js", - "styles": "jquery.ime/css/jquery.ime.css", - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - }, - "jquery.uls": { - "targets": [ "desktop", "mobile" ], - "scripts": [ - "jquery.uls/src/jquery.uls.core.js", - "jquery.uls/src/jquery.uls.lcd.js", - "jquery.uls/src/jquery.uls.languagefilter.js" - ], - "styles": [ - "jquery.uls/css/jquery.uls.css", - "jquery.uls/css/jquery.uls.lcd.css" - ], - "dependencies": [ - "jquery.i18n", - "jquery.uls.data", - "jquery.uls.grid" - ], - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - }, - "jquery.uls.data": { - "scripts": [ - "jquery.uls/src/jquery.uls.data.js", - "jquery.uls/src/jquery.uls.data.utils.js" - ], - "targets": [ - "desktop", - "mobile" - ], - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - }, - "jquery.uls.grid": { - "targets": [ "desktop", "mobile" ], - "styles": "jquery.uls/css/jquery.uls.grid.css", - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - }, - "jquery.webfonts": { - "scripts": "jquery.webfonts/src/jquery.webfonts.js", - "targets": [ - "desktop", - "mobile" - ], - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - }, - "rangy.core": { - "scripts": "rangy/rangy-core.js", - "localBasePath": "lib", - "remoteExtPath": "UniversalLanguageSelector/lib" - } - }, - "EventLoggingSchemas": { - "UniversalLanguageSelector": 17799034 - }, - "manifest_version": 1 -} + "name": "UniversalLanguageSelector", + "version": "2019-01-17 [https://www.mediawiki.org/wiki/MLEB MLEB 2019.01]", + "author": [ + "Alolita Sharma", + "Amir Aharoni", + "Arun Ganesh", + "Brandon Harris", + "Kartik Mistry", + "Niharika Kohli", + "Niklas Laxström", + "Pau Giner", + "Santhosh Thottingal", + "Siebrand Mazeland" + ], + "url": "https://www.mediawiki.org/wiki/Extension:UniversalLanguageSelector", + "descriptionmsg": "uls-desc", + "license-name": "GPL-2.0-or-later", + "requires": { + "MediaWiki": ">= 1.30.0" + }, + "Hooks": { + "BeforePageDisplay": "UniversalLanguageSelectorHooks::addModules", + "EnterMobileMode": "UniversalLanguageSelectorHooks::onEnterMobileMode", + "GetBetaFeaturePreferences": "UniversalLanguageSelectorHooks::onGetBetaFeaturePreferences", + "GetPreferences": "UniversalLanguageSelectorHooks::onGetPreferences", + "LocalUserCreated": "UniversalLanguageSelectorHooks::onLocalUserCreated", + "MakeGlobalVariablesScript": "UniversalLanguageSelectorHooks::addVariables", + "PersonalUrls": "UniversalLanguageSelectorHooks::addPersonalBarTrigger", + "ResourceLoaderGetConfigVars": "UniversalLanguageSelectorHooks::addConfig", + "ResourceLoaderRegisterModules": "UniversalLanguageSelectorHooks::onResourceLoaderRegisterModules", + "ResourceLoaderTestModules": "UniversalLanguageSelectorHooks::addTestModules", + "SkinTemplateOutputPageBeforeExec": "UniversalLanguageSelectorHooks::onSkinTemplateOutputPageBeforeExec", + "UserGetLanguageObject": "UniversalLanguageSelectorHooks::getLanguage" + }, + "APIModules": { + "languagesearch": "ApiLanguageSearch", + "ulslocalization": "ApiULSLocalization" + }, + "MessagesDirs": { + "UniversalLanguageSelector": [ + "i18n", + "i18n/api" + ] + }, + "AutoloadClasses": { + "ApiLanguageSearch": "api/ApiLanguageSearch.php", + "ApiULSLocalization": "api/ApiULSLocalization.php", + "FontRepoCompiler": "includes/FontRepoCompiler.php", + "LanguageNameSearch": "data/LanguageNameSearch.php", + "LanguageNameSearchData": "data/LanguageNameSearchData.php", + "ResourceLoaderULSJsonMessageModule": "includes/ResourceLoaderULSJsonMessageModule.php", + "ResourceLoaderULSModule": "includes/ResourceLoaderULSModule.php", + "ULSJsonMessageLoader": "includes/ULSJsonMessageLoader.php", + "UniversalLanguageSelectorHooks": "UniversalLanguageSelector.hooks.php" + }, + "DefaultUserOptions": { + "uls-preferences": "", + "compact-language-links": true + }, + "config": { + "@ULSGeoService": "ULS can use a geolocation service to suggest languages based on the country the user is vising from. If set to an URL it will query that service which must return an object which has key \"country_code\" or \"country\". For example https://api.ipstack.com/check?access_key=yourkey&fields=country_code. Setting this to false will prevent built-in geolocation from being used. You can also provide your own geolocation by assigning such object to window.Geo.", + "ULSGeoService": false, + "@ULSEnable": "Enable language selection, compact language links, input methods and webfonts for everyone, unless the behavior is overridden by the configuration variables below. Even if false the classes and resource loader modules are registered for the use of other extensions. Language changing via cookie or setlang query parameter is not possible.", + "ULSEnable": true, + "@ULSEnableAnon": "Equivalent to $wgULSEnable for anonymous users only. Does not have any effect if $wgULSEnable is false.", + "ULSEnableAnon": true, + "@ULSAnonCanChangeLanguage": "Allow anonymous users to change language with cookie and setlang query parameter. Do not use if you are caching anonymous page views without taking cookies into account. Does not have any effect if either of $wgULSEnable or $wgULSEnableAnon is set to false. @since 2013.04", + "ULSAnonCanChangeLanguage": true, + "@ULSLanguageDetection": "Try to use preferred interface language for anonymous users. Do not use if you are caching anonymous page views without taking Accept-Language into account. Does not have any effect if any of $wgULSEnable, or $wgULSEnableAnon is set to false.", + "ULSLanguageDetection": true, + "@ULSIMEEnabled": "Enable the input methods feature for all users by default. Can be controlled by the user.", + "ULSIMEEnabled": true, + "@ULSWebfontsEnabled": "Enable the webfonts feature for all users by default. Can be controlled by the user. @since 2014.02", + "ULSWebfontsEnabled": true, + "@ULSMobileWebfontsEnabled": "Set whether webfont support is loaded within the mobile interface (via the MobileFrontend extension).", + "ULSMobileWebfontsEnabled": false, + "@ULSPosition": "The location and the form of the language selection trigger. The possible values are: (a) \"personal\"- as a link near the username or the log in link in the personal toolbar (default). (b) \"interlanguage\": as an icon near the header of the list of interlanguage links in the sidebar.", + "ULSPosition": "personal", + "@ULSEventLogging": "Whether to use EventLogging. The EventLogging extension must be installed if this option is enabled. @since 2013.06", + "ULSEventLogging": false, + "@ULSImeSelectors": "Array of jQuery selectors of elements on which IME should be enabled. @since 2013.11", + "ULSImeSelectors": [ + "input:not([type])", + "input[type=text]", + "input[type=search]", + "textarea", + "[contenteditable]" + ], + "@ULSNoImeSelectors": "Array of jQuery selectors of elements on which IME must not be enabled. @since 2013.07", + "ULSNoImeSelectors": [ + "#wpCaptchaWord", + ".ve-ce-surface-paste" + ], + "@ULSNoWebfontsSelectors": "Array of jQuery selectors of elements on which webfonts must not be applied. By default exclude elements with .autonym because that style set font as Autonym @since 2013.09", + "ULSNoWebfontsSelectors": [ + "#p-lang li.interlanguage-link > a" + ], + "@ULSFontRepositoryBasePath": "Base path of ULS font repository. If not set, will be set to 'UniversalLanguageSelector/data/fontrepo/fonts/', relative to $wgExtensionAssetsPath. @since 2013.10", + "ULSFontRepositoryBasePath": false, + "ULSCompactLanguageLinksBetaFeature": true, + "@ULSCompactLanguageLinksBetaFeature": "Set compact interlanguage links as beta feature or not. If set false, compact interlanguage links will be available by default to all users.", + "ULSCompactLinksForNewAccounts": false, + "@ULSCompactLinksForNewAccounts": "Enable compact interlanguage links for new user accounts.", + "ULSCompactLinksEnableAnon": false, + "@ULSCompactLinksEnableAnon": "Enable compact interlanguage links for anonymous users." + }, + "callback": "UniversalLanguageSelectorHooks::setVersionConstant", + "ResourceModules": { + "ext.uls.common": { + "targets": [ + "desktop", + "mobile" + ], + "scripts": "js/ext.uls.common.js", + "styles": "css/ext.uls.less", + "skinStyles": { + "monobook": "css/ext.uls-monobook.css", + "vector": "css/ext.uls-vector.less" + }, + "dependencies": [ + "jquery.uls.data", + "mediawiki.api", + "mediawiki.cookie", + "mediawiki.storage", + "mediawiki.user" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.compactlinks": { + "scripts": "js/ext.uls.compactlinks.js", + "styles": "css/ext.uls.compactlinks.less", + "dependencies": [ + "mediawiki.jqueryMsg", + "mediawiki.language", + "mediawiki.ui.button", + "ext.uls.init" + ], + "messages": [ + "ext-uls-compact-link-count", + "ext-uls-compact-link-info", + "ext-uls-compact-no-results" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.geoclient": { + "scripts": "js/ext.uls.geoclient.js", + "dependencies": [ + "mediawiki.cookie" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.i18n": { + "targets": [ + "desktop", + "mobile" + ], + "scripts": "js/ext.uls.i18n.js", + "dependencies": [ + "jquery.i18n", + "mediawiki.util" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.ime": { + "scripts": "js/ext.uls.ime.js", + "dependencies": [ + "ext.uls.common", + "ext.uls.preferences", + "ext.uls.mediawiki", + "ext.uls.messages", + "jquery.ime", + "mediawiki.notify" + ], + "messages": [ + "uls-ime-helppage" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.init": { + "targets": [ + "desktop" + ], + "dependencies": [ + "ext.uls.common" + ] + }, + "ext.uls.inputsettings": { + "scripts": "js/ext.uls.inputsettings.js", + "styles": "css/ext.uls.inputsettings.less", + "dependencies": [ + "ext.uls.ime", + "ext.uls.languagesettings", + "ext.uls.mediawiki", + "jquery.ime", + "mediawiki.ui.button", + "mediawiki.ui.radio" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.interface": { + "scripts": "js/ext.uls.interface.js", + "styles": "css/ext.uls.interface.less", + "dependencies": [ + "ext.uls.common", + "mediawiki.jqueryMsg", + "mediawiki.storage", + "mediawiki.user", + "ext.uls.webfonts" + ], + "messages": [ + "uls-plang-title-languages", + "ext-uls-select-language-settings-icon-tooltip", + "ext-uls-undo-language-tooltip-text", + "ext-uls-undo-language-tooltip-text-local" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.interlanguage": { + "styles": "css/ext.uls.interlanguage.less", + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.languagenames": { + "class": "ResourceLoaderULSModule" + }, + "ext.uls.languagesettings": { + "scripts": "js/ext.uls.languagesettings.js", + "styles": "css/ext.uls.languagesettings.less", + "dependencies": [ + "ext.uls.messages", + "ext.uls.preferences", + "jquery.uls.grid", + "mediawiki.ui.button" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.mediawiki": { + "targets": [ + "desktop", + "mobile" + ], + "scripts": "js/ext.uls.mediawiki.js", + "dependencies": [ + "ext.uls.common", + "ext.uls.languagenames", + "ext.uls.messages", + "jquery.uls", + "jquery.uls.grid", + "mediawiki.util" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.messages": { + "class": "ResourceLoaderULSJsonMessageModule", + "dependencies": "ext.uls.i18n", + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.preferencespage": { + "styles": "css/ext.uls.preferencespage.less", + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.pt": { + "styles": "css/ext.uls.pt.less", + "localBasePath": "resources", + "skinStyles": { + "monobook": "css/ext.uls.pt-monobook.less" + }, + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.webfonts": { + "scripts": "js/ext.uls.webfonts.js", + "dependencies": [ + "ext.uls.common", + "ext.uls.preferences", + "jquery.client" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.webfonts.fonts": { + "dependencies": [ + "jquery.webfonts", + "ext.uls.webfonts.repository" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.webfonts.mobile": { + "scripts": "js/ext.uls.webfonts.mobile.js", + "targets": [ + "mobile" + ], + "dependencies": [ + "jquery.webfonts", + "ext.uls.webfonts.repository" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "ext.uls.webfonts.repository": { + "scripts": "js/ext.uls.webfonts.repository.js", + "targets": [ + "desktop", + "mobile" + ], + "localBasePath": "resources", + "remoteExtPath": "UniversalLanguageSelector/resources" + }, + "jquery.ime": { + "scripts": "jquery.ime/jquery.ime.js", + "styles": "jquery.ime/css/jquery.ime.css", + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + }, + "jquery.uls": { + "targets": [ + "desktop", + "mobile" + ], + "scripts": [ + "jquery.uls/src/jquery.uls.core.js", + "jquery.uls/src/jquery.uls.lcd.js", + "jquery.uls/src/jquery.uls.languagefilter.js" + ], + "styles": [ + "jquery.uls/css/jquery.uls.css", + "jquery.uls/css/jquery.uls.lcd.css" + ], + "dependencies": [ + "jquery.i18n", + "jquery.uls.data", + "jquery.uls.grid" + ], + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + }, + "jquery.uls.data": { + "scripts": [ + "jquery.uls/src/jquery.uls.data.js", + "jquery.uls/src/jquery.uls.data.utils.js" + ], + "targets": [ + "desktop", + "mobile" + ], + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + }, + "jquery.uls.grid": { + "targets": [ + "desktop", + "mobile" + ], + "styles": "jquery.uls/css/jquery.uls.grid.css", + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + }, + "jquery.webfonts": { + "scripts": "jquery.webfonts/src/jquery.webfonts.js", + "targets": [ + "desktop", + "mobile" + ], + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + }, + "rangy.core": { + "scripts": "rangy/rangy-core.js", + "localBasePath": "lib", + "remoteExtPath": "UniversalLanguageSelector/lib" + } + }, + "EventLoggingSchemas": { + "UniversalLanguageSelector": 17799034 + }, + "manifest_version": 1 +}
\ No newline at end of file diff --git a/MLEB/UniversalLanguageSelector/i18n/ace.json b/MLEB/UniversalLanguageSelector/i18n/ace.json index bfe82a1c..b3932420 100644 --- a/MLEB/UniversalLanguageSelector/i18n/ace.json +++ b/MLEB/UniversalLanguageSelector/i18n/ace.json @@ -10,25 +10,25 @@ "ext-uls-select-language-settings-icon-tooltip": "Atô bahsa", "ext-uls-undo-language-tooltip-text": "Bahsa meugantoë nibak $1", "ext-uls-language-settings-preferences-link": "Neuatô bahsa leubèh le", - "ext-uls-display-settings-title": "Atô seuneudeuh", + "ext-uls-display-settings-title": "Atô neuleumah", "ext-uls-display-settings-language-tab": "Bahsa", "ext-uls-display-settings-fonts-tab": "Haraih", - "ext-uls-display-settings-title-short": "Seuneudeuh", + "ext-uls-display-settings-title-short": "Neuleumah", "ext-uls-display-settings-desc": "Atô bahsa keu menu ngón haraih", "ext-uls-language-settings-title": "Atô bahsa", "ext-uls-language-settings-apply": "Ngui neuatô", "ext-uls-language-settings-cancel": "Pubateuë", "ext-uls-language-buttons-help": "Gantoë bahsa menu. Bahsa asoë hana teupeungarôh.", "ext-uls-display-settings-font-settings": "Atô haraih", - "ext-uls-display-settings-ui-language": "Seuneudeuh bahsa", - "ext-uls-display-settings-anon-label": "Seuneudeuh bahsa:", + "ext-uls-display-settings-ui-language": "Neuleumah bahsa", + "ext-uls-display-settings-anon-label": "Leumah bahsa:", "ext-uls-display-settings-anon-same-as-content": "$1 (saban lagèë asoë)", "ext-uls-display-settings-anon-log-in-cta": "[[Special:UserLogin|Neutamöng log]] mangat jeuët neupiléh bahsa la'én keu menu.", "ext-uls-webfonts-select-for": "Piléh haraih keu $1", - "ext-uls-webfonts-select-for-ui-info": "Haraih nyang geungui keu seuneudeuih ureuëng ngui", + "ext-uls-webfonts-select-for-ui-info": "Haraih nyang geungui keu interface ureuëng ngui", "ext-uls-webfonts-select-for-content-info": "Haraih nyang geungui keu asoë", "ext-uls-webfonts-system-font": "Haraih sistem", - "ext-uls-back-to-display-settings": "Riwang u atô seuneudeuih", + "ext-uls-back-to-display-settings": "Riwang u atô neuleumah", "ext-uls-input-settings-title": "Atô peunasoë", "ext-uls-input-settings-title-short": "Peunasoë", "ext-uls-input-settings-desc": "Tuléh lam bahsa la'én?", diff --git a/MLEB/UniversalLanguageSelector/i18n/api/eu.json b/MLEB/UniversalLanguageSelector/i18n/api/eu.json index 09757264..a6722b79 100644 --- a/MLEB/UniversalLanguageSelector/i18n/api/eu.json +++ b/MLEB/UniversalLanguageSelector/i18n/api/eu.json @@ -2,10 +2,13 @@ "@metadata": { "authors": [ "Subi", - "Amaia" + "Amaia", + "Theklan" ] }, + "apihelp-languagesearch-param-search": "Bilatu katea.", "apihelp-languagesearch-example-1": "Bilatu \"Te\"", "apihelp-languagesearch-example-2": "Bilatu \"ഫി\"", + "apihelp-languagesearch-example-3": "Bilatu \"ഫി\", akats bat baimenduz", "apihelp-ulslocalization-param-language": "Hizkuntza-kodea." } diff --git a/MLEB/UniversalLanguageSelector/i18n/api/fr.json b/MLEB/UniversalLanguageSelector/i18n/api/fr.json index f2cc12b0..1e2fd1c9 100644 --- a/MLEB/UniversalLanguageSelector/i18n/api/fr.json +++ b/MLEB/UniversalLanguageSelector/i18n/api/fr.json @@ -15,9 +15,9 @@ "apihelp-languagesearch-example-1": "Rechercher « Te »", "apihelp-languagesearch-example-2": "Rechercher « ഫി »", "apihelp-languagesearch-example-3": "Rechercher « ഫി », avec une erreur autorisée", - "apihelp-ulslocalization-description": "Obtenir la localisation de ULS dans la langue donnée.", + "apihelp-ulslocalization-description": "Obtenir la régionalisation de ULS dans la langue donnée.", "apihelp-ulslocalization-summary": "Obtenir la traduction de ULS dans la langue donnée.", "apihelp-ulslocalization-param-language": "Code de langue.", - "apihelp-ulslocalization-example-1": "Obtenir la localisation en Tamil", + "apihelp-ulslocalization-example-1": "Obtenir la régionalisation en Tamil", "apihelp-ulslocalization-example-2": "Obtenir la régionalisation en hindi" } diff --git a/MLEB/UniversalLanguageSelector/i18n/api/hu.json b/MLEB/UniversalLanguageSelector/i18n/api/hu.json index e68c22c2..e3255310 100644 --- a/MLEB/UniversalLanguageSelector/i18n/api/hu.json +++ b/MLEB/UniversalLanguageSelector/i18n/api/hu.json @@ -1,8 +1,21 @@ { "@metadata": { "authors": [ - "BanKris" + "BanKris", + "Tacsipacsi", + "Csega" ] }, - "apihelp-ulslocalization-param-language": "Nyelvkód." + "apihelp-languagesearch-description": "Nyelvnevek keresése bármilyen írásrendszerrel.", + "apihelp-languagesearch-summary": "Nyelvnevek keresése bármilyen írásrendszerrel.", + "apihelp-languagesearch-param-search": "A keresőkifejezés.", + "apihelp-languagesearch-param-typos": "A keresőkifejezésben megengedett elgépelések száma.", + "apihelp-languagesearch-example-1": "Keresés a „Te” kifejezésre", + "apihelp-languagesearch-example-2": "Keresés „ഫി” kifejezésre", + "apihelp-languagesearch-example-3": "Keresés „ഫി” kifejezésre, egy elgépelést megengedve", + "apihelp-ulslocalization-description": "Az ULS fordításának lekérése egy adott nyelven.", + "apihelp-ulslocalization-summary": "Az ULS fordításának lekérése egy adott nyelven.", + "apihelp-ulslocalization-param-language": "Nyelvkód.", + "apihelp-ulslocalization-example-1": "Tamil fordítás lekérése", + "apihelp-ulslocalization-example-2": "Hindi fordítás lekérése" } diff --git a/MLEB/UniversalLanguageSelector/i18n/be.json b/MLEB/UniversalLanguageSelector/i18n/be.json index eceafc0a..2e4fc1b9 100644 --- a/MLEB/UniversalLanguageSelector/i18n/be.json +++ b/MLEB/UniversalLanguageSelector/i18n/be.json @@ -25,6 +25,8 @@ "jquery-ime-help": "Даведка", "ext-uls-input-disable": "Адключыць інструменты ўводу", "ext-uls-input-enable": "Уключыць інструменты ўводу", + "ext-uls-compact-link-count": "{{PLURAL:$1|Яшчэ $1}}", + "ext-uls-compact-link-info": "Усе мовы (першапачатова выбраны тыя мовы, якія часцей ужываліся Вамі і іншымі)", "prefs-languages": "Мовы", "ext-uls-compact-language-links-preference": "Выкарыстаць [[$1|кампактны спіс моў]] з прыдатнымі для Вас мовамі." } diff --git a/MLEB/UniversalLanguageSelector/i18n/gl.json b/MLEB/UniversalLanguageSelector/i18n/gl.json index 07ea4239..e4761201 100644 --- a/MLEB/UniversalLanguageSelector/i18n/gl.json +++ b/MLEB/UniversalLanguageSelector/i18n/gl.json @@ -14,6 +14,7 @@ "uls-plang-title-languages": "Linguas", "ext-uls-select-language-settings-icon-tooltip": "Opcións de lingua", "ext-uls-undo-language-tooltip-text": "A lingua cambiou desde o $1", + "ext-uls-undo-language-tooltip-text-local": "Cambiouse a lingua para esta wiki. Comprobe as súas [[Special:GlobalPreferences|preferencias globais]] para cambiar a lingua para tódalas wikis.", "ext-uls-language-settings-preferences-link": "Máis opcións de lingua", "uls-betafeature-label": "Ligazóns lingüísticas compactas", "uls-betafeature-desc": "Amosar unha versión máis curta da lista de linguas, unicamente coas linguas máis relevantes para vostede.", diff --git a/MLEB/UniversalLanguageSelector/i18n/hr.json b/MLEB/UniversalLanguageSelector/i18n/hr.json index 4ed136d7..6ee6e2ff 100644 --- a/MLEB/UniversalLanguageSelector/i18n/hr.json +++ b/MLEB/UniversalLanguageSelector/i18n/hr.json @@ -60,5 +60,6 @@ "ext-uls-compact-link-count": "Još {{PLURAL:$1|1=jedan|$1|$1 druga|$1 drugih}} {{PLURAL:$1|jezik|jezika}}", "ext-uls-compact-link-info": "Svi jezici (izbor na temelju Vaših odabira i odabira drugih suradnika)", "prefs-languages": "Jezici", - "ext-uls-compact-language-links-preference": "Uključi [[$1|sažeti popis jezika]] s jezicima koji su Vam važni" + "ext-uls-compact-language-links-preference": "Uključi [[$1|sažeti popis jezika]] s jezicima koji su Vam važni", + "ext-uls-compact-no-results": "Ova stranica nije dostupna na jeziku koji ste tražili." } diff --git a/MLEB/UniversalLanguageSelector/i18n/hu.json b/MLEB/UniversalLanguageSelector/i18n/hu.json index b31f4616..275c32ff 100644 --- a/MLEB/UniversalLanguageSelector/i18n/hu.json +++ b/MLEB/UniversalLanguageSelector/i18n/hu.json @@ -11,9 +11,11 @@ "Máté" ] }, + "uls-desc": "Többféle módot kínál a felhasználónak nyelv kiválasztására és a nyelvi beállítások módosítására", "uls-plang-title-languages": "Nyelvek", "ext-uls-select-language-settings-icon-tooltip": "Nyelvi beállítások", "ext-uls-undo-language-tooltip-text": "A nyelv megváltozott erről: $1", + "ext-uls-undo-language-tooltip-text-local": "A nyelv megváltozott ezen a wikin. Látogasd meg a [[Special:GlobalPreferences|globális beállításaidat]] az összes wiki nyelvének módosításához.", "ext-uls-language-settings-preferences-link": "További nyelvi beállítások", "uls-betafeature-label": "Rövidített interwiki lista", "uls-betafeature-desc": "A nyelvi hivatkozások listájának rövidebb változatát mutatja, csak a számodra fontosabb nyelvekkel.", @@ -48,6 +50,7 @@ "ext-uls-disable-input-method": "Alapételmezett billentyűzet használata", "ext-uls-input-settings-more-languages-tooltip": "További nyelvek", "jquery-ime-other-languages": "További nyelvek", + "jquery-ime-disable-text": "Natív billentyűzet használata", "jquery-ime-help": "Súgó", "ext-uls-input-disable": "Beviteli eszközök letiltása", "ext-uls-input-enable": "Beviteli eszközök engedélyezése", @@ -60,5 +63,6 @@ "ext-uls-language-settings-applying": "Alkalmazás…", "ext-uls-compact-link-count": "$1 további", "prefs-languages": "Nyelvek", - "ext-uls-compact-language-links-preference": "A nyelvközi hivatkozások megjelenítése egy kompakt listában, csak a neked releváns nyelvekkel." + "ext-uls-compact-language-links-preference": "A nyelvközi hivatkozások megjelenítése egy [[$1|kompakt listában]], csak a neked releváns nyelvekkel.", + "ext-uls-compact-no-results": "Ez a lap nem érhető el az általad keresett nyelven." } diff --git a/MLEB/UniversalLanguageSelector/i18n/io.json b/MLEB/UniversalLanguageSelector/i18n/io.json index 1b073d89..23c95121 100644 --- a/MLEB/UniversalLanguageSelector/i18n/io.json +++ b/MLEB/UniversalLanguageSelector/i18n/io.json @@ -18,9 +18,12 @@ "ext-uls-language-settings-cancel": "Anular", "ext-uls-language-buttons-help": "Modifikez la linguo di la menui. La linguo dil kontenajo ne afektesos.", "ext-uls-display-settings-ui-language": "Interfacio*-linguo", + "ext-uls-webfonts-settings-info-link": "Plusa informo", "ext-uls-input-settings-title-short": "Eniro", "ext-uls-input-settings-desc": "Ka vu deziras skribar en diferanta linguo?", "ext-uls-input-settings-ui-language": "Linguo uzita por skribado", + "ext-uls-input-settings-more-languages-tooltip": "Plusa lingui", + "ext-uls-compact-link-count": "{{PLURAL:$1|Un plusa|plusa $1}}", "prefs-languages": "Lingui", "ext-uls-compact-language-links-preference": "Uzez [[$1|kompakta listo pri lingui]], nur kun la lingui importanta por vu." } diff --git a/MLEB/UniversalLanguageSelector/i18n/kjp.json b/MLEB/UniversalLanguageSelector/i18n/kjp.json new file mode 100644 index 00000000..71905d3c --- /dev/null +++ b/MLEB/UniversalLanguageSelector/i18n/kjp.json @@ -0,0 +1,18 @@ +{ + "@metadata": { + "authors": [ + "Rul1902" + ] + }, + "uls-plang-title-languages": "ဆ်ုခၠါင်ဘာႋသာ့လ်ုဖး", + "ext-uls-display-settings-language-tab": "ဆ်ုခၠါင်ဘာႋသာ့", + "ext-uls-display-settings-fonts-tab": "ဖုက်လ်ုဖး", + "ext-uls-display-settings-title-short": "ဍးခွင်", + "ext-uls-language-settings-cancel": "မာလိုင်အေး", + "ext-uls-display-settings-ui-language": "ဏဲဖှ်ေဆ်ုခၠါင်ဘာႋသာ့", + "ext-uls-display-settings-anon-label": "ဏဲဖှ်ေဆ်ုခၠါင်ဘာႋသာ့:", + "ext-uls-input-settings-ui-language": "မ်ုကေဝ်ၯင်ႋ သုံႋထဝေ့ ဆ်ုခၠါင်ဘာႋသာ့", + "jquery-ime-other-languages": "အ်ုၰာႋၰံင်ဆ်ုခၠါင်ဘာႋသာ့လ်ုဖး", + "jquery-ime-help": "ဆ်ုမာၜိုဝ်", + "prefs-languages": "ဆ်ုခၠါင်ဘာႋသာ့လ်ုဖး" +} diff --git a/MLEB/UniversalLanguageSelector/i18n/km.json b/MLEB/UniversalLanguageSelector/i18n/km.json index 0dd78801..bdcba34b 100644 --- a/MLEB/UniversalLanguageSelector/i18n/km.json +++ b/MLEB/UniversalLanguageSelector/i18n/km.json @@ -8,6 +8,7 @@ "uls-plang-title-languages": "ភាសា", "ext-uls-select-language-settings-icon-tooltip": "ការកំណត់ភាសា", "ext-uls-undo-language-tooltip-text": "ភាសាបានផ្លាស់ប្ដូរពី $1", + "ext-uls-undo-language-tooltip-text-local": "ភាសាត្រូវបានផ្លាស់ប្ដូរសម្រាប់វិគីនេះ។ ពិនិត្យ[[Special:GlobalPreferences|ចំណង់ចំណូលចិត្តសាកល]]របស់អ្នក ដើម្បីផ្លាស់ប្ដូរភាសាសម្រាប់វិគីទាំងអស់។", "ext-uls-language-settings-preferences-link": "ការកំណត់ភាសាបន្ថែមទៀត", "uls-betafeature-label": "តំណភ្ជាប់ភាសាសង្ខេប", "uls-betafeature-desc": "បង្ហាញទម្រង់ខ្លីរបស់បញ្ជីភាសា ដោយបង្ហាញតែភាសាណាដែលទាក់ទិននឹងអ្នក។", @@ -55,6 +56,8 @@ "ext-uls-input-disable-notification-info-interlanguage": "អ្នកអាចបើកអោយប្រើឧបករណ៍វាយបញ្ចូលពេលណាក៏បាន ដោយចូលទៅកាន់ការកំណត់ភាសាដែលនៅក្បែរបញ្ជីភាសា។", "ext-uls-language-settings-applying": "កំពុងអនុវត្ត...", "ext-uls-compact-link-count": "{{PLURAL:$1|មួយទៀត|$1 ទៀត}}", + "ext-uls-compact-link-info": "ភាសាទាំងអស់ (ការជ្រើសរើសដំបូងពីជម្រើសរួមរបស់អ្នកនិងអ្នកដទៃទៀត)", "prefs-languages": "ភាសា", - "ext-uls-compact-language-links-preference": "ប្រើ[[$1|បញ្ជីភាសាខ្នាតខ្លី]] ដែលមានតែភាសាទាក់ទិននឹងអ្នក។" + "ext-uls-compact-language-links-preference": "ប្រើ[[$1|បញ្ជីភាសាខ្នាតខ្លី]] ដែលមានតែភាសាទាក់ទិននឹងអ្នក។", + "ext-uls-compact-no-results": "ទំព័រនេះគ្មានក្នុងភាសាដែលអ្នកបានស្វែងរកទេ។" } diff --git a/MLEB/UniversalLanguageSelector/i18n/pl.json b/MLEB/UniversalLanguageSelector/i18n/pl.json index f893b2d5..1a4cff67 100644 --- a/MLEB/UniversalLanguageSelector/i18n/pl.json +++ b/MLEB/UniversalLanguageSelector/i18n/pl.json @@ -9,7 +9,8 @@ "Nemo bis", "Peter Bowman", "Woytecr", - "Sethakill" + "Sethakill", + "Railfail536" ] }, "uls-desc": "Daje użytkownikowi kilka sposobów, aby wybrać język i dostosować ustawienia języka", @@ -65,5 +66,6 @@ "ext-uls-language-settings-applying": "Realizacja w toku...", "ext-uls-compact-link-count": "{{PLURAL:$1|Jeden więcej|$1 więcej}}", "prefs-languages": "Języki", - "ext-uls-compact-language-links-preference": "Używaj [[$1|kompaktowej listy języków]] z językami najbardziej Ci odpowiadającymi." + "ext-uls-compact-language-links-preference": "Używaj [[$1|kompaktowej listy języków]] z językami najbardziej Ci odpowiadającymi.", + "ext-uls-compact-no-results": "Ta strona nie jest dostępna w języku którego szukasz." } diff --git a/MLEB/UniversalLanguageSelector/i18n/ps.json b/MLEB/UniversalLanguageSelector/i18n/ps.json index 97419f24..a3067020 100644 --- a/MLEB/UniversalLanguageSelector/i18n/ps.json +++ b/MLEB/UniversalLanguageSelector/i18n/ps.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Ahmed-Najib-Biabani-Ibrahimkhel", - "Baloch Khan" + "Baloch Khan", + "Amjad Khan" ] }, "uls-plang-title-languages": "ژبې", diff --git a/MLEB/UniversalLanguageSelector/i18n/shn.json b/MLEB/UniversalLanguageSelector/i18n/shn.json new file mode 100644 index 00000000..e5c2fa5a --- /dev/null +++ b/MLEB/UniversalLanguageSelector/i18n/shn.json @@ -0,0 +1,16 @@ +{ + "@metadata": { + "authors": [ + "Saimawnkham" + ] + }, + "uls-desc": "ပၼ်ဝႆႉလွၵ်းလၢႆးၽူႈၸႂ်ႉတိုဝ်းလၢႆလၢႆး တွၼ်ႈတႃႇလိူၵ်ႈ ၽႃႇသႃႇၵႂၢမ်း လႄႈ တွၼ်ႈတႃႇမႄးငိၵၢၼ်တင်ႈၽႃႇသႃႇၵႂၢမ်း", + "ext-uls-select-language-settings-icon-tooltip": "ၵၢၼ်တင်ႈ ၽႃႇသႃႇၵႂၢမ်း", + "ext-uls-language-settings-preferences-link": "ၵၢၼ်တင်ႈ ၽႃႇသႃႇၵႂၢမ်း ၼမ်လိူဝ်", + "ext-uls-display-settings-title-short": "ၽၢင်ယဵမ်ႈ", + "ext-uls-display-settings-desc": "မၵ်းမၼ်ႈၽႃႇသႃႇၵႂၢမ်း ဢၼ်ၸႂ်ႉဝႆႉ တွၼ်ႈတႃႇ မႅၼ်းၼူး လႄႈ ၾွၼ်ႉ", + "ext-uls-language-settings-title": "ၵၢၼ်တင်ႈ ၽႃႇသႃႇၵႂၢမ်း", + "ext-uls-display-settings-ui-language": "ၼႄၽႃႇသႃႇၵႂၢမ်း", + "ext-uls-back-to-display-settings": "ႁူၼ်ၸူး ၵၢၼ်တင်ႈၽၢင်ယဵမ်ႈ", + "ext-uls-input-disable-notification-info-personal": "လုၵ်ႉတီႈၵၢၼ်တင်ႈ ၽႃႇသႃႇၵႂၢမ်းသေ ၸဝ်ႈၵဝ်ႇ ၸၢင်ႈပိုတ်ႇၸႂ်ႉ ၶိူင်ႈပေႃႉလိၵ်ႈလႆႈၵူႈၶၢဝ်း။" +} diff --git a/MLEB/UniversalLanguageSelector/i18n/sr-el.json b/MLEB/UniversalLanguageSelector/i18n/sr-el.json index b6580112..5196f794 100644 --- a/MLEB/UniversalLanguageSelector/i18n/sr-el.json +++ b/MLEB/UniversalLanguageSelector/i18n/sr-el.json @@ -12,9 +12,9 @@ "uls-plang-title-languages": "Jezici", "ext-uls-select-language-settings-icon-tooltip": "Podešavanja jezika", "ext-uls-undo-language-tooltip-text": "Jezik promenjen sa $1", - "ext-uls-language-settings-preferences-link": "Dodatna jezička podešavanja", + "ext-uls-language-settings-preferences-link": "Još jezičkih podešavanja", "uls-betafeature-label": "Sažete veze ka drugim jezicima", - "uls-betafeature-desc": "Prikažuje sažet spisak jezika, samo sa vama bitnim jezicima.", + "uls-betafeature-desc": "Prikažuje sažet spisak jezika, samo sa Vama bitnim jezicima.", "ext-uls-display-settings-title": "Podešavanja prikaza", "ext-uls-display-settings-language-tab": "Jezik", "ext-uls-display-settings-fonts-tab": "Fontovi", @@ -23,7 +23,7 @@ "ext-uls-language-settings-title": "Podešavanja jezika", "ext-uls-language-settings-apply": "Primeni", "ext-uls-language-settings-cancel": "Otkaži", - "ext-uls-language-buttons-help": "Promena jezika menija. Jezik sadržaja neće biti promenjen.", + "ext-uls-language-buttons-help": "Promenite jezik menija. Jezik sadržaja neće biti promenjen.", "ext-uls-display-settings-font-settings": "Podešavanja fonta", "ext-uls-display-settings-ui-language": "Jezik za prikaz", "ext-uls-display-settings-anon-label": "Jezik prikaza:", @@ -44,21 +44,23 @@ "ext-uls-input-settings-ui-language": "Jezik korišćen za pisanje", "ext-uls-back-to-input-settings": "Nazad na podešavanje unosa", "ext-uls-ime-help": "Kako se koristi", - "ext-uls-disable-input-method": "Koristi izvornu tastaturu", + "ext-uls-disable-input-method": "Koristi matičnu tastaturu", "ext-uls-input-settings-more-languages-tooltip": "Više jezika", - "jquery-ime-other-languages": "Ostali jezici", - "jquery-ime-disable-text": "Koristi izvornu tastaturu", + "jquery-ime-other-languages": "Drugi jezici", + "jquery-ime-disable-text": "Koristi matičnu tastaturu", "jquery-ime-help": "Pomoć", "ext-uls-input-disable": "Onemogući alate za unos", "ext-uls-input-enable": "Omogući alate za unos", - "ext-uls-input-disable-info": "Alati za unos su onemogućeni", - "ext-uls-input-settings-noime": "Nema dostupne metoda unosa za ovaj jezik.", - "ext-uls-input-disable-notification": "Alati za unos su onemogućeni", + "ext-uls-input-disable-info": "Alatke za unos su onemogućene.", + "ext-uls-input-settings-noime": "Nema dostupne metode unosa za ovaj jezik.", + "ext-uls-input-disable-notification": "Alatke za unos su onemogućene", "ext-uls-input-disable-notification-undo": "Opozovi", "ext-uls-input-disable-notification-info-personal": "Možete omogućiti alate za unos u bilo koje vreme na podešavanjima jezika.", "ext-uls-input-disable-notification-info-interlanguage": "Možete omogućiti alatke za unos u bilo koje vreme na podešavanjima jezika pored spiska jezika.", "ext-uls-language-settings-applying": "Primenjujem...", "ext-uls-compact-link-count": "Još {{PLURAL:$1|1=jedan|$1}} {{PLURAL:$1|jezik|jezika}}", + "ext-uls-compact-link-info": "Svi jezici (prvobitan izbor je zasnovan na najčešćim odabirima vas i drugih)", "prefs-languages": "Jezici", - "ext-uls-compact-language-links-preference": "Koristi [[$1|sažet spisak jezika]], samo sa vama bitnim jezicima." + "ext-uls-compact-language-links-preference": "Koristi [[$1|sažeti spisak jezika]], sa jezicima koji su vama važni.", + "ext-uls-compact-no-results": "Ova stranica nije dostupna na jeziku koji tražite." } diff --git a/MLEB/UniversalLanguageSelector/i18n/sv.json b/MLEB/UniversalLanguageSelector/i18n/sv.json index 281dd812..8f42f118 100644 --- a/MLEB/UniversalLanguageSelector/i18n/sv.json +++ b/MLEB/UniversalLanguageSelector/i18n/sv.json @@ -12,6 +12,7 @@ "uls-plang-title-languages": "Språk", "ext-uls-select-language-settings-icon-tooltip": "Språkinställningar", "ext-uls-undo-language-tooltip-text": "Språk ändrades från $1", + "ext-uls-undo-language-tooltip-text-local": "Språket ändrades för denna wiki. Kontrollera dina [[Special:GlobalPreferences|globala inställningar]] för att ändra språket för alla wikis.", "ext-uls-language-settings-preferences-link": "Fler språkinställningar", "uls-betafeature-label": "Kompakta språklänkar", "uls-betafeature-desc": "Visa en kortare version av språklistan, med bara de språk som är mer relevanta för dig.", diff --git a/MLEB/UniversalLanguageSelector/i18n/uk.json b/MLEB/UniversalLanguageSelector/i18n/uk.json index 13462917..74f82d62 100644 --- a/MLEB/UniversalLanguageSelector/i18n/uk.json +++ b/MLEB/UniversalLanguageSelector/i18n/uk.json @@ -14,6 +14,7 @@ "uls-plang-title-languages": "Мови", "ext-uls-select-language-settings-icon-tooltip": "Налаштування мови", "ext-uls-undo-language-tooltip-text": "Мову змінено з $1", + "ext-uls-undo-language-tooltip-text-local": "Мову змінено для цієї вікі. Перегляньте свої [[Special:GlobalPreferences|глобальні налаштування]], щоб змінити мову для всіх вікі.", "ext-uls-language-settings-preferences-link": "Додаткові налаштування мови", "uls-betafeature-label": "Компактні мовні посилання", "uls-betafeature-desc": "Переглянути скорочену версію списку мов лише з тими мовами, які найпридатніші для вас.", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/css/jquery.ime.css b/MLEB/UniversalLanguageSelector/lib/jquery.ime/css/jquery.ime.css index 1a91d745..b14374f8 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/css/jquery.ime.css +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/css/jquery.ime.css @@ -30,7 +30,7 @@ cursor: pointer; text-decoration: none; outline: none; - color: #222222; + color: #222; line-height: 1em; padding-top: 4px; padding-bottom: 4px; @@ -85,6 +85,10 @@ span.ime-disable-shortcut { } .imeselector-menu { + background-color: #fff; + -webkit-background-clip: padding-box; + -moz-background-clip: padding-box; + background-clip: padding-box; position: absolute; top: 14px; right: 0; @@ -94,15 +98,11 @@ span.ime-disable-shortcut { margin-top: 13px; min-width: 160px; padding: 0; - border: 1px solid #888; - background-color: #FFFFFF; - border-radius: 5px; + border: 1px solid #a2a9b1; + border-radius: 2px; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; text-align: left; } @@ -119,7 +119,7 @@ span.ime-disable-shortcut { /* The triangle shaped callout */ .imeselector-menu:before { - border-bottom: 7px solid #888; + border-bottom: 7px solid #a2a9b1; border-left: 7px solid transparent; border-right: 7px solid transparent; content: ""; @@ -135,7 +135,7 @@ span.ime-disable-shortcut { } .imeselector-menu:after { - border-bottom: 6px solid #FFFFFF; + border-bottom: 6px solid #fff; border-left: 6px solid transparent; border-right: 6px solid transparent; content: ""; @@ -152,15 +152,15 @@ span.ime-disable-shortcut { } .imeselector-menu.ime-position-top:before { - border-bottom: 0 none; - border-top: 7px solid #888; + border-bottom: 0; + border-top: 7px solid #a2a9b1; top: auto; bottom: -7px; } .imeselector-menu.ime-position-top:after { - border-bottom: 0 none; - border-top: 6px solid #FFFFFF; + border-bottom: 0; + border-top: 6px solid #fff; top: auto; bottom: -6px; } @@ -176,7 +176,7 @@ span.ime-disable-shortcut { .imeselector-menu .ime-help-link { background-color: #f0f0f0; - border-radius: 0 0 5px 5px; + border-radius: 0 0 2px 2px; border-top: 1px solid #ddd; margin-top: 6px; padding: 2px 0; @@ -189,11 +189,11 @@ span.ime-disable-shortcut { } .imeselector-menu .selectable-row-item { + color: #333; display: block; padding-left: 20px; padding-right: 20px; font-weight: normal; - color: #333333; outline: none; white-space: nowrap; position: relative; diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/jquery.ime.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/jquery.ime.js index 6bf6589e..d0133804 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/jquery.ime.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/jquery.ime.js @@ -1,4 +1,4 @@ -/*! jquery.ime - v0.2.0+20181004 +/*! jquery.ime - v0.2.0+20181211 * https://github.com/wikimedia/jquery.ime * Copyright (c) 2018 Santhosh Thottingal; License: (GPL-2.0+ OR MIT) */ ( function ( $ ) { @@ -1906,6 +1906,10 @@ name: 'lud', source: 'rules/lud/lud-transliteration.js' }, + 'ha-tilde': { + name: 'Hausa - tilde', + source: 'rules/ha/ha-tilde.js' + }, 'hi-transliteration': { name: 'लिप्यंतरण', source: 'rules/hi/hi-transliteration.js' @@ -1922,10 +1926,18 @@ name: 'फोनेटिक', source: 'rules/hi/hi-phonetic.js' }, + 'ig-tilde': { + name: 'Igbo - tilde', + source: 'rules/ig/ig-tilde.js' + }, 'is-normforms': { name: 'Venjuleg eyðublöð', source: 'rules/is/is-normforms.js' }, + 'hoc-transliteration': { + name: 'Ho transliteration', + source: 'rules/hoc/hoc-transliteration.js' + }, 'jv-transliteration': { name: 'Transliteration', source: 'rules/jv/jv-transliteration.js' @@ -1992,6 +2004,10 @@ name: 'Deutsch Tilde', source: 'rules/de/de-transliteration.js' }, + 'ee-tilde': { + name: 'Ewe Tilde', + source: 'rules/ee/ee-tilde.js' + }, 'el-kbd': { name: 'Τυπική πληκτρολόγιο', source: 'rules/el/el-kbd.js' @@ -2120,7 +2136,7 @@ name: 'Lushootseed Tulalip', source: 'rules/lut/lut-tulalip.js' }, - mh: { + 'mh': { name: 'Kajin M̧ajeļ', source: 'rules/mh/mh.js' }, @@ -2271,7 +2287,8 @@ 'te-apple': { name: 'ఆపిల్', source: 'rules/te/te-apple.js' - },'te-modular': { + }, + 'te-modular': { name: 'మాడ్యులర్', source: 'rules/te/te-modular.js' }, @@ -2418,6 +2435,10 @@ 'yo-alt': { name: 'Yorùbá Alt', source: 'rules/yo/yo-alt.js' + }, + 'yo-tilde': { + name: 'Yorùbá tilde', + source: 'rules/yo/yo-tilde.js' } } ); @@ -2538,6 +2559,10 @@ autonym: 'English', inputmethods: [ 'ipa-sil', 'ipa-x-sampa' ] }, + ee: { + autonym: 'Èʋegbe', + inputmethods: [ 'ee-tilde' ] + }, el: { autonym: 'Ελληνικά', inputmethods: [ 'el-kbd' ] @@ -2574,6 +2599,14 @@ autonym: '𐌲𐌿𐍄𐌹𐍃𐌺𐌰 𐍂𐌰𐌶𐌳𐌰', inputmethods: [ 'got-standard' ] }, + ha: { + autonym: 'Hausa', + inputmethods: [ 'ha-tilde' ] + }, + ig: { + autonym: 'Igbo', + inputmethods: [ 'ig-tilde' ] + }, lrc: { autonym: 'لۊری شومالی', inputmethods: [ 'lrc-kbd' ] @@ -2598,6 +2631,10 @@ autonym: 'हिन्दी', inputmethods: [ 'hi-transliteration', 'hi-inscript', 'hi-bolnagri', 'hi-phonetic', 'hi-inscript2' ] }, + hoc: { + autonym: '𑢹𑣉𑣉', + inputmethods: [ 'hoc-transliteration' ] + }, hr: { autonym: 'Hrvatski', inputmethods: [ 'hr-kbd' ] @@ -2610,6 +2647,10 @@ autonym: 'छत्तीसगढ़ी', inputmethods: [ 'hi-transliteration' ] }, + inh: { + autonym: 'гӀалгӀай', + inputmethods: [ 'cyrl-palochka' ] + }, is: { autonym: 'Íslenska', inputmethods: [ 'is-normforms' ] @@ -2860,7 +2901,7 @@ }, yo: { autonym: 'Yorùbá', - inputmethods: [ 'yo-alt' ] + inputmethods: [ 'yo-alt', 'yo-tilde' ] } } ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/byn/byn-geezim.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/byn/byn-geezim.js index 526f9906..4a61e2f0 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/byn/byn-geezim.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/byn/byn-geezim.js @@ -292,6 +292,12 @@ [ '(ጚe|ጝE)', 'ጜ' ], [ 'ጝo', 'ጞ' ], + [ 'ጙe', 'ⶓ' ], + [ 'ጙi', 'ⶔ' ], + [ 'ጙa', 'ጟ' ], + [ '(ⶔe|ⶔE)', 'ⶕ' ], + [ 'ጝW', 'ⶖ' ], + [ 'ጥe', 'ጠ' ], [ 'ጥu', 'ጡ' ], [ 'ጥi', 'ጢ' ], @@ -347,6 +353,14 @@ [ 'ፕo', 'ፖ' ], [ 'ፑa', 'ፗ' ], // et + [ 'O', 'ዕ' ], + [ 'ዕe', 'ዐ' ], + [ 'ዕu', 'ዑ' ], + [ 'ዕi', 'ዒ' ], + [ 'ዕa', 'ዓ' ], + [ '(ዒe|ዕE)', 'ዔ' ], + [ 'ዕo', 'ዖ' ], + // vowels [ 'A', 'እ' ], [ '(እu|u)', 'ኡ' ], @@ -357,14 +371,6 @@ [ '(እo|o)', 'ኦ' ], [ 'አa', 'ኧ' ], // et - [ 'O', 'ዕ' ], - [ 'ዕe', 'ዐ' ], - [ 'ዕu', 'ዑ' ], - [ 'ዕi', 'ዒ' ], - [ 'ዕa', 'ዓ' ], - [ '(ዒe|ዕE)', 'ዔ' ], - [ 'ዕo', 'ዖ' ], - // punctuations [ ',', '፣' ], [ '።\\.', '.' ], diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ee/ee-tilde.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ee/ee-tilde.js new file mode 100644 index 00000000..3482ef24 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ee/ee-tilde.js @@ -0,0 +1,36 @@ +( function ( $ ) { + 'use strict'; + + var eeTilde = { + id: 'ee-tilde', + name: 'ee-tilde', + description: 'Ewe input keyboard', + date: '2018-11-30', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + patterns: [ + [ '~D', 'Ɖ' ], + [ '~d', 'ɖ' ], + [ '~E', 'Ɛ' ], + [ '~e', 'ɛ' ], + [ '~F', 'Ƒ' ], + [ '~f', 'ƒ' ], + [ '~G', 'Ɣ' ], + [ '~g', 'ɣ' ], + [ '~N', 'Ŋ' ], + [ '~n', 'ŋ' ], + [ '~O', 'Ɔ' ], + [ '~o', 'ɔ' ], + [ '~V', 'Ʋ' ], + [ '~v', 'ʋ' ], + [ '~/', '\u0301' ], // Combining acute + [ '~\\\\', '\u0300' ], // Combining grave + [ '~\\{', '\u0303' ], // Combining tilde + [ '~\\^', '\u030C' ] // Combining caron + ] + }; + + $.ime.register( eeTilde ); +}( jQuery ) ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/fon/fon-tilde.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/fon/fon-tilde.js index 6aa44258..82536e67 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/fon/fon-tilde.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/fon/fon-tilde.js @@ -6,10 +6,10 @@ name: 'fon-tilde', description: 'Fon input keyboard', date: '2018-05-18', - URL: 'http://github.com/wikimedia/jquery.ime', - author: 'Mahuton POSSOUPE', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Mahuton POSSOUPE, Amir E. Aharoni', license: 'GPLv3', - version: '1.0', + version: '1.1', patterns: [ [ '~D', 'Ɖ' ], [ '~d', 'ɖ' ], @@ -17,8 +17,11 @@ [ '~e', 'ɛ' ], [ '~O', 'Ɔ' ], [ '~o', 'ɔ' ], - [ '~/', '\u0341' ], // Combining acute tone mark - [ '~\\\\', '\u0340' ] // Combining grave tone mark + [ '~\\\\', '\u0300' ], // Combining grave accent + [ '~/', '\u0301' ], // Combining acute accent + [ '~\\^', '\u0302' ], // Combining circumflex accent + [ '~-', '\u0304' ], // Combining macron + [ '~v', '\u030C' ] // Combining caron ] }; diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ha/ha-tilde.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ha/ha-tilde.js new file mode 100644 index 00000000..172ba419 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ha/ha-tilde.js @@ -0,0 +1,33 @@ +( function ( $ ) { + 'use strict'; + + var haTilde = { + id: 'ha-tilde', + name: 'ha-tilde', + description: 'Hausa input keyboard', + date: '2018-11-30', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + patterns: [ + [ '~B', 'Ɓ' ], + [ '~b', 'ɓ' ], + [ '~D', 'Ɗ' ], + [ '~d', 'ɗ' ], + [ '~E', 'Ɛ' ], + [ '~e', 'ɛ' ], + [ '~K', 'Ƙ' ], + [ '~k', 'ƙ' ], + [ '~R', 'R̃' ], + [ '~r', 'r̃' ], + [ '~Y', 'Ƴ' ], + [ '~y', 'ƴ' ], + [ '~\\\\', '\u0300' ], // Combining grave + [ '~/', '\u0301' ], // Combining acute + [ '~\\^', '\u0302' ] // Combining circumflex + ] + }; + + $.ime.register( haTilde ); +}( jQuery ) ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/hoc/hoc-transliteration.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/hoc/hoc-transliteration.js new file mode 100644 index 00000000..005d2164 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/hoc/hoc-transliteration.js @@ -0,0 +1,105 @@ +( function ( $ ) { + 'use strict'; + + var hocTransliteration = { + id: 'hoc-transliteration', + name: 'ho transliteration', + description: 'Phonetic keyboard for Ho', + date: '2018-09-29', + author: 'Purty', + license: 'GPLv3', + version: '1.0', + contextLength: 1, + maxKeyLength: 3, + patterns: [ + [ '\\\\([A-Za-z\\>_~\\.0-9@])', '\\\\', '$1' ], + + [ 'a', '𑣁' ], + [ '𑣁i', '𑣆' ], + [ '𑣁u', '𑣇' ], + [ 'b', '𑣗' ], + [ 'c', 'c' ], + [ 'ch', '𑣏' ], + [ 'd', '𑣑' ], + [ '𑣑h', '𑣔' ], + [ 'e', '𑣈' ], + + [ 'k', '𑣌' ], + [ 'l', '𑣚' ], + [ 'm', '𑣖' ], + [ '𑣓g', '𑣊' ], + [ '𑣓j', '𑣍' ], + [ '𑣓n', '𑣐' ], + [ 'o', '𑣉' ], + [ 'p', '𑣘' ], + [ 'q', '𑣄' ], + [ '𑣜r', '𑣛' ], + [ 's', '𑣞' ], + [ 't', '𑣒' ], + [ '𑣒h', '𑣕' ], + [ 'v', '𑣀' ], + [ 'w', '𑣟' ], + [ 'x', '𑣝' ], + [ 'y', '𑣅' ], + + [ 'A', '𑢡' ], + [ '𑢡(i|I)', '𑢦' ], + [ '𑢡(U|u)', '𑢧' ], + [ 'B', '𑢷' ], + [ 'C', 'C' ], + [ 'C(H|h)', '𑢯' ], + [ 'D', '𑢱' ], + [ '𑢱(H|h)', '𑢴' ], + [ 'E', '𑢨' ], + [ 'I', '𑢢' ], + + [ 'K', '𑢬' ], + [ 'L', '𑢺' ], + [ 'M', '𑢶' ], + + [ '𑢳(G|g)', '𑢪' ], + [ '𑢳(J|j)', '𑢭' ], + [ '𑢳(N|n)', '𑢰' ], + [ 'O', '𑢩' ], + [ 'P', '𑢸' ], + [ 'Q', '𑢤' ], + + [ '𑢼(R|r)', '𑢻' ], + [ 'S', '𑢾' ], + [ 'T', '𑢲' ], + [ '𑢲(H|h)', '𑢵' ], + [ 'U', '𑢣' ], + [ 'V', '𑢠' ], + [ 'W', '𑢿' ], + [ 'X', '𑢽' ], + [ 'Y', '𑢥' ], + [ 'G', '𑢫' ], + [ 'J', '𑢮' ], + [ 'N', '𑢳' ], + [ 'R', '𑢼' ], + [ 'H', '𑢹' ], + + [ 'h', '𑣙' ], + [ 'g', '𑣋' ], + [ 'j', '𑣎' ], + [ '@', '𑣿' ], + [ 'r', '𑣜' ], + [ 'n', '𑣓' ], + [ 'i', '𑣂' ], + [ 'u', '𑣃' ], + + [ '0', '𑣠' ], + [ '1', '𑣡' ], + [ '2', '𑣢' ], + [ '3', '𑣣' ], + [ '4', '𑣤' ], + [ '5', '𑣥' ], + [ '6', '𑣦' ], + [ '7', '𑣧' ], + [ '8', '𑣨' ], + [ '9', '𑣩' ] + ] + }; + + $.ime.register( hocTransliteration ); +}( jQuery ) ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ig/ig-tilde.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ig/ig-tilde.js new file mode 100644 index 00000000..bd0a4071 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ig/ig-tilde.js @@ -0,0 +1,28 @@ +( function ( $ ) { + 'use strict'; + + var igTilde = { + id: 'ig-tilde', + name: 'ig-tilde', + description: 'Igbo input keyboard', + date: '2018-11-30', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + patterns: [ + [ '~I', 'Ị' ], + [ '~i', 'ị' ], + [ '~N', 'Ṅ' ], + [ '~n', 'ṅ' ], + [ '~O', 'Ọ' ], + [ '~o', 'ọ' ], + [ '~U', 'Ụ' ], + [ '~u', 'ụ' ], + [ '~\\\\', '\u0300' ], // Combining grave + [ '~/', '\u0301' ] // Combining acute + ] + }; + + $.ime.register( igTilde ); +}( jQuery ) ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/sat/sat-inscript2-ol-chiki.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/sat/sat-inscript2-ol-chiki.js index a060cf31..18cf5365 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/sat/sat-inscript2-ol-chiki.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/sat/sat-inscript2-ol-chiki.js @@ -51,7 +51,7 @@ [ 'c', 'ᱢ' ], [ 'v', 'ᱱ' ], [ 'B', 'ᱶ' ], - [ 'b', 'ᱶ' ], + [ 'b', 'ᱣ' ], [ 'n', 'ᱞ' ], [ 'm', 'ᱥ' ], [ '\\,', '᱿' ], diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ti/ti-geezim.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ti/ti-geezim.js index 7ab78dd2..aa9f577d 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ti/ti-geezim.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/ti/ti-geezim.js @@ -292,6 +292,12 @@ [ '(ጚe|ጝE)', 'ጜ' ], [ 'ጝo', 'ጞ' ], + [ 'ጙe', 'ⶓ' ], + [ 'ጙi', 'ⶔ' ], + [ 'ጙa', 'ጟ' ], + [ '(ⶔe|ⶔE)', 'ⶕ' ], + [ 'ጝW', 'ⶖ' ], + [ 'ጥe', 'ጠ' ], [ 'ጥu', 'ጡ' ], [ 'ጥi', 'ጢ' ], @@ -347,6 +353,14 @@ [ 'ፕo', 'ፖ' ], [ 'ፑa', 'ፗ' ], // et + [ 'O', 'ዕ' ], + [ 'ዕe', 'ዐ' ], + [ 'ዕu', 'ዑ' ], + [ 'ዕi', 'ዒ' ], + [ 'ዕa', 'ዓ' ], + [ '(ዒe|ዕE)', 'ዔ' ], + [ 'ዕo', 'ዖ' ], + // vowels [ 'A', 'እ' ], [ '(እu|u)', 'ኡ' ], @@ -357,14 +371,6 @@ [ '(እo|o)', 'ኦ' ], [ 'አa', 'ኧ' ], // et - [ 'O', 'ዕ' ], - [ 'ዕe', 'ዐ' ], - [ 'ዕu', 'ዑ' ], - [ 'ዕi', 'ዒ' ], - [ 'ዕa', 'ዓ' ], - [ '(ዒe|ዕE)', 'ዔ' ], - [ 'ዕo', 'ዖ' ], - // punctuations [ ',', '፣' ], [ '።\\.', '.' ], diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/tig/tig-geezim.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/tig/tig-geezim.js index 8bfbe3d9..af45a8b1 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/tig/tig-geezim.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/tig/tig-geezim.js @@ -292,6 +292,12 @@ [ '(ጚe|ጝE)', 'ጜ' ], [ 'ጝo', 'ጞ' ], + [ 'ጙe', 'ⶓ' ], + [ 'ጙi', 'ⶔ' ], + [ 'ጙa', 'ጟ' ], + [ '(ⶔe|ⶔE)', 'ⶕ' ], + [ 'ጝW', 'ⶖ' ], + [ 'ጥe', 'ጠ' ], [ 'ጥu', 'ጡ' ], [ 'ጥi', 'ጢ' ], @@ -347,6 +353,14 @@ [ 'ፕo', 'ፖ' ], [ 'ፑa', 'ፗ' ], // et + [ 'O', 'ዕ' ], + [ 'ዕe', 'ዐ' ], + [ 'ዕu', 'ዑ' ], + [ 'ዕi', 'ዒ' ], + [ 'ዕa', 'ዓ' ], + [ '(ዒe|ዕE)', 'ዔ' ], + [ 'ዕo', 'ዖ' ], + // vowels [ 'A', 'እ' ], [ '(እu|u)', 'ኡ' ], @@ -357,14 +371,6 @@ [ '(እo|o)', 'ኦ' ], [ 'አa', 'ኧ' ], // et - [ 'O', 'ዕ' ], - [ 'ዕe', 'ዐ' ], - [ 'ዕu', 'ዑ' ], - [ 'ዕi', 'ዒ' ], - [ 'ዕa', 'ዓ' ], - [ '(ዒe|ዕE)', 'ዔ' ], - [ 'ዕo', 'ዖ' ], - // punctuations [ ',', '፣' ], [ '።\\.', '.' ], diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/yo/yo-tilde.js b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/yo/yo-tilde.js new file mode 100644 index 00000000..571d6604 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.ime/rules/yo/yo-tilde.js @@ -0,0 +1,29 @@ +( function ( $ ) { + 'use strict'; + + var yoTilde = { + id: 'yo-tilde', + name: 'yo-tilde', + description: 'Yoruba input keyboard - tilde', + date: '2018-11-30', + URL: 'https://github.com/wikimedia/jquery.ime', + author: 'Amir E. Aharoni', + license: 'GPLv3', + version: '1.0', + patterns: [ + [ '~E', 'Ẹ' ], + [ '~e', 'ẹ' ], + [ '~O', 'Ọ' ], + [ '~o', 'ọ' ], + [ '~S', 'Ṣ' ], + [ '~s', 'ṣ' ], + [ '~\\\\', '\u0300' ], // Combining grave + [ '~/', '\u0301' ], // Combining acute + [ '~\\^', '\u0302' ], // Combining circumflex + [ '~\\-', '\u0304' ], // Combining macron + [ '~v', '\u030C' ] // Combining caron + ] + }; + + $.ime.register( yoTilde ); +}( jQuery ) ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css b/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css index 1f991557..a97121d5 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/css/jquery.uls.lcd.css @@ -94,7 +94,7 @@ font-size: 14px; display: inline-block; width: 100%; - overflow: hidden; + overflow-x: hidden; /* * Some languages have long names for various reasons and we still want * them to appear on one line. diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json index e54a146a..007d5c25 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/az.json @@ -2,10 +2,11 @@ "@metadata": { "authors": [ "AZISS", - "Khan27" + "Khan27", + "Wertuose" ] }, - "uls-region-WW": "Ümumdünya", + "uls-region-WW": "Dünya üzrə", "uls-region-SP": "Xüsusi", "uls-region-AM": "Amerika", "uls-region-AF": "Afrika", @@ -15,7 +16,7 @@ "uls-region-PA": "Okeaniya", "uls-region-all": "Bütün dillər", "uls-no-results-found": "Nəticələr tapılmadı", - "uls-common-languages": "Təkliflənən dillər", + "uls-common-languages": "Təklif edilən dillər", "uls-no-results-suggestion-title": "Sizin üçün maraqlı ola bilər:", "uls-search-help": "Siz dilin adı, yazısı və ISO-kodu üzrə və ya region üzrə axtarış edə bilərsiz.", "uls-search-placeholder": "Dili axtar" diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json index a6b8361a..545315c0 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/cop.json @@ -5,7 +5,7 @@ "Bloomaround" ] }, - "uls-region-WW": "ⲧⲏⲣⲙⲁⲓ", + "uls-region-WW": "ⲡⲓⲑⲟ ⲧⲏⲣϥ", "uls-region-AM": "ⲁⲙⲉⲣⲓⲕⲏ", "uls-region-AF": "ⲁⲫⲣⲓⲕⲏ", "uls-region-EU": "ⲉⲩⲣⲱⲡⲏ", @@ -15,6 +15,6 @@ "uls-region-all": "ⲁⲥⲡⲓ ⲛⲓⲃⲉⲛ", "uls-no-results-found": "ⲁⲩϫⲓⲙⲓ ⲁⲛ ⲛⲓⲁⲡⲟⲧⲉⲗⲉⲥⲙⲁ", "uls-common-languages": "ⲛⲓⲁⲥⲡⲓ ⲁⲩϯⲙⲉⲩⲓ", - "uls-search-help": "ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ϫⲉⲙⲣⲁⲧ ϩⲉⲛ `ⲫⲣⲁⲛ ⲛⲧⲉ ⲁⲥⲡⲓ, `ⲫⲣⲁⲛ ⲛⲧⲉ ⲓⲟⲡⲓⲥϧⲁⲓ , ISO ⲕⲱⲇⲓⲕⲟⲥ ⲛⲧⲉ ⲁⲥⲡⲓ ⲓⲉ ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲥⲓⲛⲓ ϧⲁⲧⲉⲛⲙⲁⲛⲧⲉϭⲁ.", + "uls-search-help": "ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲉϫⲉⲙⲣⲁⲧ ϩⲉⲛ ⲡⲓⲣⲁⲛ ⲛⲧⲉ ⲟⲩⲁⲥⲡⲓ, ⲡⲓⲣⲁⲛ ⲛⲧⲉ ⲟⲩⲙⲉⲧⲥϦⲁⲓ, ⲟⲩϣⲓϥⲣ `ⲛISO ⲛⲧⲉ ⲁⲥⲡⲓ ⲓⲉ ⲧⲉⲧⲉⲛϫⲉⲙϫⲟⲙ ⲉⲥⲓⲛⲓ ϧⲁⲧⲉⲛⲟⲩⲭⲱⲣⲁ", "uls-search-placeholder": "ϫⲉⲙⲣⲁⲧⲕ `ⲛⲟⲩⲁⲥⲡⲓ" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json index fc0a3e72..c9c2b8f5 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/gcr.json @@ -4,7 +4,7 @@ "LeGuyanaisPure" ] }, - "uls-region-WW": "Annan monn antché-a", + "uls-region-WW": "Annan monn antché", "uls-region-SP": "Èspésyal", "uls-region-AM": "Lanmérik", "uls-region-AF": "Lafrik", @@ -16,6 +16,6 @@ "uls-no-results-found": "Pyès rézilta trouvé", "uls-common-languages": "Lanng sigjéré", "uls-no-results-suggestion-title": "Zòt pouvé fika entérésé pa :", - "uls-search-help": "Zòt pouvé sasé pa non di lanng, pa non di ékritir-a, pa kod ISO di lanng-an, oben zòt pouvé navigé pa réjyon.", + "uls-search-help": "Zòt pouvé sasé pa non di lanng, pa non di lékritir-a, pa kod ISO di lanng-an, oben zòt pouvé navigé pa réjyon.", "uls-search-placeholder": "Sasé roun lanng" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json index 8d80ea18..5f9a2707 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/hy.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Xelgen" + "Xelgen", + "Nona" ] }, "uls-region-WW": "Միջազգային", @@ -12,6 +13,7 @@ "uls-region-AS": "Ասիա", "uls-region-ME": "Միջին արևելք", "uls-region-PA": "Օվկիանիա", + "uls-region-all": "Բոլոր լեզուները", "uls-no-results-found": "Ոչինչ չի գտնվել", "uls-common-languages": "Առաջարկվող լեզուներ", "uls-no-results-suggestion-title": "Ձեզ գուցե հետաքրքրեն․", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json index 293a4af0..c44c8c2b 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/io.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Robin van der Vliet", - "Algentem" + "Algentem", + "Joao Xavier" ] }, "uls-region-WW": "Tota mondo", @@ -16,5 +17,6 @@ "uls-region-all": "Omna lingui", "uls-no-results-found": "Ne trovis ulo", "uls-common-languages": "Sugestanta lingui", + "uls-search-help": "Vu povas serchar segun linguala kodexo, nomo dil 'script', kodexo ISO por la linguo, o vu povas serchar segun la regiono.", "uls-search-placeholder": "Serchar linguo" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json new file mode 100644 index 00000000..e7134a35 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/kjp.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Rul1902" + ] + }, + "uls-region-WW": "ခါန်ႋညာညာႋသါ်", + "uls-region-SP": "အ်ုခေါဟ်", + "uls-region-AM": "အ်ုမေရိကိုင်", + "uls-region-AF": "အာဖရိက", + "uls-region-EU": "ဥရဴပ", + "uls-region-AS": "အာယှ", + "uls-region-ME": "အ်ုကၠာမူႋနုက်ခဝ့်", + "uls-region-PA": "ပ်ုစိဖေံ", + "uls-region-all": "ဆ်ုခၠါင်ဘာႋသာ့လုက်ဆိင့်", + "uls-no-results-found": "အ်ုတင်ၮေဝ်ႋအှ် လ်ုဍးၜး", + "uls-common-languages": "ဖှ်ေဆ်ုကုံႋ ဆ်ုခၠါင်ဘာႋသာ့လ်ုဖး", + "uls-no-results-suggestion-title": "ၮ်ုမ်ုသာ့ထိင်ၜးဆ်ု:", + "uls-search-help": "ဆ်ုခၠါင်ဘာႋသာ့လ်ုမိင်မိင် ၮ်ုအင်းၰူ့ၮေဝ်ႋၜးသာစာ်ၜိုဝ် အင်းၰူ့ ၜးဆါင့်အ်ုသီးလိက်ဖၠုံးၯေဝ်၊ ISO ဝီႋဖၠုံးၜီးၜါ်သီးမွာဲၯေဝ် လ်ုမွာဲၜး လေဝ်အင်းၰူ့ၮေဝ်ႋဝေ့ ဆ်ုလင်ႋသီးသှ်ေဆေဝ်ႋလှ်။", + "uls-search-placeholder": "မ်ုအင်းၰူ့ ဆ်ုခၠါင်လ်ုမိင်ၯင်" +} diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json index 4b5b3880..18b3a014 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lez.json @@ -5,17 +5,18 @@ "Soul Train" ] }, - "uls-region-WW": "Virialemdin", - "uls-region-SP": "Гьакlдар", - "uls-region-AM": "ŵAmerika", + "uls-region-WW": "Вири дуьньядин", + "uls-region-SP": "Махсус", + "uls-region-AM": "Америка", "uls-region-AF": "Африка", "uls-region-EU": "Европа", "uls-region-AS": "Азия", - "uls-region-ME": "Muq'o erch'i pad", + "uls-region-ME": "Юкьван РагъэкъечӀдай пад", "uls-region-PA": "Океания", - "uls-no-results-found": "Jaghanach", - "uls-common-languages": "Bulvilin ch'alar", - "uls-no-results-suggestion-title": "Kwez mumkin i ch'alar muqaya xun:", - "uls-search-help": "Mumkinval ava jagharun chalan t'warceay ni xat'unay, ISO koday chalan ik'ni kiligun ellday", - "uls-search-placeholder": "Чlал жагъурун" + "uls-region-all": "Вири чӀалар", + "uls-no-results-found": "No results found", + "uls-common-languages": "Теклифнавай чӀалар", + "uls-no-results-suggestion-title": "You may be interested in:", + "uls-search-help": "Вавай чӀалан дахьайтӀа кхьинвилин тӀварунай къекъвез жеда, чӀалан ISO-коддай дахьайтӀа региондай килигиз жеда.", + "uls-search-placeholder": "ЧӀал жагъурун" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json index b3abaf22..b9d104ed 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lt.json @@ -5,7 +5,8 @@ "Mantak111", "Eitvys200", "Amire80", - "Zygimantus" + "Zygimantus", + "Manvydasz" ] }, "uls-region-WW": "Visame pasaulyje", @@ -19,7 +20,7 @@ "uls-region-all": "Visos kalbos", "uls-no-results-found": "Rezultatų nerasta", "uls-common-languages": "Siūlomos kalbos", - "uls-no-results-suggestion-title": "Jums gali būti įdomu:", + "uls-no-results-suggestion-title": "Galbūt domina:", "uls-search-help": "Galite ieškoti pagal kalbos pavadinimą, scenarijaus pavadinimą, ISO kalbos kodą arba galite naršyti pagal regioną.", "uls-search-placeholder": "Ieškoti kalbos" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json index 53a232f4..09128889 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/lv.json @@ -12,7 +12,7 @@ "uls-region-AF": "Āfrika", "uls-region-EU": "Eiropa", "uls-region-AS": "Āzija", - "uls-region-ME": "Tuvie Austrumi", + "uls-region-ME": "Vidējie Austrumi", "uls-region-PA": "Klusā okeāna", "uls-region-all": "Visas valodas", "uls-no-results-found": "Nav atrasts neviens rezultāts", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json index b3872339..6489de67 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/ml.json @@ -2,7 +2,8 @@ "@metadata": { "authors": [ "Praveenp", - "Santhosh.thottingal" + "Santhosh.thottingal", + "Ranjithsiji" ] }, "uls-region-WW": "ആഗോള ഭാഷകൾ", @@ -13,9 +14,10 @@ "uls-region-AS": "ഏഷ്യ", "uls-region-ME": "മദ്ധ്യപൂർവേഷ്യ", "uls-region-PA": "പസഫിക്", + "uls-region-all": "എല്ലാ ഭാഷകളും", "uls-no-results-found": "ഒന്നും കണ്ടെത്താനായില്ല", - "uls-common-languages": "സാധാരണ ഭാഷകൾ", + "uls-common-languages": "നിർദ്ദേശിക്കുന്ന ഭാഷകൾ", "uls-no-results-suggestion-title": "താങ്കൾക്കാവശ്യം ഇതായിരിക്കാം:", - "uls-search-help": "താങ്കൾക്ക് ഭാഷയുടെ പേര്, ISO 639 കോഡ്, ലിപിയുടെ പേര് എന്നിവ ഉപയോഗിച്ച് തിരയാം. അല്ലെങ്കിൽ ഈ മേഖലകളിൽ തിരയാം:", - "uls-search-placeholder": "ഭാഷ തിരയുക" + "uls-search-help": "താങ്കൾക്ക് ഭാഷയുടെ പേര്, ISO കോഡ്, ലിപിയുടെ പേര് എന്നിവ ഉപയോഗിച്ച് തിരയാം. അല്ലെങ്കിൽ ഈ മേഖലകളിൽ തിരയാം:", + "uls-search-placeholder": "ഒരു ഭാഷക്കായി തിരയുക" } diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json new file mode 100644 index 00000000..22787da2 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/mnw.json @@ -0,0 +1,21 @@ +{ + "@metadata": { + "authors": [ + "Aue Nai" + ] + }, + "uls-region-WW": "ဇမၞော်ဂၠး", + "uls-region-SP": "တၟေၚ်", + "uls-region-AM": "အမေရိက", + "uls-region-AF": "အာဖရိက", + "uls-region-EU": "ဥရောပ", + "uls-region-AS": "အာယှ", + "uls-region-ME": "လဒေါဝ် ဗၟံက်", + "uls-region-PA": "ပသဳဖှေတ်", + "uls-region-all": "အရေဝ်ဘာသာ သီုဖအိုတ်", + "uls-no-results-found": "အရာမဂၠာဲဂှ် မုဟွံဂွံ ဆဵု", + "uls-common-languages": "အရေဝ်ဘာသာ မကဵုလဝ်ကသပ်ဂမၠိုၚ်", + "uls-no-results-suggestion-title": "မၞး စိုတ်လုပ်စမာန် :", + "uls-search-help": "မၞးဂၠာဲကေတ်နကဵု ယၟုအရေဝ်ဘာသာမာန်၊ ယၟုအက္ခရ်, မခတ် ISO ဒဒှ်အရေဝ်ဘာသာ ဟွံသေၚ် မၞးတြးပၠးပတိတ် နကဵု ဒေသမာန်.", + "uls-search-placeholder": "ဂၠာဲ သွက် အရေဝ်ဘာသာ မွဲ" +} diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json index 5ce9a07a..3321d3cc 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/my.json @@ -1,7 +1,8 @@ { "@metadata": { "authors": [ - "Dr Lotus Black" + "Dr Lotus Black", + "Ninjastrikers" ] }, "uls-region-SP": "အထူး", @@ -9,7 +10,7 @@ "uls-region-AF": "အာဖရိက", "uls-region-EU": "ဥရောပ", "uls-region-AS": "အာရှ", - "uls-region-ME": "အရှ့အလယ်ပိုင်း", + "uls-region-ME": "အရှေ့အလယ်ပိုင်း", "uls-region-PA": "ပစိဖိတ်", "uls-region-all": "ဘာသာစကားများ အားလုံး", "uls-no-results-found": "မည်သည့်ရလဒ်မျှ မရပါ", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json index 301b6e85..a257cb6c 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/i18n/shn.json @@ -12,6 +12,7 @@ "uls-region-AS": "ဢေးသျႃး", "uls-region-ME": "ပွတ်းၵၢင်တၢင်းဢွၵ်ႇ", "uls-region-PA": "ပသိၽိၵ်ႉ", + "uls-region-all": "ၽႃႇသႃႇၵႂၢမ်း တင်းသဵင်ႈ", "uls-no-results-found": "ဢမ်ႇႁၼ်ၽွၼ်းလႆႈ", "uls-common-languages": "ၽႃႇသႃႇဢၼ်ၸႂ်ႉၼမ်", "uls-no-results-suggestion-title": "ၸဝ်ႈၵဝ်ႇၸၢင်ႈၶဝ်ႈၸႂ်ပႃး", diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js index 893ae68f..e4607878 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.core.js @@ -302,7 +302,8 @@ * @param {Event} e */ cancel: function ( e ) { - if ( e && ( this.$element.is( e.target ) || $.contains( this.$element[ 0 ], e.target ) ) ) { + if ( e && ( this.$element.is( e.target ) || + $.contains( this.$element[ 0 ], e.target ) ) ) { return; } @@ -427,7 +428,7 @@ * since the last time it was invoked. * * @param {Function} fn Function to be debounced. - * @param {Number} wait Wait interval in milliseconds. + * @param {number} wait Wait interval in milliseconds. * @param {boolean} [immediate] Trigger the function on the leading edge of the wait interval, * instead of the trailing edge. * @return {Function} Debounced function. diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js index 23171cf5..e061515a 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.js @@ -655,6 +655,23 @@ module.exports=( function ( $ ) { ], "Lai holh" ], + "cnr": [ + "cnr-latn" + ], + "cnr-cyrl": [ + "Cyrl", + [ + "EU" + ], + "црногорски" + ], + "cnr-latn": [ + "Latn", + [ + "EU" + ], + "crnogorski" + ], "co": [ "Latn", [ diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js index a41354c8..5606ab9e 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.data.utils.js @@ -27,7 +27,8 @@ */ $.uls.data.isRedirect = function ( language ) { return ( $.uls.data.languages[ language ] !== undefined && - $.uls.data.languages[ language ].length === 1 ) ? $.uls.data.languages[ language ][ 0 ] : false; + $.uls.data.languages[ language ].length === 1 ) ? + $.uls.data.languages[ language ][ 0 ] : false; }; /** @@ -77,7 +78,8 @@ return $.uls.data.getAutonym( target ); } - return ( $.uls.data.languages[ language ] && $.uls.data.languages[ language ][ 2 ] ) || language; + return ( $.uls.data.languages[ language ] && + $.uls.data.languages[ language ][ 2 ] ) || language; }; /** @@ -137,7 +139,7 @@ * Returns an associative array of languages in a region, * grouped by script group. * @param {string} region Region code - * @return {object} + * @return {Object} */ $.uls.data.getLanguagesByScriptGroupInRegion = function ( region ) { return $.uls.data.getLanguagesByScriptGroupInRegions( [ region ] ); diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js index 4262efd7..cdc96c6f 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.languagefilter.js @@ -268,7 +268,8 @@ } userInput = this.$element.val(); - suggestion = userInput + languageName.substring( userInput.length, languageName.length ); + suggestion = userInput + + languageName.substring( userInput.length, languageName.length ); if ( suggestion.toLowerCase() !== languageName.toLowerCase() ) { // see if it was autonym match diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js index 3829e66e..ceadbf15 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.uls/src/jquery.uls.lcd.js @@ -41,7 +41,8 @@ * @cfg {number} [columns] Number of columns for languages. Default is 4. * @cfg {Function} [languageDecorator] Callback function to be called when a language * link is prepared - for custom decoration. - * @cfg {Function|string[]} [quickList] The languages to display as suggestions for quick selection. + * @cfg {Function|string[]} [quickList] The languages to display as suggestions for quick + * selection. * @cfg {Function} [clickhandler] Callback when language is selected. * @cfg {jQuery|Function} [noResultsTemplate] */ @@ -127,7 +128,8 @@ * Override the default region grouping setting. * This is to allow LanguageFilter to disable grouping when displaying search results. * - * @param {boolean|null} val True to force grouping, false to disable, null to undo override. + * @param {boolean|null} val True to force grouping, false to disable, null + * to undo override. */ setGroupByRegionOverride: function ( val ) { this.groupByRegionOverride = val; @@ -218,7 +220,7 @@ /** * Adds given languages sorted into rows and columns into given element. * @param {jQuery} $region Element to add language list. - * @param {array} languages List of language codes. + * @param {Array} languages List of language codes. * @param {number} itemsPerColumn How many languages fit in a column. * @param {number} columnsPerRow How many columns fit in a row. */ @@ -257,8 +259,8 @@ nextScript = $.uls.data.getScriptGroupOfLanguage( languages[ i + 1 ] ); lastItem = languagesCount - i === 1; - // Force column break if script changes and column has more than one row already, - // but only if grouping by region + // Force column break if script changes and column has more than one + // row already, but only if grouping by region if ( i === 0 || !this.isGroupingByRegionEnabled() ) { currentScript = $.uls.data.getScriptGroupOfLanguage( languages[ i ] ); } else if ( currentScript !== nextScript && items.length > 1 ) { diff --git a/MLEB/UniversalLanguageSelector/lib/jquery.webfonts/src/jquery.webfonts.js b/MLEB/UniversalLanguageSelector/lib/jquery.webfonts/src/jquery.webfonts.js index b85631ee..a28ca39d 100644 --- a/MLEB/UniversalLanguageSelector/lib/jquery.webfonts/src/jquery.webfonts.js +++ b/MLEB/UniversalLanguageSelector/lib/jquery.webfonts/src/jquery.webfonts.js @@ -293,9 +293,9 @@ }, /** - * Check whether the give font family is overridable or not. jquey.webfonts + * Check whether the given font family is overridable or not. jquery.webfonts * by default does not override any font-family styles other than generic - * font family styles(See hasExplicitFontStyle method) + * font family styles (see hasExplicitFontStyle method). * @param {string} fontFamily * @return {boolean} Whether the given fontFamily is overridable or not. */ diff --git a/MLEB/UniversalLanguageSelector/package.json b/MLEB/UniversalLanguageSelector/package.json index cd34b01d..dd6db1ea 100644 --- a/MLEB/UniversalLanguageSelector/package.json +++ b/MLEB/UniversalLanguageSelector/package.json @@ -4,16 +4,14 @@ "test": "grunt test" }, "devDependencies": { - "eslint-config-wikimedia": "0.7.2", - "eslint-plugin-qunit": "3.3.1", + "eslint-config-wikimedia": "0.9.0", "grunt": "1.0.3", "grunt-banana-checker": "0.6.0", "grunt-eslint": "21.0.0", "grunt-jsonlint": "1.1.0", "grunt-stylelint": "0.10.1", "grunt-svgmin": "5.0.0", - "stylelint": "9.2.0", - "stylelint-config-wikimedia": "0.4.3" + "stylelint-config-wikimedia": "0.5.0" }, "eslintIgnore": [ "lib/**", diff --git a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.inputsettings.less b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.inputsettings.less index 36094e55..ab2f09dd 100644 --- a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.inputsettings.less +++ b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.inputsettings.less @@ -121,11 +121,12 @@ position: absolute; top: 0; bottom: 0; - right: 0; - opacity: 0.75; + right: 4px; + opacity: 0.81; padding: 0; - background: transparent no-repeat left center; + background: transparent no-repeat right center; .background-image-svg( '../images/help.svg', '../images/help.png' ); + background-size: 16px 16px; } .ime-checked .ime-perime-help:hover { diff --git a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.languagesettings.less b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.languagesettings.less index 9996e480..485f5069 100644 --- a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.languagesettings.less +++ b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.languagesettings.less @@ -11,7 +11,6 @@ } .languagesettings-menu { - /* Override grid padding */ .grid & { padding-left: 0; @@ -34,13 +33,11 @@ width: 100%; /* Using border instead of outline for focus (outline doesn't have enough space) */ outline: 0; - color: #222; padding: 5px 0 5px 42px; border: 1px solid transparent; background: left 15px top 6px transparent no-repeat; background-size: 20px auto; - cursor: pointer; // Remove the dotted border for Firefox diff --git a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.less b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.less index 1bd0bdce..4aece6ee 100644 --- a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.less +++ b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.less @@ -60,6 +60,7 @@ .uls-no-found-more { background-color: #fff; } + h3 { padding: 0 28px; margin: 0; diff --git a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.mixins.less b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.mixins.less index db770a0d..32894871 100644 --- a/MLEB/UniversalLanguageSelector/resources/css/ext.uls.mixins.less +++ b/MLEB/UniversalLanguageSelector/resources/css/ext.uls.mixins.less @@ -11,6 +11,7 @@ position: absolute; content: ''; } + &.selector-right { &:before { /* @noflip */ @@ -18,13 +19,15 @@ /* @noflip */ right: -11px; } + &:after { /* @noflip */ - border-left: 10px solid #f8f9fa; + border-left: 10px solid #fff; /* @noflip */ right: -10px; } } + &.selector-left { &:before { /* @noflip */ @@ -32,9 +35,10 @@ /* @noflip */ left: -11px; } + &:after { /* @noflip */ - border-right: 10px solid #f8f9fa; + border-right: 10px solid #fff; /* @noflip */ left: -10px; } diff --git a/MLEB/UniversalLanguageSelector/resources/images/help.png b/MLEB/UniversalLanguageSelector/resources/images/help.png Binary files differindex a964f6c3..3adb1229 100644 --- a/MLEB/UniversalLanguageSelector/resources/images/help.png +++ b/MLEB/UniversalLanguageSelector/resources/images/help.png diff --git a/MLEB/UniversalLanguageSelector/resources/images/help.svg b/MLEB/UniversalLanguageSelector/resources/images/help.svg index c2b741a6..e23e3a8c 100644 --- a/MLEB/UniversalLanguageSelector/resources/images/help.svg +++ b/MLEB/UniversalLanguageSelector/resources/images/help.svg @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="UTF-8"?> -<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"> - <path fill="#54595d" d="M9 1.5a7.5 7.5 0 1 0 .002 15.002A7.5 7.5 0 0 0 9 1.5zm-.001 11.943c-.613 0-1.067-.49-1.067-1.08 0-.614.454-1.093 1.067-1.093.59 0 1.068.479 1.068 1.093a1.08 1.08 0 0 1-1.068 1.08zm1.522-4.639c-.515.405-.712.663-.712 1.239v.356H8.238v-.43c0-1.081.32-1.522.822-1.915.504-.393.811-.602.811-1.166 0-.479-.295-.749-.883-.749-.504 0-.946.135-1.412.454l-.749-1.287c.613-.43 1.375-.737 2.381-.737 1.362 0 2.505.749 2.505 2.184-.001 1.019-.566 1.559-1.192 2.049z"/> +<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"> + <path fill="#222" d="M10 0a10 10 0 1 0 10 10A10 10 0 0 0 10 0zm1 16H9v-2h2zm2.71-7.6a2.63 2.63 0 0 1-.34.74 3.06 3.06 0 0 1-.48.55l-.54.48c-.21.18-.41.35-.59.52a3 3 0 0 0-.47.56A2.49 2.49 0 0 0 11 12a4.12 4.12 0 0 0-.11 1H9.08a8.68 8.68 0 0 1 .08-1.25 3.54 3.54 0 0 1 .24-.9 2.81 2.81 0 0 1 .41-.68 4.63 4.63 0 0 1 .58-.58l.51-.44a3 3 0 0 0 .44-.45 1.92 1.92 0 0 0 .3-.54 2.13 2.13 0 0 0 .11-.72 1.94 1.94 0 0 0-.18-.86 1.79 1.79 0 0 0-.43-.58 1.69 1.69 0 0 0-.54-.32 1.55 1.55 0 0 0-.5-.1 1.77 1.77 0 0 0-1.53.68 3 3 0 0 0-.49 1.82H6.16a4.84 4.84 0 0 1 .28-1.68 3.57 3.57 0 0 1 .8-1.29 3.62 3.62 0 0 1 1.27-.83A4.52 4.52 0 0 1 10.18 4a4.42 4.42 0 0 1 1.43.23 3.48 3.48 0 0 1 1.16.65 3 3 0 0 1 .78 1.06 3.49 3.49 0 0 1 .28 1.44 3.63 3.63 0 0 1-.12 1.02z"/> </svg> diff --git a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.compactlinks.js b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.compactlinks.js index 432cf7ca..c2ecfb82 100644 --- a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.compactlinks.js +++ b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.compactlinks.js @@ -213,13 +213,14 @@ * @param {jQuery} $trigger Element to use as trigger. */ CompactInterlanguageList.prototype.createSelector = function ( $trigger ) { - var languages = Object.keys( this.interlanguageList ), + var languageCode, + languages = Object.keys( this.interlanguageList ), self = this, ulsLanguageList = {}; - $.each( this.interlanguageList, function ( languageCode, el ) { - ulsLanguageList[ languageCode ] = el.textContent; - } ); + for ( languageCode in this.interlanguageList ) { + ulsLanguageList[ languageCode ] = this.interlanguageList[ languageCode ].textContent; + } // Attach ULS to the trigger $trigger.uls( { @@ -408,7 +409,7 @@ */ CompactInterlanguageList.prototype.getLangsInText = function () { var languagesInText = []; - $.each( document.querySelectorAll( '#mw-content-text [lang]' ), function ( i, el ) { + Array.prototype.forEach.call( document.querySelectorAll( '#mw-content-text [lang]' ), function ( el ) { var lang = convertMediaWikiLanguageCodeToULS( el.lang ); if ( languagesInText.indexOf( lang ) === -1 ) { languagesInText.push( lang ); @@ -425,7 +426,7 @@ * @return {string[]} Language codes */ CompactInterlanguageList.prototype.getLangsWithBadges = function () { - return $.map( + return Array.prototype.map.call( document.querySelectorAll( '#p-lang [class*="badge"]' ), function ( el ) { return convertMediaWikiLanguageCodeToULS( @@ -443,7 +444,7 @@ CompactInterlanguageList.prototype.getInterlanguageList = function () { var interlanguageList = {}; - $.each( this.listElement.querySelectorAll( '.interlanguage-link-target' ), function ( i, el ) { + Array.prototype.forEach.call( this.listElement.querySelectorAll( '.interlanguage-link-target' ), function ( el ) { var langCode = convertMediaWikiLanguageCodeToULS( el.lang ); interlanguageList[ langCode ] = el; } ); diff --git a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.displaysettings.js b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.displaysettings.js index df246162..7b28c7d7 100644 --- a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.displaysettings.js +++ b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.displaysettings.js @@ -655,19 +655,17 @@ * modules. */ apply: function () { - var displaySettings = this; - - if ( !displaySettings.dirty ) { + if ( !this.dirty ) { // No changes to save in this module. return; } - displaySettings.$parent.setBusy( true ); + this.$parent.setBusy( true ); // Save the preferences mw.webfonts.preferences.save( function ( result ) { var newWebfontsEnable, oldWebfontsEnable, webfontsEvent, newRegistry = mw.webfonts.preferences.registry, - oldRegistry = displaySettings.savedRegistry.registry, + oldRegistry = this.savedRegistry.registry, newFonts = newRegistry.fonts || {}, oldFonts = oldRegistry.fonts || {}; @@ -684,25 +682,25 @@ mw.hook( webfontsEvent ).fire( 'displaysettings' ); } - if ( newFonts[ displaySettings.uiLanguage ] !== oldFonts[ displaySettings.uiLanguage ] ) { + if ( newFonts[ this.uiLanguage ] !== oldFonts[ this.uiLanguage ] ) { mw.hook( 'mw.uls.font.change' ).fire( - 'interface', displaySettings.uiLanguage, newFonts[ displaySettings.uiLanguage ] + 'interface', this.uiLanguage, newFonts[ this.uiLanguage ] ); } - if ( newFonts[ displaySettings.contentLanguage ] !== oldFonts[ displaySettings.contentLanguage ] ) { + if ( newFonts[ this.contentLanguage ] !== oldFonts[ this.contentLanguage ] ) { mw.hook( 'mw.uls.font.change' ).fire( - 'content', displaySettings.contentLanguage, newFonts[ displaySettings.contentLanguage ] + 'content', this.contentLanguage, newFonts[ this.contentLanguage ] ); } // closure for not losing the scope - displaySettings.onSave( result ); - displaySettings.dirty = false; + this.onSave( result ); + this.dirty = false; // Update the back-up preferences for the case of canceling - displaySettings.savedRegistry = $.extend( true, {}, mw.webfonts.preferences ); - displaySettings.$parent.setBusy( false ); - } ); + this.savedRegistry = $.extend( true, {}, mw.webfonts.preferences ); + this.$parent.setBusy( false ); + }.bind( this ) ); }, /** diff --git a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.interface.js b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.interface.js index 666fc66f..f6043623 100644 --- a/MLEB/UniversalLanguageSelector/resources/js/ext.uls.interface.js +++ b/MLEB/UniversalLanguageSelector/resources/js/ext.uls.interface.js @@ -272,47 +272,49 @@ if ( !languagesettings.shown ) { mw.hook( 'mw.uls.settings.open' ).fire( eventParams && eventParams.source || 'interlanguage' ); } - } else { - // Initialize the Language settings window - languageSettingsOptions = { - defaultModule: 'display', - onVisible: function () { - var caretRadius, - ulsTriggerHeight = this.$element.height(), - ulsTriggerWidth = this.$element[ 0 ].offsetWidth, - ulsTriggerOffset = this.$element.offset(); - - this.$window.addClass( 'callout' ); - - // Same as border width in mixins.less, or near enough - caretRadius = 12; - - if ( ulsTriggerOffset.left > $( window ).width() / 2 ) { - this.left = ulsTriggerOffset.left - this.$window.width() - caretRadius; - this.$window.removeClass( 'selector-left' ).addClass( 'selector-right' ); - - } else { - this.left = ulsTriggerOffset.left + ulsTriggerWidth + caretRadius; - this.$window.removeClass( 'selector-right' ).addClass( 'selector-left' ); - } - - // The top of the dialog is aligned in relation to - // the middle of the trigger, so that middle of the - // caret aligns with it. 16 is trigger icon height in pixels - this.top = ulsTriggerOffset.top + - ( ulsTriggerHeight / 2 ) - - ( caretRadius + 16 ); - - this.position(); + + return; + } + + // Initialize the Language settings window + languageSettingsOptions = { + defaultModule: 'display', + onVisible: function () { + var caretRadius, + ulsTriggerHeight = this.$element.height(), + ulsTriggerWidth = this.$element[ 0 ].offsetWidth, + ulsTriggerOffset = this.$element.offset(); + + this.$window.addClass( 'callout' ); + + // Same as border width in mixins.less, or near enough + caretRadius = 12; + + if ( ulsTriggerOffset.left > $( window ).width() / 2 ) { + this.left = ulsTriggerOffset.left - this.$window.width() - caretRadius; + this.$window.removeClass( 'selector-left' ).addClass( 'selector-right' ); + + } else { + this.left = ulsTriggerOffset.left + ulsTriggerWidth + caretRadius; + this.$window.removeClass( 'selector-right' ).addClass( 'selector-left' ); } - }; - mw.loader.using( mw.uls.languageSettingsModules, function () { - $ulsTrigger.languagesettings( languageSettingsOptions ).click(); - } ); + // The top of the dialog is aligned in relation to + // the middle of the trigger, so that middle of the + // caret aligns with it. 16 is trigger icon height in pixels + this.top = ulsTriggerOffset.top + + ( ulsTriggerHeight / 2 ) - + ( caretRadius + 16 ); - e.stopPropagation(); - } + this.position(); + } + }; + + mw.loader.using( mw.uls.languageSettingsModules, function () { + $ulsTrigger.languagesettings( languageSettingsOptions ).click(); + } ); + + e.stopPropagation(); }; } else if ( anonMode ) { clickHandler = function ( e, eventParams ) { diff --git a/MLEB/UniversalLanguageSelector/tests/phpunit/FontRepoCompilerTest.php b/MLEB/UniversalLanguageSelector/tests/phpunit/FontRepoCompilerTest.php new file mode 100644 index 00000000..de403e48 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/tests/phpunit/FontRepoCompilerTest.php @@ -0,0 +1,82 @@ +<?php + +namespace UniversalLanguageSelector\Tests; + +use \FontRepoCompiler; + +/** + * @covers \FontRepoCompiler + * + * @license GPL-2.0-or-later + * @author Thiemo Kreuz + */ +class FontRepoCompilerTest extends \PHPUnit\Framework\TestCase { + use \PHPUnit4And6Compat; + + public function testGetLanguages() { + $instance = new FontRepoCompiler( '', '' ); + + $result = $instance->getLanguages( [ 'languages' => 'de, en' ] ); + $this->assertSame( [ 'de', 'en' ], $result ); + } + + public function testAppendLanguages() { + $instance = new FontRepoCompiler( '', '' ); + + $languages = [ 'de' => [] ]; + $fontLanguages = [ 'de', 'en', 'fr*' ]; + + $instance->appendLanguages( $languages, $fontLanguages, 'dummyFontName' ); + $this->assertSame( [ + 'de' => [ 'dummyFontName' ], + 'en' => [ 'system', 'dummyFontName' ], + 'fr' => [ 'dummyFontName' ], + ], $languages ); + } + + public function testGetAllBasicFontInfo() { + $instance = new FontRepoCompiler( '', '' ); + + $givenInfo = [ + 'fontweight' => 'dummyFontWeight', + 'fontstyle' => 'dummyFontStyle', + 'woff' => 'Alef-Regular.woff', + 'bold' => 'dummyBold', + 'bolditalic' => 'dummyBoldItalic', + 'italic' => 'dummyItalic', + ]; + + $result = $instance->getFontInfo( $givenInfo, __DIR__ . '/../../data/fontrepo/fonts/Alef' ); + $this->assertSame( [ + 'fontweight' => 'dummyFontWeight', + 'fontstyle' => 'dummyFontStyle', + 'woff' => 'Alef/Alef-Regular.woff?2b430', + 'variants' => [ + 'bold' => 'dummyBold', + 'bolditalic' => 'dummyBoldItalic', + 'italic' => 'dummyItalic', + ], + ], $result ); + } + + public function testScanForWoffFiles() { + $instance = new FontRepoCompiler( '', '' ); + + $result = $instance->getFontInfo( [], __DIR__ . '/../../data/fontrepo/fonts/Alef' ); + $this->assertSame( [ + 'woff' => 'Alef/Alef-Regular.woff?2b430', + 'woff2' => 'Alef/Alef-Regular.woff2?a2499', + ], $result ); + } + + public function testGetRepository() { + $path = __DIR__ . '/../../data/fontrepo/fonts'; + $instance = new FontRepoCompiler( $path, 'dummyPath' ); + + $result = $instance->getRepository(); + $this->assertSame( 'dummyPath', $result['base'], 'base' ); + $this->assertContainsOnly( 'array', $result['languages'], 'languages' ); + $this->assertContainsOnly( 'array', $result['fonts'], 'fonts' ); + } + +} diff --git a/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSJsonMessageModuleTest.php b/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSJsonMessageModuleTest.php new file mode 100644 index 00000000..739d3908 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSJsonMessageModuleTest.php @@ -0,0 +1,35 @@ +<?php + +namespace UniversalLanguageSelector\Tests; + +use ResourceLoaderULSJsonMessageModule; + +/** + * @covers \ResourceLoaderULSJsonMessageModule + * + * @license GPL-2.0-or-later + * @author Thiemo Kreuz + */ +class ResourceLoaderULSJsonMessageModuleTest extends \PHPUnit\Framework\TestCase { + use \PHPUnit4And6Compat; + + public function testAllReturnValues() { + $instance = new ResourceLoaderULSJsonMessageModule(); + + $context = $this->createMock( \ResourceLoaderContext::class ); + $context->method( 'getLanguage' ) + ->willReturn( 'en' ); + + $this->assertContainsOnly( 'string', $instance->getDependencies(), 'dependencies' ); + $this->assertContainsOnly( 'string', $instance->getTargets(), 'targets' ); + + $summary = $instance->getDefinitionSummary( $context ); + $lastElement = end( $summary ); + $this->assertArrayHasKey( 'fileHashes', $lastElement ); + $this->assertContainsOnly( 'string', $lastElement['fileHashes'] ); + + $script = $instance->getScript( $context ); + $this->assertStringStartsWith( 'mw.uls.loadLocalization("en",{"', $script ); + } + +} diff --git a/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSModuleTest.php b/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSModuleTest.php new file mode 100644 index 00000000..5036f621 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/tests/phpunit/ResourceLoaderULSModuleTest.php @@ -0,0 +1,29 @@ +<?php + +namespace UniversalLanguageSelector\Tests; + +use ResourceLoaderULSModule; + +/** + * @covers \ResourceLoaderULSModule + * + * @license GPL-2.0-or-later + * @author Thiemo Kreuz + */ +class ResourceLoaderULSModuleTest extends \PHPUnit\Framework\TestCase { + use \PHPUnit4And6Compat; + + public function testAllReturnValues() { + $instance = new ResourceLoaderULSModule(); + + $context = $this->createMock( \ResourceLoaderContext::class ); + $context->method( 'getLanguage' ) + ->willReturn( 'en' ); + + $script = $instance->getScript( $context ); + $this->assertStringStartsWith( 'mw.config.set({"wgULSLanguages":{"', $script ); + + $this->assertTrue( $instance->enableModuleContentVersion() ); + } + +} diff --git a/MLEB/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php b/MLEB/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php new file mode 100644 index 00000000..817f2500 --- /dev/null +++ b/MLEB/UniversalLanguageSelector/tests/phpunit/ULSJsonMessageLoaderTest.php @@ -0,0 +1,54 @@ +<?php + +namespace UniversalLanguageSelector\Tests; + +use ULSJsonMessageLoader; + +/** + * @covers \ULSJsonMessageLoader + * + * @license GPL-2.0-or-later + * @author Thiemo Kreuz + */ +class ULSJsonMessageLoaderTest extends \PHPUnit\Framework\TestCase { + use \PHPUnit4And6Compat; + + public function testGetFilenamesWithBadInput() { + $instance = new ULSJsonMessageLoader(); + + $this->setExpectedException( \MWException::class ); + $instance->getFilenames( null ); + } + + public function testGetMessagesWithBadInput() { + $instance = new ULSJsonMessageLoader(); + + $this->setExpectedException( \MWException::class ); + $instance->getMessages( null ); + } + + public function testWithInvalidLanguageCode() { + $instance = new ULSJsonMessageLoader(); + $languageCode = '0'; + + $filenames = $instance->getFilenames( $languageCode ); + $this->assertSame( [], $filenames ); + + $messages = $instance->getMessages( $languageCode ); + $this->assertSame( [], $messages ); + } + + public function testWithValidLanguageCode() { + $instance = new ULSJsonMessageLoader(); + $languageCode = 'en'; + + $filenames = $instance->getFilenames( $languageCode ); + $this->assertContainsOnly( 'string', $filenames ); + + $messages = $instance->getMessages( $languageCode ); + unset( $messages['@metadata'] ); + $this->assertContainsOnly( 'string', array_keys( $messages ) ); + $this->assertContainsOnly( 'string', $messages ); + } + +} diff --git a/MLEB/UniversalLanguageSelector/tests/qunit/.eslintrc.json b/MLEB/UniversalLanguageSelector/tests/qunit/.eslintrc.json index b5a19a1e..348a1b7f 100644 --- a/MLEB/UniversalLanguageSelector/tests/qunit/.eslintrc.json +++ b/MLEB/UniversalLanguageSelector/tests/qunit/.eslintrc.json @@ -2,8 +2,5 @@ "extends": [ "wikimedia/qunit", "../../.eslintrc.json" - ], - "env": { - "qunit": true - } + ] } |