From 128150dd926705080785f4e33b7e1d68d43681b9 Mon Sep 17 00:00:00 2001 From: kaizheng <18763216000@163.com> Date: Wed, 14 Aug 2013 22:05:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=8D=E8=AF=A5=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/repositories/show.html.erb | 2 +- config/locales/en.yml | 3 ++- config/locales/zh.yml | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 810346e35..f6a0ef6c4 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -10,7 +10,7 @@ :locals => { :path => @path, :kind => 'dir', :revision => @rev } %> <% if @repositories.size > 1 %>

- (所有版本:<%= @repositories.sort.collect {|repo| + (<%= l(:label_all_revisions) %><%= @repositories.sort.collect {|repo| link_to h(repo.name), {:controller => 'repositories', :action => 'show', :id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil}, diff --git a/config/locales/en.yml b/config/locales/en.yml index fd0bbc77a..e672c6371 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1243,4 +1243,5 @@ en: label_tags_project_description: Project description: label_tags_user_mail: User E-mail: label_tags_numbers: Tag numbers: - label_max_number: Must be at most 25 characters long. \ No newline at end of file + label_max_number: Must be at most 25 characters long. + label_all_revisions: All revisions: \ No newline at end of file diff --git a/config/locales/zh.yml b/config/locales/zh.yml index f6ddb94d4..83c9ebeb1 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1255,4 +1255,5 @@ zh: label_tags_project_description: 项目描述: label_tags_user_mail: 用户邮箱: label_tags_numbers: Tag统计: - label_max_number: 至多25个字符。 \ No newline at end of file + label_max_number: 至多25个字符。 + label_all_revisions: 所有版本: \ No newline at end of file