DEV: Fix random typos (#25957)

February 2024 edition
This commit is contained in:
Jarek Radosz
2024-02-29 12:24:37 +01:00
committed by GitHub
parent 8e4affec54
commit 5c54fbfdb1
10 changed files with 11 additions and 11 deletions

View File

@@ -55,7 +55,7 @@ export default class AdminPlugin {
get nameTitleized() {
// The category name is better in a lot of cases, as it's a human-inputted
// translation, and we can handle things like SAML instead of showing them
// as Saml from discourse-saml. We can fall back to the programattic version
// as Saml from discourse-saml. We can fall back to the programmatic version
// though if needed.
let name;
if (this.translatedCategoryName) {

View File

@@ -627,10 +627,10 @@ class PluginApi {
*
* ```
*
* action: may be a string or a function. If it is a string, a wiget action
* action: may be a string or a function. If it is a string, a widget action
* will be triggered. If it is function, the function will be called.
*
* function will recieve a single argument:
* function will receive a single argument:
* {
* post:
* showFeedback:

View File

@@ -1,7 +1,7 @@
import { importSync } from "@embroider/macros";
import loaderShim from "discourse-common/lib/loader-shim";
// AMD shims for the app bunndle, see the comment in loader-shim.js
// AMD shims for the app bundle, see the comment in loader-shim.js
// These effectively become public APIs for plugins, so add/remove them carefully
loaderShim("@discourse/itsatrap", () => importSync("@discourse/itsatrap"));
loaderShim("@ember-compat/tracked-built-ins", () =>

View File

@@ -1,7 +1,7 @@
import { importSync } from "@embroider/macros";
import loaderShim from "discourse-common/lib/loader-shim";
// AMD shims for the test bunndle, see the comment in loader-shim.js
// AMD shims for the test bundle, see the comment in loader-shim.js
loaderShim("pretender", () => importSync("pretender"));
loaderShim("qunit", () => importSync("qunit"));
loaderShim("sinon", () => importSync("sinon"));