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:
parent
5478e5cbae
commit
1eff42eda6
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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: Изпращане
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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: 変更
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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: 提交
|
||||||
|
|
Loading…
Reference in New Issue