Jump to content

Recommended Posts

Posted

Hello,

 

When updating the client, I had a message telling me that i have 1 fileS left from an unfinished download and asking if I want to delete THEM.

 

The bug isn't really important, but it's still annoying since there's only 1 file and the message box string states plural, as you can see in the attachement.

 

Suggestion to fix it, no matter the language the updater is written, I'm sure you'll understand it. :)

bool isPlural = (fileCount > 1);
string message = "Found " + fileCount + " file" + ((isPlural) ? ("s") : ("")) + " with " + fileSize + " bytes left from an unfinished download, which " + ((isPlural) ? ("are") : ("is")) + " not needed for the current operation.\n"
              + "\n"
              + "Do you want to DELETE " + ((isPlural) ? ("them") : ("it")) + " ?";

 

Regards,

Cid

223488767_dcsplural.JPG.5bf94cb2948298393aaaec496fcdc874.JPG

Posted

This deserves to be nominated for "The Bug of the Year" Award. Especially as, when I typed the code to fix it, into my C=64, all I got was "SYNTAX ERROR" and then "READY". :-(

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...