silverstripe-framework/tests/model/TranslatableTest.yml

43 lines
946 B
YAML
Raw Normal View History

Page:
homepage_en:
Title: Home
URLSegment: home
Lang: en
testpage_en:
Title: Home
MenuTitle: A Testpage
URLSegment: testpage
Lang: en
othertestpage_en:
Title: Other Testpage
MenuTitle: A Testpage
URLSegment: othertestpage
Lang: en
parent:
Title: Parent
URLSegment: parent
child1:
Title: Child 1
URLSegment: child1
Parent: =>Page.parent
child2:
Title: Child 2
URLSegment: child2
Parent: =>Page.parent
child3:
Title: Child 3
URLSegment: child3
Parent: =>Page.parent
grandchild:
Title: Grandchild
URLSegment: grandchild
Parent: =>Page.child1
TranslatableTest_DataObject:
testobject_en:
TranslatableProperty: En
TranslatableDecoratedProperty: En
TranslatableTest_Page:
testpage_en:
Title: En
TranslatableProperty: En
URLSegment: testpage-en