From b2cfe27a053946d880342f0ebb8d407c92d59e55 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Tue, 25 Apr 2017 14:14:11 +0000 Subject: [PATCH] Added Google Translate dropdown to the 'Options' pane. --- Gruntfile.js | 5 +++++ src/web/html/index.html | 1 + src/web/static/gt.html | 13 +++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 src/web/static/gt.html diff --git a/Gruntfile.js b/Gruntfile.js index 1d357613..cf0cffd9 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -305,6 +305,11 @@ module.exports = function (grunt) { // Add Google Analytics code to index.html content = content.replace("", grunt.file.read("src/web/static/ga.html") + ""); + + // Add Google Translate code to index.html + content = content.replace("", + grunt.file.read("src/web/static/gt.html")); + return grunt.template.process(content); } }, diff --git a/src/web/html/index.html b/src/web/html/index.html index 35877e45..3411a9a1 100755 --- a/src/web/html/index.html +++ b/src/web/html/index.html @@ -233,6 +233,7 @@ +