Minor: Project Options UI Inconsistency in Lang file
A free, portable, fast and simple C/C++ IDE
Brought to you by:
orwelldevcpp
In the Project Options dialog, there is a minor UI inconsistency. The tabs are labelled General, Files:, Parameters, etc. In this context, "Files:" is the only tab label to contain a parenthesis.
The English.lng file, id 72001 is:
72001=Files:
By comparison, the Swedish.lng file is:
72001=Filer
The constant is defined in LandIDs.inc:
ID_POPT_FILESTAB = 72001;
It has two references that I can see, in ProjectOptionsFrm.pas:
Line 636: lblUnits.Caption := Lang[ID_POPT_FILESTAB];
Line 698: tabFiles.Caption := Lang[ID_POPT_FILESTAB];
Observing the UI in both cases, the colon appears to be correct (consistent) for lblUnits.Caption but inconsistent for tabFiles.Caption. I've attached an image to demonstrate.
My hunch is that line 636 of ProjectOptionsFrm.pas was meant to be:
lblUnits.Caption := Lang[ID_POPT_PROJFILES];
This constant does have a colon in the lang files I checked, and appears to now be unused.
Fixed as of 5.8.0.