Skip to content

Commit 327e3ff

Browse files
authored
Fix: Map translator to Translation (#163)
1 parent aee05a7 commit 327e3ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Api/Label/StaticLabelApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getComponentLabelsForRepository(Repository $repository): array
2424
'OptionsResolver', 'PhpUnitBridge', 'Process', 'PropertyAccess',
2525
'PropertyInfo', 'ProxyManagerBridge', 'Routing', 'Security',
2626
'SecurityBundle', 'Serializer', 'Stopwatch', 'String', 'Templating',
27-
'Translator', 'TwigBridge', 'TwigBundle', 'Uid', 'Validator', 'VarDumper',
27+
'Translation', 'TwigBridge', 'TwigBundle', 'Uid', 'Validator', 'VarDumper',
2828
'VarExporter', 'WebLink', 'WebProfilerBundle', 'WebServerBundle', 'Workflow',
2929
'Yaml',
3030
];

src/Service/LabelNameExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LabelNameExtractor
3131
'fwb' => 'FrameworkBundle',
3232
'profiler' => 'WebProfilerBundle',
3333
'router' => 'Routing',
34-
'translation' => 'Translator',
34+
'translator' => 'Translation',
3535
'wdt' => 'WebProfilerBundle',
3636
];
3737

0 commit comments

Comments
 (0)