We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f425f55 commit b8cd234Copy full SHA for b8cd234
setup/src/Magento/Setup/Module/I18n/Parser/Adapter/Html.php
@@ -56,6 +56,13 @@ protected function _parse()
56
$this->extractPhrases(Js::REGEX_TRANSLATE_FUNCTION, $data, 3, 2);
57
}
58
59
+ /**
60
+ * Extracts all phrases from trans directives in the given string.
61
+ *
62
+ * @param string $data
63
64
+ * @return void
65
+ */
66
private function extractPhrasesFromTransDirective(string $data): void
67
{
68
$results = [];
@@ -77,6 +84,8 @@ private function extractPhrasesFromTransDirective(string $data): void
77
84
78
85
79
86
/**
87
+ * Extracts all phrases with the given regex in the given string.
88
80
89
* @param string $regex
81
90
* @param string $data
82
91
* @param int $expectedGroupsCount
0 commit comments