Orckestra / CMS-Packages

Add-ons for C1 CMS
https://cms.orckestra.com/Add-ons
12 stars 21 forks source link

[Composite.Forms.FormBuilder] The "Encrypt email with password" field etc should be localizable #24

Open wwwysocki opened 8 years ago

wwwysocki commented 8 years ago
  1. Functions > Razor Functions > Composite.Forms.FormBuilder.Handlers.SendEmail
  2. Check the EncryptionPassword parameter.

Expected: It allows localization as the parameters above Actual: This parameters has strings in English "hard coded".

Note: Please also see the comments below for more instances

[FunctionParameter(Label = "Encrypt email with password", 
   Help = "Write a password here if you want an email with the content in an encrypted zip file",
   DefaultValue = "")] 
public string EncryptionPassword { get; set; }

form-builder-password-field-not-localizable

slacto commented 8 years ago

Also the last part of the code (email body)

wwwysocki commented 8 years ago

The part in SendEmail.cs between ? And / or this part: mail.Body = "Encrypted file attached"; ?

slacto commented 8 years ago

**New form data submitted**

Source: @Request.Url And also checkboxes (the text True/False)