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.

templates: Fix untranslatable translation directives.

Anders Kaseorgbd9dc3d639c3
diff --git a/web/templates/creator_details.hbs b/web/templates/creator_details.hbs
index e9db7783c33..2c962550688 100644
--- a/web/templates/creator_details.hbs
+++ b/web/templates/creator_details.hbs
@@ -33,7 +33,5 @@
{{/tr}}
{{/unless}}
{{#unless (eq group_id undefined)}}
-{{# tr}}
- {{#if group}}{{#unless group.is_system_group}} {{/unless}}{{else}} {{/if}}Group ID: {group_id}.
-{{/tr}}
+ {{#if group}}{{#unless group.is_system_group}} {{/unless}}{{else}} {{/if}}{{#tr}}Group ID: {group_id}.{{/tr}}
{{/unless}}
diff --git a/web/templates/popovers/user_card/user_card_popover_custom_fields.hbs b/web/templates/popovers/user_card/user_card_popover_custom_fields.hbs
index 8a12e08feb1..1eaad6676f1 100644
--- a/web/templates/popovers/user_card/user_card_popover_custom_fields.hbs
+++ b/web/templates/popovers/user_card/user_card_popover_custom_fields.hbs
@@ -36,7 +36,7 @@
<li role="none" class="popover-menu-list-item link-item custom_user_field" data-type="{{this.type}}" data-field-id="{{this.id}}">
<div class="popover-menu-link view_full_user_profile" tabindex="0">
<i class="popover-menu-icon zulip-icon zulip-icon-id-card" aria-hidden="true"></i>
- <span class="popover-menu-label">{{t this.name }}</span>
+ <span class="popover-menu-label">{{this.name}}</span>
<span role="menuitem" tabindex="0" class="copy-button copy-custom-profile-field-long-text" aria-label="{{t 'Copy'}}" data-tippy-content="{{t 'Copy'}}" data-clipboard-text="{{this.value}}">
<i class="zulip-icon zulip-icon-copy" aria-hidden="true"></i>
</span>