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> # </th>
# #
def sort_header_tag(column, options = {}) def sort_header_tag(column, options = {})
if options[:caption] caption = options.delete(:caption) || titleize(Inflector::humanize(column))
caption = options[:caption] options[:title]= l(:label_sort_by, caption) unless options[:title]
options.delete(:caption)
else
caption = titleize(Inflector::humanize(column))
end
options[:title]= "Sort by #{caption}" unless options[:title]
content_tag('th', sort_link(column, caption), options) content_tag('th', sort_link(column, caption), options)
end end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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