summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-14 19:56:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-12-14 19:56:23 +0000
commite43df591680931d5c9698e93bc3e949ad3f4bc66 (patch)
tree256048279071b3ad22fb75909699d46981ccd594 /app
parentf1fec5eee0b533eb3982ac086eb5faad1db023d8 (diff)
downloadredmine-e43df591680931d5c9698e93bc3e949ad3f4bc66.tar.gz
redmine-e43df591680931d5c9698e93bc3e949ad3f4bc66.zip
Added encoding comment to helpers (#9792).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8210 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/helpers/account_helper.rb2
-rw-r--r--app/helpers/admin_helper.rb2
-rw-r--r--app/helpers/attachments_helper.rb2
-rw-r--r--app/helpers/auth_sources_helper.rb2
-rw-r--r--app/helpers/boards_helper.rb2
-rw-r--r--app/helpers/calendars_helper.rb19
-rw-r--r--app/helpers/custom_fields_helper.rb2
-rw-r--r--app/helpers/documents_helper.rb2
-rw-r--r--app/helpers/enumerations_helper.rb2
-rw-r--r--app/helpers/gantt_helper.rb2
-rw-r--r--app/helpers/groups_helper.rb2
-rw-r--r--app/helpers/issue_categories_helper.rb2
-rw-r--r--app/helpers/issue_moves_helper.rb2
-rw-r--r--app/helpers/issue_relations_helper.rb2
-rw-r--r--app/helpers/issue_statuses_helper.rb2
-rw-r--r--app/helpers/issues_helper.rb2
-rw-r--r--app/helpers/journals_helper.rb2
-rw-r--r--app/helpers/mail_handler_helper.rb2
-rw-r--r--app/helpers/members_helper.rb2
-rw-r--r--app/helpers/messages_helper.rb2
-rw-r--r--app/helpers/my_helper.rb2
-rw-r--r--app/helpers/news_helper.rb2
-rw-r--r--app/helpers/projects_helper.rb2
-rw-r--r--app/helpers/queries_helper.rb2
-rw-r--r--app/helpers/reports_helper.rb2
-rw-r--r--app/helpers/repositories_helper.rb2
-rw-r--r--app/helpers/roles_helper.rb2
-rw-r--r--app/helpers/search_helper.rb2
-rw-r--r--app/helpers/settings_helper.rb2
-rw-r--r--app/helpers/sort_helper.rb2
-rw-r--r--app/helpers/timelog_helper.rb2
-rw-r--r--app/helpers/trackers_helper.rb2
-rw-r--r--app/helpers/users_helper.rb2
-rw-r--r--app/helpers/versions_helper.rb2
-rw-r--r--app/helpers/watchers_helper.rb2
-rw-r--r--app/helpers/welcome_helper.rb2
-rw-r--r--app/helpers/wiki_helper.rb2
-rw-r--r--app/helpers/workflows_helper.rb2
38 files changed, 93 insertions, 0 deletions
diff --git a/app/helpers/account_helper.rb b/app/helpers/account_helper.rb
index db31a01ea..ba819cd48 100644
--- a/app/helpers/account_helper.rb
+++ b/app/helpers/account_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/admin_helper.rb b/app/helpers/admin_helper.rb
index c7358f67a..cba46ae6c 100644
--- a/app/helpers/admin_helper.rb
+++ b/app/helpers/admin_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/attachments_helper.rb b/app/helpers/attachments_helper.rb
index bc07cff54..1c3c13eae 100644
--- a/app/helpers/attachments_helper.rb
+++ b/app/helpers/attachments_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/auth_sources_helper.rb b/app/helpers/auth_sources_helper.rb
index 90f595403..bd4bca87e 100644
--- a/app/helpers/auth_sources_helper.rb
+++ b/app/helpers/auth_sources_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb
index 9a557cfa3..e3016236d 100644
--- a/app/helpers/boards_helper.rb
+++ b/app/helpers/boards_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/calendars_helper.rb b/app/helpers/calendars_helper.rb
index b32301fa7..71c05b2c2 100644
--- a/app/helpers/calendars_helper.rb
+++ b/app/helpers/calendars_helper.rb
@@ -1,3 +1,22 @@
+# encoding: utf-8
+#
+# Redmine - project management software
+# Copyright (C) 2006-2011 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
module CalendarsHelper
def link_to_previous_month(year, month, options={})
target_year, target_month = if month == 1
diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb
index 2dd6a084f..8490cf9a1 100644
--- a/app/helpers/custom_fields_helper.rb
+++ b/app/helpers/custom_fields_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/documents_helper.rb b/app/helpers/documents_helper.rb
index f44277893..9f91702ea 100644
--- a/app/helpers/documents_helper.rb
+++ b/app/helpers/documents_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/enumerations_helper.rb b/app/helpers/enumerations_helper.rb
index 4e6db7f86..193336de6 100644
--- a/app/helpers/enumerations_helper.rb
+++ b/app/helpers/enumerations_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/gantt_helper.rb b/app/helpers/gantt_helper.rb
index 477410f09..bd0abe384 100644
--- a/app/helpers/gantt_helper.rb
+++ b/app/helpers/gantt_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 999f9a6c6..baa3e59aa 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/issue_categories_helper.rb b/app/helpers/issue_categories_helper.rb
index 5da4c705a..31e024443 100644
--- a/app/helpers/issue_categories_helper.rb
+++ b/app/helpers/issue_categories_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/issue_moves_helper.rb b/app/helpers/issue_moves_helper.rb
index b58b4ce5a..00278363f 100644
--- a/app/helpers/issue_moves_helper.rb
+++ b/app/helpers/issue_moves_helper.rb
@@ -1,2 +1,4 @@
+# encoding: utf-8
+#
module IssueMovesHelper
end
diff --git a/app/helpers/issue_relations_helper.rb b/app/helpers/issue_relations_helper.rb
index 704ed0f6f..969365aaf 100644
--- a/app/helpers/issue_relations_helper.rb
+++ b/app/helpers/issue_relations_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/issue_statuses_helper.rb b/app/helpers/issue_statuses_helper.rb
index c28199749..9f950e6e9 100644
--- a/app/helpers/issue_statuses_helper.rb
+++ b/app/helpers/issue_statuses_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb
index 169a0de5f..9b8828d7a 100644
--- a/app/helpers/issues_helper.rb
+++ b/app/helpers/issues_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/journals_helper.rb b/app/helpers/journals_helper.rb
index b301bea60..929ea4acb 100644
--- a/app/helpers/journals_helper.rb
+++ b/app/helpers/journals_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/mail_handler_helper.rb b/app/helpers/mail_handler_helper.rb
index 8c7acb5d6..05cd6f3fc 100644
--- a/app/helpers/mail_handler_helper.rb
+++ b/app/helpers/mail_handler_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/members_helper.rb b/app/helpers/members_helper.rb
index 2639010b2..373124929 100644
--- a/app/helpers/members_helper.rb
+++ b/app/helpers/members_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/messages_helper.rb b/app/helpers/messages_helper.rb
index e5e81913e..cd0488a15 100644
--- a/app/helpers/messages_helper.rb
+++ b/app/helpers/messages_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/my_helper.rb b/app/helpers/my_helper.rb
index 15550d2f7..a411496b0 100644
--- a/app/helpers/my_helper.rb
+++ b/app/helpers/my_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/news_helper.rb b/app/helpers/news_helper.rb
index d866c3eaf..434f8e7ff 100644
--- a/app/helpers/news_helper.rb
+++ b/app/helpers/news_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 2ba14bef4..70b12acce 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 419843b6d..c2d72fb59 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb
index 737263365..b413245aa 100644
--- a/app/helpers/reports_helper.rb
+++ b/app/helpers/reports_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index b9b797b8f..cba50a0ef 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/roles_helper.rb b/app/helpers/roles_helper.rb
index bbc54a835..f35717cef 100644
--- a/app/helpers/roles_helper.rb
+++ b/app/helpers/roles_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/search_helper.rb b/app/helpers/search_helper.rb
index f4bbc47c3..37d2137a6 100644
--- a/app/helpers/search_helper.rb
+++ b/app/helpers/search_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/settings_helper.rb b/app/helpers/settings_helper.rb
index a1bd85a68..cea0cc768 100644
--- a/app/helpers/settings_helper.rb
+++ b/app/helpers/settings_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb
index 5bc91c931..9f8ac6470 100644
--- a/app/helpers/sort_helper.rb
+++ b/app/helpers/sort_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Helpers to sort tables using clickable column headers.
#
# Author: Stuart Rackham <srackham@methods.co.nz>, March 2005.
diff --git a/app/helpers/timelog_helper.rb b/app/helpers/timelog_helper.rb
index c892ae1ce..ddcfd1d12 100644
--- a/app/helpers/timelog_helper.rb
+++ b/app/helpers/timelog_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/trackers_helper.rb b/app/helpers/trackers_helper.rb
index a235c55b8..66887074f 100644
--- a/app/helpers/trackers_helper.rb
+++ b/app/helpers/trackers_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
index 6df6b8d3f..e61f315f4 100644
--- a/app/helpers/users_helper.rb
+++ b/app/helpers/users_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/versions_helper.rb b/app/helpers/versions_helper.rb
index c26c55cf6..1861e642f 100644
--- a/app/helpers/versions_helper.rb
+++ b/app/helpers/versions_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb
index 66727c15c..f734fb8ed 100644
--- a/app/helpers/watchers_helper.rb
+++ b/app/helpers/watchers_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/welcome_helper.rb b/app/helpers/welcome_helper.rb
index 0fa0f5b09..e4d5acb43 100644
--- a/app/helpers/welcome_helper.rb
+++ b/app/helpers/welcome_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/wiki_helper.rb b/app/helpers/wiki_helper.rb
index 5a5262e98..74bec7422 100644
--- a/app/helpers/wiki_helper.rb
+++ b/app/helpers/wiki_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
diff --git a/app/helpers/workflows_helper.rb b/app/helpers/workflows_helper.rb
index 84f93b524..e639389fc 100644
--- a/app/helpers/workflows_helper.rb
+++ b/app/helpers/workflows_helper.rb
@@ -1,3 +1,5 @@
+# encoding: utf-8
+#
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#