From c751792f9fe78b37050239a4a7e62ef107d59d59 Mon Sep 17 00:00:00 2001 From: Carl Chenet Date: Wed, 9 Nov 2016 11:36:01 +0100 Subject: [PATCH] i18n of stories/new view --- app/views/stories/new.html.erb | 8 ++++---- config/locales/en.yml | 6 ++++++ config/locales/fr.yml | 6 ++++++ 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/app/views/stories/new.html.erb b/app/views/stories/new.html.erb index 61b1246..3703231 100644 --- a/app/views/stories/new.html.erb +++ b/app/views/stories/new.html.erb @@ -1,6 +1,6 @@
- Submit a Story + <%= t('.submit') %>
@@ -13,13 +13,13 @@
- Markdown formatting available + <%= t('.markdown') %>
- <%= submit_tag "Submit" %> + <%= submit_tag t('.submitbutton') %>   - +
diff --git a/config/locales/en.yml b/config/locales/en.yml index 1b5a4f0..2773806 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -137,3 +137,9 @@ en: emailaddress: "E-mail Address:" memouser: "Memo to User:" sendinvitation: "Send Invitation" + stories: + new: + markdown: "Markdown formatting available" + preview: "Preview" + submit: "Submit a Story" + submitbutton: "Submit" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 973e52b..1ab639d 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -149,3 +149,9 @@ fr: emailaddress: "Adresse e-mail :" memouser: "Message à l'utilisateur :" sendinvitation: "Envoyer l'invitation" + stories: + new: + markdown: "Utilisation du Markdown possible" + preview: "Aperçu" + submit: "Soumettre une info" + submitbutton: "Soumettre"