0.4.21 translates video links
This commit is contained in:
@@ -26,7 +26,8 @@ translator.register(Contact, Contact_TranslationOptions)
|
||||
|
||||
class Block_TranslationOptions(TranslationOptions):
|
||||
fields = (
|
||||
'name', 'description', 'text', 'title', 'FAQ_title', 'but_title'
|
||||
'name', 'description', 'text', 'title', 'FAQ_title', 'but_title',
|
||||
'video_url', 'bg_video_url'
|
||||
)
|
||||
translator.register(Block, Block_TranslationOptions)
|
||||
|
||||
@@ -40,7 +41,8 @@ translator.register(Option, Option_TranslationOptions)
|
||||
|
||||
class WidgetForBlock_TranslationOptions(TranslationOptions):
|
||||
fields = (
|
||||
'name', 'description', 'title', 'but_title', 'text'
|
||||
'name', 'description', 'title', 'but_title', 'text',
|
||||
'video_url',
|
||||
)
|
||||
translator.register(WidgetForBlock, WidgetForBlock_TranslationOptions)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user