Skip to content

Update stats.js to made i18n possible #344

@tdelmas

Description

@tdelmas

https://github.com/letsencrypt/website/blob/master/static/js/stats.js contains texts, which made it hard to translate.
Ex. L310: title: 'Percent of Pageloads over HTTPS (14 day moving average)',

Maybe they could be read from the dom? Or maybe an inline script could invoke a function, with the texts as parameters, to start the drawing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions