-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate the question mark when hovering over a recipe #43
Comments
that's a new feature introduced in 1.1.73, officially called "fallback group" for more information see https://forums.factorio.com/viewtopic.php?f=3&t=104293 and https://forums.factorio.com/71553 |
Thank you for the info! |
I was playing around to see if I could fix this. This snippet helps some cases e.g. Bonemeal (the item) is ? in main but with the following fix displays the right info. But it then causes items where there is no localisation (e.g. the diesel recipe) to show the localisation key: "recipe-description.diesel"
What's the actual desired behaviour if a localisation is missing?
|
#63 might be useful as a starting point for fixing this properly. |
I think it's either to show nothing or the key. There are arguments for both of the approaches, so it's up to you. |
Wouldn't you default to english then? If that's also missing i guess the above. |
From what I see, YAFC already uses English everywhere, no matter what language your system or the game is using. |
The in-game items are localized (by the mods), but the whole application itself uses (hard-coded) English. Open some files and you see all kind of strings in the code to be rendered in the UI. (Unles SDL applies some magic to match them against localisation files to translate?) |
Here are the before and after for what's currently implemented in #63 |
When choosing a production recipe, when hovering over some recipes, the first line sometimes is
?
instead ofA recipe to create something
:It would be useful to understand why exactly the question mark is shown because it is shown quite often, and it can bring confusion to the end user.
A mod-list to replicate the exact same situation would be quite large, but the bulk of the mods is Pyanodons Alternative Energy and all its mandatory dependencies.
The text was updated successfully, but these errors were encountered: