[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#473267: partman-partitioning dialogue issues



On Saturday 29 March 2008, Justin B Rye wrote:
> I did an install recently using lenny_di_beta1 and noticed a
> dialogue from partman-partitioning (would that be version 57?):
> > Hint: Use "20%" (or "30%", etc.) for 20% (resp. 30%, etc.) over the
> > minimal allowed size.  Use "max" as a shortcut for the maximal allowed
> > size.

I agree that the current text is not optimal. There are two templates that
use that string: the one to enter the size of a new partition and the one to
change the size of an existing partition.

Below is a proposed patch to update both. It's different from your suggestion, but I 
think it does cover your points.

Comments welcome.

Christian: can we still do such changes in your opinion?

Cheers,
FJP

--- debian/partman-partitioning.templates       (revision 52314)
+++ debian/partman-partitioning.templates       (working copy)
@@ -63,12 +63,11 @@
 Default: some number
 # :sl2:
 _Description: New partition size:
- The minimum size you can use is ${MINSIZE} or ${PERCENT} and the
+ The minimum size for this partition is ${MINSIZE} (or ${PERCENT}) and its
  maximum size is ${MAXSIZE}.
  .
- Hint: Use "20%" (or "30%", etc.) for 20% (resp. 30%, etc.) of the
- available free space for this partition.  Use "max" as a shortcut for
- the maximum allowed size.
+ Hint: "max" can be used as a shortcut to specify the maximum size, or
+ enter a percentage (e.g. "20%") to use that percentage of the maximum size.

 Template: partman-partitioning/bad_new_size
 Type: error
@@ -98,11 +97,10 @@
 Default: some number
 # :sl2:
 _Description: New partition size:
- The maximum size you can use is ${MAXSIZE}.
+ The maximum size for this partition is ${MAXSIZE}.
  .
- Hint: Use "20%" (or "30%", etc.) for 20% (resp. 30%, etc.) of the
- available free space for this partition.  Use "max" as a shortcut for
- the maximum allowed size.
+ Hint: "max" can be used as a shortcut to specify the maximum size, or
+ enter a percentage (e.g. "20%") to use that percentage of the maximum size.

 Template: partman-partitioning/bad_new_partition_size
 Type: error

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: