Closed DaFuqs closed 6 months ago
Related to https://github.com/klikli-dev/modonomicon/issues/183. And I suspect the same underlying reason, I have to check that
Ok after a quick look I think that can be worked around. Initially when the feature was added there was no guarantee that the entry would already be available in data, but now with multi phase loading it should be safe to query the entry and get its component
Describe the bug The tooltips seem to be hardcoded to use the translation string
book.<mod_id>.<book_id>.<category_id>.<entry_id>.name
, instead of fetching the actual translation string set in that entries json.To reproduce When moving an entry from one folder to the other, I noticed the tooltips to that entry breaking. I moved the entry
magical_blocks/midnight_solution
from the categorymagical_blocks
to thegeneral
category, but did not update the category and translation strings to match the new location yet. (Since translations and location should not be connected).This broke the tooltips in every entry that linked to it.
For reference the entry content of
general/midnight_solution
:Expected behavior The tooltip fetching the
name
of the corresponding entryScreenshots A link to the entry with id
general/midnight_solution
. The tooltip wants to resolve that tooltip translation asbook.<mod_id>.<book_id>.<category_id>.<entry_id>.name
, instead of using the actual entry translation string set in the targets entry json.System (please complete the following information):