Commit c99fce96b01d388f7600565f0d7cbf6eac0bf0e8

Authored by Heitor
Committed by Diego Camarinha
1 parent 732b657c

Revised grammar on views

Signed off by: Daniel Alves <danpaulalves@gmail.com>
app/views/compound_metric_configurations/_metric_options.html.erb
... ... @@ -29,7 +29,7 @@
29 29 </div>
30 30 <div class="help-container">
31 31 <p>
32   - A mathematic expression to calculate your compound metric.
  32 + A mathematical expression to calculate your compound metric.
33 33 </p>
34 34 </div>
35 35 </div>
... ... @@ -45,4 +45,4 @@
45 45 </p>
46 46 </div>
47 47 </div>
48   -<%= f.hidden_field(:compound, { value: "true"}) %>
49 48 \ No newline at end of file
  49 +<%= f.hidden_field(:compound, { value: "true"}) %>
... ...
app/views/home/index.html.erb
... ... @@ -3,7 +3,7 @@
3 3  
4 4 <p>This is Mezuro! A <strong>free/libre</strong> web platform for <strong>collaborative</strong> source code <strong>evaluation</strong>.</p>
5 5  
6   - <p>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 <strong>C</strong>, <strong>C++</strong> and <strong>Java</strong> source codes, but we hope to support more languages in the future.</p>
  6 + <p>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 <strong>C</strong>, <strong>C++</strong> and <strong>Java</strong> source codes, but we are looking forward to supporting more languages in the future.</p>
7 7  
8 8 <p> Mezuro is continuously under development. Try it and give us your <%= link_to 'feedback', 'https://github.com/mezuro/mezuro/issues', target: '_blank' %>.</p>
9 9 </div>
... ...
app/views/metric_configurations/_form.html.erb
... ... @@ -10,7 +10,7 @@
10 10 </div>
11 11 <div class="help-container">
12 12 <p>
13   - It is the Weight of the metric
  13 + It is the Weight of the metric.
14 14 </p>
15 15 </div>
16 16 </div>
... ... @@ -22,7 +22,7 @@
22 22 </div>
23 23 <div class="help-container">
24 24 <p>
25   - It is the Aggregation Form of the metric
  25 + It is the Aggregation Form of the metric.
26 26 </p>
27 27 </div>
28 28 </div>
... ... @@ -37,7 +37,7 @@
37 37 </div>
38 38 <div class="help-container">
39 39 <p>
40   - The Reading Group associated with this metric
  40 + The Reading Group associated with this metric.
41 41 </p>
42 42 </div>
43 43 </div>
... ...
app/views/mezuro_ranges/_form.html.erb
... ... @@ -11,7 +11,7 @@
11 11 </div>
12 12 <div class="help-container">
13 13 <p>
14   - Value where your Range begins.
  14 + Starting value for your Range.
15 15 </p>
16 16 </div>
17 17 </div>
... ... @@ -24,7 +24,7 @@
24 24 </div>
25 25 <div class="help-container">
26 26 <p>
27   - Value where your Range ends.
  27 + Ending value for your Range.
28 28 </p>
29 29 </div>
30 30 </div>
... ...
app/views/mezuro_ranges/_no_readings.html.erb
... ... @@ -4,7 +4,7 @@
4 4 <% if reading_groups_owner? @reading_group_id %>
5 5 <br /><%= link_to 'Create New Reading', new_reading_group_reading_path(@reading_group_id), class: 'btn btn-danger' %>
6 6 <% else %>
7   - <p> Your Metric Configurations' Reading Group belongs to another user and you are not allowed to modify it.</p>
  7 + <p> The Reading Group of your Metric Configuration belongs to another user and you are not allowed to modify it.</p>
8 8 <% end %>
9 9 </p>
10 10 </div>
... ...
app/views/modules/_metric_result.html.erb
... ... @@ -17,7 +17,7 @@
17 17 <td colspan="4">
18 18 <span id="loader_container<%= metric_result.id %>"><%= image_tag 'loader.gif' %> Loading data. Please, wait.</span>
19 19 <canvas id="container<%= metric_result.id %>" class="graphic_container" style="display: none"></canvas>
20   - <span id="container<%= metric_result.id %>" style="display: none">There is just a point and it will not be printed into a chart.</span>
  20 + <span id="container<%= metric_result.id %>" style="display: none">There is only one point and it will not be printed into a chart.</span>
21 21 </td>
22 22 </tr>
23   -<% end %>
24 23 \ No newline at end of file
  24 +<% end %>
... ...
app/views/readings/_form.html.erb
... ... @@ -43,7 +43,7 @@
43 43 </div>
44 44 <div class="help-container">
45 45 <p>
46   - The color that represents your Reading. You can choose one by typing its hexadecimal or using the color picker.
  46 + The color that represents your Reading. You can choose one by typing its hexadecimal value or by using the color picker.
47 47 </p>
48 48 <p>
49 49 Example values: 000000, 00ff00 etc
... ... @@ -73,4 +73,4 @@
73 73 }
74 74 }
75 75 new ColorPicker($("#pickcolor_button"), options);
76   -</script>
77 76 \ No newline at end of file
  77 +</script>
... ...
app/views/repositories/_form.html.erb
... ... @@ -47,7 +47,7 @@
47 47 </div>
48 48 <div class="help-container">
49 49 <p>
50   - The version control system the software use.
  50 + The version control system the software uses.
51 51 </p>
52 52 </div>
53 53 </div>
... ... @@ -94,4 +94,4 @@
94 94 <div class="row margin-left-none" style="margin-top: 20px">
95 95 <%= f.submit 'Save', class: 'btn btn-primary' %>
96 96 <%= link_to 'Back', project_path(@project_id), class: 'btn btn-default' %>
97   -</div>
98 97 \ No newline at end of file
  98 +</div>
... ...
app/views/shared/_short_about.html.erb
1 1 <li class="nav-header">About Mezuro</li>
2 2 <li>
3   - <small> 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.</small>
  3 + <small> 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.</small>
4 4 <li>
5 5 <li>
6   - <small>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.</small>
7   -</li>
8 6 \ No newline at end of file
  7 + <small>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.</small>
  8 +</li>
... ...
app/views/tutorials/analyzing.html.erb
... ... @@ -9,7 +9,7 @@ In order to create a Project, you must:
9 9 <ul>
10 10 <li>Have <%= link_to("signed up", new_user_registration_path) %> to the platform</li>
11 11 <li>Be <%= link_to("signed in", new_user_session_path) %></li>
12   - <li>And have a repository URL which you desire to analyze</li>
  12 + <li>And have a repository URL which you wish to analyze</li>
13 13 </ul>
14 14  
15 15 <hr />
... ... @@ -33,12 +33,12 @@ In order to create a Project, you must:
33 33 <li>Fill in the form</li>
34 34 <ul>
35 35 <li>"Name" must be unique</li>
36   - <li>You should choose from one of the Open Source licenses in the platform accordingly to your code</li>
37   - <li>The "Type" field stands for the repository's source code management tool (Git, for example)</li>
  36 + <li>You should choose one of the Open Source licenses in the platform according to your code</li>
  37 + <li>The "Type" field stands for the Repository source code management tool (Git, for example)</li>
38 38 <li>Fill in the "Address" with the URL from which we can download your code</li>
39 39 <li>If you want to analyze your project periodically, set it (you can as well run it from the interface whenever you want)</li>
40   - <li>Finally, the "Configuration", stands for the set of metrics and interpretation that we'll use to analyze your project</li>
41   - <li>Click on "Save" and you should be at the repository page, waiting for that analysis</li>
  40 + <li>Finally, the "Configuration" stands for the set of metrics and interpretation that we will use to analyze your project</li>
  41 + <li>Click on "Save" and you should be at the repository page, waiting for the analysis</li>
42 42 </ul>
43 43 </ol>
44 44 </ol>
... ... @@ -53,18 +53,18 @@ The repository page is divided into four different sections:
53 53 <li><b>Details</b></li>
54 54 <ul>
55 55 <li>Information that you provided during the creation steps</li>
56   - <li>Select box so it is possible to visualize previous precessings for your repository</li>
  56 + <li>Select box so it is possible to visualize previous processings of your repository</li>
57 57 </ul>
58 58 <li><b>Processing information</b></li>
59 59 <ul>
60   - <li>Information about the time that has taken to finish each step of the processing</li>
  60 + <li>Information about the time it has taken to finish each step of the processing</li>
61 61 <ol>
62 62 <li>PREPARING: the system is reserving a folder for your repository and retrieving the configuration</li>
63 63 <li>DOWNLOADING: retrieving the source code</li>
64 64 <li>COLLECTING: calculating the metrics for your repository</li>
65 65 <li>BUILDING: organizing the results into a source tree structure</li>
66 66 <li>AGGREGATING: calculating the aggregated value for parent modules in the source tree</li>
67   - <li>CALCULATING: if the choosen configuration has compound metrics, they will be calculated</li>
  67 + <li>CALCULATING: if the chosen configuration has compound metrics, they will be calculated</li>
68 68 <li>INTERPRETING: with all the necessary results, the system will interpret them using reading groups (labels and colors)</li>
69 69 </ol>
70 70 </ul>
... ... @@ -78,11 +78,11 @@ The repository page is divided into four different sections:
78 78 <li>PACKAGE</li>
79 79 <li>SOFTWARE</li>
80 80 </ul>
81   - <li>Grade of the given module accordingly to the weights of the metrics on the configuration
  81 + <li>Grade of the given module according to the weights of the metrics on the configuration
82 82 </ul>
83 83 <li><b>Metric Results</b></li>
84 84 <ul>
85 85 <li>Displays the individual results of each metric for the current module selected in the source tree</li>
86   - <li>By clicking in the metric name, you will see a historic chart for that metric</li>
  86 + <li>By clicking on the metric name, you will see a historic chart for that metric</li>
87 87 </ul>
88   -</ol>
89 88 \ No newline at end of file
  89 +</ol>
... ...
app/views/tutorials/configuring.html.erb
... ... @@ -23,8 +23,8 @@ To process a repository, Mezuro uses configurations which you specify on the &lt;%=
23 23 <li><b>Configuration</b>: just a high level container for the remaining components association</li>
24 24 <li><b>Metrics</b>: specification of which metric will be calculated during the processing and how to interpret its results</li>
25 25 <ul>
26   - <li>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</li>
27   - <li>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</li>
  26 + <li>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</li>
  27 + <li>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</li>
28 28 <li>Reading Group: specifies which set of interpretations (called readings) will be available for this metric</li>
29 29 </ul>
30 30 <li><b>Reading Group</b>: just a high level container for the readings (interpretations)</li>
... ... @@ -53,7 +53,7 @@ To process a repository, Mezuro uses configurations which you specify on the &lt;%=
53 53 <ol>
54 54 <li>From the configuration page</li>
55 55 <li>Click on "Add Metric"</li>
56   - <li>Select one collector from the accordions, and click on the metric that you want to add</li>
  56 + <li>Select one collector from the options, and click on the metric that you want to add</li>
57 57 <ol>
58 58 <li>Fill in the form with a "Weight", used to calculate the final grade</li>
59 59 <li>Select the "Aggregation Form" that will be used for this metric</li>
... ... @@ -64,15 +64,15 @@ To process a repository, Mezuro uses configurations which you specify on the &lt;%=
64 64 <li>Ranges creation</li>
65 65 <ol>
66 66 <li>From the configuration page</li>
67   - <li>Click on "Show" for the metric which you want to create ranges to</li>
  67 + <li>Click on "Show" for the metric which you want to create ranges for</li>
68 68 <li>Click on "Add Range"</li>
69 69 <ol>
70 70 <li>Fill in the form with the "Beginning" and "End" values for the interval</li>
71 71 <li>Fill in the form with the "Comments" which will be displayed if the metric value matches the interval</li>
72 72 <li>Select the "Reading" which will be associated with this range</li>
73   - <li>Click on "Save" and you should be at the metric page now with the new range added, congratulations!</li>
  73 + <li>Click on "Save" and you should be at the metric page with the new range added, congratulations!</li>
74 74 </ol>
75 75 </ol>
76 76 </ol>
77 77  
78   -<hr />
79 78 \ No newline at end of file
  79 +<hr />
... ...