Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

default_language: Mark popup text for translation.

Aman Agrawal1152e0ffef07
diff --git a/static/templates/default_language_modal.hbs b/static/templates/default_language_modal.hbs
index 0c663140ace..201013b261b 100644
--- a/static/templates/default_language_modal.hbs
+++ b/static/templates/default_language_modal.hbs
@@ -6,14 +6,13 @@
</div>
<div class="modal-body">
<p>
- The following is a few of the languages we have started to
- support or are hoping to support in the near future. We would
- love help translating; if you're interested in helping, make an
- account at <a href='https://www.transifex.com/zulip/zulip/'>
- https://www.transifex.com/zulip/zulip/</a>, and sign up for a
- language! You can also request any language we don't currently
- have. It only takes a few hours to translate the most important
- parts of the app.
+ {{#tr}}
+ The following is a few of the languages we have started to
+ support or are hoping to support in the near future. We would
+ love help translating; if you're interested in helping, follow
+ <z-link>the guidelines</z-link>. You can also request any language we don't currently have.
+ {{#*inline "z-link"}}<a target="_blank" href="{{guidelines_link}}">{{> @partial-block}}</a>{{/inline}}
+ {{/tr}}
</p>
<div>
<table>
diff --git a/static/templates/settings/display_settings.hbs b/static/templates/settings/display_settings.hbs
index 0a90eea5397..af653fbda03 100644
--- a/static/templates/settings/display_settings.hbs
+++ b/static/templates/settings/display_settings.hbs
@@ -14,7 +14,7 @@
</button>
</div>
- {{> ../default_language_modal}}
+ {{> ../default_language_modal guidelines_link="https://zulip.readthedocs.io/en/latest/translating/translating.html"}}
</div>
<div id="user-display-settings">