summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-06 20:54:43 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2006-12-06 20:54:43 +0000
commit2c335dbf32f738a06418d6eb5ff64b30d3379e48 (patch)
tree130dc677d8943ef6bf089e0913e636b81f1dc48e /app/helpers
parentd6d1502200fa12ca0f370cbd092a1c536f88974c (diff)
downloadredmine-2c335dbf32f738a06418d6eb5ff64b30d3379e48.tar.gz
redmine-2c335dbf32f738a06418d6eb5ff64b30d3379e48.zip
calendar and activity views edited (previous/next links)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@72 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 0f0deeb30..196d91fca 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -61,6 +61,10 @@ module ApplicationHelper
def day_name(day)
l(:general_day_names).split(',')[day-1]
end
+
+ def month_name(month)
+ l(:actionview_datehelper_select_month_names).split(',')[month-1]
+ end
def pagination_links_full(paginator, options={}, html_options={})
html = ''