Commit 8465e260 authored by jplang's avatar jplang

Replace tabs with spaces and remove trailing tabs in several files (#20140).

Patch by Mischa The Evil.

git-svn-id: https://svn.redmine.org/redmine/trunk@14365 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 0cdc3e50
......@@ -18,7 +18,7 @@
class MailHandlerController < ActionController::Base
before_filter :check_credential
# Displays the email submission form
# Displays the email submission form
def new
end
......
......@@ -249,7 +249,7 @@ module IssuesHelper
issues = [issues] unless issues.is_a?(Array)
message = l(:text_issues_destroy_confirmation)
descendant_count = issues_descendant_count(issues)
descendant_count = issues_descendant_count(issues)
if descendant_count > 0
message << "\n" + l(:text_issues_destroy_descendants_confirmation, :count => descendant_count)
end
......
......@@ -158,7 +158,7 @@ module SettingsHelper
options.map {|label, value| [l(label), value.to_s]}
end
# Returns the options for the date_format setting
# Returns the options for the date_format setting
def date_format_setting_options(locale)
Setting::DATE_FORMATS.map do |f|
today = ::I18n.l(Date.today, :locale => locale, :format => f)
......
......@@ -425,7 +425,7 @@ class Issue < ActiveRecord::Base
names -= disabled_core_fields
names -= read_only_attribute_names(user)
if new_record?
# Make sure that project_id can always be set for new issues
# Make sure that project_id can always be set for new issues
names |= %w(project_id)
end
if dates_derived?
......
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
......@@ -56,7 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
......@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
......@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
......
Description:
The plugin generator creates stubs for a new Redmine plugin.
Example:
./script/rails generate redmine_plugin meetings
create plugins/meetings/app
......
......@@ -379,7 +379,7 @@ module ActiveRecord #:nodoc:
new_model.send("#{key}=", orig_model.send(key)) if orig_model.respond_to?(key)
end
if self.class.columns_hash.include?(self.class.inheritance_column)
if self.class.columns_hash.include?(self.class.inheritance_column)
if orig_model.is_a?(self.class.versioned_class)
new_model[new_model.class.inheritance_column] = orig_model[self.class.versioned_inheritance_column]
elsif new_model.is_a?(self.class.versioned_class)
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Příspěvky diskuzního fóra:
<ul>
<ul>
<li><strong>message#1218</strong> (odkaz na příspěvek s ID 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Messages du forum:
<ul>
<ul>
<li><strong>message#1218</strong> (Lien vers le message dont l'id est 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><strong>forum#1</strong> (link to forum with id 1</li>
<li><strong>forum:Support</strong> (link to forum named Support)</li>
<li><strong>forum:"Technical Support"</strong> (use double quotes if forum name contains spaces)</li>
......@@ -135,7 +135,7 @@
<ul>
<li>Forum messages:
<ul>
<ul>
<li><strong>message#1218</strong> (link to message with id 1218)</li>
</ul></li>
</ul>
......@@ -151,7 +151,7 @@
<ul>
<li>News:
<ul>
<ul>
<li><strong>news#2</strong> (link to news item with id 2)</li>
<li><strong>news:Greetings</strong> (link to news item named "Greetings")</li>
<li><strong>news:"First Release"</strong> (use double quotes if news item name contains spaces)</li>
......
......@@ -126,7 +126,7 @@
<ul>
<li>Forums:
<ul>
<ul>
<li><st