From 1368bbc5e72c10134bd923486d81f16899cffbca Mon Sep 17 00:00:00 2001
From: Ahmad Farhat <ahmad.af.farhat@gmail.com>
Date: Wed, 17 Mar 2021 17:47:55 -0400
Subject: [PATCH] GRN2-xx: Small improvements to moderator access code (#2582)

* Fixed default value for moderator access

* Reword
---
 app/models/setting.rb | 2 +-
 config/locales/en.yml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/models/setting.rb b/app/models/setting.rb
index 27cff084..69ec3995 100644
--- a/app/models/setting.rb
+++ b/app/models/setting.rb
@@ -66,7 +66,7 @@ class Setting < ApplicationRecord
       Rails.configuration.shared_access_default
     when "Preupload Presentation"
       Rails.configuration.preupload_presentation_default
-    when "Moderator Access Codes"
+    when "Room Configuration Moderator Access Codes"
       Rails.configuration.moderator_codes_default
     when "Room Configuration Mute On Join"
       room_config_setting("mute-on-join")
diff --git a/config/locales/en.yml b/config/locales/en.yml
index c06948d8..c84e8591 100755
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -177,7 +177,7 @@ en:
         info: Allows room owners to specify whether they want the option to record a room or not. If enabled, the moderator must still click the "Record" button once the meeting has started.
       moderator_codes:
         info: Allows room owners to optionally generate a moderator pin which allows other users to join directly as moderators.
-        title: Enables the generation of moderator codes
+        title: Moderator Access Code
       options:
         disabled: Disabled
         enabled: Always Enabled
-- 
GitLab