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

+ 1 - 1
services/web/app/coffee/Features/Errors/ErrorController.coffee

@@ -2,4 +2,4 @@ module.exports = ErrorController =
 	notFound: (req, res)->
 		res.statusCode = 404
 		res.render 'general/404',
-			title: "Page Not Found"
+			title: "page_not_found"

+ 1 - 4
services/web/app/views/project/editor.jade

@@ -28,10 +28,7 @@ block content
 				strong #{translate("reconnecting")}...
 
 			.div(ng-controller="SavingNotificationController")
-				.alert.alert-warning.small(
-					ng-repeat="(doc_id, state) in docSavingStatus"
-					ng-if="state.unsavedSeconds > 3"
-				)	#{translate("saving_notification_with_seconds", {docname:"{{ state.doc.name }}", seconds:"{{ state.unsavedSeconds }}"})}
+				.alert.alert-warning.small( ng-repeat="(doc_id, state) in docSavingStatus" ng-if="state.unsavedSeconds > 3") #{translate("saving_notification_with_seconds", {docname:"{{ state.doc.name }}", seconds:"{{ state.unsavedSeconds }}"})}
 
 		include ./editor/left-menu
 

+ 1 - 2
services/web/app/views/project/editor/chat.jade

@@ -27,8 +27,7 @@ aside.chat(
 					ng-controller="ChatMessageController"
 					ng-class="{'self': message.user.id == user.id }"
 				)
-					div.date(ng-if="$index == 0 || (message.timestamp - chat.messages[$index - 1].timestamp) > 5 * 60 * 1000")
-						{{ message.timestamp | formatDate:'h:mm a' }} {{ message.timestamp | relativeDate }}
+					div.date(ng-if="$index == 0 || (message.timestamp - chat.messages[$index - 1].timestamp) > 5 * 60 * 1000") {{ message.timestamp | formatDate:'h:mm a' }} {{ message.timestamp | relativeDate }}
 					span.avatar
 						img(ng-src="{{message.user.gravatar_url}}?d=mm&s=50")
 					div.message-wrapper

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

@@ -85,7 +85,7 @@ script(type='text/ng-template', id='cloneProjectModalTemplate')
 			ng-click="clone()"
 		)
 			span(ng-hide="state.inflight") #{translate("copy")}
-			span(ng-show="state.inflight") #{translate("coping")} ...
+			span(ng-show="state.inflight") #{translate("copying")} ...
 
 script(type='text/ng-template', id='newProjectModalTemplate')
 	.modal-header