|
6 | 6 | :class="{ 'bordered-input': syncWithGraph && activeNodeId === index }"> |
7 | 7 | <div v-if="input.type == 'conditional'" class="ui-portlet-section mt-3"> |
8 | 8 | <div class="portlet-header"> |
9 | | - <b>{{ input.test_param.label || input.test_param.name }}</b> |
| 9 | + <b>{{ localize(input.test_param.label || input.test_param.name) }}</b> |
10 | 10 | </div> |
11 | 11 | <div class="portlet-content"> |
12 | 12 | <FormElement |
13 | 13 | :id="conditionalPrefix(input, input.test_param.name)" |
14 | 14 | v-model="input.test_param.value" |
15 | 15 | :type="input.test_param.type" |
16 | | - :help="input.test_param.help" |
| 16 | + :help="localize(input.test_param.help)" |
17 | 17 | :help-format="input.test_param.help_format" |
18 | 18 | :refresh-on-change="false" |
19 | 19 | :disabled="sustainConditionals" |
|
39 | 39 | @swap="(a, b) => repeatSwap(input, a, b)" /> |
40 | 40 | </div> |
41 | 41 | <div v-else-if="input.type == 'section'"> |
42 | | - <FormCard :title="input.title || input.name" :expanded.sync="input.expanded" :collapsible="true"> |
| 42 | + <FormCard :title="localize(input.title || input.name)" :expanded.sync="input.expanded" :collapsible="true"> |
43 | 43 | <template v-slot:body> |
44 | | - <div v-if="input.help" class="my-2" data-description="section help">{{ input.help }}</div> |
| 44 | + <div v-if="input.help" class="my-2" data-description="section help">{{ localize(input.help) }}</div> |
45 | 45 | <FormNode v-bind="$props" :inputs="input.inputs" :prefix="getPrefix(input.name)" /> |
46 | 46 | </template> |
47 | 47 | </FormCard> |
|
50 | 50 | v-else |
51 | 51 | :id="getPrefix(input.name)" |
52 | 52 | v-model="input.value" |
53 | | - :title="input.label || input.name" |
| 53 | + :title="localize(input.label || input.name)" |
54 | 54 | :type="input.type" |
55 | 55 | :error="input.error" |
56 | 56 | :warning="input.warning" |
57 | | - :help="input.help" |
| 57 | + :help="localize(input.help)" |
58 | 58 | :help-format="input.help_format" |
59 | 59 | :refresh-on-change="input.refresh_on_change" |
60 | 60 | :attributes="input.attributes || input" |
|
0 commit comments