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.

tooltips: Rename LaTeX button to "Math (LaTeX)".

Alya Abbott72132502b9fb
diff --git a/help/latex.md b/help/latex.md
index 5ea9bc36839..c457e562e3a 100644
--- a/help/latex.md
+++ b/help/latex.md
@@ -4,7 +4,7 @@
## Insert LaTeX formatting
-Zulip's compose box has a smart **LaTeX** (<i class="zulip-icon
+Zulip's compose box has a smart **Math (LaTeX)** (<i class="zulip-icon
zulip-icon-math"></i>) button, which inserts contextually appropriate LaTeX
formatting:
@@ -22,12 +22,12 @@ formatting:
1. _(optional)_ Select the text you want to format.
-1. Click the **LaTeX** (<i class="zulip-icon zulip-icon-math"></i>) icon at the
+1. Click the **Math (LaTeX)** (<i class="zulip-icon zulip-icon-math"></i>) icon at the
bottom of the compose box to insert LaTeX formatting.
!!! tip ""
- You can also use the **LaTeX** (<i class="zulip-icon zulip-icon-math"></i>)
+ You can also use the **Math (LaTeX)** (<i class="zulip-icon zulip-icon-math"></i>)
icon to remove existing LaTeX formatting from the selected text.
{tab|via-markdown}
diff --git a/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover.hbs b/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover.hbs
index 5d4fe1a140b..3df3a501ed8 100644
--- a/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover.hbs
+++ b/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover.hbs
@@ -5,7 +5,7 @@
<a role="button" data-format-type="quote" class="compose_control_button zulip-icon zulip-icon-quote formatting_button" aria-label="{{t 'Quote' }}" {{#unless preview_mode_on}} tabindex=0 {{/unless}} data-tippy-content="{{t 'Quote' }}"></a>
<a role="button" data-format-type="spoiler" class="compose_control_button zulip-icon zulip-icon-spoiler formatting_button" aria-label="{{t 'Spoiler' }}" {{#unless preview_mode_on}} tabindex=0 {{/unless}} data-tippy-content="{{t 'Spoiler' }}"></a>
<a role="button" data-format-type="code" class="compose_control_button zulip-icon zulip-icon-code formatting_button" aria-label="{{t 'Code' }}" {{#unless preview_mode_on}} tabindex=0 {{/unless}} data-tippy-content="{{t 'Code' }}"></a>
- <a role="button" data-format-type="latex" class="compose_control_button zulip-icon zulip-icon-math formatting_button" aria-label="{{t 'LaTeX' }}" {{#unless preview_mode_on}} tabindex=0 {{/unless}} data-tippy-content="{{t 'LaTeX' }}"></a>
+ <a role="button" data-format-type="latex" class="compose_control_button zulip-icon zulip-icon-math formatting_button" aria-label="{{t 'Math (LaTeX)' }}" {{#unless preview_mode_on}} tabindex=0 {{/unless}} data-tippy-content="{{t 'Math (LaTeX)' }}"></a>
<div class="divider">|</div>
</div>
<a role="button" class="compose_control_button compose_help_button zulip-icon zulip-icon-question" tabindex=0 data-tippy-content="{{t 'Message formatting' }}" data-overlay-trigger="message-formatting"></a>