@kirby-tools/licensing 0.6.7 → 0.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/constants.js +0 -12
- package/dist/license.js +3 -3
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -9,8 +9,6 @@ const ERROR_KEY_MAP = {
|
|
|
9
9
|
const INTEGRITY_ERROR = "The activation buttons appear to be hidden. Please purchase a license.";
|
|
10
10
|
const I18N_MESSAGES = {
|
|
11
11
|
en: {
|
|
12
|
-
"modal.fields.info": "Thanks for purchasing {label}! Please enter your email address and order ID to activate your license.",
|
|
13
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Find your order number</a> on Lemon Squeezy or <a href=\"mailto:hello@kirby.tools\">contact us</a> if you cannot find it.",
|
|
14
12
|
"errors.validation.missingFields": "Email address and order ID are required",
|
|
15
13
|
"activate": "Activate",
|
|
16
14
|
"buy": "Buy a license",
|
|
@@ -18,8 +16,6 @@ const I18N_MESSAGES = {
|
|
|
18
16
|
"notification.success": "Plugin activated!"
|
|
19
17
|
},
|
|
20
18
|
de: {
|
|
21
|
-
"modal.fields.info": "Dankeschön für den Kauf von {label}! Bitte gib deine E-Mail-Adresse und Bestellnummer ein, um deine Lizenz zu aktivieren.",
|
|
22
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Finde deine Bestellnummer</a> bei Lemon Squeezy oder <a href=\"mailto:hello@kirby.tools\">kontaktiere uns</a>, wenn du sie nicht finden kannst.",
|
|
23
19
|
"errors.validation.missingFields": "E-Mail-Adresse und Bestellnummer sind notwendig",
|
|
24
20
|
"activate": "Aktivieren",
|
|
25
21
|
"buy": "Lizenz kaufen",
|
|
@@ -27,8 +23,6 @@ const I18N_MESSAGES = {
|
|
|
27
23
|
"notification.success": "Plugin aktiviert!"
|
|
28
24
|
},
|
|
29
25
|
fr: {
|
|
30
|
-
"modal.fields.info": "Merci d'avoir acheté {label} ! Veuillez saisir votre adresse e-mail et votre numéro de commande pour activer votre licence.",
|
|
31
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Trouvez votre numéro de commande</a> sur Lemon Squeezy ou <a href=\"mailto:hello@kirby.tools\">contactez-nous</a> si vous ne le trouvez pas.",
|
|
32
26
|
"errors.validation.missingFields": "Adresse e-mail et numéro de commande requis",
|
|
33
27
|
"activate": "Activer",
|
|
34
28
|
"buy": "Acheter une licence",
|
|
@@ -36,8 +30,6 @@ const I18N_MESSAGES = {
|
|
|
36
30
|
"notification.success": "Plugin activé !"
|
|
37
31
|
},
|
|
38
32
|
nl: {
|
|
39
|
-
"modal.fields.info": "Bedankt voor het kopen van {label}! Voer je e-mailadres en bestelnummer in om je licentie te activeren.",
|
|
40
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Vind je bestelnummer</a> op Lemon Squeezy of <a href=\"mailto:hello@kirby.tools\">neem contact met ons op</a> als je het niet kunt vinden.",
|
|
41
33
|
"errors.validation.missingFields": "E-mailadres en bestelnummer zijn verplicht",
|
|
42
34
|
"activate": "Activeren",
|
|
43
35
|
"buy": "Koop een licentie",
|
|
@@ -45,8 +37,6 @@ const I18N_MESSAGES = {
|
|
|
45
37
|
"notification.success": "Plugin geactiveerd!"
|
|
46
38
|
},
|
|
47
39
|
es: {
|
|
48
|
-
"modal.fields.info": "¡Gracias por comprar {label}! Introduce tu dirección de correo electrónico y número de pedido para activar tu licencia.",
|
|
49
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Encuentra tu número de pedido</a> en Lemon Squeezy o <a href=\"mailto:hello@kirby.tools\">contáctanos</a> si no lo encuentras.",
|
|
50
40
|
"errors.validation.missingFields": "La dirección de correo electrónico y el número de pedido son obligatorios",
|
|
51
41
|
"activate": "Activar",
|
|
52
42
|
"buy": "Comprar licencia",
|
|
@@ -54,8 +44,6 @@ const I18N_MESSAGES = {
|
|
|
54
44
|
"notification.success": "¡Plugin activado!"
|
|
55
45
|
},
|
|
56
46
|
it: {
|
|
57
|
-
"modal.fields.info": "Grazie per aver acquistato {label}! Inserisci il tuo indirizzo email e il numero d'ordine per attivare la licenza.",
|
|
58
|
-
"modal.fields.orderId.help": "<a href=\"https://app.lemonsqueezy.com/my-orders\" target=\"_blank\">Trova il tuo numero d'ordine</a> su Lemon Squeezy o <a href=\"mailto:hello@kirby.tools\">contattaci</a> se non riesci a trovarlo.",
|
|
59
47
|
"errors.validation.missingFields": "Indirizzo email e numero d'ordine sono obbligatori",
|
|
60
48
|
"activate": "Attiva",
|
|
61
49
|
"buy": "Acquista licenza",
|
package/dist/license.js
CHANGED
|
@@ -19,16 +19,16 @@ function useLicense(licenseOptions) {
|
|
|
19
19
|
fields: {
|
|
20
20
|
info: {
|
|
21
21
|
type: "info",
|
|
22
|
-
text: t("
|
|
22
|
+
text: panel.t("kirby-tools.license.activate.info")
|
|
23
23
|
},
|
|
24
24
|
email: {
|
|
25
25
|
label: panel.t("email"),
|
|
26
26
|
type: "email"
|
|
27
27
|
},
|
|
28
28
|
orderId: {
|
|
29
|
-
label: "
|
|
29
|
+
label: panel.t("kirby-tools.license.activate.orderId"),
|
|
30
30
|
type: "text",
|
|
31
|
-
help: t("
|
|
31
|
+
help: panel.t("kirby-tools.license.activate.orderId.help")
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
onSubmit: async (value) => {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirby-tools/licensing",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.8",
|
|
5
5
|
"packageManager": "pnpm@10.28.0",
|
|
6
6
|
"description": "License system for Kirby Tools plugins within the Kirby Panel",
|
|
7
7
|
"author": "Johann Schopplich <hello@johannschopplich.com>",
|