Skip to content

Commit

Permalink
Add missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Jun 23, 2023
1 parent d6d5ecd commit 486631f
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 486631f

Please sign in to comment.