From 5d7b77016c9380e19d1c027a6c653aa23ddfeae2 Mon Sep 17 00:00:00 2001 From: Christoph Diehl Date: Wed, 12 Apr 2017 22:12:15 +0300 Subject: [PATCH] [text.js] Add language --- make/text.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make/text.js b/make/text.js index 274c1c1..6ceb0aa 100644 --- a/make/text.js +++ b/make/text.js @@ -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