Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] translation #1463

Closed

Commits on Jun 24, 2022

  1. [FIX] xml: escape chars in regex

    There's an issue in odoo when extracing translatable source terms
    from the bundled library file `o_spreadsheet.js`. Some terms are not
    extracted.
    
    Babel doesn't correctly tokenize the regex /"/
    As a result, all following tokens are fucked up and source terms are no longer
    exported after this point.
    
    It seems to be known that babel js lexer isn't perfect.
    python-babel/babel#467
    python-babel/babel#616
    python-babel/babel#640
    python-babel/babel#791
    
    X-original-commit: d711ad2
    LucasLefevre committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    33fab6d View commit details
    Browse the repository at this point in the history