]> source.dussan.org Git - redmine.git/commitdiff
spelling fixes (#25495)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Apr 2017 03:34:44 +0000 (03:34 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 2 Apr 2017 03:34:44 +0000 (03:34 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@16445 e93f8b46-1217-0410-a6f0-8f06a7374b81

16 files changed:
app/controllers/account_controller.rb
app/controllers/application_controller.rb
app/controllers/comments_controller.rb
app/models/enumeration.rb
app/models/member.rb
app/models/repository/cvs.rb
config/application.rb
extra/mail_handler/rdm-mailhandler.rb
extra/svn/Redmine.pm
lib/SVG/Graph/Graph.rb
lib/SVG/Graph/Schedule.rb
lib/plugins/acts_as_activity_provider/lib/acts_as_activity_provider.rb
lib/redmine/sudo_mode.rb
lib/tasks/locales.rake
test/unit/lib/redmine/helpers/gantt_test.rb
test/unit/user_test.rb

index f986032703da765f8ca6ca0fde0599becac140f6..6bd7e02f5a078c2afd780b52e185b19055519f47 100644 (file)
@@ -42,7 +42,7 @@ class AccountController < ApplicationController
       authenticate_user
     end
   rescue AuthSourceException => e
-    logger.error "An error occured when authenticating #{params[:username]}: #{e.message}"
+    logger.error "An error occurred when authenticating #{params[:username]}: #{e.message}"
     render_error :message => e.message
   end
 
index 73e332617cf1b86a0b18cad9c1573c431b9570b0..d3f549e463cd0a822d7b0400b8940163ea35e8cd 100644 (file)
@@ -646,7 +646,7 @@ class ApplicationController < ActionController::Base
     render_error "An error occurred while executing the query and has been logged. Please report this error to your Redmine administrator."
   end
 
-  # Renders a 200 response for successfull updates or deletions via the API
+  # Renders a 200 response for successful updates or deletions via the API
   def render_api_ok
     render_api_head :ok
   end
index 9544caa1d7f8a7f29a4e01c32ede9f7072090cdd..20cde946337a70298ea736717f8e2618ecd3e245 100644 (file)
@@ -43,7 +43,7 @@ class CommentsController < ApplicationController
   private
 
   # ApplicationController's find_model_object sets it based on the controller
-  # name so it needs to be overriden and set to @news instead
+  # name so it needs to be overridden and set to @news instead
   def find_model_object
     super
     @news = @object
index fc8486174787f6374955cb096acc27603c98450d..7b20394b23ffeeefb2c0292dd8ed8cd8baa17488 100644 (file)
@@ -136,7 +136,7 @@ class Enumeration < ActiveRecord::Base
   end
 
   # Overrides Redmine::Acts::Positioned#set_default_position so that enumeration overrides
-  # get the same position as the overriden enumeration
+  # get the same position as the overridden enumeration
   def set_default_position
     if position.nil? && parent
       self.position = parent.position
@@ -145,7 +145,7 @@ class Enumeration < ActiveRecord::Base
   end
 
   # Overrides Redmine::Acts::Positioned#update_position so that overrides get the same
-  # position as the overriden enumeration
+  # position as the overridden enumeration
   def update_position
     super
     if position_changed?
@@ -159,7 +159,7 @@ class Enumeration < ActiveRecord::Base
   end
 
   # Overrides Redmine::Acts::Positioned#remove_position so that enumeration overrides
-  # get the same position as the overriden enumeration
+  # get the same position as the overridden enumeration
   def remove_position
     if parent_id.blank?
       super
index d709f5ff7da4c8ff31db0409b2448a53108fd8b4..24376d3034e474e6362e1b2ec610aa31d16a0fd5 100644 (file)
@@ -194,7 +194,7 @@ class Member < ActiveRecord::Base
     members
   end
 
-  # Finds or initilizes a Member for the given project and principal
+  # Finds or initializes a Member for the given project and principal
   def self.find_or_new(project, principal)
     project_id = project.is_a?(Project) ? project.id : project
     principal_id = principal.is_a?(Principal) ? principal.id : principal
index 565c3b3f87e0aa8d3456d3c9a8ee49a54634596f..ca0be52decc630cae82f65394d0a155a78856609 100644 (file)
@@ -151,7 +151,7 @@ class Repository::Cvs < Repository
           # create a new changeset....
           unless cs
             # we use a temporary revision number here (just for inserting)
-            # later on, we calculate a continous positive number
+            # later on, we calculate a continuous positive number
             tmp_time2 = tmp_time.clone.gmtime
             branch    = revision.paths[0][:branch]
             scmid     = branch + "-" + tmp_time2.strftime("%Y%m%d-%H%M%S")
@@ -163,7 +163,7 @@ class Repository::Cvs < Repository
                                   :comments     => revision.message)
             tmp_rev_num += 1
           end
