Skip to content

Commit ac2e41f

Browse files
bug #51671 [FrameworkBundle] Fix support for translator.default_path in XML (HeahDude)
This PR was merged into the 5.4 branch. Discussion ---------- [FrameworkBundle] Fix support for `translator.default_path` in XML | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | ~ | License | MIT | Doc PR | symfony/symfony-docs#18872 The docs is currently wrong assuming there is an element `default-path` using XML config, https://symfony.com/doc/current/translation.html#configuration. It appears it's missing in the XSD, but IMO it should be added as an attribute. Commits ------- 3534118 [Translator] Fix support for `default_path` in XML
2 parents 0f6c37a + 3534118 commit ac2e41f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@
191191
<xsd:attribute name="logging" type="xsd:boolean" />
192192
<xsd:attribute name="formatter" type="xsd:string" />
193193
<xsd:attribute name="cache-dir" type="xsd:string" />
194+
<xsd:attribute name="default-path" type="xsd:string" />
194195
</xsd:complexType>
195196

196197
<xsd:complexType name="pseudo_localization">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy