From c99fce96b01d388f7600565f0d7cbf6eac0bf0e8 Mon Sep 17 00:00:00 2001 From: Heitor Reis Date: Mon, 1 Sep 2014 15:20:48 -0300 Subject: [PATCH] Revised grammar on views --- app/views/compound_metric_configurations/_metric_options.html.erb | 4 ++-- app/views/home/index.html.erb | 2 +- app/views/metric_configurations/_form.html.erb | 6 +++--- app/views/mezuro_ranges/_form.html.erb | 4 ++-- app/views/mezuro_ranges/_no_readings.html.erb | 2 +- app/views/modules/_metric_result.html.erb | 4 ++-- app/views/readings/_form.html.erb | 4 ++-- app/views/repositories/_form.html.erb | 4 ++-- app/views/shared/_short_about.html.erb | 6 +++--- app/views/tutorials/analyzing.html.erb | 22 +++++++++++----------- app/views/tutorials/configuring.html.erb | 12 ++++++------ 11 files changed, 35 insertions(+), 35 deletions(-) diff --git a/app/views/compound_metric_configurations/_metric_options.html.erb b/app/views/compound_metric_configurations/_metric_options.html.erb index b77a866..68732ff 100644 --- a/app/views/compound_metric_configurations/_metric_options.html.erb +++ b/app/views/compound_metric_configurations/_metric_options.html.erb @@ -29,7 +29,7 @@

- A mathematic expression to calculate your compound metric. + A mathematical expression to calculate your compound metric.

@@ -45,4 +45,4 @@

-<%= f.hidden_field(:compound, { value: "true"}) %> \ No newline at end of file +<%= f.hidden_field(:compound, { value: "true"}) %> diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 9dd405a..45329ca 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -3,7 +3,7 @@

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 hope to support more languages in the future.

+

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' %>.

diff --git a/app/views/metric_configurations/_form.html.erb b/app/views/metric_configurations/_form.html.erb index e0ea4f6..f679e66 100644 --- a/app/views/metric_configurations/_form.html.erb +++ b/app/views/metric_configurations/_form.html.erb @@ -10,7 +10,7 @@

- It is the Weight of the metric + It is the Weight of the metric.

@@ -22,7 +22,7 @@

- It is the Aggregation Form of the metric + It is the Aggregation Form of the metric.

@@ -37,7 +37,7 @@

- The Reading Group associated with this metric + The Reading Group associated with this metric.

diff --git a/app/views/mezuro_ranges/_form.html.erb b/app/views/mezuro_ranges/_form.html.erb index fb1e53b..448ceaa 100644 --- a/app/views/mezuro_ranges/_form.html.erb +++ b/app/views/mezuro_ranges/_form.html.erb @@ -11,7 +11,7 @@

- Value where your Range begins. + Starting value for your Range.

@@ -24,7 +24,7 @@

- Value where your Range ends. + Ending value for your Range.

diff --git a/app/views/mezuro_ranges/_no_readings.html.erb b/app/views/mezuro_ranges/_no_readings.html.erb index 54c83f3..edba299 100644 --- a/app/views/mezuro_ranges/_no_readings.html.erb +++ b/app/views/mezuro_ranges/_no_readings.html.erb @@ -4,7 +4,7 @@ <% if reading_groups_owner? @reading_group_id %>
<%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group_id), class: 'btn btn-danger' %> <% else %> -

Your Metric Configurations' Reading Group belongs to another user and you are not allowed to modify it.

+

The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it.

<% end %>

diff --git a/app/views/modules/_metric_result.html.erb b/app/views/modules/_metric_result.html.erb index ebcd187..fd8f672 100644 --- a/app/views/modules/_metric_result.html.erb +++ b/app/views/modules/_metric_result.html.erb @@ -17,7 +17,7 @@ <%= image_tag 'loader.gif' %> Loading data. Please, wait. - + -<% end %> \ No newline at end of file +<% end %> diff --git a/app/views/readings/_form.html.erb b/app/views/readings/_form.html.erb index a7ce908..4a342d0 100644 --- a/app/views/readings/_form.html.erb +++ b/app/views/readings/_form.html.erb @@ -43,7 +43,7 @@

- The color that represents your Reading. You can choose one by typing its hexadecimal or using the color picker. + The color that represents your Reading. You can choose one by typing its hexadecimal value or by using the color picker.

