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

Re: [RFR] templates://smstools/{templates}



Christian Perrier wrote:
> Template: smstools/eventhandler
...
> _Description: Global event-handler:
>  Please specify an external program or script that will execute,
>  whenever a message was sent, received or failed. 

This would be short for "will execute whenever a message was sent,
or a message was received, or a message *was* failed" - which isn't
what we want. 

If it's okay to talk about a message failing it can be "will execute
whenever a message is sent or received, or fails."

Otherwise, "will execute whenever a message is sent or received, or
on failures."


> Type: string
> _Description: Modem device:
>  Please specify an optional extra device for the mdoem.
Typo:                                               ^^
 
> Package: smstools
...
> Description: SMS server tools for GSM modems
>  The SMS server tools allow to setup a central SMS gateway. It
                              wrong (say "allow setting up")
>  sends and receives SMS messages using a simple file-based
>  interface. It can accomodate up to 20,000 messages a month.
>  .
>  It supports an event-handler option that allows calling customized
                                                   (right!)
>  programs or scripts after sending or receiving SMS messages.

-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
--- ../smstools.old/debian/templates	2007-06-11 20:24:00.000000000 +0100
+++ debian/templates	2007-06-11 20:26:40.000000000 +0100
@@ -1,80 +1,76 @@
 Template: smstools/configure
 Type: boolean
 Default: true
-_Description: Manage smsd configuration with debconf?
+_Description: Manage smsd configuration automatically?
+ Reject this option if you want to configure smsd manually.
 
 Template: smstools/config_exist
-Type: note
-_Description: Previously created configuration file exists
- It has been detected that a previously created configuration file exists.
- A backup of this file has been created in /etc/smsd.conf.bak.
+Type: error
+_Description: Previously created configuration file detected
+ The existing configuration file has been moved to /etc/smsd.conf.bak.
 
 Template: smstools/eventhandler
 Type: string
-_Description: Global Event handler:
- Specifies an external program or script that will execute,
- whenever a message was sent, received or failed. 
- This is useful e.g. when you want to run an email2sms gateway.
+_Description: Global event-handler:
+ Please specify an external program or script that will execute
+ whenever a message is sent or received, or on failure. 
+ This is useful for instance when running an email2sms gateway.
  .
- See the examples in /usr/share/doc/smstools/examples for details.
+ Examples of event-handlers are detailed in /usr/share/doc/smstools/examples.
 
 Template: smstools/devicename
 Type: string
 Default: GSM1
 _Description: Modem name:
- Defines a short name for the modem device. It is required.
+ Please specify the short name for the modem device. This is a mandatory
+ setting.
 
 Template: smstools/devicenode
 Type: select
 #flag:translate:6
 __Choices: /dev/ttyS0, /dev/ttyS1, /dev/ttyS2, /dev/ttyS3, /dev/ttyS4, Other
 _Description: Modem device:
- Defines the modem device. Usually this is /dev/ttyS0 for the first com-port.
- But your setup may differ. For e.g USB-Devices you have to choice 'other'
- and specify the appriopriate device node with its full path.
+ Please specify the modem device. Usually the modem device is
+ /dev/ttyS0 (the first serial port), but your setup may differ;
+ e.g. for a USB device, choose 'Other' and specify the full path of
+ the appropriate device node.
 
 Template: smstools/devicenodeother
 Type: string
-_Description: Modem Device:
- This can be used to define a device node other then the previously
- selection.
+_Description: Modem device:
+ Please specify an optional extra device for the modem.
 
 Template: smstools/devicebaudrate
 Type: select
 #flag:translate:6
 __Choices: 9600, 19200, 28800, 38400, 115200, Other
 Default: 19200
-_Description: Baudrate for this device:
- Most modems work well with a baudrate of 19200, but some modems
- require another baudrate to work, e.g. 9600 Baud is another common value.
- If your modem does not support any of the baudrates in the list, you have
- to select 'other' and specify the appriopriate baudrate.
+_Description: Modem device speed (bps):
+ Most modems work well with a speed of 19200bps, but some modems may
+ require 9600 bps. If your modem does not support any of the baud
+ rates in the list, select 'Other'.
 
 Template: smstools/devicebaudrateother
 Type: string
-_Description: Baudrate:
- This can be used to define a baudrate other then the most-common baudrates.
+_Description: Modem device speed (bps):
 
 Template: smstools/deviceincoming
 Type: boolean
 Default: true
 _Description: Receive SMS with this device?
- This defines if the device should be used to receive incoming SMS.
+ Please choose whether the device should be used to receive incoming SMS.
 
 Template: smstools/deviceinit
 Type: string
-_Description: Modem Init String:
- Specifies a modem initialisation command. Most modems do not need any init string.
- See your modem manual for more details about modem commands.
- .
- In most cases you can leave this field blank.
+_Description: Modem initialization string:
+ Please specify the modem initialization command. That may be left empty
+ for most modems. Please consult your modem's manual for more details
+ about its supported commands.
 
 Template: smstools/devicepin
-Type: string
-_Description: PIN for the SIM in this device:
- If your SIM needs a PIN to be unlocked, it has to be entered here.
- .
- You can safely leave this field blank, if it doesn't.
+Type: password
+_Description: SIM device PIN code:
+ If the device's SIM needs a PIN to be unlocked, please enter it here.
 
 Template: smstools/configureanothermodem
 Type: boolean
