[text.js] Add language

This commit is contained in:
Christoph Diehl 2017-04-12 22:12:15 +03:00
parent aab54d634d
commit 5d7b77016c
1 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,12 @@ make.text = {
"UTF-8", "ISO-8859-1"
]);
},
language: function () {
// https://gist.github.com/tonyhb/635401
return random.pick([
"en-US", "en", "de"
]);
},
layoutCharCodes: function() {
return random.pick([
0, // null