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

[tor-commits] [donate-static/master] make fields translatable. part of https://gitlab.torproject.org/tpo/web/donate-static/-/issues/31



commit ab487e050834148fae8446abc807fde63356d6bd
Author: emma peel <emma.peel@xxxxxxxxxx>
Date:   Mon Jul 12 21:04:36 2021 +0200

    make fields translatable. part of https://gitlab.torproject.org/tpo/web/donate-static/-/issues/31
---
 models/donate-form.ini | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/models/donate-form.ini b/models/donate-form.ini
index 6f4fb642..c6797192 100644
--- a/models/donate-form.ini
+++ b/models/donate-form.ini
@@ -35,6 +35,7 @@ translate = False
 [fields.body]
 label = Body
 type = markdown
+translate = True
 
 [fields.header_image]
 label = Header Image (centered)
@@ -47,6 +48,7 @@ type = string
 [fields.header_tag_line]
 label = Header Tag Line
 type = string
+translate = True
 
 [fields.header_tag_link]
 label = Header Tag Link
@@ -112,6 +114,7 @@ type = string
 [fields.sticker_perk_single_label]
 label = Sticker Perk Label (Single)
 type = string
+translate = True
 
 [fields.sticker_perk_single_image]
 label = Sticker Perk Image (Single)
@@ -120,10 +123,12 @@ type = string
 [fields.sticker_perk_single_description]
 label = Sticker Perk Description (Single)
 type = string
+translate = True
 
 [fields.sticker_perk_montly_label]
 label = Sticker Perk Label (Monthly)
 type = string
+translate = True
 
 [fields.sticker_perk_monthly_image]
 label = Sticker Perk Image (Monthly)
@@ -132,10 +137,12 @@ type = string
 [fields.sticker_perk_monthly_description]
 label = Sticker Perk Description (Monthly)
 type = string
+translate = True
 
 [fields.tshirt_perk_single_label]
 label = T-Shirt Perk Label (Single)
 type = string
+translate = True
 
 [fields.tshirt_perk_single_image]
 label = T-Shirt Perk Image (Single)
@@ -144,10 +151,12 @@ type = string
 [fields.tshirt_perk_single_description]
 label = T-Shirt Perk Description (Single)
 type = string
+translate = True
 
 [fields.tshirt_perk_monthly_label]
 label = T-Shirt Perk Label (Monthly)
 type = string
+translate = True
 
 [fields.tshirt_perk_monthly_image]
 label = T-Shirt Perk Image (Monthly)
@@ -156,10 +165,12 @@ type = string
 [fields.tshirt_perk_monthly_description]
 label = T-Shirt Perk Description (Monthly)
 type = string
+translate = True
 
 [fields.tshirt_pack_perk_single_label]
 label = T-Shirt Pack Perk Label (Single)
 type = string
+translate = True
 
 [fields.tshirt_pack_perk_single_image]
 label = T-Shirt Pack Perk Image (Single)
@@ -168,10 +179,12 @@ type = string
 [fields.tshirt_pack_perk_single_description]
 label = T-Shirt Pack Perk Description (Single)
 type = string
+translate = True
 
 [fields.tshirt_pack_perk_monthly_label]
 label = T-Shirt Pack Perk Label (Monthly)
 type = string
+translate = True
 
 [fields.tshirt_pack_perk_monthly_image]
 label = T-Shirt Pack Perk Image (Monthly)
@@ -180,10 +193,12 @@ type = string
 [fields.tshirt_pack_perk_monthly_description]
 label = T-Shirt Pack Perk Description (Monthly)
 type = string
+translate = True
 
 [fields.sweatshirt_perk_single_label]
 label = Sweatshirt Perk Label (Single)
 type = string
+translate = True
 
 [fields.sweatshirt_perk_single_image]
 label = Sweatshirt Pack Perk Image (Single)
@@ -192,10 +207,12 @@ type = string
 [fields.sweatshirt_perk_single_description]
 label = Sweatshirt Perk Description (Single)
 type = string
+translate = True
 
 [fields.sweatshirt_perk_monthly_label]
 label = Sweatshirt Perk Label (Monthly)
 type = string
+translate = True
 
 [fields.sweatshirt_perk_monthly_image]
 label = Sweatshirt Pack Perk Image (Monthly)
@@ -204,14 +221,17 @@ type = string
 [fields.sweatshirt_perk_monthly_description]
 label = Sweatshirt Perk Description (Monthly)
 type = string
+translate = True
 
 [fields.tshirt_perk_options_label]
 label = T-Shirt Perk Options Label
 type = string
+translate = True
 
 [fields.tshirt_pack_second_shirt_options_label]
 label = T-Shirt Pack Second Shirt Options Label
 type = string
+translate = True
 
 [fields.number_of_donations_counter_label]
 label = Number of Donations Counter Label
@@ -223,4 +243,4 @@ type = html
 
 [fields.total_matched_counter_label]
 label = Total Matched Counter Label
-type = html
\ No newline at end of file
+type = html



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