1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 07:47:14 +03:00

PLUGINS.md: Avoid an example implying plugins can set main status text

The 'Error messages' section lays out how to get a message into the main
UI status area, and it does *not* say to try setting it directly.
This commit is contained in:
Athanasius 2022-12-31 17:20:30 +00:00
parent 963b115e0e
commit 991f69044c
No known key found for this signature in database
GPG Key ID: 772697E181BB2767

View File

@ -1138,7 +1138,7 @@ _ = functools.partial(l10n.Translations.translate, context=__file__)
Wrap each string that needs translating with the `_()` function, e.g.:
```python
status["text"] = _('Happy!') # Main window status
somewidget["text"] = _("Happy!")
```
If you display localized strings in EDMarketConnector's main window you should