Skip to content

Commit 61722da

Browse files
committed
fix(formanswer): translate question label
1 parent cf24aa1 commit 61722da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/formanswer.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1325,7 +1325,7 @@ public function parseTags(string $content, PluginFormcreatorTargetInterface $tar
13251325
$name = '';
13261326
$value = '';
13271327
if (PluginFormcreatorFields::isVisible($question, $this->questionFields)) {
1328-
$name = $question->fields['name'];
1328+
$name = __($question->fields['name'], $domain);
13291329
$value = $this->questionFields[$questionId]->getValueForTargetText($domain, $richText);
13301330
}
13311331

0 commit comments

Comments
 (0)