Inconsistent status bar keywords

• Jun 8, 2020 - 19:15
Reported version
3.4
Type
Ergonomical (UX)
Frequency
Once
Severity
S5 - Suggestion
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

Sometimes status bar keywords end with a colon character and other times they don't.

StatusBar.png

In this example we see these with colons:
- Pitch:
- Duration:
- Voice:
- Bar:
- Beat:
but these without:
- String
- Fret
- Stave


Comments

Workaround No Yes

Workaround is to find and fix those strings in the translations (seems it is 3 strings in total,
"%1; String %2; Fret %3", "%1 String %2 Fret %3" (Why no semicolons in this one? Seems another inconsistency, one is for the status bar, the other for screen reader software I think) and "Staff %1"

Workaround in place for en_US, en_GB and de

"Bar" is not in the source ("Measure" is), The translations look correct though. Nit sure where that extra space stems from, susipution:

            else {
                  std::pair<int, float>bar_beat = barbeat(el);
                  if (bar_beat.first) {
                        _oldBar = bar_beat.first;
                        barsAndBeats += " " + tr("Measure: %1").arg(QString::number(bar_beat.first));    <<<<<<< here
                        if (bar_beat.first != oldBar)
                              optimizedBarsAndBeats += " " + tr("Measure: %1").arg(QString::number(bar_beat.first));
                        if (bar_beat.second) {
                              barsAndBeats += "; " + tr("Beat: %1").arg(QString::number(bar_beat.second));
                              optimizedBarsAndBeats += "; " + tr("Beat: %1").arg(QString::number(bar_beat.second));
                              }
                        }
                  }
 
            QString rez = e->accessibleInfo();
            if (!barsAndBeats.isEmpty())
                  rez += "; " + barsAndBeats;    <<<<< or here
Fix version
3.5.0