Ver código fonte

fixed misconfig translate string

Henry Oswald 12 anos atrás
pai
commit
c51c0c1cf2

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

@@ -76,7 +76,7 @@ div.full-size.pdf(ng-controller="PdfController")
 	.pdf-uncompiled(ng-show="pdf.uncompiled && !pdf.compiling")
 		|  
 		i.fa.fa-level-up.fa-flip-horizontal.fa-2x
-		|   #{translate("click_here_to_preview_pdf")}
+		|   #{translate('click_here_to_preview_pdf')}
 
 	.pdf-errors(ng-show="pdf.timedout || pdf.error")
 		.alert.alert-danger(ng-show="pdf.error")
@@ -118,7 +118,7 @@ div.full-size.pdf(ng-controller="PdfController")
 			.pull-right
 				a.btn.btn-default.btn-sm(
 					href,
-					tooltip="#{translate("clear_cached_files")}",
+					tooltip="#{translate('clear_cached_files')}",
 					tooltip-placement="top",
 					tooltip-append-to-body="true",
 					ng-click="openClearCacheModal()"

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

@@ -41,7 +41,7 @@
 					a.btn.btn-default.dropdown-toggle(
 						href="#",
 						data-toggle="dropdown",
-						tooltip="#{translate("add_to_folders")}",
+						tooltip="#{translate('add_to_folders')}",
 						tooltip-append-to-body="true",
 						tooltip-placement="bottom"
 					)