Example values: 000000, 00ff00 etc @@ -73,4 +73,4 @@ } } new ColorPicker($("#pickcolor_button"), options); - \ No newline at end of file + diff --git a/app/views/repositories/_form.html.erb b/app/views/repositories/_form.html.erb index 9a65ecf..8ffc522 100644 --- a/app/views/repositories/_form.html.erb +++ b/app/views/repositories/_form.html.erb @@ -47,7 +47,7 @@

- The version control system the software use. + The version control system the software uses.

@@ -94,4 +94,4 @@
<%= f.submit 'Save', class: 'btn btn-primary' %> <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %> -
\ No newline at end of file + diff --git a/app/views/shared/_short_about.html.erb b/app/views/shared/_short_about.html.erb index 175719f..9f0aa82 100644 --- a/app/views/shared/_short_about.html.erb +++ b/app/views/shared/_short_about.html.erb @@ -1,7 +1,7 @@
  • - The Mezuro project attempts to provide a platform to compare projects and metric techniques, teaching how to use metrics through configurations, code analysis, avoid technical debts, and disseminate code metrics usage and understanding. + The Mezuro project attempts to provide a platform to compare projects and metric techniques, teaching how to use metrics through configurations and code analysis, avoid technical debts and disseminate code metrics usage and understanding.
  • - Here you can try the front-end, which we call Prezento. It interacts with the <%= link_to 'Kalibro Web Service', 'https://github.com/mezuro/kalibro', target: '_blank' %> and <%= link_to 'Kalibro Processor', 'https://github.com/mezuro/kalibro_processr', target: '_blank' %>. It is intended to be a service where you can evaluate your code quality and, if you want, define which set of metrics you want to use. -
  • \ No newline at end of file + Here you can try the front-end, which we call Prezento. It interacts with the <%= link_to 'Kalibro Web Service', 'https://github.com/mezuro/kalibro', target: '_blank' %> and <%= link_to 'Kalibro Processor', 'https://github.com/mezuro/kalibro_processr', target: '_blank' %>. It is intended to be a service where you can evaluate your code quality and, if you want, define which set of metrics to use. + diff --git a/app/views/tutorials/analyzing.html.erb b/app/views/tutorials/analyzing.html.erb index 59825cf..d939e47 100644 --- a/app/views/tutorials/analyzing.html.erb +++ b/app/views/tutorials/analyzing.html.erb @@ -9,7 +9,7 @@ In order to create a Project, you must:
    @@ -33,12 +33,12 @@ In order to create a Project, you must:
  • Fill in the form
  • @@ -53,18 +53,18 @@ The repository page is divided into four different sections:
  • Details
  • Processing information
  • @@ -78,11 +78,11 @@ The repository page is divided into four different sections:
  • PACKAGE
  • SOFTWARE
  • -
  • Grade of the given module accordingly to the weights of the metrics on the configuration +
  • Grade of the given module according to the weights of the metrics on the configuration
  • Metric Results
  • - \ No newline at end of file + diff --git a/app/views/tutorials/configuring.html.erb b/app/views/tutorials/configuring.html.erb index ce4ed45..34a6530 100644 --- a/app/views/tutorials/configuring.html.erb +++ b/app/views/tutorials/configuring.html.erb @@ -23,8 +23,8 @@ To process a repository, Mezuro uses configurations which you specify on the <%=
  • Configuration: just a high level container for the remaining components association
  • Metrics: specification of which metric will be calculated during the processing and how to interpret its results
  • Reading Group: just a high level container for the readings (interpretations)
  • @@ -53,7 +53,7 @@ To process a repository, Mezuro uses configurations which you specify on the <%=
    1. From the configuration page
    2. Click on "Add Metric"
    3. -
    4. Select one collector from the accordions, and click on the metric that you want to add
    5. +
    6. Select one collector from the options, and click on the metric that you want to add
      1. Fill in the form with a "Weight", used to calculate the final grade
      2. Select the "Aggregation Form" that will be used for this metric
      3. @@ -64,15 +64,15 @@ To process a repository, Mezuro uses configurations which you specify on the <%=
      4. Ranges creation
        1. From the configuration page
        2. -
        3. Click on "Show" for the metric which you want to create ranges to
        4. +
        5. Click on "Show" for the metric which you want to create ranges for
        6. Click on "Add Range"
          1. Fill in the form with the "Beginning" and "End" values for the interval
          2. Fill in the form with the "Comments" which will be displayed if the metric value matches the interval
          3. Select the "Reading" which will be associated with this range
          4. -
          5. Click on "Save" and you should be at the metric page now with the new range added, congratulations!
          6. +
          7. Click on "Save" and you should be at the metric page with the new range added, congratulations!
      -
      \ No newline at end of file +
      -- libgit2 0.21.2