mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '5.0' into 5
This commit is contained in:
commit
8cee451d41
@ -1,6 +1,4 @@
|
||||
en:
|
||||
DataObject:
|
||||
php.SilverStripe\ORM\DataObjectGENERALSEARCH: 'General Search'
|
||||
SilverStripe\AssetAdmin\Forms\UploadField:
|
||||
Dimensions: Dimensions
|
||||
EDIT: Edit
|
||||
|
@ -370,6 +370,3 @@ eo:
|
||||
PASSWORDRESETSENTTEXT: 'Dankon. Reagorda ligilo sendiĝis, kondiĉe ke konto ekzistas por ĉi tiu retadreso.'
|
||||
SilverStripe\View\Shortcodes\EmbedShortcodeProvider:
|
||||
INVALID_URL: 'Okazis problemo ŝargi la aŭdvidaĵon.'
|
||||
DataObject:
|
||||
php:
|
||||
SilverStripe\ORM\DataObjectGENERALSEARCH: 'Ĝenerala serĉo'
|
||||
|
@ -370,6 +370,3 @@ nl:
|
||||
PASSWORDRESETSENTTEXT: 'Bedankt! Er is een e-mail verstuurd om je wachtwoord opnieuw in te stellen - mits het e-mailadres reeds bekend is bij ons.'
|
||||
SilverStripe\View\Shortcodes\EmbedShortcodeProvider:
|
||||
INVALID_URL: 'Het inladen van de media-bestanden is mislukt.'
|
||||
DataObject:
|
||||
php:
|
||||
SilverStripe\ORM\DataObjectGENERALSEARCH: 'Alles doorzoeken'
|
||||
|
@ -2433,7 +2433,7 @@ class DataObject extends ViewableData implements DataObjectInterface, i18nEntity
|
||||
if ($fields->fieldByName($generalSearch) || $fields->dataFieldByName($generalSearch)) {
|
||||
throw new LogicException('General search field name must be unique.');
|
||||
}
|
||||
$fields->unshift(HiddenField::create($generalSearch, _t(self::class . 'GENERALSEARCH', 'General Search')));
|
||||
$fields->unshift(HiddenField::create($generalSearch, _t(self::class . '.GENERALSEARCH', 'General Search')));
|
||||
}
|
||||
|
||||
return $fields;
|
||||
|
@ -774,7 +774,7 @@ class Member extends DataObject
|
||||
if ((Director::isLive() || Injector::inst()->get(MailerInterface::class) instanceof TestMailer)
|
||||
&& $this->isChanged('Password')
|
||||
&& $this->record['Password']
|
||||
&& $this->Email
|
||||
&& Email::is_valid_address($this->Email ?? '')
|
||||
&& static::config()->get('notify_password_change')
|
||||
&& $this->isInDB()
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user