File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1116,6 +1116,8 @@ public function getFullForm($richText = false): string {
1116
1116
$ formFk = PluginFormcreatorForm::getForeignKeyField ();
1117
1117
$ fields = $ this ->getQuestionFields ($ this ->fields [$ formFk ]);
1118
1118
1119
+ $ domain = PluginFormcreatorForm::getTranslationDomain ($ this ->fields [$ formFk ]);
1120
+
1119
1121
$ this ->deserializeAnswers ();
1120
1122
1121
1123
// TODO: code very close to PluginFormcreatorAbstractTarget::parseTags() (factorizable ?)
@@ -1168,9 +1170,9 @@ public function getFullForm($richText = false): string {
1168
1170
$ output .= ($ richText ? '<p> </p> ' : $ eol );
1169
1171
}
1170
1172
if ($ richText ) {
1171
- $ output .= '<h2> ' . $ question_line ['section_name ' ] . '</h2> ' ;
1173
+ $ output .= '<h2> ' . __ ( $ question_line ['section_name ' ], $ domain ) . '</h2> ' ;
1172
1174
} else {
1173
- $ output .= $ eol . $ question_line ['section_name ' ] . $ eol ;
1175
+ $ output .= $ eol . __ ( $ question_line ['section_name ' ], $ domain ) . $ eol ;
1174
1176
$ output .= '--------------------------------- ' . $ eol ;
1175
1177
}
1176
1178
$ last_section = $ question_line [$ sectionFk ];
You can’t perform that action at this time.
0 commit comments