Просмотр исходного кода

use github translate-sharelatex module

Henry Oswald 12 лет назад
Родитель
Сommit
c718535068

+ 1 - 1
services/web/app/coffee/infrastructure/Server.coffee

@@ -15,7 +15,7 @@ sessionStore = new RedisStore(host:Settings.redis.web.host, port:Settings.redis.
 cookieParser = express.cookieParser(Settings.security.sessionSecret)
 oneDayInMilliseconds = 86400000
 ReferalConnect = require('../Features/Referal/ReferalConnect')
-translations = require "translations"
+translations = require "translations-sharelatex"
 
 Monitor = require "./Monitor"
 

+ 1 - 1
services/web/app/views/project/list.jade

@@ -87,7 +87,7 @@ block content
 									a.normalText.menu-indent(href="/templates/thesis") Thesis
 								li
 									a.normalText.menu-indent(href="/templates/bibliographies") Bibliographies
-						h1  #{translate("projects")} translate
+						h1  #{translate("projects")}
 			- if (projects.length > 0)
 				.row-fluid			
 					.span9

+ 1 - 1
services/web/package.json

@@ -28,7 +28,7 @@
     "mixpanel": "0.0.18",
     "settings-sharelatex": "git+https://github.com/sharelatex/settings-sharelatex.git#master",
     "logger-sharelatex": "git+https://github.com/sharelatex/logger-sharelatex.git#master",
-    "translations-sharelatex": "git+https://henryoswald@bitbucket.org/henryoswald/translations-sharelatex.git#master",
+    "translations-sharelatex": "git+https://github.com/sharelatex/translations-sharelatex.git#master",
     "soa-req-id": "git+https://github.com/sharelatex/soa-req-id.git#master",
     "fairy": "0.0.2",
     "node-uuid": "1.4.0",