Git Product home page Git Product logo

Comments (6)

effgarces avatar effgarces commented on July 18, 2024 1

That is weird, I swear I tested it and it was working, must have missed something, I will check it as soon as I can.

from app.

effgarces avatar effgarces commented on July 18, 2024

I just added the fix to the bugfix branch, thanks for the information.

from app.

wtfred avatar wtfred commented on July 18, 2024

Hello again, i'm really sorry but turns out my fix was worst than the original error, i must have messed up with copy/paste because yesterday i thought i had something working...

Anyway, i don't know how to use correctly the |escape('javascript'), so i just replaced single with doubles quotes.
[{ content: "{translate key='RepeatUntilPrompt'}", styles: { fontStyle: 'bold'}},

from app.

effgarces avatar effgarces commented on July 18, 2024

These things happen, I've fixed the issue with the escape ([{ content: '{translate key=RepeatUntilPrompt|escape:'javascript'}', styles: { fontStyle: 'bold'}},) and after checking the rest of the file I've added this fix to two more places, so thank you for letting me know and following up.

from app.

wtfred avatar wtfred commented on July 18, 2024

Hello,
The fix in 2.8.5.3 doesn't seems to work. With french label "Jusqu'au", it still make recurrent reservation impossible to edit because of "SyntaxError"
Looks like the escape filter is not applied correctly, so i still had to quote it with double quotes instead of single to make it work...

from app.

effgarces avatar effgarces commented on July 18, 2024

I just pushed a final (I hope) fix. The previous the "fix" as missing a couple of brackets, I think that while testing I must have forgotten to clear the cache and missed that it wasn't working.
I've tested it and seems to working properly now, I also updated the latest maintenance release with the correction.

from app.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.