diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 8b28bf3..c68c281 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -5,6 +5,7 @@ Changelog ---------------------- - Enh #35: Use PHP CS Fixer - Enh #36: Reduce translation message categories +- Enh #37: Rename "Expired at" to "Expire" 1.0.10 (June 19, 2024) ---------------------- diff --git a/models/EditForm.php b/models/EditForm.php index 90048eb..1dafb0e 100644 --- a/models/EditForm.php +++ b/models/EditForm.php @@ -4,9 +4,9 @@ use DateTime; use DateTimeZone; +use humhub\libs\DbDateValidator; use humhub\modules\breakingnews\Module; use humhub\modules\content\widgets\richtext\RichText; -use humhub\libs\DbDateValidator; use Yii; use yii\base\Model; @@ -76,7 +76,7 @@ public function attributeLabels() { return [ 'active' => Yii::t('BreakingnewsModule.base', 'Active'), - 'expiresAt' => Yii::t('BreakingnewsModule.base', 'Expired at'), + 'expiresAt' => Yii::t('BreakingnewsModule.base', 'Expire'), 'activeGroups' => Yii::t('BreakingnewsModule.base', 'Groups whose members will see this breaking news'), 'title' => Yii::t('BreakingnewsModule.base', 'Title'), 'message' => Yii::t('BreakingnewsModule.base', 'Message'),