Bug#508042: How to work this around

2009-01-29 Thread Oded Naveh
Quoting Petter Reinholdtsen (p...@hungry.com):
>
> > In my opinion, the only way to work around this bug is by shortening
> > down the wording of the debconf template *drastically*
> ...
> Proposals are most welcome. The current text is the short version of
> the short version of the original text, so it has already been
> compressed quite a bit. The goal of the text is to provide enought
> information for new users to make an informed choice and not having to
> consult the documentation to understand what to select.
>
> > And, yes, that will require translation updates..:-(
>
> Yeah. It will involve getting a lot of people to transalte in time
> for a new release. :(

Here's another proposal that requires NO TRANSLATION nor shortening. :-)
Make it LONGER.

The text front-end shows 22 lines for screen, if all (or more) are
taken by the description then Choices will be presented on another
screen.
Up to 15 lines of description (including Short, Extended and blank
lines between paragraphs), would allow reasonable room for Choices, so
the numbers to avoid are 16 through 22.

Extra lines may be added on another paragraph flagged with
'translate!' the problem is that po-debconf will ignore whitespace and
this will only affect English messages, so there must be some
printable characters in that paragraph. Also, padding with tabs give
better results as it has less effect in GUI front-end.
It's possible to initially adjust the number of lines in .po files
without burdening the translators and add a comment asking translators
to adjust the amount of newlines whenever they commit new
translations, but asking them to do it with tabs is not very kind
(there are 9 per line).
Optimal results may be achieved by commbining both.

Surely,  this is a clumsy workaround but it's just that and it avoids
both drawbacks of the other option.
Here's a padded version ...

p.s. Maybe consider rewinding to a previous longer version?


debian-edu-profile-udeb.templates
Description: Binary data


Bug#508042: How to work this around?

2008-12-24 Thread Christian Perrier
Quoting Petter Reinholdtsen (p...@hungry.com):
> [Christian Perrier]
> > In my opinion, the only way to work around this bug is by shortening
> > down the wording of the debconf template *drastically*
> >
> > The English screenshot posted in the bug report shows there is room
> > for improvement, imho.
> 
> Proposals are most welcome.  The current text is the short version of
> the short version of the original text, so it has already been
> compressed quite a bit.  The goal of the text is to provide enought


Here's an attempt to compress it a little bit more...


Template: debian-installer/debian-edu-profile-udeb/title
Type: text
# Debian Installer Main-menu Item
_Description: Choose Debian Edu profile

Template: debian-edu-install/profile
Type: multiselect
__Choices: Main-Server, Workstation, Thin-Client-Server, Standalone
_Description: Profile(s) to apply to this machine:
 Profiles determine how the machine can be used out-of-the-box:
 .
  - Main-Server: server (one per network). No graphical interface.
  - Workstation: for normal machines on the Debian Edu network. 
  - Thin-Client-Server:
 incl. 'Workstation'. Requires two network cards.
  - Standalone:  may be used outside the Debian Edu network. Not
 compatible with other  profiles.

Template: debian-edu-install/profile-expert
Type: multiselect
#flag:translate!:6
__Choices: Main-Server, Workstation, Thin-Client-Server, Standalone, Minimal, 
Sugar
#flag:comment:3
## Translators, do not translate "Sugar"
_Description: Profile(s) to apply to this machine:
 Profiles determine how the machine can be used out-of-the-box:
 .
  - Main-Server: server (one per network). No graphical interface.
  - Workstation: for normal machines on the Debian Edu network. 
  - Thin-Client-Server:
 incl. 'Workstation'. Requires two network cards.
  - Standalone:  may be used outside the Debian Edu network. Not
 compatible with other  profiles.
  - Sugar:   variant of 'Standalone' which Sugar environment.
 Sharing and collaborative learning for children.
  - Minimal: basic system without any graphical interface.

Template: debian-edu-install/standalone_only
Type: error
_Description: Standalone profile cannot be used with other profiles
 The Standalone profile cannot be installed together with any other
 profile on the same machine. Please either only choose Standalone
 or any other combination excluding Standalone.

Template: debian-edu-install/standalone
Type: note
_Description: Standalone installation is partly manual
 The Standalone install is currently not as automatic as the other
 profiles, to make it easier to do manual partitioning.  You are now
 sent to the debian-installer main menu.  Select "Change debconf
 priority", and choose priority "high" to enable the automatic
 installation again.

Template: mirror/distribution
Type: text
Description: Codename of Debian version being installed
 This value is automatically updated during installation, based on the
 detected codename.  At the time of writing, values will be lenny or
 etch.

Template: debian-edu-install/confirm/title
Type: text
_Description: Really use the automatic partitioning tool?

Template: debian-edu-install/confirm
Type: boolean
Default: false
_Description: Really use the automatic partitioning tool?
 This will destroy the partition table on all disks in the machine.
 REPEAT: THIS WILL WIPE CLEAN ALL HARD DISKS IN THE MACHINE!
 If you have important data that are not backed up, you may want to
 stop now in order to do a backup. In that case, you'll have to
 restart the installation later.

Template: debian-edu-install/participate-popcon/title
Type: text
_Description: Participate in the package usage survey?

Template: debian-edu-install/participate-popcon
Type: boolean
_Description: Participate in the package usage survey?
 The system may anonymously supply the distribution developers with
 statistics about the most used packages on this system.  This
 information influences decisions such as which packages should go on
 the first distribution CD.
 .
 If you choose to participate, the automatic submission script will
 run once every week, sending statistics to the distribution developers.
 The collected statistics can be viewed on http://popcon.debian.org/.
 .
 This choice can be later modified by running "dpkg-reconfigure
 popularity-contest".



signature.asc
Description: Digital signature


Bug#508042: How to work this around?

2008-12-24 Thread Petter Reinholdtsen
[Christian Perrier]
> In my opinion, the only way to work around this bug is by shortening
> down the wording of the debconf template *drastically*
>
> The English screenshot posted in the bug report shows there is room
> for improvement, imho.

Proposals are most welcome.  The current text is the short version of
the short version of the original text, so it has already been
compressed quite a bit.  The goal of the text is to provide enought
information for new users to make an informed choice and not having to
consult the documentation to understand what to select.

> And, yes, that will require translation updates..:-(

Yeah.  It will involve getting a lot of people to transalte in time
for a new release. :(

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#508042: How to work this around?

2008-12-15 Thread Christian Perrier
23:18 < pere> bubulle otavio: any hope of having #508042 fixed in d-i rc2?
23:20 < pere> the debian-edu profile question is badly affected by the bad 
formatting of cdebconf.
23:27 < otavio> pere: i doubt it will be fixed for rc2.
23:27 < otavio> bubulle: hello
23:29 < pere> otavio: :(  Any ideas on how to work around it in 
debian-edu-install?

In my opinion, the only way to work around this bug is by shortening
down the wording of the debconf template *drastically*

The English screenshot posted in the bug report shows there is room
for improvement, imho.

And, yes, that will require translation updates..:-(

-- 




signature.asc
Description: Digital signature