mclemente / fvtt-module-polyglot

Talk to others using a language you can speak and scrambles text you can't understand.
MIT License
40 stars 47 forks source link

Module-registered languages display incorrectly (pf2e) #349

Closed JacksonBockus closed 5 months ago

JacksonBockus commented 5 months ago

Describe the bug Module-registered languages are showing up in Polyglot as PF2E.Actor.Creature.Language.mylanguage

To Reproduce Steps to reproduce the behavior: Install a module that registers a custom pf2e language in the module.json through the flags; ex

"flags": {
    "my-module": {
        "pf2e-homebrew": {
            "languages": {
                "mylanguage": "My Language"
            }
        }
    }
}

Expected behavior The language should appear in polyglot as "My Language"

Additional context If fixing this requires a change to the module registering the language, please let me know what needs to be changed.

mclemente commented 5 months ago

I wasn't aware of that structure, sorry. It should be fixed with the latest release.