Menu

#135 Minor: Project Options UI Inconsistency in Lang file

None
fixed
None
2014-10-07
2014-10-07
No

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.

1 Attachments

Discussion

  • orwelldevcpp

    orwelldevcpp - 2014-10-07

    Fixed as of 5.8.0.

     
  • orwelldevcpp

    orwelldevcpp - 2014-10-07
    • status: open --> fixed
    • assigned_to: orwelldevcpp
    • Milestone: -->
     

Log in to post a comment.