-          # convert CVS-File-States to internal Action-abbrevations
+          # convert CVS-File-States to internal Action-abbreviations
           # default action is (M)odified
           action = "M"
           if revision.paths[0][:action] == "Exp" && revision.paths[0][:revision] == "1.1"
index 965edcec245da2faf68e7f9e458b7be5802eb521..e1a416ae72361bd8a9b09d09cd8bba9799b51377 100644 (file)
@@ -47,7 +47,7 @@ module RedmineApp
     # Do not include all helpers
     config.action_controller.include_all_helpers = false
 
-    # Do not supress errors in after_rollback and after_commit callbacks
+    # Do not suppress errors in after_rollback and after_commit callbacks
     config.active_record.raise_in_transactional_callbacks = true
 
     # XML parameter parser removed from core in Rails 4.0
index 5d4a106329c3934904dfe5d1f25933b519cb4b6d..cc8ad4f19bb86a2adedc09d82cda0bf1c53e08ce 100644 (file)
@@ -117,7 +117,7 @@ Overrides:
 
 Examples:
   No project specified, emails MUST contain the 'Project' keyword, otherwise
-  they will be dropped (not recommanded):
+  they will be dropped (not recommended):
 
     rdm-mailhandler.rb --url http://redmine.domain.foo --key secret
 
@@ -165,7 +165,7 @@ END_DESC
     begin
       response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate, :certificate_bundle => certificate_bundle)
     rescue SystemCallError, IOError => e # connection refused, etc.
-      warn "An error occured while contacting your Redmine server: #{e.message}"
+      warn "An error occurred while contacting your Redmine server: #{e.message}"
       return 75 # temporary failure
     end
     debug "Response received: #{response.code}"
index 2652ceae1040165fc48aceaab5cd2fd2be1c4456..96b2aa63d537aea3e6b2eb516bc2996cf6cc6276 100644 (file)
@@ -58,7 +58,7 @@ Authen::Simple::LDAP (and IO::Socket::SSL if LDAPS is used):
      RedmineDbUser "redmine"
      RedmineDbPass "password"
      ## Optional where clause (fulltext search would be slow and
-     ## database dependant).
+     ## database dependent).
      # RedmineDbWhereClause "and members.role_id IN (1,2)"
      ## Optional credentials cache size
      # RedmineCacheCredsMax 50
index f048ac3823ab834eca594889a22733c71894c163..f5b0f61bf2bd31e65d49f60cf82557fe00ae6e4d 100644 (file)
@@ -234,7 +234,7 @@ module SVG
       #   scales to fix the space.
       attr_accessor :width
       #   Set the path to an external stylesheet, set to '' if
-      #   you want to revert back to using the defaut internal version.
+      #   you want to revert back to using the default internal version.
       #
       #   To create an external stylesheet create a graph using the
       #   default internal version and copy the stylesheet section to
index 70bb519d78ab195b9b53877c07f2b76c94ed8cea..87d12cb5392692f4689f3380e1abecf6838a1165 100644 (file)
@@ -51,7 +51,7 @@ module SVG
     # 
     # = Notes
     # 
-    # The default stylesheet handles upto 10 data sets, if you
+    # The default stylesheet handles up to 10 data sets, if you
     # use more you must create your own stylesheet and add the
     # additional settings for the extra data sets. You will know
     # if you go over 10 data sets as they will have no style and
@@ -138,7 +138,7 @@ module SVG
       # Note that the data must be in time,value pairs, and that the date format
       # may be any date that is parseable by ParseDate.
       # Also note that, in this example, we're mixing scales; the data from d1
