Skip to content

Commit

Permalink
Experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthayhurst committed Feb 12, 2024
1 parent ddf568b commit 70d259e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions extension/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,15 @@ const PrivacyQuickGroup = GObject.registerClass(
});

if (enabledSettingsCount == 0) {
//If no settings are enabled, display 'All disabled'
this.subtitle = _('All disabled');
//If no settings are enabled, display 'Private'
this.subtitle = _('Private');
} else if (enabledSettingsCount == 1) {
//If 1 setting is enabled, mention it by name
this.subtitle = enabledSettingName;
} else {
//If multiple are enabled, display how many
//Translators: this displays which setting is enabled, e.g. 'Location enabled'
this.subtitle = enabledSettingsCount + _(' enabled');
//Translators: this displays how many settings are enabled, e.g. '1 allowed'
this.subtitle = enabledSettingsCount + _(' allowed');
}
}

Expand Down

0 comments on commit 70d259e

Please sign in to comment.