A platform for community discussion. Free, open, simple.
DEV: Correct spelling mistakes in comments
Josh Soref13d40ead9748
diff --git a/app/assets/javascripts/discourse/app/components/category-title-link.js b/app/assets/javascripts/discourse/app/components/category-title-link.jsindex 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 componentslockIcon: "lock",});diff --git a/app/assets/javascripts/discourse/app/lib/plugin-api.js b/app/assets/javascripts/discourse/app/lib/plugin-api.jsindex 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.jsindex 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 buttondiff --git a/app/assets/javascripts/discourse/app/models/user.js b/app/assets/javascripts/discourse/app/models/user.jsindex 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 inboxif (!groups || (allowedUsers && allowedUsers.findBy("id", userId))) {return userPath(`${username}/messages`);} else {diff --git a/app/mailers/rejection_mailer.rb b/app/mailers/rejection_mailer.rbindex 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.rbindex 2e48bd8677b..3d82decb377 100644--- a/app/models/topic.rb+++ b/app/models/topic.rb@@ -415,7 +415,7 @@ class Topic < ActiveRecord::Basesubtype == TopicSubtype.moderator_warningend- # 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 pmdef all_allowed_usersmoderators_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.rbindex 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.rbindex cd6fd4fd5e6..2302d3bce00 100644--- a/lib/auth/authenticator.rb+++ b/lib/auth/authenticator.rb@@ -52,7 +52,7 @@ class Auth::Authenticatorfalseend- # can exising discourse users connect this provider to their accounts+ # can existing discourse users connect this provider to their accountsdef can_connect_existing_user?falseenddiff --git a/lib/auth/managed_authenticator.rb b/lib/auth/managed_authenticator.rbindex 7b07e063d9c..e82f1de96e1 100644--- a/lib/auth/managed_authenticator.rb+++ b/lib/auth/managed_authenticator.rb@@ -19,7 +19,7 @@ class Auth::ManagedAuthenticator < Auth::Authenticatorinfo["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 classesdef match_by_emailtrueenddiff --git a/lib/tasks/emails.rake b/lib/tasks/emails.rakeindex 2cd3e8e4fd6..55efcd49d4a 100644--- a/lib/tasks/emails.rake+++ b/lib/tasks/emails.rake@@ -11,7 +11,7 @@ def process_popmail(popmail)endend-desc "use this task to import a mailbox into Disourse"+desc "use this task to import a mailbox into Discourse"task "emails:import" => :environment dobeginunless 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