[parted-devel] Sector size warning message

David Cantrell dcantrell at redhat.com
Mon Apr 10 20:59:28 UTC 2006


Gary Greene wrote:
> On Monday 10 April 2006 03:32 pm, David Cantrell wrote:
> > The if block on lines 370-384 in libparted/linux.c (I'm looking at
> > parted-1.6.25.1) present a warning message if your sector size isn't 512
> > bytes.  The message itself is a little confusing, but the options
> > presented to the user are ambigious.  The message:
> >
> >    The sector size on /dev/XYZ is NNNN bytes.  Parted is known not to
> >    work properly with drives with sector sizes other than 512 bytes
> >    Ignore/Cancel?
> >
> > The message fails to explain what Ignore and Cancel do.  Selecting
> > ignore means ignore the warning and continue with the detected sector
> > size whereas cancel means to force a 512 byte sector size.
> >
> > Both 'Ignore' and 'Cancel' are bad words to use here.  Does anyone have
> > any suggestions for better wording on this message?
> 
> While it makes sense to me in the current wording, I can see a _possible_ 
> issue for non-english speakers. How about Continue, and abort?

It looks like the language ambiguity affected you too.  Cancel != abort
in this case.  Cancel here means to throw out the detected sector size
and force 512 rather than exiting the program.

After thinking about this for a bit, I think it's better served with two
yes/no questions which will translate more or less correctly in all
languages.  I'll make a patch tonight and post it later.

-- 
David Cantrell
Red Hat / Westford, MA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20060410/f99ad323/attachment.pgp


More information about the parted-devel mailing list