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

[PATCH] Use translation sublevels for partman-auto-lvm

I just discovered that partman-auto-lvm debconf templates do not
contain sublevel markers.

Therefore, all its templates' strings are gathered in sublevel 1 (high
priority stuff).

While I agree this is OK for the automatic partitioning entry (which
appears on every install), I think this is incorrect for other

LVM stuff falls in the "high profile feature for all architectures"
category, which qualifies it for sublevel 3.

Patch attached. Please comment (Frans, particularly) and hopefully
commit if OK.


--- partman-auto-lvm.templates	2008-06-24 05:58:36.245433493 +0200
+++ partman-auto-lvm.templates.new	2008-08-02 08:41:57.011847287 +0200
@@ -1,26 +1,31 @@
 Template: partman-auto-lvm/text/choice
 Type: text
+# :sl1:
 # TRANSLATORS: This is a menu entry. Keep in under 55 columns/characters
 _Description: Guided - use entire disk and set up LVM
 Template: partman-auto-lvm/new_vg_name
 Type: string
+# :sl3:
 _Description: Name of the volume group for the new system:
 Template: partman-auto-lvm/new_vg_name_exists
 Type: string
+# :sl3:
 _Description: Name of the volume group for the new system:
  The selected volume group name is already in use. Please choose
  another name.
 Template: partman-auto-lvm/unusable_recipe
 Type: error
+# :sl3:
 _Description: Failed to partition the selected disk
  This happened because the selected recipe does not contain any partition
  that can be created on LVM volumes.
 Template: partman-auto-lvm/no_boot
 Type: boolean
+# :sl3:
 _Description: Continue installation without /boot partition?
  The recipe you selected does not contain a separate partition for /boot.
  This is normally needed to allow you to boot the system when using LVM.
@@ -30,6 +35,7 @@
 Template: partman-auto-lvm/vg_exists
 Type: error
+# :sl3:
 _Description: Volume group name already in use
  The volume group name used to automatically partition using LVM is already
  in use. Lowering the priority for configuration questions will allow you
@@ -37,6 +43,7 @@
 Template: partman-auto-lvm/vg_create_error
 Type: error
+# :sl3:
 _Description: Unexpected error while creating volume group
  Autopartitioning using LVM failed because an error occurred while creating
  the volume group.

Attachment: signature.asc
Description: Digital signature

Reply to: