i18n: Use double lowdash instead of handlebars.

We do not allow handlebars within {{#tr}}{{/tr}}.
This commit is contained in:
Umair Khan
2017-06-30 10:51:15 +05:00
committed by showell
parent 6cf4c65d92
commit 4f33a650af
2 changed files with 2 additions and 1 deletions

View File

@@ -90,6 +90,7 @@ function _setup_page() {
zuliprc: 'zuliprc',
flaskbotrc: 'flaskbotrc',
timezones: moment.tz.names(),
server_uri: page_params.server_uri,
});
$(".settings-box").html(settings_tab);

View File

@@ -3,7 +3,7 @@
<p class="bot-settings-note padded-container">
{{#tr this}}
Looking for our <a href="/integrations" target="_blank">Integrations</a>
or <a href="{{ server_uri }}/api" target="_blank">API</a> documentation?
or <a href="__server_uri__/api" target="_blank">API</a> documentation?
{{/tr}}
</p>