File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
gooddata-sdk/gooddata_sdk/catalog/workspace Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -754,9 +754,12 @@ def get_texts_to_translate(
754754 # Hack: translate titles in free-form, which is not processed intentionally by this SDK
755755 for section in dashboard .content ["layout" ]["sections" ]:
756756 for item in section ["items" ]:
757- title = item ["widget" ].get ("title" )
758- description = item ["widget" ].get ("description" )
757+ widget = item ["widget" ]
758+ title = widget .get ("title" )
759+ description = widget .get ("description" )
759760 self .add_title_description (to_translate , title , description )
761+ if widget .get ("type" ) == "richText" and "content" in widget :
762+ to_translate .add (widget ["content" ])
760763 if "header" in section :
761764 title = section ["header" ].get ("title" )
762765 description = section ["header" ].get ("description" )
You can’t perform that action at this time.
0 commit comments