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

Re: [RFR] Templates for package smbind



Quoting Justin B Rye (jbr@edlug.org.uk):
> Giuseppe Iuculano wrote:
> > As suggested by Christian Perrier, I kindly ask for a review of
> > templates for smbind package.
> 
> Not much work for me here.

Same for me, but I still have a few issues I'd like to see fixed.

Starting from Justin's changed templates:

--- templates~	2010-03-12 06:55:38.037972089 +0100
+++ templates	2010-03-12 06:58:05.610034587 +0100
@@ -1,22 +1,22 @@
 Template: smbind/password1
 Type: password
-_Description: admin password:
+_Description: Smbind administrator password:
  Please choose a password for the Smbind administrator.

Let's make the synopsis explicit, too, and properly capitalize it.

 
 Template: smbind/password2
 Type: password
-_Description: Confirm password:
- Please enter the admin password again to verify that
+_Description: Re-enter password to verify:
+ Please enter the same Smbind administrator password again to verify
  you have typed it correctly.

Stolen from D-I templates

 
 Template: smbind/password_mismatch
 Type: note
-_Description: Password mismatch
+_Description: Password input error
  The two passwords you entered were not the same. Please try again.

Ditto. Comes from D-I.
 
 Template: smbind/reconfigure-webserver
 Type: multiselect
-__Choices: apache2, lighttpd
+Choices: apache2, lighttpd
 Default: apache2, lighttpd
 _Description: Web server(s) to configure automatically:
  Smbind supports any web server supported by PHP, but only
@@ -31,4 +31,4 @@
 _Description: Should ${webserver} be restarted?
  Remember that in order to activate the new configuration
  ${webserver} has to be restarted. You can also restart ${webserver}
- by manually executing invoke-rc.d ${webserver} restart.
+ by manually executing "invoke-rc.d ${webserver} restart".

These choices are non translatable stuff.

Quote the command to use.


Template: smbind/password1
Type: password
_Description: Smbind administrator password:
 Please choose a password for the Smbind administrator.

Template: smbind/password2
Type: password
_Description: Re-enter password to verify:
 Please enter the same Smbind administrator password again to verify
 you have typed it correctly.

Template: smbind/password_mismatch
Type: note
_Description: Password input error
 The two passwords you entered were not the same. Please try again.

Template: smbind/reconfigure-webserver
Type: multiselect
Choices: apache2, lighttpd
Default: apache2, lighttpd
_Description: Web server(s) to configure automatically:
 Smbind supports any web server supported by PHP, but only
 Apache 2 and lighttpd can be configured automatically.
 .
 Please select the web server(s) that should be configured
 automatically for Smbind.

Template: smbind/restart-webserver
Type: boolean
Default: false
_Description: Should ${webserver} be restarted?
 Remember that in order to activate the new configuration
 ${webserver} has to be restarted. You can also restart ${webserver}
 by manually executing "invoke-rc.d ${webserver} restart".
--- templates~	2010-03-12 06:55:38.037972089 +0100
+++ templates	2010-03-12 06:58:05.610034587 +0100
@@ -1,22 +1,22 @@
 Template: smbind/password1
 Type: password
-_Description: admin password:
+_Description: Smbind administrator password:
  Please choose a password for the Smbind administrator.
 
 Template: smbind/password2
 Type: password
-_Description: Confirm password:
- Please enter the admin password again to verify that
+_Description: Re-enter password to verify:
+ Please enter the same Smbind administrator password again to verify
  you have typed it correctly.
 
 Template: smbind/password_mismatch
 Type: note
-_Description: Password mismatch
+_Description: Password input error
  The two passwords you entered were not the same. Please try again.
 
 Template: smbind/reconfigure-webserver
 Type: multiselect
-__Choices: apache2, lighttpd
+Choices: apache2, lighttpd
 Default: apache2, lighttpd
 _Description: Web server(s) to configure automatically:
  Smbind supports any web server supported by PHP, but only
@@ -31,4 +31,4 @@
 _Description: Should ${webserver} be restarted?
  Remember that in order to activate the new configuration
  ${webserver} has to be restarted. You can also restart ${webserver}
- by manually executing invoke-rc.d ${webserver} restart.
+ by manually executing "invoke-rc.d ${webserver} restart".

Attachment: signature.asc
Description: Digital signature


Reply to: