archesproject / arches-docs

official repo for Arches documentation
https://arches.readthedocs.io
9 stars 21 forks source link

Plugins "name" example should be updated for translations #398

Closed whatisgalen closed 8 months ago

whatisgalen commented 9 months ago

describe the issue

Currently the example for registering a plugin looks like this:

Screenshot 2024-02-05 at 4 30 58 PM

But if you try to register a plugin following this example, you'll get an error for the "name" field since as of at least 7.5 the name should look like this:

{"en": "Image Service Manager"}
please add links to existing docs or code (if relevant)

here

which release does this issue concern?
jacobtylerwalls commented 9 months ago

Ah good call @whatisgalen. This is only as of dev/7.6, right? (archesproject/arches#10517)

jacobtylerwalls commented 9 months ago

Actually @whatisgalen I just retested and the original example still works fine for me. Can you include the traceback and steps to reproduce? Thanks!

jacobtylerwalls commented 8 months ago

Feel free to reopen if you can demonstrate that the docs are incorrect. Thanks.