summaryrefslogtreecommitdiff
path: root/web-ui/src/i18n.js
diff options
context:
space:
mode:
authorAnike Arni <anikarni@gmail.com>2017-02-08 17:45:34 -0200
committerGitHub <noreply@github.com>2017-02-08 17:45:34 -0200
commit0d4cf4ad3a5da62f65730d6c3e3665fc12d72590 (patch)
treee852ab83caeca6158ffc78e3cda100157ddb9f88 /web-ui/src/i18n.js
parenta1c384cebd80e177389ef79c2de6400db986aaa6 (diff)
parentea852b12e33b0e50ba7986c33ad68be5e38305ba (diff)
Merge pull request #965 from pixelated/backup-email-page
Adds lint, coverage and css autoprefixer
Diffstat (limited to 'web-ui/src/i18n.js')
-rw-r--r--web-ui/src/i18n.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/web-ui/src/i18n.js b/web-ui/src/i18n.js
index 9c6ad550..bbbe2dcd 100644
--- a/web-ui/src/i18n.js
+++ b/web-ui/src/i18n.js
@@ -14,15 +14,15 @@
* You should have received a copy of the GNU Affero General Public License
* along with Pixelated. If not, see <http://www.gnu.org/licenses/>.
*/
-import i18n from 'i18next'
-import i18nBackend from 'i18nextXHRBackend'
-import i18nDetector from 'i18nextBrowserLanguageDetector'
+import i18n from 'i18next';
+import i18nBackend from 'i18nextXHRBackend';
+import I18nDetector from 'i18nextBrowserLanguageDetector';
-const detector = new i18nDetector();
+const detector = new I18nDetector();
const detect = detector.detect.bind(detector);
-detector.detect = function(detectionOrder) {
- let result = detect(detectionOrder);
+detector.detect = (detectionOrder) => {
+ const result = detect(detectionOrder);
return result.replace('-', '_');
};