templates: Add missing translation tags.

Several of these were found via an audit by Tim Abbott.
This commit is contained in:
Kislay 2024-03-26 01:56:11 +05:30 committed by GitHub
parent 7bd893915d
commit de8d664830
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View File

@ -1 +1 @@
<a class="view-all-subscribers-link" href="{{stream_edit_hash}}">View all subscribers</a> <a class="view-all-subscribers-link" href="{{stream_edit_hash}}">{{t "View all subscribers" }}</a>

View File

@ -1 +1 @@
<a class="view-all-users-link" href="#organization/user-list-admin">View all users</a> <a class="view-all-users-link" href="#organization/user-list-admin">{{t "View all users" }}</a>

View File

@ -37,7 +37,7 @@
{{/each}} {{/each}}
</div> </div>
<div id="other-drafts"> <div id="other-drafts">
<h2 id="other-drafts-header">Other drafts</h2> <h2 id="other-drafts-header">{{t "Other drafts" }}</h2>
{{#each other_drafts}} {{#each other_drafts}}
{{> draft}} {{> draft}}
{{/each}} {{/each}}

View File

@ -1,6 +1,6 @@
<div class="spectator_login_for_image_button"> <div class="spectator_login_for_image_button">
<a class="login_button color_animated_button" href="/login/"> <a class="login_button color_animated_button" href="/login/">
<i class='zulip-icon zulip-icon-log-in'></i> <i class='zulip-icon zulip-icon-log-in'></i>
<span>Log in to view image</span> <span>{{t "Log in to view image" }}</span>
</a> </a>
</div> </div>

View File

@ -60,7 +60,7 @@
{{/each}} {{/each}}
</div> </div>
<div class="input-group"> <div class="input-group">
<label for="bot_avatar_file_input">Avatar</label> <label for="bot_avatar_file_input">{{t "Avatar" }}</label>
<div id="bot_avatar_file"></div> <div id="bot_avatar_file"></div>
<input type="file" name="bot_avatar_file_input" class="notvisible" id="bot_avatar_file_input" value="{{t 'Upload avatar' }}" /> <input type="file" name="bot_avatar_file_input" class="notvisible" id="bot_avatar_file_input" value="{{t 'Upload avatar' }}" />
<div id="add_bot_preview_text"> <div id="add_bot_preview_text">

View File

@ -14,7 +14,7 @@
{{#if author}} {{#if author}}
<span class="emoji_author">{{author.full_name}}</span> <span class="emoji_author">{{author.full_name}}</span>
{{else}} {{else}}
<span class="emoji_author">Unknown author</span> <span class="emoji_author">{{t "Unknown author" }}</span>
{{/if}} {{/if}}
</td> </td>
<td> <td>

View File

@ -29,7 +29,7 @@
<div id="service_data"> <div id="service_data">
</div> </div>
<div class="input-group edit-avatar-section"> <div class="input-group edit-avatar-section">
<label>Avatar</label> <label>{{t "Avatar" }}</label>
{{!-- Shows the current avatar --}} {{!-- Shows the current avatar --}}
<img src="{{bot_avatar_url}}" id="current_bot_avatar_image" /> <img src="{{bot_avatar_url}}" id="current_bot_avatar_image" />
<input type="file" name="bot_avatar_file_input" class="notvisible edit_bot_avatar_file_input" value="{{t 'Upload profile picture' }}" /> <input type="file" name="bot_avatar_file_input" class="notvisible edit_bot_avatar_file_input" value="{{t 'Upload profile picture' }}" />