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.

linkifiers: Make confirmation button label consistent with others.

Alya Abbottcc94f8228a7b
diff --git a/starlight_help/src/content/docs/add-a-custom-linkifier.mdx b/starlight_help/src/content/docs/add-a-custom-linkifier.mdx
index b985bf50c5a..b7f17ffe4ca 100644
--- a/starlight_help/src/content/docs/add-a-custom-linkifier.mdx
+++ b/starlight_help/src/content/docs/add-a-custom-linkifier.mdx
@@ -45,7 +45,7 @@ automatically convert to linked text.
1. Enter the **URL template** for where text matching the pattern should link.
1. *(optional)* To enable automatic conversion of pasted URLs to linked text,
fill in **Auto-convert pasted URLs matching the template to**.
- 1. Click **Add linkifier**.
+ 1. Click **Add**.
<ZulipTip>
Use the same variables in the **Pattern**, **URL template**, and
diff --git a/web/src/settings_linkifiers.ts b/web/src/settings_linkifiers.ts
index 707fd508ac5..b340c744d44 100644
--- a/web/src/settings_linkifiers.ts
+++ b/web/src/settings_linkifiers.ts
@@ -214,7 +214,7 @@ function open_linkifier_add_form(): void {
modal_title_html: $t_html({defaultMessage: "Add a new linkifier"}),
help_link: "/help/add-a-custom-linkifier",
modal_content_html,
- modal_submit_button_text: $t({defaultMessage: "Add linkifier"}),
+ modal_submit_button_text: $t({defaultMessage: "Add"}),
id: "add-linkifier-modal",
form_id: "add-linkifier-form-modal",
on_click() {