mumuki-laboratory 7.7.4 → 7.7.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5e3448e8581a35a17133d53baba737b443b021a368587d4e2f9f7929b86a49a
|
4
|
+
data.tar.gz: 8e02d2c51e3045bbf5e55fdd900c2fb4db90d7885f294265076ef42a8abf0430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddcceb16a8e9d84d993ea3eb271f3097f024d578f5fc9aab1e05bfac6206c8aae3ba1cc31ced4fe7061658b805194a7d2a81f5c9d37827b305d9b04d9a018495
|
7
|
+
data.tar.gz: 18c2765a101a5229ad42356eae6a139f0a4d92a67ac9299ade093dd9f7aa414ba4f198d0275245790f3add83d6dce23c6f8e2205053ea628c4ad15e4c771aa3f
|
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
(function() {
|
4
4
|
var locale = document.querySelector("html").lang || 'es';
|
5
|
+
var language = new Intl.Locale(locale).language;
|
5
6
|
|
6
7
|
var keywords = [
|
7
8
|
"program", "procedure", "function", "interactive", "if",
|
@@ -22,8 +23,8 @@
|
|
22
23
|
en: ["Put", "Grab", "Move", "GoToEdge", "EmptyBoardContents", "numStones", "anyStones", "canMove", "next", "prev", "opposite", "minBool", "maxBool", "minDir", "maxDir", "minColor", "maxColor"]
|
23
24
|
};
|
24
25
|
|
25
|
-
const localizedKeywordsAndBuiltins = keywords.concat(builtins[
|
26
|
-
const localizedAtoms = atoms[
|
26
|
+
const localizedKeywordsAndBuiltins = keywords.concat(builtins[language]);
|
27
|
+
const localizedAtoms = atoms[language];
|
27
28
|
|
28
29
|
var buildList = function(values) {
|
29
30
|
return values.join('|');
|