diff --git a/app/assets/javascripts/discourse/app/components/category-title-link.js b/app/assets/javascripts/discourse/app/components/category-title-link.js index afe11e3db43..1ac2a2fbab3 100644 --- a/app/assets/javascripts/discourse/app/components/category-title-link.js +++ b/app/assets/javascripts/discourse/app/components/category-title-link.js @@ -1,6 +1,6 @@ import Component from "@ember/component"; export default Component.extend({ tagName: "h3", - // icon name defined here so it can be easily overriden in theme components + // icon name defined here so it can be easily overridden in theme components lockIcon: "lock", }); diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.js b/app/assets/javascripts/discourse/app/lib/plugin-api.js index 21c71426379..5778d700b86 100644 --- a/app/assets/javascripts/discourse/app/lib/plugin-api.js +++ b/app/assets/javascripts/discourse/app/lib/plugin-api.js @@ -757,7 +757,7 @@ class PluginApi { * * Example: * - * addPostClassesCallback((atts) => {if (atts.post_number == 1) return ["first"];}) + * addPostClassesCallback((attrs) => {if (attrs.post_number == 1) return ["first"];}) **/ addPostClassesCallback(callback) { addPostClassesCallback(callback); diff --git a/app/assets/javascripts/discourse/app/lib/register-topic-footer-button.js b/app/assets/javascripts/discourse/app/lib/register-topic-footer-button.js index cdafab891f2..ec3c0191722 100644 --- a/app/assets/javascripts/discourse/app/lib/register-topic-footer-button.js +++ b/app/assets/javascripts/discourse/app/lib/register-topic-footer-button.js @@ -33,7 +33,7 @@ export function registerTopicFooterButton(button) { ariaLabel: null, translatedAriaLabel: null, - // is this button disaplyed in the mobile dropdown or as an inline button ? + // is this button displayed in the mobile dropdown or as an inline button ? dropdown: false, // css class appended to the button diff --git a/app/assets/javascripts/discourse/app/models/user.js b/app/assets/javascripts/discourse/app/models/user.js index 6d09211cd1b..667f9153a46 100644 --- a/app/assets/javascripts/discourse/app/models/user.js +++ b/app/assets/javascripts/discourse/app/models/user.js @@ -229,7 +229,7 @@ const User = RestModel.extend({ const allowedUsers = details && details.get("allowed_users"); const groups = details && details.get("allowed_groups"); - // directly targetted so go to inbox + // directly targeted so go to inbox if (!groups || (allowedUsers && allowedUsers.findBy("id", userId))) { return userPath(`${username}/messages`); } else { diff --git a/app/mailers/rejection_mailer.rb b/app/mailers/rejection_mailer.rb index 99d6feb310d..ecbf56fbf46 100644 --- a/app/mailers/rejection_mailer.rb +++ b/app/mailers/rejection_mailer.rb @@ -26,7 +26,7 @@ class RejectionMailer < ActionMailer::Base # Send an email rejection message. # # template - i18n key under system_messages - # message_from - Who to send the rejection messsage to + # message_from - Who to send the rejection message to # template_args - arguments to pass to i18n for interpolation into the message # Certain keys are disallowed in template_args to avoid confusing the # BuildEmailHelper. You can see the list in DISALLOWED_TEMPLATE_ARGS. diff --git a/app/models/topic.rb b/app/models/topic.rb index 2e48bd8677b..3d82decb377 100644 --- a/app/models/topic.rb +++ b/app/models/topic.rb @@ -415,7 +415,7 @@ class Topic < ActiveRecord::Base subtype == TopicSubtype.moderator_warning end - # all users (in groups or directly targetted) that are going to get the pm + # all users (in groups or directly targeted) that are going to get the pm def all_allowed_users moderators_sql = " UNION #{User.moderators.to_sql}" if private_message? && (has_flags? || is_official_warning?) User.from("(#{allowed_users.to_sql} UNION #{allowed_group_users.to_sql}#{moderators_sql}) as users") diff --git a/config/initializers/200-first_middlewares.rb b/config/initializers/200-first_middlewares.rb index bcb1b6d9cb9..ad383d6137b 100644 --- a/config/initializers/200-first_middlewares.rb +++ b/config/initializers/200-first_middlewares.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -# we want MesageBus to be close to the front +# we want MessageBus to be close to the front # this is important cause the vast majority of web requests go to it # this allows us to avoid full middleware crawls each time # diff --git a/lib/auth/authenticator.rb b/lib/auth/authenticator.rb index cd6fd4fd5e6..2302d3bce00 100644 --- a/lib/auth/authenticator.rb +++ b/lib/auth/authenticator.rb @@ -52,7 +52,7 @@ class Auth::Authenticator false end - # can exising discourse users connect this provider to their accounts + # can existing discourse users connect this provider to their accounts def can_connect_existing_user? false end diff --git a/lib/auth/managed_authenticator.rb b/lib/auth/managed_authenticator.rb index 7b07e063d9c..e82f1de96e1 100644 --- a/lib/auth/managed_authenticator.rb +++ b/lib/auth/managed_authenticator.rb @@ -19,7 +19,7 @@ class Auth::ManagedAuthenticator < Auth::Authenticator info["email"] || info["nickname"] || info["name"] end - # These three methods are designed to be overriden by child classes + # These three methods are designed to be overridden by child classes def match_by_email true end diff --git a/lib/tasks/emails.rake b/lib/tasks/emails.rake index 2cd3e8e4fd6..55efcd49d4a 100644 --- a/lib/tasks/emails.rake +++ b/lib/tasks/emails.rake @@ -11,7 +11,7 @@ def process_popmail(popmail) end end -desc "use this task to import a mailbox into Disourse" +desc "use this task to import a mailbox into Discourse" task "emails:import" => :environment do begin unless SiteSetting.email_in @@ -72,7 +72,7 @@ task 'emails:test', [:email] => [:environment] do |_, args| Sending mail with Gmail is a violation of their terms of service. Sending with G Suite might work, but it is not recommended. For information see: - https://meta.discourse.org/t/dscourse-aws-ec2-g-suite-troubleshoting/62931?u=pfaffman + https://meta.discourse.org/t/discourse-aws-ec2-g-suite-troubleshooting/62931?u=pfaffman ========================= CONTINUING TEST ============================ STR