--- ../smstools.old/debian/control	2007-06-11 20:24:00.000000000 +0100
+++ debian/control	2007-06-11 20:25:34.000000000 +0100
@@ -9,22 +9,20 @@
 Package: smstools
 Architecture: any
 Depends: debconf, adduser, ${shlibs:Depends}
-Description: SMS Server Tools for GSM modems
- The SMS Server Tools make your server into a central 
- SMS gateway. You can send and receive SM using a simple 
- file-based interface. This Software was made for users 
- who send less than 20 000 messages each month. 
+Description: SMS server tools for GSM modems
+ The SMS server tools allow setting up a central SMS gateway. It
+ sends and receives SMS messages using a simple file-based
+ interface. It can accomodate up to 20,000 messages a month.
  .
- There is an event-handler option that allows you to call 
- your own programs or scripts after sent or received SM. 
+ It supports an event-handler option that allows calling customized
+ programs or scripts after sending or receiving SMS messages.
  .
- The SMS Server Tools use one or more (max. 32) GSM modems 
- to send and receive SM. You can equip some modems with 
- Vodafone SIM cards and other with Telmi SIM cards (for 
- example), to save money. All SM are sorted in queues by 
- provider. If one modem fails it will be deactivated for
- one hour before the software retries. The other modems
- run without any restriction. You can log status information
- and alarms using the syslog daemon of your operating system.
+ The SMS Server Tools use one or more (max. 32) GSM modems to send and
+ receive SMS messages. Some modems may be equipped with SIM cards such
+ as Vodafone or Telmi ones.  All messages are sorted in queues by the
+ provider. If one modem fails, it will be deactivated for one hour
+ before the software retries, while other modems run without any
+ restriction. The status information and alarms are logged with
+ syslog.
  .
- Upstream URL: http://smstools3.kekekasvi.com/
+  Homepage: http://smstools3.kekekasvi.com/
Template: smstools/configure
Type: boolean
Default: true
_Description: Manage smsd configuration automatically?
 Reject this option if you want to configure smsd manually.

Template: smstools/config_exist
Type: error
_Description: Previously created configuration file detected
 The existing configuration file has been moved to /etc/smsd.conf.bak.

Template: smstools/eventhandler
Type: string
_Description: Global event-handler:
 Please specify an external program or script that will execute
 whenever a message is sent or received, or on failure. 
 This is useful for instance when running an email2sms gateway.
 .
 Examples of event-handlers are detailed in /usr/share/doc/smstools/examples.

Template: smstools/devicename
Type: string
Default: GSM1
_Description: Modem name:
 Please specify the short name for the modem device. This is a mandatory
 setting.

Template: smstools/devicenode
Type: select
#flag:translate:6
__Choices: /dev/ttyS0, /dev/ttyS1, /dev/ttyS2, /dev/ttyS3, /dev/ttyS4, Other
_Description: Modem device:
 Please specify the modem device. Usually the modem device is
 /dev/ttyS0 (the first serial port), but your setup may differ;
 e.g. for a USB device, choose 'Other' and specify the full path of
 the appropriate device node.

Template: smstools/devicenodeother
Type: string
_Description: Modem device:
 Please specify an optional extra device for the modem.

Template: smstools/devicebaudrate
Type: select
#flag:translate:6
__Choices: 9600, 19200, 28800, 38400, 115200, Other
Default: 19200
_Description: Modem device speed (bps):
 Most modems work well with a speed of 19200bps, but some modems may
 require 9600 bps. If your modem does not support any of the baud
 rates in the list, select 'Other'.

Template: smstools/devicebaudrateother
Type: string
_Description: Modem device speed (bps):

Template: smstools/deviceincoming
Type: boolean
Default: true
_Description: Receive SMS with this device?
 Please choose whether the device should be used to receive incoming SMS.

Template: smstools/deviceinit
Type: string
_Description: Modem initialization string:
 Please specify the modem initialization command. That may be left empty
 for most modems. Please consult your modem's manual for more details
 about its supported commands.

Template: smstools/devicepin
Type: password
_Description: SIM device PIN code:
 If the device's SIM needs a PIN to be unlocked, please enter it here.

Template: smstools/configureanothermodem
Type: boolean
Default: false
_Description: Configure another modem?
Source: smstools
Section: comm
Priority: optional
Maintainer: Mark Purcell <msp@debian.org>
Uploaders: Mark Purcell <msp@debian.org>, Patrick Schoenfeld <schoenfeld@in-medias-res.com>
Build-Depends: debhelper (>> 5.0.0), libmm-dev
Standards-Version: 3.7.2

Package: smstools
Architecture: any
Depends: debconf, adduser, ${shlibs:Depends}
Description: SMS server tools for GSM modems
 The SMS server tools allow setting up a central SMS gateway. It
 sends and receives SMS messages using a simple file-based
 interface. It can accomodate up to 20,000 messages a month.
 .
 It supports an event-handler option that allows calling customized
 programs or scripts after sending or receiving SMS messages.
 .
 The SMS Server Tools use one or more (max. 32) GSM modems to send and
 receive SMS messages. Some modems may be equipped with SIM cards such
 as Vodafone or Telmi ones.  All messages are sorted in queues by the
 provider. If one modem fails, it will be deactivated for one hour
 before the software retries, while other modems run without any
 restriction. The status information and alarms are logged with
 syslog.
 .
  Homepage: http://smstools3.kekekasvi.com/

Reply to: