mirror of
https://github.com/silverstripe/silverstripe-widgets
synced 2024-10-22 17:05:54 +02:00
Merge pull request #146 from rasstislav/patch-1
added missing _t() function
This commit is contained in:
commit
4c87ff3896
@ -26,7 +26,7 @@ class WidgetPageExtension extends DataExtension
|
|||||||
{
|
{
|
||||||
$fields->addFieldToTab(
|
$fields->addFieldToTab(
|
||||||
"Root.Widgets",
|
"Root.Widgets",
|
||||||
new CheckboxField("InheritSideBar", 'Inherit Sidebar From Parent')
|
new CheckboxField("InheritSideBar", _t('WidgetPageExtension.INHERITSIDEBAR', 'Inherit Sidebar From Parent'))
|
||||||
);
|
);
|
||||||
$fields->addFieldToTab(
|
$fields->addFieldToTab(
|
||||||
"Root.Widgets",
|
"Root.Widgets",
|
||||||
|
@ -15,3 +15,5 @@ en:
|
|||||||
CLICKTOADDWIDGET: 'Click to add this widget'
|
CLICKTOADDWIDGET: 'Click to add this widget'
|
||||||
WidgetEditor_ss:
|
WidgetEditor_ss:
|
||||||
DELETE: Delete
|
DELETE: Delete
|
||||||
|
WidgetPageExtension:
|
||||||
|
INHERITSIDEBAR: 'Inherit Sidebar From Parent'
|
||||||
|
Loading…
Reference in New Issue
Block a user