Ugly hack to automatically update translations.

This commit is contained in:
Jakob Borg
2014-07-28 15:14:02 +02:00
parent 7148cf99f7
commit 6805ac915b
10 changed files with 133 additions and 39 deletions

View File

@@ -9,7 +9,7 @@
var syncthing = angular.module('syncthing', ['pascalprecht.translate']);
var urlbase = 'rest';
var validLangs = ['de', 'en', 'es', 'fr', 'pt', 'sv'];
var validLangs = ["de","es","fr","pt","sv"];
syncthing.config(function ($httpProvider, $translateProvider) {
$httpProvider.defaults.xsrfHeaderName = 'X-CSRF-Token';