0.0.2 init, blocks prepare
This commit is contained in:
@@ -10,11 +10,19 @@ translator.register(StaticPage, StaticPage_TranslationOptions)
|
||||
|
||||
class Block_TranslationOptions(TranslationOptions):
|
||||
fields = (
|
||||
'name', 'description', 'text', 'title', 'FAQ_title'
|
||||
'name', 'description', 'text', 'title', 'FAQ_title', 'but_title'
|
||||
)
|
||||
translator.register(Block, Block_TranslationOptions)
|
||||
|
||||
|
||||
|
||||
class WidgetForBlock_TranslationOptions(TranslationOptions):
|
||||
fields = (
|
||||
'name', 'description', 'title', 'but_title'
|
||||
)
|
||||
translator.register(WidgetForBlock, WidgetForBlock_TranslationOptions)
|
||||
|
||||
|
||||
class FAQitem_TranslationOptions(TranslationOptions):
|
||||
fields = (
|
||||
'name', 'question', 'answer'
|
||||
|
||||
Reference in New Issue
Block a user