Commit 81c0e163b880b442de4cfe0aa127fffd455b757f

Authored by Dmitriy Zaporozhets
2 parents f2b37438 9b4e389b

Merge pull request #4791 from h2s/wording

Improvements to English text
app/views/admin/hooks/index.html.haml
1 1 .alert.alert-info
2 2 %span
3   - Post receive hooks for binding events.
  3 + Post-receive hooks for binding events.
4 4 %br
5 5 Read more about system hooks
6 6 %strong #{link_to "here", help_system_hooks_path, class: "vlink"}
... ...
app/views/dashboard/_zero_authorized_projects.html.haml
1 1 %h3.nothing_here_message
2   - There are no projects you have access to.
  2 + You don't have access to any projects.
3 3 %br
4 4 - if current_user.can_create_project?
5 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 8 .link_holder
9 9 = link_to new_project_path, class: "btn btn-primary" do
10 10 New Project »
11 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 3 %span.pull-right #{@issues.total_count} issues
4 4  
5 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 7 %hr
8 8  
9 9 .row
... ...
app/views/dashboard/merge_requests.html.haml
... ... @@ -4,7 +4,7 @@
4 4  
5 5  
6 6 %p.light
7   - Only merge requests authored or assigned to you are listed here.
  7 + Only merge requests created by you or assigned to you are listed here.
8 8 %hr
9 9 .row
10 10 .span3
... ...
app/views/dashboard/projects.html.haml
1 1 %h3.page-title My Projects
2 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 4 %hr
5 5 .row
6 6 .span3
... ...
app/views/profiles/account.html.haml
1 1 %h3.page-title
2 2 Account settings
3 3 %p.light
4   - You can change password, username, private token here.
  4 + You can change your password, username and private token here.
5 5 - if current_user.ldap_user?
6 6 Some options are unavailable for LDAP accounts
7 7 %hr
... ... @@ -20,7 +20,7 @@
20 20 %legend Password
21 21 = form_for @user, url: update_password_profile_path, method: :put do |f|
22 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 24 -if @user.errors.any?
25 25 .alert.alert-error
26 26 %ul
... ... @@ -49,9 +49,9 @@
49 49 = form_for @user, url: reset_private_token_profile_path, method: :put do |f|
50 50 .data
51 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 53 %br
54   - It can be used for atom feed or API
  54 + It can be used for atom feeds or the API.
55 55 %p.cgray
56 56 - if current_user.private_token
57 57 = text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text input-xpadding"
... ... @@ -81,8 +81,8 @@
81 81 %i.icon-remove
82 82 Failed
83 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 86 .controls
87 87 = f.submit 'Save username', class: "btn btn-save"
88 88  
... ...
app/views/profiles/groups/index.html.haml
... ... @@ -6,7 +6,7 @@
6 6 %i.icon-plus
7 7 New Group
8 8 %p.light
9   - Members of group have access to all group projects.
  9 + Group members have access to all a group's projects
10 10 %hr
11 11 .ui-box
12 12 .title
... ...
app/views/profiles/history.html.haml
1 1 %h3.page-title
2 2 Account history
3 3 %p.light
4   - You can see all events authored by your account here
  4 + All events created by your account are listed here
5 5 %hr
6 6 .profile_history
7 7 = render @events
... ...
app/views/profiles/keys/index.html.haml
... ... @@ -3,9 +3,9 @@
3 3 .pull-right
4 4 = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new"
5 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 7 %br
8   - Before you can add ssh key you need to
  8 + Before you can add an SSH key you need to
9 9 = link_to "generate it", help_ssh_path
10 10 %hr
11 11  
... ...
app/views/profiles/notifications/show.html.haml
1 1 %h3.page-title
2 2 Notifications settings
3 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 5 %hr
6 6 .alert.alert-info
7 7 %p
... ... @@ -11,7 +11,7 @@
11 11 %p
12 12 %i.icon-circle.cblue
13 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 15 %p
16 16 %i.icon-circle.cgreen
17 17 %strong Watch
... ...
app/views/projects/deploy_keys/_form.html.haml
... ... @@ -13,7 +13,7 @@
13 13 = f.label :key
14 14 .controls
15 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 17 = link_to "here", help_ssh_path
18 18 = f.text_area :key, class: "input-xxlarge thin_area"
19 19  
... ...
app/views/projects/deploy_keys/index.html.haml
1 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 4 = link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
5 5 %i.icon-plus
6 6 New Deploy Key
7 7  
8 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 12 %hr.clearfix
13 13  
... ... @@ -20,13 +20,13 @@
20 20 = render @enabled_keys
21 21 - if @enabled_keys.blank?
22 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 24 .span5.available-keys
25 25 %h5
26 26 %strong Deploy keys
27   - from projects available for you
  27 + from projects available to you
