EDDiscovery / EliteDangerousCore

Elite Dangerous specific submodule
Apache License 2.0
2 stars 18 forks source link

Make ScanInfoLine translation friendly #122

Closed Eahlstan closed 1 year ago

Eahlstan commented 1 year ago

Note that the translation you mentioned before

if (nSurfaceTemperature.HasValue)
            scanText.AppendFormat("Surface Temp: {0}K\n".T(EDCTx.JournalScan_SurfaceTemp), nSurfaceTemperature.Value.ToString("N0"));

has a line break in it. SIL doesn't like line breaks, so it can't be reused.

Eahlstan commented 1 year ago

Also the new temperature was missing your beloved "what if there's an error and no value?" check.

robbyxp1 commented 1 year ago

Thanks