@progressive-development/pd-page 0.1.127 → 0.1.128
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/index.js +3 -0
- package/lit-localize.json +3 -3
- package/package.json +1 -1
- package/src/PdContactUs.js +7 -7
- package/src/generated/locale-codes.js +3 -1
- package/src/generated/locales/be.js +20 -0
- package/src/generated/locales/de.js +20 -0
- package/src/generated/locales/en.js +20 -0
- package/xliff/be.xlf +18 -25
- package/xliff/de.xlf +28 -0
- package/xliff/en.xlf +20 -20
- package/src/generated/locale/be.js +0 -20
- package/src/generated/locale/en.js +0 -20
package/index.js
CHANGED
package/lit-localize.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/lit/lit/main/packages/localize-tools/config.schema.json",
|
|
3
|
-
"sourceLocale": "
|
|
4
|
-
"targetLocales": ["en", "be"],
|
|
3
|
+
"sourceLocale": "dev",
|
|
4
|
+
"targetLocales": ["de", "en", "be"],
|
|
5
5
|
"inputFiles": [
|
|
6
6
|
"src/**/*.js"
|
|
7
7
|
],
|
|
8
8
|
"output": {
|
|
9
9
|
"mode": "runtime",
|
|
10
10
|
"localeCodesModule": "src/generated/locale-codes.js",
|
|
11
|
-
"outputDir": "src/generated/
|
|
11
|
+
"outputDir": "src/generated/locales"
|
|
12
12
|
|
|
13
13
|
},
|
|
14
14
|
"interchange": {
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Progressive development page helper, teaser, menu, footer.",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.128",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
package/src/PdContactUs.js
CHANGED
|
@@ -113,13 +113,13 @@ export class PdContactUs extends LitElement {
|
|
|
113
113
|
render() {
|
|
114
114
|
return html`
|
|
115
115
|
<div class="content-block">
|
|
116
|
-
<h2>${msg('Kontakt',{
|
|
116
|
+
<h2>${msg('Kontakt',{id: 'pd.contactus.title',})}</h2>
|
|
117
117
|
<div class="contact-block">
|
|
118
118
|
<div class="left-content">
|
|
119
119
|
<pd-contact
|
|
120
120
|
class="company-contact"
|
|
121
121
|
.contact="${this.contact}"
|
|
122
|
-
addressTitle="${msg('Adresse',{
|
|
122
|
+
addressTitle="${msg('Adresse',{id: 'pd.contactus.address.title',})}"
|
|
123
123
|
summary
|
|
124
124
|
></pd-contact>
|
|
125
125
|
</div>
|
|
@@ -130,7 +130,7 @@ export class PdContactUs extends LitElement {
|
|
|
130
130
|
<pd-input
|
|
131
131
|
id="nameInputId"
|
|
132
132
|
class="quarter3"
|
|
133
|
-
placeHolder="${msg('Name',{
|
|
133
|
+
placeHolder="${msg('Name',{id: 'pd.contactus.address.name',})}"
|
|
134
134
|
valueName="name"
|
|
135
135
|
autoCompleteName="full-name"
|
|
136
136
|
required
|
|
@@ -141,7 +141,7 @@ export class PdContactUs extends LitElement {
|
|
|
141
141
|
<pd-input
|
|
142
142
|
id="mailInputId"
|
|
143
143
|
class="quarter3"
|
|
144
|
-
placeHolder="${msg('Email',{
|
|
144
|
+
placeHolder="${msg('Email',{id: 'pd.contactus.address.email',})}"
|
|
145
145
|
valueName="mail"
|
|
146
146
|
autoCompleteName="email"
|
|
147
147
|
name="email"
|
|
@@ -154,7 +154,7 @@ export class PdContactUs extends LitElement {
|
|
|
154
154
|
<pd-input
|
|
155
155
|
id="phoneInputId"
|
|
156
156
|
class="quarter3"
|
|
157
|
-
placeHolder="${msg('Telefon',{
|
|
157
|
+
placeHolder="${msg('Telefon',{id: 'pd.contactus.address.phone',})}"
|
|
158
158
|
valueName="phone"
|
|
159
159
|
field-type="phone"
|
|
160
160
|
autoCompleteName="tel"
|
|
@@ -166,7 +166,7 @@ export class PdContactUs extends LitElement {
|
|
|
166
166
|
<pd-input-area
|
|
167
167
|
id="msgInputId"
|
|
168
168
|
class="quarter3-area"
|
|
169
|
-
placeHolder="${msg('Nachricht',{
|
|
169
|
+
placeHolder="${msg('Nachricht',{id: 'pd.contactus.address.message',})}"
|
|
170
170
|
rows="15"
|
|
171
171
|
required
|
|
172
172
|
valueName="msg"
|
|
@@ -174,7 +174,7 @@ export class PdContactUs extends LitElement {
|
|
|
174
174
|
</pd-form-row>
|
|
175
175
|
|
|
176
176
|
<pd-form-row>
|
|
177
|
-
<pd-button class="quarter3" text="${msg('Absenden',{
|
|
177
|
+
<pd-button class="quarter3" text="${msg('Absenden',{id: 'pd.contactus.address.send',})}" @click="${this._sendMail}" primary></pd-button>
|
|
178
178
|
</pd-form-row>
|
|
179
179
|
|
|
180
180
|
</pd-form-container>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* The locale code that templates in this source code are written in.
|
|
6
6
|
*/
|
|
7
|
-
export const sourceLocale = `
|
|
7
|
+
export const sourceLocale = `dev`;
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* The other locale codes that this application is localized into. Sorted
|
|
@@ -12,6 +12,7 @@ export const sourceLocale = `de`;
|
|
|
12
12
|
*/
|
|
13
13
|
export const targetLocales = [
|
|
14
14
|
`be`,
|
|
15
|
+
`de`,
|
|
15
16
|
`en`,
|
|
16
17
|
];
|
|
17
18
|
|
|
@@ -21,5 +22,6 @@ export const targetLocales = [
|
|
|
21
22
|
export const allLocales = [
|
|
22
23
|
`be`,
|
|
23
24
|
`de`,
|
|
25
|
+
`dev`,
|
|
24
26
|
`en`,
|
|
25
27
|
];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
// Do not modify this file by hand!
|
|
3
|
+
// Re-generate this file by running lit-localize
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* eslint-disable no-irregular-whitespace */
|
|
9
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
|
+
|
|
11
|
+
export const templates = {
|
|
12
|
+
'pd.contactus.address.email': `E-mail`,
|
|
13
|
+
'pd.contactus.address.message': `Boodschap`,
|
|
14
|
+
'pd.contactus.address.name': `Naam`,
|
|
15
|
+
'pd.contactus.address.phone': `Telefoon`,
|
|
16
|
+
'pd.contactus.address.send': `Verzenden`,
|
|
17
|
+
'pd.contactus.address.title': `Adres`,
|
|
18
|
+
'pd.contactus.title': `Contact`,
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
// Do not modify this file by hand!
|
|
3
|
+
// Re-generate this file by running lit-localize
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* eslint-disable no-irregular-whitespace */
|
|
9
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
|
+
|
|
11
|
+
export const templates = {
|
|
12
|
+
'pd.contactus.title': `Kontakt`,
|
|
13
|
+
'pd.contactus.address.title': `Adresse`,
|
|
14
|
+
'pd.contactus.address.name': `Name`,
|
|
15
|
+
'pd.contactus.address.email': `Email`,
|
|
16
|
+
'pd.contactus.address.phone': `Telefon`,
|
|
17
|
+
'pd.contactus.address.message': `Nachricht`,
|
|
18
|
+
'pd.contactus.address.send': `Absenden`,
|
|
19
|
+
};
|
|
20
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
|
|
2
|
+
// Do not modify this file by hand!
|
|
3
|
+
// Re-generate this file by running lit-localize
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/* eslint-disable no-irregular-whitespace */
|
|
9
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
|
+
|
|
11
|
+
export const templates = {
|
|
12
|
+
'pd.contactus.address.email': `Email`,
|
|
13
|
+
'pd.contactus.address.message': `Message`,
|
|
14
|
+
'pd.contactus.address.name': `Name`,
|
|
15
|
+
'pd.contactus.address.phone': `Phone`,
|
|
16
|
+
'pd.contactus.address.send': `Send`,
|
|
17
|
+
'pd.contactus.address.title': `Address`,
|
|
18
|
+
'pd.contactus.title': `Contact`,
|
|
19
|
+
};
|
|
20
|
+
|
package/xliff/be.xlf
CHANGED
|
@@ -2,40 +2,33 @@
|
|
|
2
2
|
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
3
3
|
<file target-language="be" source-language="de" original="lit-localize-inputs" datatype="plaintext">
|
|
4
4
|
<body>
|
|
5
|
-
<trans-unit id="
|
|
6
|
-
<source>
|
|
7
|
-
<target>
|
|
8
|
-
<note from="lit-localize">#contactus.address.email#</note>
|
|
5
|
+
<trans-unit id="pd.contactus.title">
|
|
6
|
+
<source>Kontakt</source>
|
|
7
|
+
<target>Contact</target>
|
|
9
8
|
</trans-unit>
|
|
10
|
-
<trans-unit id="
|
|
11
|
-
<source>
|
|
12
|
-
<target>
|
|
13
|
-
<note from="lit-localize">#contactus.address.message#</note>
|
|
9
|
+
<trans-unit id="pd.contactus.address.title">
|
|
10
|
+
<source>Adresse</source>
|
|
11
|
+
<target>Adres</target>
|
|
14
12
|
</trans-unit>
|
|
15
|
-
<trans-unit id="
|
|
13
|
+
<trans-unit id="pd.contactus.address.name">
|
|
16
14
|
<source>Name</source>
|
|
17
15
|
<target>Naam</target>
|
|
18
|
-
<note from="lit-localize">#contactus.address.name#</note>
|
|
19
16
|
</trans-unit>
|
|
20
|
-
<trans-unit id="
|
|
17
|
+
<trans-unit id="pd.contactus.address.email">
|
|
18
|
+
<source>Email</source>
|
|
19
|
+
<target>E-mail</target>
|
|
20
|
+
</trans-unit>
|
|
21
|
+
<trans-unit id="pd.contactus.address.phone">
|
|
21
22
|
<source>Telefon</source>
|
|
22
|
-
<target>Telefoon
|
|
23
|
-
<note from="lit-localize">#contactus.address.phone#</note>
|
|
23
|
+
<target>Telefoon</target>
|
|
24
24
|
</trans-unit>
|
|
25
|
-
<trans-unit id="
|
|
25
|
+
<trans-unit id="pd.contactus.address.message">
|
|
26
|
+
<source>Nachricht</source>
|
|
27
|
+
<target>Boodschap</target>
|
|
28
|
+
</trans-unit>
|
|
29
|
+
<trans-unit id="pd.contactus.address.send">
|
|
26
30
|
<source>Absenden</source>
|
|
27
31
|
<target>Verzenden</target>
|
|
28
|
-
<note from="lit-localize">#contactus.address.send#</note>
|
|
29
|
-
</trans-unit>
|
|
30
|
-
<trans-unit id="sdd2fffdf86bf5b6e">
|
|
31
|
-
<source>Adresse</source>
|
|
32
|
-
<target>Adres</target>
|
|
33
|
-
<note from="lit-localize">#contactus.address.title#</note>
|
|
34
|
-
</trans-unit>
|
|
35
|
-
<trans-unit id="sfb4410b48e95fa73">
|
|
36
|
-
<source>Kontakt</source>
|
|
37
|
-
<target>Contacteer ons</target>
|
|
38
|
-
<note from="lit-localize">#contactus.title#</note>
|
|
39
32
|
</trans-unit>
|
|
40
33
|
</body>
|
|
41
34
|
</file>
|
package/xliff/de.xlf
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
3
|
+
<file target-language="de" source-language="dev" original="lit-localize-inputs" datatype="plaintext">
|
|
4
|
+
<body>
|
|
5
|
+
<trans-unit id="pd.contactus.title">
|
|
6
|
+
<source>Kontakt</source>
|
|
7
|
+
</trans-unit>
|
|
8
|
+
<trans-unit id="pd.contactus.address.title">
|
|
9
|
+
<source>Adresse</source>
|
|
10
|
+
</trans-unit>
|
|
11
|
+
<trans-unit id="pd.contactus.address.name">
|
|
12
|
+
<source>Name</source>
|
|
13
|
+
</trans-unit>
|
|
14
|
+
<trans-unit id="pd.contactus.address.email">
|
|
15
|
+
<source>Email</source>
|
|
16
|
+
</trans-unit>
|
|
17
|
+
<trans-unit id="pd.contactus.address.phone">
|
|
18
|
+
<source>Telefon</source>
|
|
19
|
+
</trans-unit>
|
|
20
|
+
<trans-unit id="pd.contactus.address.message">
|
|
21
|
+
<source>Nachricht</source>
|
|
22
|
+
</trans-unit>
|
|
23
|
+
<trans-unit id="pd.contactus.address.send">
|
|
24
|
+
<source>Absenden</source>
|
|
25
|
+
</trans-unit>
|
|
26
|
+
</body>
|
|
27
|
+
</file>
|
|
28
|
+
</xliff>
|
package/xliff/en.xlf
CHANGED
|
@@ -2,33 +2,33 @@
|
|
|
2
2
|
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
|
|
3
3
|
<file target-language="en" source-language="de" original="lit-localize-inputs" datatype="plaintext">
|
|
4
4
|
<body>
|
|
5
|
-
<trans-unit id="
|
|
6
|
-
<source>
|
|
7
|
-
<
|
|
5
|
+
<trans-unit id="pd.contactus.title">
|
|
6
|
+
<source>Kontakt</source>
|
|
7
|
+
<target>Contact</target>
|
|
8
8
|
</trans-unit>
|
|
9
|
-
<trans-unit id="
|
|
10
|
-
<source>
|
|
11
|
-
<
|
|
9
|
+
<trans-unit id="pd.contactus.address.title">
|
|
10
|
+
<source>Adresse</source>
|
|
11
|
+
<target>Address</target>
|
|
12
12
|
</trans-unit>
|
|
13
|
-
<trans-unit id="
|
|
13
|
+
<trans-unit id="pd.contactus.address.name">
|
|
14
14
|
<source>Name</source>
|
|
15
|
-
<
|
|
15
|
+
<target>Name</target>
|
|
16
16
|
</trans-unit>
|
|
17
|
-
<trans-unit id="
|
|
18
|
-
<source>
|
|
19
|
-
<
|
|
17
|
+
<trans-unit id="pd.contactus.address.email">
|
|
18
|
+
<source>Email</source>
|
|
19
|
+
<target>Email</target>
|
|
20
20
|
</trans-unit>
|
|
21
|
-
<trans-unit id="
|
|
22
|
-
<source>
|
|
23
|
-
<
|
|
21
|
+
<trans-unit id="pd.contactus.address.phone">
|
|
22
|
+
<source>Telefon</source>
|
|
23
|
+
<target>Phone</target>
|
|
24
24
|
</trans-unit>
|
|
25
|
-
<trans-unit id="
|
|
26
|
-
<source>
|
|
27
|
-
<
|
|
25
|
+
<trans-unit id="pd.contactus.address.message">
|
|
26
|
+
<source>Nachricht</source>
|
|
27
|
+
<target>Message</target>
|
|
28
28
|
</trans-unit>
|
|
29
|
-
<trans-unit id="
|
|
30
|
-
<source>
|
|
31
|
-
<
|
|
29
|
+
<trans-unit id="pd.contactus.address.send">
|
|
30
|
+
<source>Absenden</source>
|
|
31
|
+
<target>Send</target>
|
|
32
32
|
</trans-unit>
|
|
33
33
|
</body>
|
|
34
34
|
</file>
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not modify this file by hand!
|
|
3
|
-
// Re-generate this file by running lit-localize
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/* eslint-disable no-irregular-whitespace */
|
|
9
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
|
-
|
|
11
|
-
export const templates = {
|
|
12
|
-
's0830a1e0d2456d9b': `Type uw bericht hier`,
|
|
13
|
-
'sab1114a5f102dedc': `Telefoon Nummer`,
|
|
14
|
-
'sc7dbfe3251f9a8db': `Verzenden`,
|
|
15
|
-
'sd1f44f1a8bc20e67': `Email`,
|
|
16
|
-
'sdd2fffdf86bf5b6e': `Adres`,
|
|
17
|
-
'sef49aec68fd1dc66': `Naam`,
|
|
18
|
-
'sfb4410b48e95fa73': `Contacteer ons`,
|
|
19
|
-
};
|
|
20
|
-
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not modify this file by hand!
|
|
3
|
-
// Re-generate this file by running lit-localize
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
/* eslint-disable no-irregular-whitespace */
|
|
9
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
10
|
-
|
|
11
|
-
export const templates = {
|
|
12
|
-
'sfb4410b48e95fa73': `Kontakt`,
|
|
13
|
-
'sdd2fffdf86bf5b6e': `Adresse`,
|
|
14
|
-
'sef49aec68fd1dc66': `Name`,
|
|
15
|
-
'sd1f44f1a8bc20e67': `Email`,
|
|
16
|
-
'sab1114a5f102dedc': `Telefon`,
|
|
17
|
-
's0830a1e0d2456d9b': `Nachricht`,
|
|
18
|
-
'sc7dbfe3251f9a8db': `Absenden`,
|
|
19
|
-
};
|
|
20
|
-
|