[0.15.2] Localizations no longer ignore Whitespace

Bugs that are actually features.
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2179
Joined: Thu Jun 12, 2014 3:05 am
Contact:

[0.15.2] Localizations no longer ignore Whitespace

Post by Ranakastrasz »

I've been using this config file for a while, with spacing to make all of the equal signs line up for easy modification. however, suddenly, the only functional localization is the last one, without whitespace.
Presumably, something changed in v15 that broke this logic.

Please undo it? I would rather not change this to be far less readable.
file
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5411
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.15.2] Localizations no longer ignore Whitespace

Post by Klonan »

Thanks for the report,

This is intended, as for some string we need preceding whitespace, such as 'colon' in French is:
colon= :

whereas in English its:

colon=:

So to Answer this,
It ins't a bug, and we won't be fixing it...
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2179
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [0.15.2] Localizations no longer ignore Whitespace

Post by Ranakastrasz »

Klonan wrote:Thanks for the report,

This is intended, as for some string we need preceding whitespace, such as 'colon' in French is:
colon= :

whereas in English its:

colon=:

So to Answer this,
It ins't a bug, and we won't be fixing it...
"colon= :"
"colon = :"
If only the first is needed, I don't see how this means we can't have whitespace.

I only need the whitespace before the equals sign, not after.
I am pretty sure Factorio does not allow for any entity to have whitespace in it's name, and presumably equal signs are also forbidden. As such, I would hope that spaces before the equal signs shouldn't influence anything.

Although, now I have to wonder, how does that extra space before the : matter?

I looked at the "fr" localization file, and couldn't find any whitespace anywhere before the equals sign via a search for " =". Although I am pretty sure every language has the exact same thing there, since it is the key used to look up the localization itself from Entity names.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
User avatar
Ranakastrasz
Smart Inserter
Smart Inserter
Posts: 2179
Joined: Thu Jun 12, 2014 3:05 am
Contact:

Re: [0.15.2] Localizations no longer ignore Whitespace

Post by Ranakastrasz »

Could I get an answer please?

Still kinda frustrated about this.
My Mods:
Modular Armor Revamp - V16
Large Chests - V16
Agent Orange - V16
Flare - V16
Easy Refineries - V16
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5411
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.15.2] Localizations no longer ignore Whitespace

Post by Klonan »

Ranakastrasz wrote:Could I get an answer please?

Still kinda frustrated about this.
It isn't a priority unfortunately
Post Reply

Return to “Not a bug”