]> source.dussan.org Git - gitea.git/commitdiff
Add push tag action
authorUnknwon <joe2010xtmf@163.com>
Sat, 11 Oct 2014 01:58:13 +0000 (21:58 -0400)
committerUnknwon <joe2010xtmf@163.com>
Sat, 11 Oct 2014 01:58:13 +0000 (21:58 -0400)
conf/locale/locale_en-US.ini
conf/locale/locale_zh-CN.ini
templates/user/dashboard/feeds.tmpl

index 92cbf324cf7434a5c1bb6ca407a8f0e5a6e8d563..7452fb735ffa92328b16f011052a0634a4f4fc49 100644 (file)
@@ -618,6 +618,7 @@ commit_repo = pushed to <a href="%s/%s/src/%s">%s</a> at <a href="%s/%s">%s</a>
 create_issue = opened issue <a href="%s/%s/issues/%s">%s#%s</a>
 comment_issue = commented on issue <a href="%s/%s/issues/%s">%s#%s</a>
 transfer_repo = transfered repository <code>%s</code> to <a href="/%s%s">%s</a>
+push_tag = pushed tag <a href="%s/%s/src/%s">%s</a> to <a href="%s/%s">%s</a>
 compare_2_commits = View comparison for these 2 commits
 
 [tool]
index ed3e1beff498794581fd0cdbb731767221e6338d..aeed47561687ee2e9eefe53810eb9741cd9f626e 100644 (file)
@@ -618,6 +618,7 @@ commit_repo = 推送了 <a href="%s/%s/src/%s">%s</a> 分支的代码到 <a href
 create_issue = 创建了工单 <a href="%s/%s/issues/%s">%s#%s</a>
 comment_issue = 评论了工单 <a href="%s/%s/issues/%s">%s#%s</a>
 transfer_repo = 将仓库 <code>%s</code> 转移至 <a href="/%s%s">%s</a>
+push_tag = 推送了标签 <a href="%s/%s/src/%s">%s</a> 到 <a href="%s/%s">%s</a>
 compare_2_commits = 查看 2 次提交的内容对比
 
 [tool]
index a805802b1d290ac3f291d8c9737eaaaa550d3780..57c97def2ed70612c73c4946a6264e2593b4ba38 100644 (file)
@@ -15,6 +15,8 @@
             {{$.i18n.Tr "action.create_issue" AppSubUrl .GetRepoLink $index .GetRepoLink $index | Str2html}}
             {{else if eq .GetOpType 8}}
             {{$.i18n.Tr "action.transfer_repo" .GetContent AppSubUrl .GetRepoLink .GetRepoLink | Str2html}}
+            {{else if eq .GetOpType 9}}
+            {{$.i18n.Tr "action.push_tag" AppSubUrl .GetRepoLink .GetBranch .GetBranch AppSubUrl .GetRepoLink .GetRepoLink | Str2html}}
             {{else if eq .GetOpType 10}}
             {{ $index := index .GetIssueInfos 0}}
             {{$.i18n.Tr "action.comment_issue" AppSubUrl .GetRepoLink $index .GetRepoLink $index | Str2html}}