From c4f4f694116494e9ee49c5b6d63c890c5e64cb59 Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Sun, 31 Aug 2014 20:45:35 +0300 Subject: [PATCH] english translation --- config/locales/en.yml | 59 ++++++++++++++++++++++++++++++- config/locales/simple_form.en.yml | 44 ++++++++++++++++++++--- 2 files changed, 98 insertions(+), 5 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 0653957..7a3acb9 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -20,4 +20,61 @@ # available at http://guides.rubyonrails.org/i18n.html. en: - hello: "Hello world" + activerecord: + models: + user: + one: User + other: Users + lecture: + one: Lecture + other: Lectures + workshop: + one: Workshop + other: Workshops + track: track + attributes: + user: + email: E-mail + current_password: Current password + password: Password + password_confirmation: Password confirmation + remember_me: Remember me + speaker_profile: + picture: Photo + first_name: First name + last_name: Last name + organisation: Organization + public_email: Public email + mobile_phone: Mobile phone + biography: Biography + github: Github account + twitter: Twitter account + lecture: + title: Title + subtitle: Sub-title + length: Length + language: Language + abstract: Abstract + description: Description + notes: Notes + track: Track + workshop: + title: Title + subtitle: Sub-title + length: Length + language: Language + abstract: Abstract + description: Description + notes: Notes + track: Track + errors: + models: + user: + attributes: + email: + invalid: is not a valid email address + password_confirmation: + confirmation: does not match the password + errors: + messages: + improbable_phone: 'not a valid phone number' diff --git a/config/locales/simple_form.en.yml b/config/locales/simple_form.en.yml index 3b9bafe..1e029c3 100644 --- a/config/locales/simple_form.en.yml +++ b/config/locales/simple_form.en.yml @@ -1,9 +1,45 @@ en: simple_form: - "yes": 'Yes' - "no": 'No' + "yes": Yes + "no": No required: - text: 'required' + text: Required field mark: '*' error_notification: - default_message: "Please review the problems below:" \ No newline at end of file + default_message: 'Please see the errors below:' + hints: + user: + email: Your email address. Will be visible to the organizers only. + password: Password with length between 8 and 128 symbols + password_confirmation: Repeat the password + speaker_profile: + picture: Your photo + first_name: First name + last_name: Last name + organisation: Your organization + public_email: E-mail address, visible to the visitors + mobile_phone: Mobile phone, visible for the organizers only + biography: Describe yourself in a few sentences in third person :). + github: Your Github account + twitter: Your Twitter account + lecture: + title: Title of your talk + subtitle: Sub-title of your talk (if applicable) + track: Track for your talk + length: The length of your talk can be from 40 to 45 minutes + language: Language in with the talk will be presented + abstract: Abstract of the talk, for the visitors + description: Detailed description of the talk, visible to the visitors + notes: Notes on your talk, visible only to the organizers + workshop: + title: Title of your workshop + subtitle: Sub-title of your workshop (if applicable) + track: Track for your workshop + length: The length of the workshop can be from 30 to 120 minutes + language: Language in with the workshop will be conducted + abstract: Abstract of the workshop, visible to the visitors + description: Detailed description of the workshop, visible to the visitors + notes: Notes, visible only to the organizers + labels: + user: + a: b