silverstripe-framework/tests/model/TranslatableTest.yml
Ingo Schommer 0faf03ee4e API CHANGE Requiring TRANSLATE_ALL or TRANSLATE_<locale> permission for authors without administrative access to edit translations
ENHANCEMENT Added Translatable->providePermissions()

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@88123 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-10-05 10:33:36 +00:00

82 lines
1.9 KiB
YAML

Page:
homepage_en:
Title: Home
URLSegment: home
Locale: en_US
testpage_en:
Title: Home
MenuTitle: A Testpage
URLSegment: testpage
Locale: en_US
othertestpage_en:
Title: Other Testpage
MenuTitle: A Testpage
URLSegment: othertestpage
Locale: en_US
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
grandchild1:
Title: Grandchild
URLSegment: grandchild1
Parent: =>Page.child1
grandchild2:
Title: Grandchild
URLSegment: grandchild2
Parent: =>Page.child1
TranslatableTest_DataObject:
testobject_en:
TranslatableProperty: en_US
TranslatableDecoratedProperty: en_US
TranslatableTest_Page:
testpage_en:
Title: En
TranslatableProperty: en_US
URLSegment: testpage-en
Group:
cmseditorgroup:
Code: cmseditorgroup
admingroup:
Code: admingroup
germantranslators:
Code: germantranslators
Member:
cmseditor:
FirstName: Editor
Groups: =>Group.cmseditorgroup
websiteuser:
FirstName: Website User
admin:
FirstName: Admin
Groups: =>Group.admingroup
germantranslator:
FirstName: German
Groups: =>Group.germantranslators
Permission:
admincode:
Code: ADMIN
Group: =>Group.admingroup
cmsmaincode:
Code: CMS_ACCESS_CMSMain
Group: =>Group.cmseditorgroup
translateAllCode:
Code: TRANSLATE_ALL
Group: =>Group.cmseditorgroup
cmsmaincode2:
Code: CMS_ACCESS_CMSMain
Group: =>Group.germantranslators
translateDeCode2:
Code: TRANSLATE_de_DE
Group: =>Group.germantranslators