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.

settings: Rename organization GIF picker setting and "disabled" option.

Alya Abbottda64b70f2f1a
diff --git a/web/templates/settings/organization_settings_admin.hbs b/web/templates/settings/organization_settings_admin.hbs
index 35b661ee2e4..626559e09e4 100644
--- a/web/templates/settings/organization_settings_admin.hbs
+++ b/web/templates/settings/organization_settings_admin.hbs
@@ -234,7 +234,7 @@
</div>
<div class="input-group">
<label for="id_realm_gif_rating_policy" class="settings-field-label">
- {{t 'GIF integration' }}
+ {{t 'GIF picker' }}
{{> ../help_link_widget link=gif_help_link }}
</label>
<select name="realm_gif_rating_policy" class ="setting-widget prop-element settings_select bootstrap-focus-style" id="id_realm_gif_rating_policy" data-setting-widget-type="number" {{#if gif_api_key_empty}}disabled{{/if}}>
diff --git a/zerver/models/realms.py b/zerver/models/realms.py
index 87eadcfbb86..38b4ecc5adf 100644
--- a/zerver/models/realms.py
+++ b/zerver/models/realms.py
@@ -688,7 +688,7 @@ class Realm(models.Model):
# Please access this via get_gif_rating_policy_options.
GIF_RATING_POLICY_OPTIONS = {
"disabled": {
- "name": gettext_lazy("GIF integration disabled"),
+ "name": gettext_lazy("Disabled"),
"id": 0,
},
# Source: