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.
- There is just a point and it will not be printed into a chart.
+ There is only one point and it will not be printed into a chart.
|
-<% 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:
- Have <%= link_to("signed up", new_user_registration_path) %> to the platform
- Be <%= link_to("signed in", new_user_session_path) %>
- - And have a repository URL which you desire to analyze
+ - And have a repository URL which you wish to analyze
@@ -33,12 +33,12 @@ In order to create a Project, you must:
Fill in the form
- "Name" must be unique
- - You should choose from one of the Open Source licenses in the platform accordingly to your code
- - The "Type" field stands for the repository's source code management tool (Git, for example)
+ - You should choose one of the Open Source licenses in the platform according to your code
+ - The "Type" field stands for the Repository source code management tool (Git, for example)
- Fill in the "Address" with the URL from which we can download your code
- If you want to analyze your project periodically, set it (you can as well run it from the interface whenever you want)
- - Finally, the "Configuration", stands for the set of metrics and interpretation that we'll use to analyze your project
- - Click on "Save" and you should be at the repository page, waiting for that analysis
+ - Finally, the "Configuration" stands for the set of metrics and interpretation that we will use to analyze your project
+ - Click on "Save" and you should be at the repository page, waiting for the analysis
@@ -53,18 +53,18 @@ The repository page is divided into four different sections:
Details
- Information that you provided during the creation steps
- - Select box so it is possible to visualize previous precessings for your repository
+ - Select box so it is possible to visualize previous processings of your repository
Processing information
- - Information about the time that has taken to finish each step of the processing
+ - Information about the time it has taken to finish each step of the processing
- PREPARING: the system is reserving a folder for your repository and retrieving the configuration
- DOWNLOADING: retrieving the source code
- COLLECTING: calculating the metrics for your repository
- BUILDING: organizing the results into a source tree structure
- AGGREGATING: calculating the aggregated value for parent modules in the source tree
- - CALCULATING: if the choosen configuration has compound metrics, they will be calculated
+ - CALCULATING: if the chosen configuration has compound metrics, they will be calculated
- INTERPRETING: with all the necessary results, the system will interpret them using reading groups (labels and colors)
@@ -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
- Displays the individual results of each metric for the current module selected in the source tree
- - By clicking in the metric name, you will see a historic chart for that metric
+ - By clicking on the metric name, you will see a historic chart for that metric
-
\ 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
- - Weight: for each module is given a grade which is a weighted average of all the metrics calculated for it. This field is the weight of the metric on the final grade
- - Aggregation Form: Not all the metrics can be calculated for every module. For this type of metric, we calculate the aggregation of the children values accordingly to what this field specifies
+ - Weight: for each module it is given a grade which is a weighted average of all the metrics calculated for it. This field is the weight of the metric on the final grade
+ - Aggregation Form: Not all the metrics can be calculated for every module. For this type of metric, we calculate the aggregation of the children values according to what this field specifies
- Reading Group: specifies which set of interpretations (called readings) will be available for this metric
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 <%=
- From the configuration page
- Click on "Add Metric"
- - Select one collector from the accordions, and click on the metric that you want to add
+ - Select one collector from the options, and click on the metric that you want to add
- Fill in the form with a "Weight", used to calculate the final grade
- Select the "Aggregation Form" that will be used for this metric
@@ -64,15 +64,15 @@ To process a repository, Mezuro uses configurations which you specify on the <%=
- Ranges creation
- From the configuration page
- - Click on "Show" for the metric which you want to create ranges to
+ - Click on "Show" for the metric which you want to create ranges for
- Click on "Add Range"
- Fill in the form with the "Beginning" and "End" values for the interval
- Fill in the form with the "Comments" which will be displayed if the metric value matches the interval
- Select the "Reading" which will be associated with this range
- - Click on "Save" and you should be at the metric page now with the new range added, congratulations!
+ - 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