summaryrefslogtreecommitdiffstats
path: root/web/react/utils
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2016-01-22 09:10:08 -0600
committer=Corey Hulen <corey@hulen.com>2016-01-22 09:10:08 -0600
commitda1d52d546121e6c36cca9dea90c4a3bc540b0b7 (patch)
treee7397daca2d6a9a2143919b79074c2c4e0708fe1 /web/react/utils
parent5d14ab71745f85f3aa039df5b84c9f0b63846a2b (diff)
downloadchat-da1d52d546121e6c36cca9dea90c4a3bc540b0b7.tar.gz
chat-da1d52d546121e6c36cca9dea90c4a3bc540b0b7.tar.bz2
chat-da1d52d546121e6c36cca9dea90c4a3bc540b0b7.zip
PLT-7 adding lang selector
Diffstat (limited to 'web/react/utils')
-rw-r--r--web/react/utils/utils.jsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/react/utils/utils.jsx b/web/react/utils/utils.jsx
index 1b31adf69..82e9bc447 100644
--- a/web/react/utils/utils.jsx
+++ b/web/react/utils/utils.jsx
@@ -1340,3 +1340,18 @@ export function clearFileInput(elm) {
// Do nothing
}
}
+
+export function languages() {
+ return (
+ [
+ {
+ value: 'en',
+ name: 'English'
+ },
+ {
+ value: 'es',
+ name: 'EspaƱol'
+ }
+ ]
+ );
+}