Skip to content

Commit

Permalink
Merge pull request #289 from humhub/fix/288-missing-translations
Browse files Browse the repository at this point in the history
Add missing translations
  • Loading branch information
luke- committed Jun 23, 2023
2 parents d6d5ecd + 486631f commit f78b03a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion models/CustomContentContainer.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,16 @@ public function defaultAttributeLabels()
'id' => Yii::t('CustomPagesModule.components_Container', 'ID'),
'type' => Yii::t('CustomPagesModule.components_Container', 'Type'),
'title' => Yii::t('CustomPagesModule.components_Container', 'Title'),
'page_content' => Yii::t('CustomPagesModule.components_Container', 'Page Content'),
'icon' => Yii::t('CustomPagesModule.components_Container', 'Icon'),
'cssClass' => Yii::t('CustomPagesModule.components_Container', 'Style Class'),
'content' => $this->getContentType() ? $this->getContentType()->getLabel() : null,
'iframe_attrs' => Yii::t('CustomPagesModule.components_Container', 'Additional IFrame Attributes'),
'sort_order' => Yii::t('CustomPagesModule.components_Container', 'Sort Order'),
'targetUrl' => Yii::t('CustomPagesModule.components_Container', 'Target Url'),
'templateId' => Yii::t('CustomPagesModule.components_Container', 'Template Layout'),
'admin_only' => Yii::t('CustomPagesModule.models_Page', 'Only visible for admins')
'admin_only' => Yii::t('CustomPagesModule.models_Page', 'Only visible for admins'),
'visibility' => Yii::t('CustomPagesModule.models_Page', 'Visibility')
];
}

Expand Down

0 comments on commit f78b03a

Please sign in to comment.