UX: Translating poll chart types wasn't possible
This commit is contained in:
parent
198856f78d
commit
7177b9d771
|
@ -15,8 +15,14 @@ export default Controller.extend({
|
|||
closedPollResult: "on_close",
|
||||
staffPollResult: "staff_only",
|
||||
pollChartTypes: [
|
||||
{ name: BAR_CHART_TYPE.capitalize(), value: BAR_CHART_TYPE },
|
||||
{ name: PIE_CHART_TYPE.capitalize(), value: PIE_CHART_TYPE }
|
||||
{
|
||||
name: I18n.t("poll.ui_builder.poll_chart_type.bar"),
|
||||
value: BAR_CHART_TYPE
|
||||
},
|
||||
{
|
||||
name: I18n.t("poll.ui_builder.poll_chart_type.pie"),
|
||||
value: PIE_CHART_TYPE
|
||||
}
|
||||
],
|
||||
|
||||
pollType: null,
|
||||
|
|
|
@ -118,6 +118,8 @@ en:
|
|||
label: Allowed groups
|
||||
poll_chart_type:
|
||||
label: Chart type
|
||||
bar: Bar
|
||||
pie: Pie
|
||||
poll_config:
|
||||
max: Max
|
||||
min: Min
|
||||
|
|
Loading…
Reference in New Issue