Commit 81c0e163b880b442de4cfe0aa127fffd455b757f
Exists in
master
and in
4 other branches
Merge pull request #4791 from h2s/wording
Improvements to English text
Showing
22 changed files
with
51 additions
and
50 deletions
Show diff stats
app/views/admin/hooks/index.html.haml
1 | .alert.alert-info | 1 | .alert.alert-info |
2 | %span | 2 | %span |
3 | - Post receive hooks for binding events. | 3 | + Post-receive hooks for binding events. |
4 | %br | 4 | %br |
5 | Read more about system hooks | 5 | Read more about system hooks |
6 | %strong #{link_to "here", help_system_hooks_path, class: "vlink"} | 6 | %strong #{link_to "here", help_system_hooks_path, class: "vlink"} |
app/views/dashboard/_zero_authorized_projects.html.haml
1 | %h3.nothing_here_message | 1 | %h3.nothing_here_message |
2 | - There are no projects you have access to. | 2 | + You don't have access to any projects. |
3 | %br | 3 | %br |
4 | - if current_user.can_create_project? | 4 | - if current_user.can_create_project? |
5 | You can create up to | 5 | You can create up to |
6 | - = current_user.projects_limit | ||
7 | - projects. Click on button below to add a new one | 6 | + = pluralize(current_user.projects_limit, "project") + "." |
7 | + Click on the button below to add a new one | ||
8 | .link_holder | 8 | .link_holder |
9 | = link_to new_project_path, class: "btn btn-primary" do | 9 | = link_to new_project_path, class: "btn btn-primary" do |
10 | New Project » | 10 | New Project » |
11 | - else | 11 | - else |
12 | - If you will be added to project - it will be displayed here | 12 | + If you are added to a project, it will be displayed here |
app/views/dashboard/issues.html.haml
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | %span.pull-right #{@issues.total_count} issues | 3 | %span.pull-right #{@issues.total_count} issues |
4 | 4 | ||
5 | %p.light | 5 | %p.light |
6 | - For all issues you should visit project issues page. Or you can use search panel to find specific issue | 6 | + For all issues you should visit the project's issues page, or use the search panel to find a specific issue. |
7 | %hr | 7 | %hr |
8 | 8 | ||
9 | .row | 9 | .row |
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/projects.html.haml
1 | %h3.page-title My Projects | 1 | %h3.page-title My Projects |
2 | %p.light | 2 | %p.light |
3 | - All projects you have access to are listed here. Public projects are not included here unless you have membership in it | 3 | + All projects you have access to are listed here. Public projects are not included here unless you are a member |
4 | %hr | 4 | %hr |
5 | .row | 5 | .row |
6 | .span3 | 6 | .span3 |
app/views/profiles/account.html.haml
1 | %h3.page-title | 1 | %h3.page-title |
2 | Account settings | 2 | Account settings |
3 | %p.light | 3 | %p.light |
4 | - You can change password, username, private token here. | 4 | + You can change your password, username and private token here. |
5 | - if current_user.ldap_user? | 5 | - if current_user.ldap_user? |
6 | Some options are unavailable for LDAP accounts | 6 | Some options are unavailable for LDAP accounts |
7 | %hr | 7 | %hr |
@@ -20,7 +20,7 @@ | @@ -20,7 +20,7 @@ | ||
20 | %legend Password | 20 | %legend Password |
21 | = form_for @user, url: update_password_profile_path, method: :put do |f| | 21 | = form_for @user, url: update_password_profile_path, method: :put do |f| |
22 | .padded | 22 | .padded |
23 | - %p.slead After successful password update you will be redirected to login page where you should login with new password | 23 | + %p.slead After a successful password update you will be redirected to login page where you should login with your new password |
24 | -if @user.errors.any? | 24 | -if @user.errors.any? |
25 | .alert.alert-error | 25 | .alert.alert-error |
26 | %ul | 26 | %ul |
@@ -49,9 +49,9 @@ | @@ -49,9 +49,9 @@ | ||
49 | = form_for @user, url: reset_private_token_profile_path, method: :put do |f| | 49 | = form_for @user, url: reset_private_token_profile_path, method: :put do |f| |
50 | .data | 50 | .data |
51 | %p.slead | 51 | %p.slead |
52 | - Private token used to access application resources without authentication. | 52 | + Your private token is used to access application resources without authentication. |
53 | %br | 53 | %br |
54 | - It can be used for atom feed or API | 54 | + It can be used for atom feeds or the API. |
55 | %p.cgray | 55 | %p.cgray |
56 | - if current_user.private_token | 56 | - if current_user.private_token |
57 | = text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text input-xpadding" | 57 | = text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text input-xpadding" |
@@ -81,8 +81,8 @@ | @@ -81,8 +81,8 @@ | ||
81 | %i.icon-remove | 81 | %i.icon-remove |
82 | Failed | 82 | Failed |
83 | %ul.cred | 83 | %ul.cred |
84 | - %li It will change web url for personal projects. | ||
85 | - %li It will change the git path to repositories for personal projects. | 84 | + %li This will change the web URL for personal projects. |
85 | + %li This will change the git path to repositories for personal projects. | ||
86 | .controls | 86 | .controls |
87 | = f.submit 'Save username', class: "btn btn-save" | 87 | = f.submit 'Save username', class: "btn btn-save" |
88 | 88 |
app/views/profiles/groups/index.html.haml
app/views/profiles/history.html.haml
app/views/profiles/keys/index.html.haml
@@ -3,9 +3,9 @@ | @@ -3,9 +3,9 @@ | ||
3 | .pull-right | 3 | .pull-right |
4 | = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new" | 4 | = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new" |
5 | %p.light | 5 | %p.light |
6 | - SSH key allows you to establish a secure connection between your computer and GitLab | 6 | + SSH keys allow you to establish a secure connection between your computer and GitLab |
7 | %br | 7 | %br |
8 | - Before you can add ssh key you need to | 8 | + Before you can add an SSH key you need to |
9 | = link_to "generate it", help_ssh_path | 9 | = link_to "generate it", help_ssh_path |
10 | %hr | 10 | %hr |
11 | 11 |
app/views/profiles/notifications/show.html.haml
1 | %h3.page-title | 1 | %h3.page-title |
2 | Notifications settings | 2 | Notifications settings |
3 | %p.light | 3 | %p.light |
4 | - Application use email specified in your profile for notifications | 4 | + GitLab uses the email specified in your profile for notifications |
5 | %hr | 5 | %hr |
6 | .alert.alert-info | 6 | .alert.alert-info |
7 | %p | 7 | %p |
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | %p | 11 | %p |
12 | %i.icon-circle.cblue | 12 | %i.icon-circle.cblue |
13 | %strong Participating | 13 | %strong Participating |
14 | - – You will receive only notifications from related resources(ex. from assigned issue or your commit) | 14 | + – You will only receive notifications from related resources (e.g. from your commits or assigned issues) |
15 | %p | 15 | %p |
16 | %i.icon-circle.cgreen | 16 | %i.icon-circle.cgreen |
17 | %strong Watch | 17 | %strong Watch |
app/views/projects/deploy_keys/_form.html.haml
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | = f.label :key | 13 | = f.label :key |
14 | .controls | 14 | .controls |
15 | %p.light | 15 | %p.light |
16 | - Paste a machine public key here. Read more about how generate it | 16 | + Paste a machine public key here. Read more about how to generate it |
17 | = link_to "here", help_ssh_path | 17 | = link_to "here", help_ssh_path |
18 | = f.text_area :key, class: "input-xxlarge thin_area" | 18 | = f.text_area :key, class: "input-xxlarge thin_area" |
19 | 19 |
app/views/projects/deploy_keys/index.html.haml
1 | %h3.page-title | 1 | %h3.page-title |
2 | - Deploy keys allow read-only access to repository | 2 | + Deploy keys allow read-only access to the repository |
3 | 3 | ||
4 | = link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do | 4 | = link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do |
5 | %i.icon-plus | 5 | %i.icon-plus |
6 | New Deploy Key | 6 | New Deploy Key |
7 | 7 | ||
8 | %p.light | 8 | %p.light |
9 | - They can be used for CI, staging or production servers. | ||
10 | - You can create a deploy key or add existing one | 9 | + Deploy keys can be used for CI, staging or production servers. |
10 | + You can create a deploy key or add an existing one | ||
11 | 11 | ||
12 | %hr.clearfix | 12 | %hr.clearfix |
13 | 13 | ||
@@ -20,13 +20,13 @@ | @@ -20,13 +20,13 @@ | ||
20 | = render @enabled_keys | 20 | = render @enabled_keys |
21 | - if @enabled_keys.blank? | 21 | - if @enabled_keys.blank? |
22 | .light-well | 22 | .light-well |
23 | - %p.nothing_here_message Create #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add existing one | 23 | + %p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one |
24 | .span5.available-keys | 24 | .span5.available-keys |
25 | %h5 | 25 | %h5 |
26 | %strong Deploy keys | 26 | %strong Deploy keys |
27 | - from projects available for you | 27 | + from projects available to you |
28 | %ul.bordered-list | 28 | %ul.bordered-list |
29 | = render @available_keys | 29 | = render @available_keys |
30 | - if @available_keys.blank? | 30 | - if @available_keys.blank? |
31 | .light-well | 31 | .light-well |
32 | - %p.nothing_here_message All deploy keys created in projects you participate will be displayed here | 32 | + %p.nothing_here_message Deploy keys from projects you have access to will be displayed here |
app/views/projects/edit.html.haml
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | %div | 4 | %div |
5 | %h3.page-title | 5 | %h3.page-title |
6 | Project settings: | 6 | Project settings: |
7 | - %p.light Some settings like transferring project are hidden inside danger area below | 7 | + %p.light Some settings, such as "Transfer Project", are hidden inside the danger area below |
8 | %hr | 8 | %hr |
9 | .form-holder | 9 | .form-holder |
10 | = form_for(@project, remote: true) do |f| | 10 | = form_for(@project, remote: true) do |f| |
@@ -126,13 +126,13 @@ | @@ -126,13 +126,13 @@ | ||
126 | .control-group | 126 | .control-group |
127 | = f.select :namespace_id, namespaces_options(@project.namespace_id), {prompt: 'Choose a project namespace'}, {class: 'chosen'} | 127 | = f.select :namespace_id, namespaces_options(@project.namespace_id), {prompt: 'Choose a project namespace'}, {class: 'chosen'} |
128 | %ul | 128 | %ul |
129 | - %li Be careful. Changing project namespace can have unintended side effects | ||
130 | - %li You can transfer project only to namespaces you can manage | 129 | + %li Be careful. Changing the project's namespace can have unintended side effects. |
130 | + %li You can only transfer the project to namespaces you manage. | ||
131 | %li You will need to update your local repositories to point to the new location. | 131 | %li You will need to update your local repositories to point to the new location. |
132 | .form-actions | 132 | .form-actions |
133 | = f.submit 'Transfer', class: "btn btn-remove" | 133 | = f.submit 'Transfer', class: "btn btn-remove" |
134 | - else | 134 | - else |
135 | - %p.nothing_here_message Only project owner can transfer a project | 135 | + %p.nothing_here_message Only the project owner can transfer a project |
136 | 136 | ||
137 | .ui-box.ui-box-danger | 137 | .ui-box.ui-box-danger |
138 | .title Rename repository | 138 | .title Rename repository |
@@ -146,7 +146,7 @@ | @@ -146,7 +146,7 @@ | ||
146 | .control-group | 146 | .control-group |
147 | = f.text_field :path | 147 | = f.text_field :path |
148 | %ul | 148 | %ul |
149 | - %li Be careful. Rename of project repo can have unintended side effects | 149 | + %li Be careful. Renaming a project's repository can have unintended side effects. |
150 | %li You will need to update your local repositories to point to the new location. | 150 | %li You will need to update your local repositories to point to the new location. |
151 | .form-actions | 151 | .form-actions |
152 | = f.submit 'Rename', class: "btn btn-remove" | 152 | = f.submit 'Rename', class: "btn btn-remove" |
@@ -156,9 +156,9 @@ | @@ -156,9 +156,9 @@ | ||
156 | .title Remove project | 156 | .title Remove project |
157 | .ui-box-body | 157 | .ui-box-body |
158 | %p | 158 | %p |
159 | - Remove of project will cause removing repository and all related resources like issues, merge requests etc. | 159 | + Removing the project will delete its repository and all related resources including issues, merge requests etc. |
160 | %br | 160 | %br |
161 | - %strong Removed project can not be restored! | 161 | + %strong Removed projects cannot be restored! |
162 | 162 | ||
163 | = link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove" | 163 | = link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove" |
164 | - else | 164 | - else |
app/views/projects/hooks/index.html.haml
1 | -- if can? current_user, :admin_project, @project | ||
2 | - .alert.alert-info | ||
3 | - %span | ||
4 | - Post receive hooks for binding events when someone push to repository. | ||
5 | - %br | ||
6 | - Read more about web hooks | ||
7 | - %strong #{link_to "here", help_web_hooks_path, class: "vlink"} | 1 | +%h3.page-title |
2 | + Post-receive hooks | ||
3 | + | ||
4 | +%p.light | ||
5 | + #{link_to "Post-receive hooks ", help_web_hooks_path, class: "vlink"} can be | ||
6 | + used for binding events when someone pushes to the repository. | ||
7 | + | ||
8 | +%hr.clearfix | ||
8 | 9 | ||
9 | = form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f| | 10 | = form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f| |
10 | -if @hook.errors.any? | 11 | -if @hook.errors.any? |
app/views/projects/issues/_issues.html.haml
@@ -83,7 +83,7 @@ | @@ -83,7 +83,7 @@ | ||
83 | = render @issues | 83 | = render @issues |
84 | - if @issues.blank? | 84 | - if @issues.blank? |
85 | %li | 85 | %li |
86 | - %h4.nothing_here_message Nothing to show here | 86 | + %h4.nothing_here_message No issues to show |
87 | 87 | ||
88 | - if @issues.present? | 88 | - if @issues.present? |
89 | .pull-right | 89 | .pull-right |
app/views/projects/merge_requests/index.html.haml
@@ -65,7 +65,7 @@ | @@ -65,7 +65,7 @@ | ||
65 | = render @merge_requests | 65 | = render @merge_requests |
66 | - if @merge_requests.blank? | 66 | - if @merge_requests.blank? |
67 | %li | 67 | %li |
68 | - %h4.nothing_here_message Nothing to show here | 68 | + %h4.nothing_here_message No merge requests to show |
69 | - if @merge_requests.present? | 69 | - if @merge_requests.present? |
70 | .pull-right | 70 | .pull-right |
71 | %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter | 71 | %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter |
app/views/projects/merge_requests/show/_mr_accept.html.haml
1 | - unless @allowed_to_merge | 1 | - unless @allowed_to_merge |
2 | .alert | 2 | .alert |
3 | - %strong You don't have enough permissions to merge this MR | 3 | + %strong You don't have permission to merge this MR |
4 | 4 | ||
5 | 5 | ||
6 | - if @show_merge_controls | 6 | - if @show_merge_controls |
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | .automerge_widget.no_satellite{style: "display:none"} | 27 | .automerge_widget.no_satellite{style: "display:none"} |
28 | .alert.alert-error | 28 | .alert.alert-error |
29 | %span | 29 | %span |
30 | - %strong This repository does not have satellite. Ask administrator to fix this issue | 30 | + %strong This repository does not have satellite. Ask an administrator to fix this issue |
31 | 31 | ||
32 | .automerge_widget.cannot_be_merged{style: "display:none"} | 32 | .automerge_widget.cannot_be_merged{style: "display:none"} |
33 | .alert.alert-disabled | 33 | .alert.alert-disabled |
app/views/projects/milestones/index.html.haml
@@ -26,6 +26,6 @@ | @@ -26,6 +26,6 @@ | ||
26 | 26 | ||
27 | - if @milestones.blank? | 27 | - if @milestones.blank? |
28 | %li | 28 | %li |
29 | - %h3.nothing_here_message Nothing to show here | 29 | + %h3.nothing_here_message No milestones to show |
30 | 30 | ||
31 | = paginate @milestones, theme: "gitlab" | 31 | = paginate @milestones, theme: "gitlab" |
app/views/projects/services/index.html.haml
app/views/projects/team_members/import.html.haml
1 | %h3.page-title | 1 | %h3.page-title |
2 | = "Import members from another project" | 2 | = "Import members from another project" |
3 | %p.light | 3 | %p.light |
4 | - Only project members will be improted. Group members will be skipped. | 4 | + Only project members will be imported. Group members will be skipped. |
5 | %hr | 5 | %hr |
6 | = form_tag apply_import_project_team_members_path(@project), method: 'post' do | 6 | = form_tag apply_import_project_team_members_path(@project), method: 'post' do |
7 | .padded | 7 | .padded |
app/views/shared/_issues.html.haml
@@ -11,5 +11,5 @@ | @@ -11,5 +11,5 @@ | ||
11 | = render 'projects/issues/issue', issue: issue | 11 | = render 'projects/issues/issue', issue: issue |
12 | = paginate @issues, theme: "gitlab" | 12 | = paginate @issues, theme: "gitlab" |
13 | - else | 13 | - else |
14 | - %p.nothing_here_message Nothing to show here | 14 | + %p.nothing_here_message No issues to show |
15 | 15 |
app/views/shared/_merge_requests.html.haml