Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
b2c6ba97
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b2c6ba97
编写于
8月 16, 2012
作者:
D
Dmitriy Zaporozhets
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1230 from tsigo/hooray_apostrophes
Correct usage of "Can't"
上级
05da3801
66399d55
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
11 addition
and
12 deletion
+11
-12
app/models/project.rb
app/models/project.rb
+2
-2
app/views/errors/access_denied.html.haml
app/views/errors/access_denied.html.haml
+1
-1
app/views/errors/encoding.html.haml
app/views/errors/encoding.html.haml
+1
-2
app/views/errors/git_not_found.html.haml
app/views/errors/git_not_found.html.haml
+2
-1
app/views/errors/gitolite.html.haml
app/views/errors/gitolite.html.haml
+1
-2
app/views/errors/not_found.html.haml
app/views/errors/not_found.html.haml
+1
-1
app/views/merge_requests/show/_mr_accept.html.haml
app/views/merge_requests/show/_mr_accept.html.haml
+1
-1
app/views/snippets/index.html.haml
app/views/snippets/index.html.haml
+1
-1
lib/gitlab/gitolite.rb
lib/gitlab/gitolite.rb
+1
-1
未找到文件。
app/models/project.rb
浏览文件 @
b2c6ba97
...
...
@@ -66,7 +66,7 @@ class Project < ActiveRecord::Base
project
rescue
=>
ex
project
.
error_code
=
:db
project
.
errors
.
add
(
:base
,
"Cant save project. Please try again later"
)
project
.
errors
.
add
(
:base
,
"Can
'
t save project. Please try again later"
)
project
end
...
...
@@ -112,7 +112,7 @@ class Project < ActiveRecord::Base
errors
[
:base
]
<<
(
"Your own projects limit is
#{
owner
.
projects_limit
}
! Please contact administrator to increase it"
)
end
rescue
errors
[
:base
]
<<
(
"Cant check your ability to create project"
)
errors
[
:base
]
<<
(
"Can
'
t check your ability to create project"
)
end
def
repo_name
...
...
app/views/errors/access_denied.html.haml
浏览文件 @
b2c6ba97
%h1
Access Denied
%hr
%h2
You are not allowed to access this page
%h2
You are not allowed to access this page
.
%p
Read more about project permissions
#{
link_to
"here"
,
help_permissions_path
,
class:
"vlink"
}
app/views/errors/encoding.html.haml
浏览文件 @
b2c6ba97
...
...
@@ -2,5 +2,4 @@
%h3
Encoding Error
%hr
%p
Page cant be loaded cause of encoding error
Page can't be loaded because of an encoding error.
app/views/errors/git_not_found.html.haml
浏览文件 @
b2c6ba97
...
...
@@ -2,4 +2,5 @@
%hr
%h2
Git Resource Not found
%p
Application cant get access to some branch or commit in your repository. Maybe it was removed
Application can't get access to some branch or commit in your repository. It
may have been moved.
app/views/errors/gitolite.html.haml
浏览文件 @
b2c6ba97
%h1
Git Error
%hr
%h2
Application cant get access to your gitolite system.
%h2
Gitlab was unable to access your Gitolite system.
.git_error_tips
%h4
Tips for Administrator:
...
...
app/views/errors/not_found.html.haml
浏览文件 @
b2c6ba97
%h1
404
%hr
%h2
R
esource you were looking for doesn't exist.
%h2
The r
esource you were looking for doesn't exist.
%p
You may have mistyped the address or the page may have moved.
app/views/merge_requests/show/_mr_accept.html.haml
浏览文件 @
b2c6ba97
...
...
@@ -28,7 +28,7 @@
%span
=
link_to
"Show how to merge"
,
"#"
,
class:
"how_to_merge_link btn small padded"
,
title:
"How To Merge"
%strong
This request cant be merged with GitLab. You should do it manually
%strong
This request can
'
t be merged with GitLab. You should do it manually
.automerge_widget.unchecked
.alert-message
...
...
app/views/snippets/index.html.haml
浏览文件 @
b2c6ba97
...
...
@@ -4,7 +4,7 @@
.alert-message.block-message
=
link_to
new_project_snippet_path
(
@project
),
class:
"btn small add_new right"
,
title:
"New Snippet"
do
Add new snippet
Share code pastes with others if it cant be in a git repository
Share code pastes with others if it can
'
t be in a git repository
%br
To add new snippet - click on button.
...
...
lib/gitlab/gitolite.rb
浏览文件 @
b2c6ba97
...
...
@@ -137,7 +137,7 @@ module Gitlab
owner_name
=
repo
.
permissions
[
0
][
"RW+"
][
""
][
0
]
raise
StandardError
if
owner_name
.
blank?
rescue
=>
ex
puts
"Cant determine gitolite-admin owner"
.
red
puts
"Can
'
t determine gitolite-admin owner"
.
red
raise
StandardError
end
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录