[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [community/slideshow] Add localization fields in model and flowblock



commit 5ae6511eae1872ce598143b0f676bab081130bb2
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date:   Wed Mar 24 13:49:04 2021 +0100

    Add localization fields in model and flowblock
---
 flowblocks/slide.ini | 3 +++
 models/slideshow.ini | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/flowblocks/slide.ini b/flowblocks/slide.ini
index 23cf3fb..06d1075 100644
--- a/flowblocks/slide.ini
+++ b/flowblocks/slide.ini
@@ -15,14 +15,17 @@ translate = True
 label = Image
 type = select
 source = record.attachments.images
+translate = False
 
 [fields.background]
 label = Background color
 type = string
+translate = False
 
 [fields.layout]
 label = Slide layout
 type = string
+translate = False
 
 [fields.background-image]
 label = Background image
diff --git a/models/slideshow.ini b/models/slideshow.ini
index 7d0116a..3f2062f 100644
--- a/models/slideshow.ini
+++ b/models/slideshow.ini
@@ -15,6 +15,7 @@ translate = True
 [fields.author]
 label = Author
 type = string
+translate = False
 
 [fields.subtitle]
 label = Subtitle
@@ -25,16 +26,18 @@ translate = True
 label = Slides
 type = flow
 flow_blocks = slide
-translate = False
 
 [fields.color]
 label = Color
 type = string
+translate = False
 
 [fields.image]
 label = image
 type = string
+translate = False
 
 [fields.background]
 label = background
 type = string
+translate = False

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits