8000 bug #4594 Missing attribute 'original' (Marcelsj) · adam187/symfony-docs@727c92a · GitHub
[go: up one dir, main page]

Skip to content
  • Commit 727c92a

    Browse files
    committed
    bug symfony#4594 Missing attribute 'original' (Marcelsj)
    This PR was submitted for the 2.6 branch but it was merged into the 2.3 branch instead (closes symfony#4594). Discussion ---------- Missing attribute 'original' I copy pasted the example messages.en.xliff provided. Running it on symfony 2.6 required me the attribute 'original'. I added ' original="file.ext" ' as attribute for the file tag and it worked. However I am not shure about the proper parameter for this attribute. Commits ------- c0ef3e4 Missing attribute 'original'
    2 parents 8bba316 + c0ef3e4 commit 727c92a
    < 8000 /div>

    File tree

    1 file changed

    +1
    -1
    lines changed

    1 file changed

    +1
    -1
    lines changed

    best_practices/i18n.rst

    Lines changed: 1 addition & 1 deletion
    Original file line numberDiff line numberDiff line change
    @@ -83,7 +83,7 @@ English in the application would be:
    8383
    <!-- app/Resources/translations/messages.en.xliff -->
    8484
    <?xml version="1.0"?>
    8585
    <xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
    86-
    <file source-language="en" target-language="en" datatype="plaintext">
    86+
    <file source-language="en" target-language="en" datatype="plaintext" original="file.ext">
    8787
    <body>
    8888
    <trans-unit id="1">
    8989
    <source>title.post_list</source>

    0 commit comments

    Comments
     (0)
    0