Skip to content
Snippets Groups Projects
Commit b983d27c authored by aydreeihn's avatar aydreeihn
Browse files

Merge remote-tracking branch 'kevin/issue/user-login-translation' into features_prs/develop-next

parents cee153dc be06d546
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@ class Page extends VerySimpleModel {
return $this->name;
}
function getLocalName($lang=false) {
return $this->getLocal('name', $lang);
return $this->_getLocal('name', $lang);
}
function getNameAsSlug() {
return urlencode(Format::slugify($this->name));
......
......@@ -8,7 +8,7 @@ $content = Page::lookupByType('banner-client');
if ($content) {
list($title, $body) = $ost->replaceTemplateVariables(
array($content->getName(), $content->getBody()));
array($content->getLocalName(), $content->getLocalBody()));
} else {
$title = __('Sign In');
$body = __('To better serve you, we encourage our clients to register for an account and verify the email address we have on record.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment