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}}
</div>
<div id="other-drafts">
<h2 id="other-drafts-header">Other drafts</h2>
<h2 id="other-drafts-header">{{t "Other drafts" }}</h2>
{{#each other_drafts}}
{{> draft}}
{{/each}}

View File

@ -1,6 +1,6 @@
<div class="spectator_login_for_image_button">
<a class="login_button color_animated_button" href="/login/">
<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>
</div>

View File

@ -60,7 +60,7 @@
{{/each}}
</div>
<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>
<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">

View File

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

View File

@ -29,7 +29,7 @@
<div id="service_data">
</div>
<div class="input-group edit-avatar-section">
<label>Avatar</label>
<label>{{t "Avatar" }}</label>
{{!-- Shows the current avatar --}}
<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' }}" />