Add a comment that this file is auto-generated
authorCyperghost <olaf_schmitz_1@t-online.de>
Mon, 28 Oct 2024 12:57:44 +0000 (13:57 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Mon, 28 Oct 2024 12:57:44 +0000 (13:57 +0100)
extra/update-emoji-picker-element.ts
ts/WoltLabSuite/Core/Component/EmojiPicker/Localization.ts
wcfsetup/install/files/js/WoltLabSuite/Core/Component/EmojiPicker/Localization.js

index b2988373e6c422ae837576a8b2dc67ab5dfcf5fb..cc65b19197ae5dae52549273b196468cadca6b2d 100644 (file)
@@ -55,7 +55,16 @@ const languages: LanguageItem[] = [
 ];
 
 (async () => {
-  let localisationContent = `import { I18n } from "emoji-picker-element/shared";
+  let localisationContent = `/**
+ * This file is auto-generated, DO NOT MODIFY IT MANUALLY!
+ *
+ * To update the file, run in the extra directory:
+ * > \`npx tsx ./update-emoji-picker-element.ts ../wcfsetup/install/files/emoji ../ts/WoltLabSuite/Core/Component/EmojiPicker/Localization.ts\`
+ *
+ * @woltlabExcludeBundle all
+ */
+
+import { I18n } from "emoji-picker-element/shared";
 
 // prettier-ignore
 const locales = [
index 30a1566664f70434f698a0833cefdd221d4f9acf..d9bdaff0d43fba1f98d7a9a1654e9b7120f2f7e7 100644 (file)
@@ -1,3 +1,12 @@
+/**
+ * This file is auto-generated, DO NOT MODIFY IT MANUALLY!
+ *
+ * To update the file, run in the extra directory:
+ * > `npx tsx ./update-emoji-picker-element.ts ../wcfsetup/install/files/emoji ../ts/WoltLabSuite/Core/Component/EmojiPicker/Localization.ts`
+ *
+ * @woltlabExcludeBundle all
+ */
+
 import { I18n } from "emoji-picker-element/shared";
 
 // prettier-ignore
index cc8a742e12ef1cf8eef6efaddf5fec694d61f322..073e5e2863a57f959e317f978b83399eb6398ee8 100644 (file)
@@ -1,3 +1,11 @@
+/**
+ * This file is auto-generated, DO NOT MODIFY IT MANUALLY!
+ *
+ * To update the file, run in the extra directory:
+ * > `npx tsx ./update-emoji-picker-element.ts ../wcfsetup/install/files/emoji ../ts/WoltLabSuite/Core/Component/EmojiPicker/Localization.ts`
+ *
+ * @woltlabExcludeBundle all
+ */
 define(["require", "exports"], function (require, exports) {
     "use strict";
     Object.defineProperty(exports, "__esModule", { value: true });