From b0a3f445696e65184c360b9aa335ab6cbea09c72 Mon Sep 17 00:00:00 2001 From: Heitor Reis Date: Tue, 24 Mar 2015 12:16:11 -0300 Subject: [PATCH] Finished internationalizing home --- app/views/home/index.html.erb | 16 ++++++++-------- config/locales/views/en.yml | 4 ---- config/locales/views/home/en.yml | 5 +++++ config/locales/views/home/pt.yml | 5 +++++ config/locales/views/pt.yml | 4 ---- 5 files changed, 18 insertions(+), 16 deletions(-) create mode 100644 config/locales/views/home/en.yml create mode 100644 config/locales/views/home/pt.yml diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index efa4b0e..2197c10 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -1,14 +1,14 @@
-

Understanding Code Metrics

- -

This is Mezuro! A free/libre web platform for collaborative source code evaluation.

- -

Here you can evaluate your source code with the most popular SCMs (like Git and SVN), just by providing its URL. For now, you can evaluate C, C++ and Java source codes, but we are looking forward to supporting more languages in the future.

- -

Mezuro is continuously under development. Try it and give us your <%= link_to 'feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank' %>.

+

<%= t('title_home_index') %>

+

+ <%= t('body_home_index_html') %> +

+

+ <%= t('body_feedback_home_index_html', href: link_to('feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank')) %> +

-

Latest projects

+

<%= t('latest_projects') %>