28 28 %ul.bordered-list
29 29 = render @available_keys
30 30 - if @available_keys.blank?
31 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 4 %div
5 5 %h3.page-title
6 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 8 %hr
9 9 .form-holder
10 10 = form_for(@project, remote: true) do |f|
... ... @@ -126,13 +126,13 @@
126 126 .control-group
127 127 = f.select :namespace_id, namespaces_options(@project.namespace_id), {prompt: 'Choose a project namespace'}, {class: 'chosen'}
128 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 131 %li You will need to update your local repositories to point to the new location.
132 132 .form-actions
133 133 = f.submit 'Transfer', class: "btn btn-remove"
134 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 137 .ui-box.ui-box-danger
138 138 .title Rename repository
... ... @@ -146,7 +146,7 @@
146 146 .control-group
147 147 = f.text_field :path
148 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 150 %li You will need to update your local repositories to point to the new location.
151 151 .form-actions
152 152 = f.submit 'Rename', class: "btn btn-remove"
... ... @@ -156,9 +156,9 @@
156 156 .title Remove project
157 157 .ui-box-body
158 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 160 %br
161   - %strong Removed project can not be restored!
  161 + %strong Removed projects cannot be restored!
162 162  
163 163 = link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove"
164 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 10 = form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f|
10 11 -if @hook.errors.any?
... ...
app/views/projects/issues/_issues.html.haml
... ... @@ -83,7 +83,7 @@
83 83 = render @issues
84 84 - if @issues.blank?
85 85 %li
86   - %h4.nothing_here_message Nothing to show here
  86 + %h4.nothing_here_message No issues to show
87 87  
88 88 - if @issues.present?
89 89 .pull-right
... ...
app/views/projects/merge_requests/index.html.haml
... ... @@ -65,7 +65,7 @@
65 65 = render @merge_requests
66 66 - if @merge_requests.blank?
67 67 %li
68   - %h4.nothing_here_message Nothing to show here
  68 + %h4.nothing_here_message No merge requests to show
69 69 - if @merge_requests.present?
70 70 .pull-right
71 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 1 - unless @allowed_to_merge
2 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 6 - if @show_merge_controls
... ... @@ -27,7 +27,7 @@
27 27 .automerge_widget.no_satellite{style: "display:none"}
28 28 .alert.alert-error
29 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 32 .automerge_widget.cannot_be_merged{style: "display:none"}
33 33 .alert.alert-disabled
... ...
app/views/projects/milestones/index.html.haml
... ... @@ -26,6 +26,6 @@
26 26  
27 27 - if @milestones.blank?
28 28 %li
29   - %h3.nothing_here_message Nothing to show here
  29 + %h3.nothing_here_message No milestones to show
30 30  
31 31 = paginate @milestones, theme: "gitlab"
... ...
app/views/projects/services/index.html.haml
1 1 %h3.page-title Services
2   -%p.light Service allows you to integrate GitLab with other applications
  2 +%p.light Services allow you to integrate GitLab with other applications
3 3 %hr
4 4  
5 5 %ul.bordered-list
... ...
app/views/projects/team_members/import.html.haml
1 1 %h3.page-title
2 2 = "Import members from another project"
3 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 5 %hr
6 6 = form_tag apply_import_project_team_members_path(@project), method: 'post' do
7 7 .padded
... ...
app/views/shared/_issues.html.haml
... ... @@ -11,5 +11,5 @@
11 11 = render 'projects/issues/issue', issue: issue
12 12 = paginate @issues, theme: "gitlab"
13 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
... ... @@ -10,4 +10,4 @@
10 10 = paginate @merge_requests, theme: "gitlab"
11 11  
12 12 - else
13   - %h3.nothing_here_message Nothing to show here
  13 + %h3.nothing_here_message No merge requests to show
... ...