Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enh #37: Rename "Expired at" to "Expire" #38

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading