Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
6af38f51
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,发现更多精彩内容 >>
提交
6af38f51
编写于
8月 10, 2012
作者:
R
Robert Speicher
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
"Cant" -> "Can't"
上级
6ebd360c
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
8 addition
and
8 deletion
+8
-8
app/models/project.rb
app/models/project.rb
+2
-2
app/views/errors/encoding.html.haml
app/views/errors/encoding.html.haml
+1
-1
app/views/errors/git_not_found.html.haml
app/views/errors/git_not_found.html.haml
+1
-1
app/views/errors/gitolite.html.haml
app/views/errors/gitolite.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
浏览文件 @
6af38f51
...
...
@@ -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/encoding.html.haml
浏览文件 @
6af38f51
...
...
@@ -2,5 +2,5 @@
%h3
Encoding Error
%hr
%p
Page cant be loaded cause of encoding error
Page can
'
t be loaded cause of encoding error
app/views/errors/git_not_found.html.haml
浏览文件 @
6af38f51
...
...
@@ -2,7 +2,7 @@
%h3
Git Resource Not found
%hr
%p
Application cant get access to some
Application can
'
t get access to some
%span
.label
branch
or
%span
.label
commit
...
...
app/views/errors/gitolite.html.haml
浏览文件 @
6af38f51
.alert-message.block-message.error
%h3
Gitolite Error
%h4
Application cant get access to your gitolite system.
%h4
Application can
'
t get access to your gitolite system.
...
...
app/views/merge_requests/show/_mr_accept.html.haml
浏览文件 @
6af38f51
...
...
@@ -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
浏览文件 @
6af38f51
...
...
@@ -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
浏览文件 @
6af38f51
...
...
@@ -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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录