Skip to content

Commit

Permalink
Merge pull request #24625 from demeritcowboy/uilang-availlang
Browse files Browse the repository at this point in the history
[NFC] Add comment about uiLanguages vs languageLimit to avoid confusion
  • Loading branch information
eileenmcnaughton authored Sep 27, 2022
2 parents 30479e1 + 2938a57 commit 4e43297
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/CRM/Admin/Form/Setting/Localization.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
<span class="description">{$settings_fields.inheritLocale.description}</span>
</td>
</tr>
{* This isn't a typo. languageLimit is a similar field but is for multilingual, and only gets assigned when multilingual is enabled, so the if-block is for display logic so that only one of them appears. *}
{if !array_key_exists('languageLimit', $form)}
<tr class="crm-localization-form-block-uiLanguages">
<td class="label">{$form.uiLanguages.label}</td>
Expand Down

0 comments on commit 4e43297

Please sign in to comment.