@justeattakeaway/pie-cookie-banner 0.25.1 → 0.26.0
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/locales/ca-es.json +40 -0
- package/locales/index.js +6 -5
- package/package.json +2 -2
- package/src/defs.ts +1 -4
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"banner": {
|
|
3
|
+
"title": "Galetes",
|
|
4
|
+
"description": "Utilitzem galetes pròpies i de tercers, així com altres tecnologies per millorar i personalitzar la teva experiència d’usuari, optimitzar l’anàlisi i mostrar anuncis amb tercers (llegeix la nostra <linkStatement>Declaració</linkStatement>). Les galetes necessàries sempre estan definides. Fes clic a <linkNecessaryOnly>Només necessàries</linkNecessaryOnly> per continuar sense acceptar-ne més. Fes clic a <linkManagePreferences>Gestionar preferències</linkManagePreferences> per compartir les teves preferències o <linkAcceptAll>Acceptar-les totes</linkAcceptAll>.",
|
|
5
|
+
"cta": {
|
|
6
|
+
"managePreferences": "Gestionar preferències",
|
|
7
|
+
"necessaryOnly": "Només necessàries",
|
|
8
|
+
"acceptAll": "Acceptar-les totes"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"preferencesManagement": {
|
|
12
|
+
"title": "Gestiona les teves preferències",
|
|
13
|
+
"description": "Pots trobar tota la informació a la <linkCookieStatement>Declaració de galetes</linkCookieStatement> i a la <linkCookieTechList>llista de tecnologies de galetes</linkCookieTechList>.",
|
|
14
|
+
"all": {
|
|
15
|
+
"title": "Activar-les totes"
|
|
16
|
+
},
|
|
17
|
+
"necessary": {
|
|
18
|
+
"title": "Necessàries",
|
|
19
|
+
"description": "Aquestes galetes són necessàries per garantir que el lloc web i les seves característiques funcionin adequadament. Els serveis que has demanat no es poden oferir sense aquestes galetes."
|
|
20
|
+
},
|
|
21
|
+
"functional": {
|
|
22
|
+
"title": "Funcionals",
|
|
23
|
+
"description": "Aquestes galetes permeten que el lloc web recordi les eleccions que fas per oferir-te una millor funcionalitat i característiques personals."
|
|
24
|
+
},
|
|
25
|
+
"analytical": {
|
|
26
|
+
"title": "Analítiques",
|
|
27
|
+
"description": "Aquestes galetes analítiques, incloses les estadístiques, s’utilitzen per entendre com interaccionen els visitants amb el lloc web i per poder mesurar i millorar el rendiment del nostre lloc web."
|
|
28
|
+
},
|
|
29
|
+
"personalized": {
|
|
30
|
+
"title": "Personalitzades (orientació i publicitat)",
|
|
31
|
+
"description": "Aquestes galetes de màrqueting s’utilitzen per adaptar el lliurament de la informació en funció del teu interès i per mesurar l’eficàcia d’aquests anuncis, tant al nostre lloc web com als llocs web dels nostres socis publicitaris."
|
|
32
|
+
},
|
|
33
|
+
"cta": {
|
|
34
|
+
"save": {
|
|
35
|
+
"label": "Desar",
|
|
36
|
+
"ariaLabel": ""
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
package/locales/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import bgBG from './bg-bg.json';
|
|
2
|
-
import
|
|
2
|
+
import caES from './ca-es.json';
|
|
3
3
|
import daDK from './da-dk.json';
|
|
4
|
-
import
|
|
4
|
+
import deDE from './de-de.json';
|
|
5
5
|
import enFR from './en-fr.json';
|
|
6
|
+
import enGB from './en-gb.json';
|
|
6
7
|
import esES from './es-es.json';
|
|
7
8
|
import frFR from './fr-fr.json';
|
|
8
9
|
import heIL from './he-il.json';
|
|
@@ -11,14 +12,14 @@ import nlNL from './nl-nl.json';
|
|
|
11
12
|
import plPL from './pl-pl.json';
|
|
12
13
|
import skSK from './sk-sk.json';
|
|
13
14
|
|
|
14
|
-
// TODO: Find how to tell TS each of these is of type CookieBannerLocale
|
|
15
15
|
export default {
|
|
16
16
|
bgBG,
|
|
17
|
-
|
|
17
|
+
caES,
|
|
18
18
|
daDK,
|
|
19
|
+
deDE,
|
|
19
20
|
dkDK: daDK,
|
|
20
|
-
enFR,
|
|
21
21
|
enGB,
|
|
22
|
+
enFR,
|
|
22
23
|
esES,
|
|
23
24
|
frFR,
|
|
24
25
|
heIL,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-cookie-banner",
|
|
3
3
|
"description": "PIE Design System Cookie Banner built using Web Components",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.26.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
40
40
|
"@justeat/pie-design-tokens": "6.3.1",
|
|
41
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
41
|
+
"@justeattakeaway/pie-components-config": "0.18.0",
|
|
42
42
|
"@justeattakeaway/pie-css": "0.12.1",
|
|
43
43
|
"@justeattakeaway/pie-wrapper-react": "0.14.1",
|
|
44
44
|
"cem-plugin-module-file-extensions": "0.0.5"
|
package/src/defs.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
+
import { type TemplateResult } from 'lit';
|
|
1
2
|
import { type ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
3
|
|
|
3
|
-
import {
|
|
4
|
-
TemplateResult,
|
|
5
|
-
} from 'lit';
|
|
6
|
-
|
|
7
4
|
import defaultLocale from '../locales/en-gb.json' assert { type: 'json' };
|
|
8
5
|
|
|
9
6
|
export interface CookieBannerLocale {
|