Commit 81c0e163 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #4791 from h2s/wording

Improvements to English text
parents f2b37438 9b4e389b
.alert.alert-info .alert.alert-info
%span %span
Post receive hooks for binding events. Post-receive hooks for binding events.
%br %br
Read more about system hooks Read more about system hooks
%strong #{link_to "here", help_system_hooks_path, class: "vlink"} %strong #{link_to "here", help_system_hooks_path, class: "vlink"}
......
%h3.nothing_here_message %h3.nothing_here_message
There are no projects you have access to. You don't have access to any projects.
%br %br
- if current_user.can_create_project? - if current_user.can_create_project?
You can create up to You can create up to
= current_user.projects_limit = pluralize(current_user.projects_limit, "project") + "."
projects. Click on button below to add a new one Click on the button below to add a new one
.link_holder .link_holder
= link_to new_project_path, class: "btn btn-primary" do = link_to new_project_path, class: "btn btn-primary" do
New Project » New Project »
- else - else
If you will be added to project - it will be displayed here If you are added to a project, it will be displayed here
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
%span.pull-right #{@issues.total_count} issues %span.pull-right #{@issues.total_count} issues
%p.light %p.light
For all issues you should visit project issues page. Or you can use search panel to find specific issue For all issues you should visit the project's issues page, or use the search panel to find a specific issue.
%hr %hr
.row .row
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%p.light %p.light
Only merge requests authored or assigned to you are listed here. Only merge requests created by you or assigned to you are listed here.
%hr %hr
.row .row
.span3 .span3
......
%h3.page-title My Projects %h3.page-title My Projects
%p.light %p.light
All projects you have access to are listed here. Public projects are not included here unless you have membership in it All projects you have access to are listed here. Public projects are not included here unless you are a member
%hr %hr
.row .row
.span3 .span3
......
%h3.page-title %h3.page-title
Account settings Account settings
%p.light %p.light
You can change password, username, private token here. You can change your password, username and private token here.
- if current_user.ldap_user? - if current_user.ldap_user?
Some options are unavailable for LDAP accounts Some options are unavailable for LDAP accounts
%hr %hr
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
%legend Password %legend Password
= form_for @user, url: update_password_profile_path, method: :put do |f| = form_for @user, url: update_password_profile_path, method: :put do |f|
.padded .padded
%p.slead After successful password update you will be redirected to login page where you should login with new password %p.slead After a successful password update you will be redirected to login page where you should login with your new password
-if @user.errors.any? -if @user.errors.any?
.alert.alert-error .alert.alert-error
%ul %ul
...@@ -49,9 +49,9 @@ ...@@ -49,9 +49,9 @@
= form_for @user, url: reset_private_token_profile_path, method: :put do |f| = form_for @user, url: reset_private_token_profile_path, method: :put do |f|
.data .data
%p.slead %p.slead
Private token used to access application resources without authentication. Your private token is used to access application resources without authentication.
%br %br
It can be used for atom feed or API It can be used for atom feeds or the API.
%p.cgray %p.cgray
- if current_user.private_token - if current_user.private_token
= text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text input-xpadding" = text_field_tag "token", current_user.private_token, class: "input-xxlarge large_text input-xpadding"
...@@ -81,8 +81,8 @@ ...@@ -81,8 +81,8 @@
%i.icon-remove %i.icon-remove
Failed Failed
%ul.cred %ul.cred
%li It will change web url for personal projects. %li This will change the web URL for personal projects.
%li It will change the git path to repositories for personal projects. %li This will change the git path to repositories for personal projects.
.controls .controls
= f.submit 'Save username', class: "btn btn-save" = f.submit 'Save username', class: "btn btn-save"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
%i.icon-plus %i.icon-plus
New Group New Group
%p.light %p.light
Members of group have access to all group projects. Group members have access to all a group's projects
%hr %hr
.ui-box .ui-box
.title .title
......
%h3.page-title %h3.page-title
Account history Account history
%p.light %p.light
You can see all events authored by your account here All events created by your account are listed here
%hr %hr
.profile_history .profile_history
= render @events = render @events
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
.pull-right .pull-right
= link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new" = link_to "Add SSH Key", new_profile_key_path, class: "btn btn-new"
%p.light %p.light
SSH key allows you to establish a secure connection between your computer and GitLab SSH keys allow you to establish a secure connection between your computer and GitLab
%br %br
Before you can add ssh key you need to Before you can add an SSH key you need to
= link_to "generate it", help_ssh_path = link_to "generate it", help_ssh_path
%hr %hr
......
%h3.page-title %h3.page-title
Notifications settings Notifications settings
%p.light %p.light
Application use email specified in your profile for notifications GitLab uses the email specified in your profile for notifications
%hr %hr
.alert.alert-info .alert.alert-info
%p %p
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%p %p
%i.icon-circle.cblue %i.icon-circle.cblue
%strong Participating %strong Participating
– You will receive only notifications from related resources(ex. from assigned issue or your commit) – You will only receive notifications from related resources (e.g. from your commits or assigned issues)
%p %p
%i.icon-circle.cgreen %i.icon-circle.cgreen
%strong Watch %strong Watch
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= f.label :key = f.label :key
.controls .controls
%p.light %p.light
Paste a machine public key here. Read more about how generate it Paste a machine public key here. Read more about how to generate it
= link_to "here", help_ssh_path = link_to "here", help_ssh_path
= f.text_area :key, class: "input-xxlarge thin_area" = f.text_area :key, class: "input-xxlarge thin_area"
......
%h3.page-title %h3.page-title
Deploy keys allow read-only access to repository Deploy keys allow read-only access to the repository
= link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do = link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
%i.icon-plus %i.icon-plus
New Deploy Key New Deploy Key
%p.light %p.light
They can be used for CI, staging or production servers. Deploy keys can be used for CI, staging or production servers.
You can create a deploy key or add existing one You can create a deploy key or add an existing one
%hr.clearfix %hr.clearfix
...@@ -20,13 +20,13 @@ ...@@ -20,13 +20,13 @@
= render @enabled_keys = render @enabled_keys
- if @enabled_keys.blank? - if @enabled_keys.blank?
.light-well .light-well
%p.nothing_here_message Create #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add existing one %p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one
.span5.available-keys .span5.available-keys
%h5 %h5
%strong Deploy keys %strong Deploy keys
from projects available for you from projects available to you
%ul.bordered-list %ul.bordered-list
= render @available_keys = render @available_keys
- if @available_keys.blank? - if @available_keys.blank?
.light-well .light-well
%p.nothing_here_message All deploy keys created in projects you participate will be displayed here %p.nothing_here_message Deploy keys from projects you have access to will be displayed here
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%div %div
%h3.page-title %h3.page-title
Project settings: Project settings:
%p.light Some settings like transferring project are hidden inside danger area below %p.light Some settings, such as "Transfer Project", are hidden inside the danger area below
%hr %hr
.form-holder .form-holder
= form_for(@project, remote: true) do |f| = form_for(@project, remote: true) do |f|
...@@ -126,13 +126,13 @@ ...@@ -126,13 +126,13 @@
.control-group .control-group
= f.select :namespace_id, namespaces_options(@project.namespace_id), {prompt: 'Choose a project namespace'}, {class: 'chosen'} = f.select :namespace_id, namespaces_options(@project.namespace_id), {prompt: 'Choose a project namespace'}, {class: 'chosen'}
%ul %ul
%li Be careful. Changing project namespace can have unintended side effects %li Be careful. Changing the project's namespace can have unintended side effects.
%li You can transfer project only to namespaces you can manage %li You can only transfer the project to namespaces you manage.
%li You will need to update your local repositories to point to the new location. %li You will need to update your local repositories to point to the new location.
.form-actions .form-actions
= f.submit 'Transfer', class: "btn btn-remove" = f.submit 'Transfer', class: "btn btn-remove"
- else - else
%p.nothing_here_message Only project owner can transfer a project %p.nothing_here_message Only the project owner can transfer a project
.ui-box.ui-box-danger .ui-box.ui-box-danger
.title Rename repository .title Rename repository
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
.control-group .control-group
= f.text_field :path = f.text_field :path
%ul %ul
%li Be careful. Rename of project repo can have unintended side effects %li Be careful. Renaming a project's repository can have unintended side effects.
%li You will need to update your local repositories to point to the new location. %li You will need to update your local repositories to point to the new location.
.form-actions .form-actions
= f.submit 'Rename', class: "btn btn-remove" = f.submit 'Rename', class: "btn btn-remove"
...@@ -156,9 +156,9 @@ ...@@ -156,9 +156,9 @@
.title Remove project .title Remove project
.ui-box-body .ui-box-body
%p %p
Remove of project will cause removing repository and all related resources like issues, merge requests etc. Removing the project will delete its repository and all related resources including issues, merge requests etc.
%br %br
%strong Removed project can not be restored! %strong Removed projects cannot be restored!
= link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove" = link_to 'Remove project', @project, confirm: remove_project_message(@project), method: :delete, class: "btn btn-remove"
- else - else
......
- if can? current_user, :admin_project, @project %h3.page-title
.alert.alert-info Post-receive hooks
%span
Post receive hooks for binding events when someone push to repository. %p.light
%br #{link_to "Post-receive hooks ", help_web_hooks_path, class: "vlink"} can be
Read more about web hooks used for binding events when someone pushes to the repository.
%strong #{link_to "here", help_web_hooks_path, class: "vlink"}
%hr.clearfix
= form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f| = form_for [@project, @hook], as: :hook, url: project_hooks_path(@project), html: { class: 'form-inline' } do |f|
-if @hook.errors.any? -if @hook.errors.any?
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
= render @issues = render @issues
- if @issues.blank? - if @issues.blank?
%li %li
%h4.nothing_here_message Nothing to show here %h4.nothing_here_message No issues to show
- if @issues.present? - if @issues.present?
.pull-right .pull-right
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
= render @merge_requests = render @merge_requests
- if @merge_requests.blank? - if @merge_requests.blank?
%li %li
%h4.nothing_here_message Nothing to show here %h4.nothing_here_message No merge requests to show
- if @merge_requests.present? - if @merge_requests.present?
.pull-right .pull-right
%span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter %span.cgray.pull-right #{@merge_requests.total_count} merge requests for this filter
......
- unless @allowed_to_merge - unless @allowed_to_merge
.alert .alert
%strong You don't have enough permissions to merge this MR %strong You don't have permission to merge this MR
- if @show_merge_controls - if @show_merge_controls
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
.automerge_widget.no_satellite{style: "display:none"} .automerge_widget.no_satellite{style: "display:none"}
.alert.alert-error .alert.alert-error
%span %span
%strong This repository does not have satellite. Ask administrator to fix this issue %strong This repository does not have satellite. Ask an administrator to fix this issue
.automerge_widget.cannot_be_merged{style: "display:none"} .automerge_widget.cannot_be_merged{style: "display:none"}
.alert.alert-disabled .alert.alert-disabled
......
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
- if @milestones.blank? - if @milestones.blank?
%li %li
%h3.nothing_here_message Nothing to show here %h3.nothing_here_message No milestones to show
= paginate @milestones, theme: "gitlab" = paginate @milestones, theme: "gitlab"
%h3.page-title Services %h3.page-title Services
%p.light Service allows you to integrate GitLab with other applications %p.light Services allow you to integrate GitLab with other applications
%hr %hr
%ul.bordered-list %ul.bordered-list
......
%h3.page-title %h3.page-title
= "Import members from another project" = "Import members from another project"
%p.light %p.light
Only project members will be improted. Group members will be skipped. Only project members will be imported. Group members will be skipped.
%hr %hr
= form_tag apply_import_project_team_members_path(@project), method: 'post' do = form_tag apply_import_project_team_members_path(@project), method: 'post' do
.padded .padded
......
...@@ -11,5 +11,5 @@ ...@@ -11,5 +11,5 @@
= render 'projects/issues/issue', issue: issue = render 'projects/issues/issue', issue: issue
= paginate @issues, theme: "gitlab" = paginate @issues, theme: "gitlab"
- else - else
%p.nothing_here_message Nothing to show here %p.nothing_here_message No issues to show
...@@ -10,4 +10,4 @@ ...@@ -10,4 +10,4 @@
= paginate @merge_requests, theme: "gitlab" = paginate @merge_requests, theme: "gitlab"
- else - else
%h3.nothing_here_message Nothing to show here %h3.nothing_here_message No merge requests to show
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment