Explorar el Código

Merge pull request #566 from sharelatex/ja-fix-translations

Fix translation string interpolation
James Allen hace 8 años
padre
commit
96c22e5df7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      services/web/app/views/contact-us-modal.pug

+ 1 - 1
services/web/app/views/contact-us-modal.pug

@@ -22,7 +22,7 @@ script(type='text/ng-template', id='supportModalTemplate')
 						tabindex='1',
 						onkeyup='')
 				.contact-suggestions(ng-show="suggestions.length")
-					p.contact-suggestion-label !{translate("kb_suggestions_enquiry", { kbLink: "<a href='learn/kb' target='_blank'>__kb__</a>", kb: translate("knowledge_base") })} 
+					p.contact-suggestion-label !{translate("kb_suggestions_enquiry", { kbLink: "<a href='learn/kb' target='_blank'>" + translate("knowledge_base") + "</a>" })} 
 					ul.contact-suggestion-list
 						li(ng-repeat="suggestion in suggestions")
 							a.contact-suggestion-list-item(ng-href="{{ suggestion.url }}", ng-click="clickSuggestionLink(suggestion.url);" target="_blank")