project-navigation
Personal tools

Author Topic: ECM and Computer both need 1 hourSSS to be mounted  (Read 2041 times)

Offline Rodmar

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
ECM and Computer both need 1 hourSSS to be mounted
« on: August 27, 2015, 06:20:25 pm »
Hello,

This is not really a feature request, nor a bug report. It's about a textual enhancement.

Simply said, among all the aircraft equipments, two of them have a mounting time equal to 1 hour (other need 2 or more hours).
This result in a message on the Craft screen such as:        "will be mounted in 1 hours".

Suggestion: either
  • add a test or modify the text formatting, and add a new string: "hour" when there's only ONE, or
  • simply raise the mounting time to a greater number: e.g. 1,2 or 1,5 hours if decimal numbers are allowed, else 2 hours.
:)

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: ECM and Computer both need 1 hourSSS to be mounted
« Reply #1 on: August 27, 2015, 06:41:49 pm »
Hello,

This is not really a feature request, nor a bug report. It's about a textual enhancement.

Simply said, among all the aircraft equipments, two of them have a mounting time equal to 1 hour (other need 2 or more hours).
This result in a message on the Craft screen such as:        "will be mounted in 1 hours".

Suggestion: either
  • add a test or modify the text formatting, and add a new string: "hour" when there's only ONE, or
  • simply raise the mounting time to a greater number: e.g. 1,2 or 1,5 hours if decimal numbers are allowed, else 2 hours.
:)

Actually this is a bug. We're using gettext which is capable to manage different plural forms based on the actual value.
Feel free to submit patches, I created a bugreport for you: Bug#5498

-geever