Skip to content

Commit

Permalink
fix(formanswer): translate question label
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Apr 3, 2023
1 parent cf24aa1 commit 61722da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ public function parseTags(string $content, PluginFormcreatorTargetInterface $tar
$name = '';
$value = '';
if (PluginFormcreatorFields::isVisible($question, $this->questionFields)) {
$name = $question->fields['name'];
$name = __($question->fields['name'], $domain);
$value = $this->questionFields[$questionId]->getValueForTargetText($domain, $richText);
}

Expand Down

0 comments on commit 61722da

Please sign in to comment.