-      # will probably not be discernable if both data sets are plotted on the same
+      # will probably not be discernible if both data sets are plotted on the same
       # graph, since d1 is too granular.
       def add_data data
         @data = [] unless @data
index 8f65eb720e622904be8a26946e53983d99e9d377..8cdd91b6130f49455bb094f857edd77ff2d11d2d 100644 (file)
@@ -48,7 +48,7 @@ module Redmine
         end
 
         module ClassMethods
-          # Returns events of type event_type visible by user that occured between from and to
+          # Returns events of type event_type visible by user that occurred between from and to
           def find_events(event_type, user, from, to, options)
             provider_options = activity_provider_options[event_type]
             raise "#{self.name} can not provide #{event_type} events." if provider_options.nil?
index c85310091829bceaa90dd2b115c9ba812524950e..eddbc04ce8a235962120d64150e5103240f6dd94 100644 (file)
@@ -183,7 +183,7 @@ module Redmine
     #
     # Calling this method also turns was_used? to true, therefore
     # it is important to only call this when sudo is actually needed, as the last
-    # condition to determine wether a change can be done or not.
+    # condition to determine whether a change can be done or not.
     #
     # If you do it wrong, timeout of the sudo mode will happen too late or not at
     # all.
index 7d2ecfe8003253bac02d86a6e25e84c754334f48..028a25154478920710572d5e735bf78b749bf5ec 100644 (file)
@@ -111,7 +111,7 @@ END_DESC
     files.each do |path|
       # Skip certain locales
       (puts "Skipping #{path}"; next) if File.basename(path, ".yml") =~ skips
-      # TODO: Check for dupliate/existing keys
+      # TODO: Check for duplicate/existing keys
       puts "Adding #{key_list} to #{path}"
       File.open(path, 'a') do |file|
         adds.each do |kv|
index eb1338af6da92158e650571ca5108ccccdf202b9..fda2948c93268be52da9a80569b22166d1b8584a 100644 (file)
@@ -59,7 +59,7 @@ class Redmine::Helpers::GanttHelperTest < Redmine::HelperTest
     assert_equal 2, @gantt.number_of_rows
   end
 
-  test "#number_of_rows with no project should return the total number of rows for all the projects, resursively" do
+  test "#number_of_rows with no project should return the total number of rows for all the projects, recursively" do
     p1, p2 = Project.generate!, Project.generate!
     create_gantt(nil)
     # fix the return value of #number_of_rows_on_project() to an arbitrary value
index ebc7d6532c3b49ee931b612735b780959ea02e14..655a8affcfa3a9d80d1819fdbae6fd4ea7d26952 100644 (file)
@@ -1099,7 +1099,7 @@ class UserTest < ActiveSupport::TestCase
   test "#allowed_to? for normal users" do
     project = Project.find(1)
     assert_equal true, @jsmith.allowed_to?(:delete_messages, project)    #Manager
-    assert_equal false, @dlopper.allowed_to?(:delete_messages, project) #Developper
+    assert_equal false, @dlopper.allowed_to?(:delete_messages, project) #Developer
   end
 
   test "#allowed_to? with empty array should return false" do
@@ -1114,7 +1114,7 @@ class UserTest < ActiveSupport::TestCase
   end
 
   test "#allowed_to? with with options[:global] should return true if user has one role with the permission" do
-    @dlopper2 = User.find(5) #only Developper on a project, not Manager anywhere
+    @dlopper2 = User.find(5) #only Developer on a project, not Manager anywhere
     @anonymous = User.find(6)
     assert_equal true, @jsmith.allowed_to?(:delete_issue_watchers, nil, :global => true)
     assert_equal false, @dlopper2.allowed_to?(:delete_issue_watchers, nil, :global => true)
@@ -1125,7 +1125,7 @@ class UserTest < ActiveSupport::TestCase
 
   # this is just a proxy method, the test only calls it to ensure it doesn't break trivially
   test "#allowed_to_globally?" do
-    @dlopper2 = User.find(5) #only Developper on a project, not Manager anywhere
+    @dlopper2 = User.find(5) #only Developer on a project, not Manager anywhere
     @anonymous = User.find(6)
     assert_equal true, @jsmith.allowed_to_globally?(:delete_issue_watchers)
     assert_equal false, @dlopper2.allowed_to_globally?(:delete_issue_watchers)