Update jquery.uls to 3161b34
* language-data update: Add Western Armenian to known languages * Stop rendering languages twice on initial display * Style adjustments for no-results * package.json: maintenance updates * Localisation updates In addition to the jquery.uls update, this patch contains local style customization for no-results view as specified in T175235. Bug: T175235 Bug: T185086 Change-Id: I51645554413dbaa80e02fec8f9115f4de409fb06
This commit is contained in:
committed by
Nikerabbit
parent
3a0f01643b
commit
453a4458e6
@@ -121,13 +121,15 @@
|
||||
.uls-no-results-found-title {
|
||||
font-size: 16px;
|
||||
padding: 0 16px 0 28px;
|
||||
margin: 20px 0;
|
||||
border-bottom: 0;
|
||||
color: #555;
|
||||
color: #54595d;
|
||||
}
|
||||
|
||||
.uls-no-found-more {
|
||||
background: #f8f8f8;
|
||||
padding: 0 16px 0 44px;
|
||||
border-top: 1px solid #eaecf0;
|
||||
color: #54595d;
|
||||
padding: 12px 16px 12px 44px;
|
||||
font-size: 0.9em;
|
||||
width: 100%;
|
||||
margin-top: 1.6em;
|
||||
|
||||
11
lib/jquery.uls/i18n/ais.json
Normal file
11
lib/jquery.uls/i18n/ais.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Benel"
|
||||
]
|
||||
},
|
||||
"uls-region-AM": "Amilikaco",
|
||||
"uls-region-AF": "Afilika",
|
||||
"uls-region-EU": "Ouco",
|
||||
"uls-region-AS": "Yaco"
|
||||
}
|
||||
@@ -2,7 +2,8 @@
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Siebrand",
|
||||
"Sjoerddebruin"
|
||||
"Sjoerddebruin",
|
||||
"Mar(c)"
|
||||
]
|
||||
},
|
||||
"uls-region-WW": "Wereldwijd",
|
||||
@@ -16,7 +17,7 @@
|
||||
"uls-region-all": "Alle talen",
|
||||
"uls-no-results-found": "Geen resultaten gevonden",
|
||||
"uls-common-languages": "Taalsuggesties",
|
||||
"uls-no-results-suggestion-title": "Wellicht wilt u een van de volgende talen kiezen:",
|
||||
"uls-search-help": "U kunt zoeken op taalnaam, schriftnaam, ISO-code van de taal of u kunt bladeren per regio.",
|
||||
"uls-no-results-suggestion-title": "Mogelijk bent u geïnteresseerd in:",
|
||||
"uls-search-help": "U kunt zoeken op taalnaam, schriftnaam of ISO-code van de taal, of u kunt bladeren per regio.",
|
||||
"uls-search-placeholder": "Zoeken naar een taal"
|
||||
}
|
||||
|
||||
11
lib/jquery.uls/i18n/twd.json
Normal file
11
lib/jquery.uls/i18n/twd.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"@metadata": {
|
||||
"authors": [
|
||||
"Robin van der Vliet"
|
||||
]
|
||||
},
|
||||
"uls-region-WW": "Wearldwied",
|
||||
"uls-region-AM": "Amerika",
|
||||
"uls-region-AF": "Afrika",
|
||||
"uls-region-EU": "Europa"
|
||||
}
|
||||
@@ -5,16 +5,17 @@
|
||||
]
|
||||
},
|
||||
"uls-region-WW": "Tuto el mondo",
|
||||
"uls-region-SP": "Speciałi",
|
||||
"uls-region-SP": "Speciaƚi",
|
||||
"uls-region-AM": "Mèrica",
|
||||
"uls-region-AF": "Àfrica",
|
||||
"uls-region-EU": "Eoropa",
|
||||
"uls-region-AS": "Axia",
|
||||
"uls-region-ME": "Levante mexan",
|
||||
"uls-region-PA": "Pasifego",
|
||||
"uls-region-all": "Tute ƚe ƚengue",
|
||||
"uls-no-results-found": "Nisun rixultado",
|
||||
"uls-common-languages": "Lengue pì sielte",
|
||||
"uls-common-languages": "Lengue sugerìe",
|
||||
"uls-no-results-suggestion-title": "Te pol èsar interesà a:",
|
||||
"uls-search-help": "Xe posibiłe sercar par nome, nome del script, còdexe ISO de ła lengua o se pol navegar par region:",
|
||||
"uls-search-placeholder": "Serca lengua"
|
||||
"uls-search-help": "Xe posibiƚe sercar par nòme, nòme del script, còdexe ISO de ƚa lengua o se pol navegar par region.",
|
||||
"uls-search-placeholder": "Serca na lengua"
|
||||
}
|
||||
|
||||
@@ -1361,6 +1361,14 @@ module.exports=( function ( $ ) {
|
||||
],
|
||||
"Հայերեն"
|
||||
],
|
||||
"hyw": [
|
||||
"Armn",
|
||||
[
|
||||
"EU",
|
||||
"ME"
|
||||
],
|
||||
"արեւմտահայերէն"
|
||||
],
|
||||
"hz": [
|
||||
"Latn",
|
||||
[
|
||||
|
||||
@@ -186,7 +186,6 @@
|
||||
|
||||
if ( query === '' ) {
|
||||
this.options.lcd.setGroupByRegionOverride( null );
|
||||
languages.map( this.render.bind( this ) );
|
||||
this.resultHandler( query, languages );
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -27,9 +27,7 @@
|
||||
<h2 data-i18n="uls-no-results-found" class="uls-no-results-found-title">No results found</h2> \
|
||||
<div class="uls-no-results-suggestions"></div> \
|
||||
<div class="uls-no-found-more"> \
|
||||
<div><p> \
|
||||
<span data-i18n="uls-search-help">You can search by language name, script name, ISO code of language or you can browse by region.</span>\
|
||||
</p></div> \
|
||||
<div data-i18n="uls-search-help">You can search by language name, script name, ISO code of language or you can browse by region.</div> \
|
||||
</div></div>';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user