From: demeritcowboy Date: Fri, 18 Nov 2022 22:35:06 +0000 (-0500) Subject: fix missing dot and translation X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=31d19bd8b1b8a58499ac3ed9dff2aeb7a85a8e72;p=civicrm-core.git fix missing dot and translation --- diff --git a/templates/CRM/common/CMSUser.tpl b/templates/CRM/common/CMSUser.tpl index 6ba9861666..de6f24407c 100644 --- a/templates/CRM/common/CMSUser.tpl +++ b/templates/CRM/common/CMSUser.tpl @@ -12,7 +12,11 @@ {ts}Account{/ts}
{if !$isCMS} - {ts}If you would like to create an account on this site, check the box below and enter a Username{/ts}{if !empty($form.cms_pass)} {ts}and a password{/ts}.{/if} + {if array_key_exists('cms_pass', $form)} + {ts}If you would like to create an account on this site, check the box below and enter a Username and Password.{/ts} + {else} + {ts}If you would like to create an account on this site, check the box below and enter a Username.{/ts} + {/if} {else} {ts}Please enter a Username to create an account.{/ts} {/if}