Deadlock989 / IndustrialRevolution

Industrial Revolution 3 is an overhaul mod for Factorio.
51 stars 0 forks source link

Airship station interface #395

Closed AlexK0l closed 7 months ago

AlexK0l commented 7 months ago

Describe the issue Airship station interface not full

Factorio version, IR version Factorio version 1.1.104, IR version 3.1.20, Airships version 1.0

Other mods installed LTN and helmod

image

Deadlock989 commented 7 months ago

Describe the issue Airship station interface not full

I don't know what you mean by this.

AlexK0l commented 7 months ago

Describe the issue Airship station interface not full

I don't know what you mean by this.

Buttons for prioritize and delete rules are missing

Deadlock989 commented 7 months ago

In your screenshot it looks like the refuelling behaviour setting is distorted by a very long translated string. You must have some kind of localisation mod installed. I need to know which one, and which language this is.

AlexK0l commented 7 months ago

In your screenshot it looks like the refuelling behaviour setting is distorted by a very long translated string. You must have some kind of localisation mod installed. I need to know which one, and which language this is.

It is russian language. Localization mod: https://mods.factorio.com/mod/IndustrialRevolution_Language_Pack Latest version installed

Deadlock989 commented 7 months ago

The main problem is being caused by the Russian localisation in that mod. Two of the rich text icons in the refuelling setting's drop-down options are broken references:

image

The correct icon references are [img=refuel-refuel-and-empty] and [img=refuel-refuel]. You will need to raise this with the authors of that mod.

I can prevent this kind of mistake from breaking the interface by setting a maximum width for some of the GUI elements. I will put this on my list of things to do, but this is a low priority task for me because if the localised strings do not contain broken icon references and are of reasonable length then there is no problem.

AlexK0l commented 7 months ago

The main problem is being caused by the Russian localisation in that mod. Two of the rich text icons in the refuelling setting's drop-down options are broken references:

image

The correct icon references are [img=refuel-refuel-and-empty] and [img=refuel-refuel]. You will need to raise this with the authors of that mod.

I can prevent this kind of mistake from breaking the interface by setting a maximum width for some of the GUI elements. I will put this on my list of things to do, but this is a low priority task for me because if the localised strings do not contain broken icon references and are of reasonable length then there is no problem.

Thanks

Deadlock989 commented 7 months ago

I have made some adjustments for the next release of Airships, which will be out later this week. This should help with the broken references in the Russian localisation mod but may also help for other languages where some phrases can only be expressed with much longer or shorter character strings than English. But where third party localisation mods have broken references or other mistakes, only the author of those mods can fix the issue.

airshipgui

AlexK0l commented 7 months ago

Thanks a lot

Astorin commented 7 months ago

Broken strings for refuel icons in Russian language fixed. Thanks for report.