Skip to content

Commit 05ee892

Browse files
AC-9843:: i18n:collect-phrases breaks the translations integrity
1 parent 23c7a8a commit 05ee892

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

dev/tests/static/testsuite/Magento/Test/Integrity/App/Language/TranslationFilesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
class TranslationFilesTest extends TranslationFiles
1818
{
1919
/**
20-
* Context var
20+
* I18n\Context
2121
*
2222
* @var \Magento\Setup\Module\I18n\Context
2323
*/

lib/internal/Magento/Framework/Config/Test/Unit/Composer/PackageTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
class PackageTest extends TestCase
1414
{
15-
private const SAMPLE_DATA =
15+
public const SAMPLE_DATA =
1616
'{"foo":"1","bar":"2","baz":["3","4"],"nested":{"one":"5","two":"6",
1717
"magento/theme-adminhtml-backend":7, "magento/theme-frontend-luma":8}}';
1818

setup/src/Magento/Setup/Module/I18n/Parser/Adapter/Js.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
/**
1212
* Js parser adapter
1313
*/
14-
#[\AllowDynamicProperties]
14+
1515
class Js extends AbstractAdapter
1616
{
1717
/**

setup/src/Magento/Setup/Module/I18n/ServiceLocator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ class ServiceLocator
2828
private static $_context;
2929

3030
/**
31-
* Dictionary generators
31+
* I18n Dictionary generator
3232
*
3333
* @var \Magento\Setup\Module\I18n\Dictionary\Generator
3434
*/
3535
private static $_dictionaryGenerator;
3636

3737
/**
38-
* Pack generators
38+
* I18n Pack generator
3939
*
4040
* @var \Magento\Setup\Module\I18n\Pack\Generator
4141
*/

0 commit comments

Comments
 (0)