Translated 'Sort by' label on table headers.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@618 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-08-12 14:42:15 +00:00
parent 5478e5cbae
commit 1eff42eda6
13 changed files with 14 additions and 7 deletions

View File

@ -137,13 +137,8 @@ module SortHelper
# </th>
#
def sort_header_tag(column, options = {})
if options[:caption]
caption = options[:caption]
options.delete(:caption)
else
caption = titleize(Inflector::humanize(column))
end
options[:title]= "Sort by #{caption}" unless options[:title]
caption = options.delete(:caption) || titleize(Inflector::humanize(column))
options[:title]= l(:label_sort_by, caption) unless options[:title]
content_tag('th', sort_link(column, caption), options)
end

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Вход
button_submit: Изпращане

View File

@ -405,6 +405,7 @@ label_week: Woche
label_date_from: Von
label_date_to: Bis
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Einloggen
button_submit: OK

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Login
button_submit: Submit

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Conexión
button_submit: Someter

View File

@ -405,6 +405,7 @@ label_week: Semaine
label_date_from: Du
label_date_to: Au
label_language_based: Basé sur la langue
label_sort_by: Trier par "%s"
button_login: Connexion
button_submit: Soumettre

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Login
button_submit: Invia

View File

@ -406,6 +406,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: ログイン
button_submit: 変更

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Inloggen
button_submit: Toevoegen

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Login
button_submit: Enviar

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Login
button_submit: Enviar

View File

@ -405,6 +405,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: Logga in
button_submit: Skicka

View File

@ -407,6 +407,7 @@ label_week: Week
label_date_from: From
label_date_to: To
label_language_based: Language based
label_sort_by: Sort by "%s"
button_login: 登录
button_submit: 提交