From 0484b736734ebffaabfb236a8d4e9d92bfd0a0ee Mon Sep 17 00:00:00 2001 From: SDE Date: Tue, 19 Dec 2023 00:32:15 +0300 Subject: [PATCH] 0.4.21 translates video links --- GeneralApp/translation.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/GeneralApp/translation.py b/GeneralApp/translation.py index e61a550..7824d8d 100644 --- a/GeneralApp/translation.py +++ b/GeneralApp/translation.py @@ -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)