Update language-data

"Fixed" the build script by using a known working version.

Updating to 69074e24757a59ad9a20be4a28ddbe4285ae06a6.
This commit is contained in:
Niklas Laxström
2020-12-09 11:39:47 +02:00
parent dd8555bad4
commit 670585033e
3 changed files with 38 additions and 15 deletions

View File

@@ -18,14 +18,10 @@ then (
git clone "$UPSTREAM" "$CLONEDIR" git clone "$UPSTREAM" "$CLONEDIR"
fi fi
if [ -d "$BASEDIR"/node_modules/browserify ] # This re-installs it every time, but guarantees we have the right version
then echo "Installing browserify"
echo "browserify already installed" cd "$BASEDIR";
else ( npm install --no-save browserify@v16.5.2
echo "Installing browserify"
cd "$BASEDIR";
npm install --no-save browserify
) fi
echo "Transforming language-data" echo "Transforming language-data"

View File

@@ -1,16 +1,18 @@
var through = require( 'through' ); const through = require( 'through' );
module.exports = function () { module.exports = function () {
var data, end, write; let data = '( function ( $ ) {\n\t$.uls = $.uls || {};\n\t$.uls.data = ';
data = '( function ( $ ) {\n\t$.uls = $.uls || {};\n\t$.uls.data = ';
write = function ( buf ) { const write = function ( buf ) {
data += buf; data += buf;
return data; return data;
}; };
end = function () {
const end = function () {
data += '\n} ( jQuery ) );'; data += '\n} ( jQuery ) );';
this.queue( data ); this.queue( data );
return this.queue( null ); this.queue( null );
}; };
return through( write, end ); return through( write, end );
}; };

View File

@@ -643,6 +643,20 @@ module.exports=( function ( $ ) {
], ],
"Mìng-dĕ̤ng-ngṳ̄" "Mìng-dĕ̤ng-ngṳ̄"
], ],
"cdo-latn": [
"Latn",
[
"AS"
],
"Mìng-dĕ̤ng-ngṳ̄ Bàng-uâ-cê"
],
"cdo-hani": [
"Hani",
[
"AS"
],
"閩東語漢字"
],
"ce": [ "ce": [
"Cyrl", "Cyrl",
[ [
@@ -1800,6 +1814,13 @@ module.exports=( function ( $ ) {
], ],
"Kabɩyɛ" "Kabɩyɛ"
], ],
"kcg": [
"Latn",
[
"AF"
],
"Tyap"
],
"kea": [ "kea": [
"Latn", "Latn",
[ [
@@ -4226,6 +4247,9 @@ module.exports=( function ( $ ) {
"zh-yue": [ "zh-yue": [
"yue" "yue"
], ],
"zh-cdo": [
"cdo"
],
"zu": [ "zu": [
"Latn", "Latn",
[ [
@@ -4291,6 +4315,7 @@ module.exports=( function ( $ ) {
"Cyrl" "Cyrl"
], ],
"CJK": [ "CJK": [
"Hani",
"Hans", "Hans",
"Hant", "Hant",
"Kana", "Kana",
@@ -5335,7 +5360,6 @@ module.exports=( function ( $ ) {
"MY": [ "MY": [
"ms", "ms",
"en", "en",
"zh-hant",
"zh", "zh",
"ta", "ta",
"jv", "jv",
@@ -5378,6 +5402,7 @@ module.exports=( function ( $ ) {
"ig", "ig",
"yo", "yo",
"ha-arab", "ha-arab",
"kcg",
"ar", "ar",
"ff" "ff"
], ],