Commit 58144f17 by Tim Krones

Mark display_name and help for item properties for translation.

parent 32f48eea
...@@ -66,8 +66,8 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin): ...@@ -66,8 +66,8 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin):
) )
item_background_color = String( item_background_color = String(
display_name="Item background color", display_name=_("Item background color"),
help=( help=_(
"Background color to use for draggable items. " "Background color to use for draggable items. "
"Defaults to color specified by current theme, or blue if no theme is set." "Defaults to color specified by current theme, or blue if no theme is set."
), ),
...@@ -76,8 +76,8 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin): ...@@ -76,8 +76,8 @@ class DragAndDropBlock(XBlock, XBlockWithSettingsMixin, ThemableXBlockMixin):
) )
item_text_color = String( item_text_color = String(
display_name="Item text color", display_name=_("Item text color"),
help=( help=_(
"Text color to use for draggable items. " "Text color to use for draggable items. "
"Defaults to color specified by current theme, or white if no theme is set." "Defaults to color specified by current theme, or white if no theme is set."
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment