MINOR: added translation for body. MINOR: updated en_US.php lang file

This commit is contained in:
Will Rossiter 2010-09-07 22:48:46 +00:00
parent bc0d4c7692
commit 4ff4aa561f
2 changed files with 27 additions and 4 deletions

View File

@ -817,7 +817,7 @@ class UserDefinedForm_EmailRecipient extends DataObject {
new TextField('EmailAddress', _t('UserDefinedForm.SENDEMAILTO','Send Email To')),
new CheckboxField('HideFormData', _t('UserDefinedForm.HIDEFORMDATA', 'Hide Form Data from Email')),
new CheckboxField('SendPlain', _t('UserDefinedForm.SENDPLAIN', 'Send Email as Plain Text (HTML will be stripped)')),
new TextareaField('EmailBody', 'Body')
new TextareaField('EmailBody', _t('UserDefinedForm.EMAILBODY','Body'))
);
if($this->Form()) {

View File

@ -2,12 +2,14 @@
global $lang;
$lang['en_US']['AddField.ss']['ADD'] = 'Add';
$lang['en_US']['AddField.ss']['SELECTAFIELD'] = 'Select a Field';
$lang['en_US']['CustomRule.ss']['BLANK'] = 'Blank';
$lang['en_US']['CustomRule.ss']['DELETE'] = 'Delete';
$lang['en_US']['CustomRule.ss']['GREATERTHAN'] = 'Value Greater Than';
$lang['en_US']['CustomRule.ss']['GREATERTHANEQUAL'] = 'Value Greater Than Or Equal';
$lang['en_US']['CustomRule.ss']['HIDETHISFIELD'] = 'Hide This Field';
$lang['en_US']['CustomRule.ss']['IS'] = 'Is';
$lang['en_US']['CustomRule.ss']['LESSTHAN'] = 'Value Less Than';
$lang['en_US']['CustomRule.ss']['LESSTHANEQUAL'] = 'Value Less Than Or Equal';
$lang['en_US']['CustomRule.ss']['NOTBLANK'] = 'Not Blank';
$lang['en_US']['CustomRule.ss']['NOTVALUE'] = 'Not Value';
$lang['en_US']['CustomRule.ss']['SHOWTHISFIELD'] = 'Show This Field';
@ -75,6 +77,7 @@ $lang['en_US']['EditableFileField']['SINGULARNAME'] = array(
);
$lang['en_US']['EditableFormField']['CHECKEDBYDEFAULT'] = 'Checked by Default?';
$lang['en_US']['EditableFormField']['CUSTOMERROR'] = 'Custom Error Message';
$lang['en_US']['EditableFormField']['DEFAULTTOTODAY'] = 'Default to Today?';
$lang['en_US']['EditableFormField']['ENTERQUESTION'] = 'Enter Question';
$lang['en_US']['EditableFormField']['GROUP'] = 'Group';
$lang['en_US']['EditableFormField']['NO'] = 'No';
@ -84,6 +87,7 @@ $lang['en_US']['EditableFormField']['PLURALNAME'] = array(
'Pural name of the object, used in dropdowns and to generally identify a collection of this object in the interface'
);
$lang['en_US']['EditableFormField']['REQUIRED'] = 'Is this field Required?';
$lang['en_US']['EditableFormField']['RIGHTTITLE'] = 'Right Title';
$lang['en_US']['EditableFormField']['SINGULARNAME'] = array(
'Editable Form Field',
50,
@ -98,9 +102,13 @@ $lang['en_US']['EditableFormField.ss']['DELETE'] = 'Delete';
$lang['en_US']['EditableFormField.ss']['DRAG'] = 'Drag to rearrange order of fields';
$lang['en_US']['EditableFormField.ss']['FIELDCONFIGURATION'] = 'Field Configuration';
$lang['en_US']['EditableFormField.ss']['FIELDONDEFAULT'] = 'Field On Default';
$lang['en_US']['EditableFormField.ss']['GREATERTHAN'] = 'Value Greater Than';
$lang['en_US']['EditableFormField.ss']['GREATERTHANEQUAL'] = 'Value Greater Than Or Equal';
$lang['en_US']['EditableFormField.ss']['HIDE'] = 'Hide';
$lang['en_US']['EditableFormField.ss']['HIDETHISFIELD'] = 'Hide This Field';
$lang['en_US']['EditableFormField.ss']['IS'] = 'Is';
$lang['en_US']['EditableFormField.ss']['LESSTHAN'] = 'Value Less Than';
$lang['en_US']['EditableFormField.ss']['LESSTHANEQUAL'] = 'Value Less Than Or Equal';
$lang['en_US']['EditableFormField.ss']['LOCKED'] = 'These fields cannot be modified';
$lang['en_US']['EditableFormField.ss']['NOTBLANK'] = 'Not Blank';
$lang['en_US']['EditableFormField.ss']['NOTVALUE'] = 'Not Value';
@ -186,8 +194,11 @@ $lang['en_US']['EditableTextField']['SINGULARNAME'] = array(
50,
'Singular name of the object, used in dropdowns and to generally identify a single object in the interface'
);
$lang['en_US']['EditableTextField']['TEXTBOXLENGTH'] = 'Length of text box';
$lang['en_US']['EditableTextField']['TEXTLENGTH'] = 'Text length';
$lang['en_US']['FieldEditor.ss']['ADD'] = 'Add';
$lang['en_US']['FieldEditor.ss']['SELECTAFIELD'] = 'Select a Field';
$lang['en_US']['Form']['FIELDISREQUIRED'] = '%s is required';
$lang['en_US']['SubmittedFileField']['DOWNLOADFILE'] = 'Download File';
$lang['en_US']['SubmittedFileField']['PLURALNAME'] = array(
'Submitted File Fields',
50,
@ -225,6 +236,7 @@ $lang['en_US']['SubmittedFormReportField.ss']['NOSUBMISSIONS'] = 'No Submissions
$lang['en_US']['SubmittedFormReportField.ss']['SUBMITTED'] = 'Submitted at';
$lang['en_US']['UserDefinedForm']['AEMAILRECIPIENT'] = 'A Email Recipient';
$lang['en_US']['UserDefinedForm']['EMAILADDRESS'] = 'Email';
$lang['en_US']['UserDefinedForm']['EMAILBODY'] = 'Body';
$lang['en_US']['UserDefinedForm']['EMAILFROM'] = 'From';
$lang['en_US']['UserDefinedForm']['EMAILRECIPIENTS'] = 'Email Recipients';
$lang['en_US']['UserDefinedForm']['EMAILSUBJECT'] = 'Email Subject';
@ -233,6 +245,7 @@ $lang['en_US']['UserDefinedForm']['FROMADDRESS'] = 'Send Email From';
$lang['en_US']['UserDefinedForm']['HIDEFORMDATA'] = 'Hide Form Data from Email';
$lang['en_US']['UserDefinedForm']['ONCOMPLETE'] = 'On Complete';
$lang['en_US']['UserDefinedForm']['ONCOMPLETELABEL'] = 'Show on completion';
$lang['en_US']['UserDefinedForm']['OPTIONS'] = 'Options';
$lang['en_US']['UserDefinedForm']['ORSELECTAFIELDTOUSEASFROM'] = '.. or Select a Form Field to use as the From Address';
$lang['en_US']['UserDefinedForm']['ORSELECTAFIELDTOUSEASTO'] = '.. or Select a Field to use as the To Address';
$lang['en_US']['UserDefinedForm']['PLURALNAME'] = array(
@ -253,6 +266,16 @@ $lang['en_US']['UserDefinedForm']['SINGULARNAME'] = array(
$lang['en_US']['UserDefinedForm']['SUBMISSIONS'] = 'Submissions';
$lang['en_US']['UserDefinedForm']['SUBMITBUTTON'] = 'Submit';
$lang['en_US']['UserDefinedForm']['TEXTONSUBMIT'] = 'Text on submit button:';
$lang['en_US']['UserDefinedForm_EmailRecipient']['PLURALNAME'] = array(
'User Defined Form Email Recipients',
50,
'Pural name of the object, used in dropdowns and to generally identify a collection of this object in the interface'
);
$lang['en_US']['UserDefinedForm_EmailRecipient']['SINGULARNAME'] = array(
'User Defined Form Email Recipient',
50,
'Singular name of the object, used in dropdowns and to generally identify a single object in the interface'
);
$lang['en_US']['UserFormsMigrationTask']['DEFAULTSUBMISSIONTITLE'] = 'Submission Data';
?>