From b95221c2c8f56598fbec4b5f6b739a4e2e5b81ed Mon Sep 17 00:00:00 2001
From: Volker Schukai <volker.schukai@schukai.com>
Date: Wed, 1 Feb 2023 10:16:57 +0100
Subject: [PATCH] chore: docs

---
 application/source/dom/focusmanager.mjs |  2 +-
 application/source/dom/locale.mjs       |  3 ++-
 application/source/i18n/locale.mjs      | 15 ++-------------
 3 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/application/source/dom/focusmanager.mjs b/application/source/dom/focusmanager.mjs
index 821150506..97ff1b6c3 100644
--- a/application/source/dom/focusmanager.mjs
+++ b/application/source/dom/focusmanager.mjs
@@ -33,7 +33,7 @@ const KEY_CONTEXT = "context";
 const stackSymbol = Symbol("stack");
 
 /**
- * With the focusmanager the focus can be stored in a document, recalled and moved.
+ * With the focus manager the focus can be stored in a document, recalled and moved.
  *
  * @license AGPLv3
  * @since 1.25.0
diff --git a/application/source/dom/locale.mjs b/application/source/dom/locale.mjs
index 4ae3a856f..022cf8d9f 100644
--- a/application/source/dom/locale.mjs
+++ b/application/source/dom/locale.mjs
@@ -20,12 +20,13 @@ const DEFAULT_LANGUAGE = "en";
 /**
  * With this function you can read the language version set by the document.
  * For this the attribute `lang` in the html tag is read. If no attribute is set, `en` is used as default.
+ * Alternatively, the language version of the browser is used.
  *
  * ```html
  * <html lang="en">
  * ```
  *
- * You can call the function via the monster namespace `new Monster.DOM.getLocaleOfDocument()`.
+ * You can call the function via `getLocaleOfDocument()`.
  *
  * @license AGPLv3
  * @since 1.13.0
diff --git a/application/source/i18n/locale.mjs b/application/source/i18n/locale.mjs
index 26622acb7..360a8aef5 100644
--- a/application/source/i18n/locale.mjs
+++ b/application/source/i18n/locale.mjs
@@ -182,22 +182,11 @@ class Locale extends Base {
  *
  * Limitations: The regex cannot handle multiple variants or private.
  *
- * You can call the method via the monster namespace `Monster.I18n.createLocale()`.
+ * You can call the method via this function individually:
  *
- * ```
- * <script type="module">
- * import {Monster} from '@schukai/monster/source/monster.mjs';
- * new Monster.I18n.createLocale()
- * </script>
- * ```
- *
- * Alternatively, you can also integrate this function individually.
- *
- * ```
- * <script type="module">
+ * ```javascript
  * import {createLocale} from '@schukai/monster/source/i18n/locale.mjs';
  * createLocale()
- * </script>
  * ```
  *
  * RFC
-- 
GitLab