Skip to content

error in translate or docs #3

@davesann

Description

@davesann

from your docs:

(let [color (java.awt.Color. 10 10 10)]
      (g/translate translator color))

does not work correctly because translate requires opts to use translator as an arg.

the other arities use translator - which, if you are reading the docs, or just generally, is unexpected.

(let [color (java.awt.Color. 10 10 10)]
      (g/translate translator color {} ))

does work. but is rather unintuitive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions