diff --git a/babel.cfg b/babel.cfg index 8124ff4a..2c98c76e 100644 --- a/babel.cfg +++ b/babel.cfg @@ -1,3 +1,3 @@ [jinja2: **/templates/**.html] encoding = utf-8 -extensions=jinja2.ext.autoescape,jinja2.ext.with_ \ No newline at end of file +silent = false diff --git a/models/jobs.ini b/models/jobs.ini index 0537739a..fe58a2ec 100644 --- a/models/jobs.ini +++ b/models/jobs.ini @@ -14,7 +14,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/models/page.ini b/models/page.ini index 2e1f0f70..e5e150d0 100644 --- a/models/page.ini +++ b/models/page.ini @@ -15,7 +15,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/models/people.ini b/models/people.ini index 44aab7c9..b59535bd 100644 --- a/models/people.ini +++ b/models/people.ini @@ -16,7 +16,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/models/press.ini b/models/press.ini index cd5e5546..69ab5c50 100644 --- a/models/press.ini +++ b/models/press.ini @@ -5,6 +5,7 @@ label = {{ this.title }} [fields.title] label = Title type = string +translate = True [fields.section] label = Section @@ -13,11 +14,11 @@ type = string [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body type = markdown +translate = True [fields.color] label = Color diff --git a/models/question.ini b/models/question.ini index fecf955c..d2cd9733 100644 --- a/models/question.ini +++ b/models/question.ini @@ -1,7 +1,6 @@ [model] name = Question label = {{ this.title }} -translate = True hidden = yes [fields.title] @@ -17,4 +16,3 @@ translate = True [fields.seo_slug] label = Seo Slug type = string -translate = False diff --git a/models/reports.ini b/models/reports.ini index 11828f0b..c170c28e 100644 --- a/models/reports.ini +++ b/models/reports.ini @@ -15,7 +15,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/models/sponsor.ini b/models/sponsor.ini index e1ec7e59..222abda7 100644 --- a/models/sponsor.ini +++ b/models/sponsor.ini @@ -6,7 +6,6 @@ hidden = yes [fields.name] label = Name type = string -translate = True [fields.link] label = Link @@ -19,7 +18,6 @@ type = boolean [fields.description] label = Description type = markdown -translate = True [fields.logo] label = Logo diff --git a/models/sponsors.ini b/models/sponsors.ini index b9a4fee6..f1564d4b 100644 --- a/models/sponsors.ini +++ b/models/sponsors.ini @@ -6,6 +6,7 @@ hidden = yes [fields.title] label = Title type = string +translate = True [fields.section] label = Section @@ -15,7 +16,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/models/topic.ini b/models/topic.ini index 64611fd1..623f7505 100644 --- a/models/topic.ini +++ b/models/topic.ini @@ -1,7 +1,6 @@ [model] name = Topic label = {{ this.title }} -translate = True [children] model = question @@ -20,4 +19,3 @@ type = sort_key [fields.seo_slug] label = Seo Slug type = string -translate = False diff --git a/models/trademark.ini b/models/trademark.ini index df6f9438..97df86a0 100644 --- a/models/trademark.ini +++ b/models/trademark.ini @@ -16,7 +16,6 @@ translate = True [fields.section_id] label = Section_id type = string -translate = False [fields.body] label = Body diff --git a/templates/macros/question.html b/templates/macros/question.html index ce2c1355..4c8a745f 100644 --- a/templates/macros/question.html +++ b/templates/macros/question.html @@ -9,7 +9,7 @@ {{ item.description|safe }}