Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 19, 2022
1 parent 17fd15c commit f1cd3d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/preferences/VoicingPanelSection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class VoicingPanelSection extends PreferencesPanelSection {
// Voicing feature only works when running in English. If running in a version where you can change locale,
// indicate through the title that the feature will only work in English.
const titleStringProperty = ( localeProperty.validValues && localeProperty.validValues.length > 1 ) ?
voicingEnglishOnlyLabelStringProperty : voicingLabelStringProperty;
voicingEnglishOnlyLabelStringProperty : voicingLabelStringProperty;

// the checkbox is the title for the section and totally enables/disables the feature
const voicingLabel = new Text( titleStringProperty, PreferencesDialog.PANEL_SECTION_LABEL_OPTIONS );
Expand Down

0 comments on commit f1cd3d4

Please sign in to comment.