Skip to content

Commit

Permalink
Merge pull request #38 from humhub-contrib/enh/37-rename-expired-at-t…
Browse files Browse the repository at this point in the history
…o-expire

Enh #37: Rename "Expired at" to "Expire"
  • Loading branch information
luke- authored Oct 28, 2024
2 parents d14d85a + 91cbaf2 commit 436ccc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
----------------------
Expand Down
4 changes: 2 additions & 2 deletions models/EditForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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'),
Expand Down

0 comments on commit 436ccc1

Please sign in to comment.