Skip to content

Suggestion of some enhancements to the say_battery_status script. #9003

Description

@lukaszgo1

Steps to reproduce:

Press the NVDA+shift+b in the following situations:

  • you have 0 hours and x minutes of battery remaining.
  • you have x hours and 0 minutes of battery remaining.
  • you have 1 hour and x minutes of battery remaining or x hours and 1 minute remaining.

Actual behavior:

In the first two scenarios the redundant information about 0 hours and 0 minutes is presented. In the third the plural form of the hour and minute is used even there is only one minute and one hour remaining.

Expected behavior:

When there is 0 hours and minutes the info shoudn't be present. When tere is 1 minute and 1 hour the singular form of the word hour and minute should be used.
This would be beneficial for users working only with braille and using short displays.

System configuration:

NVDA Installed/portable/running from source:

All

NVDA version:

All

Windows version:

All

Name and version of other software in use when reproducing the issue:

N/A

Other information about your system:

Other questions:

Does the issue still occur after restarting your PC?

N/A

Have you tried any other versions of NVDA?

n/a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions