Add a placeholder for the comment field

master
Daniel Berteaud 11 years ago
parent 66ef75e427
commit 0a051f8c05
  1. 1
      lib/Vroom/I18N/en.pm
  2. 1
      lib/Vroom/I18N/fr.pm
  3. 2
      templates/default/feedback.html.ep

@ -20,6 +20,7 @@ our %Lexicon = (
"FEEDBACK" => "Feedback", "FEEDBACK" => "Feedback",
"YOUR_MAIL_OPTIONAL" => "Your email address (optional)", "YOUR_MAIL_OPTIONAL" => "Your email address (optional)",
"COMMENT" => "Comment", "COMMENT" => "Comment",
"VROOM_IS_AWESOME" => "VROOM is really awesome ;-)",
"SUBMIT" => "Submit", "SUBMIT" => "Submit",
"THANK_YOU" => "Thank you :-)", "THANK_YOU" => "Thank you :-)",
"THANKS_FOR_YOUR_FEEDBACK" => "Your message has been sent, thank your for taking time to share your experience with us", "THANKS_FOR_YOUR_FEEDBACK" => "Your message has been sent, thank your for taking time to share your experience with us",

@ -21,6 +21,7 @@ our %Lexicon = (
"FEEDBACK" => "Retour d'expérience", "FEEDBACK" => "Retour d'expérience",
"YOUR_MAIL_OPTIONAL" => "Votre adresse email (optionnelle)", "YOUR_MAIL_OPTIONAL" => "Votre adresse email (optionnelle)",
"COMMENT" => "Commentaire", "COMMENT" => "Commentaire",
"VROOM_IS_AWESOME" => "VROOM est vraiment génial ;-)",
"SUBMIT" => "Envoyer", "SUBMIT" => "Envoyer",
"THANK_YOU" => "Merci :-)", "THANK_YOU" => "Merci :-)",
"THANKS_FOR_YOUR_FEEDBACK" => "Votre message a bien été transmis, merci d'avoir pris le temps de nous faire part de votre expérience", "THANKS_FOR_YOUR_FEEDBACK" => "Votre message a bien été transmis, merci d'avoir pris le temps de nous faire part de votre expérience",

@ -19,7 +19,7 @@
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="comment"><%=l 'COMMENT' %></label> <label for="comment"><%=l 'COMMENT' %></label>
<textarea id="comment" name="comment" class="form-control" rows="10" required></textarea> <textarea id="comment" name="comment" class="form-control" rows="10" placeholder="<%=l 'VROOM_IS_AWESOME' %>" required></textarea>
</div> </div>
<button type="submit" class="btn btn-default"><%=l 'SUBMIT' %></button> <button type="submit" class="btn btn-default"><%=l 'SUBMIT' %></button>
</form> </form>

Loading…
Cancel
Save