•  
      request #13809 Remove unsupported use of v-bind in translated strings
    Infos
    #13809
    Joris MASSON (jmasson)
    2019-08-27 14:54
    2019-08-27 14:05
    15020
    Details
    Remove unsupported use of v-bind in translated strings

    As explained in vue-gettext's doc [0], we should never use v-bind in HTML in translated strings. We should also never use interpolation ({{ variable }}) in HTML in combination with v-gettext.

    The first problem means the reactivity does not work, the second means the french translation is broken (it's always in english).

    [0]: https://github.com/Polyconseil/vue-gettext#caveat-when-using-v-translate-with-vue-components-or-vue-specific-attributes
    [1]: https://github.com/Polyconseil/vue-gettext#caveat-when-using-v-translate-with-interpolation

    Doc/Documentation manager
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2019-08-27
    Attachments
    Empty
    References

    Follow-ups