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

Fix translation string interpolation
This commit is contained in:
James Allen 2018-05-17 11:55:10 +01:00 committed by GitHub
commit 96c22e5df7

View file

@ -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")