@jjlmoya/utils-home 1.25.0 → 1.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.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/src/entries.ts +4 -1
  3. package/src/index.ts +1 -0
  4. package/src/tests/locale_completeness.test.ts +2 -2
  5. package/src/tests/tool_validation.test.ts +2 -2
  6. package/src/tool/wallPaintingCalculator/bibliography.astro +14 -0
  7. package/src/tool/wallPaintingCalculator/bibliography.ts +14 -0
  8. package/src/tool/wallPaintingCalculator/component.astro +340 -0
  9. package/src/tool/wallPaintingCalculator/entry.ts +29 -0
  10. package/src/tool/wallPaintingCalculator/i18n/de.ts +226 -0
  11. package/src/tool/wallPaintingCalculator/i18n/en.ts +226 -0
  12. package/src/tool/wallPaintingCalculator/i18n/es.ts +226 -0
  13. package/src/tool/wallPaintingCalculator/i18n/fr.ts +226 -0
  14. package/src/tool/wallPaintingCalculator/i18n/id.ts +226 -0
  15. package/src/tool/wallPaintingCalculator/i18n/it.ts +226 -0
  16. package/src/tool/wallPaintingCalculator/i18n/ja.ts +226 -0
  17. package/src/tool/wallPaintingCalculator/i18n/ko.ts +226 -0
  18. package/src/tool/wallPaintingCalculator/i18n/nl.ts +226 -0
  19. package/src/tool/wallPaintingCalculator/i18n/pl.ts +226 -0
  20. package/src/tool/wallPaintingCalculator/i18n/pt.ts +226 -0
  21. package/src/tool/wallPaintingCalculator/i18n/ru.ts +226 -0
  22. package/src/tool/wallPaintingCalculator/i18n/sv.ts +226 -0
  23. package/src/tool/wallPaintingCalculator/i18n/tr.ts +226 -0
  24. package/src/tool/wallPaintingCalculator/i18n/zh.ts +226 -0
  25. package/src/tool/wallPaintingCalculator/index.ts +9 -0
  26. package/src/tool/wallPaintingCalculator/logic.ts +27 -0
  27. package/src/tool/wallPaintingCalculator/seo.astro +15 -0
  28. package/src/tool/wallPaintingCalculator/ui.ts +42 -0
  29. package/src/tool/wallPaintingCalculator/wall-painting-calculator.css +326 -0
  30. package/src/tools.ts +2 -0
@@ -0,0 +1,226 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { WallPaintingCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'wandfarben-rechner';
7
+ const title = 'Wandfarben und Verdünnungsrechner';
8
+ const description =
9
+ 'Berechnen Sie exakt, wie viele Liter oder Gallonen Farbe Sie für Ihre Wände benötigen. Passen Sie Decklagen, Oberflächentyp, Verdünnung an und ermitteln Sie die realen Kosten vor dem Kauf.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'Wie berechne ich die genaue Farbmenge?',
14
+ answer:
15
+ 'Multiplizieren Sie die Wandfläche mit der Anzahl der Decklagen und teilen Sie durch den Farbertrag in Quadratmetern oder Quadratfuß pro Liter oder Gallone. Ziehen Sie zuerst Türen und Fenster von der Gesamtfläche ab.',
16
+ },
17
+ {
18
+ question: 'Wie viel Farbe braucht ein Standardzimmer?',
19
+ answer:
20
+ 'Ein 12 Quadratmeter großes Zimmer mit 2,5 Meter hohen Decken hat etwa 30 Quadratmeter Wandfläche. Bei zwei Decklagen und einem Ertrag von 12 Quadratmetern pro Liter benötigen Sie etwa 5 Liter Farbe.',
21
+ },
22
+ {
23
+ question: 'Soll ich die Farbe vor dem Auftragen verdünnen?',
24
+ answer:
25
+ 'Dispersionsfarben auf Wasserbasis sind meist gebrauchsfertig oder benötigen 5 bis 10 Prozent Wasser beim ersten Anstrich. Emaille- oder Ölfarben erfordern oft ein spezifisches Lösungsmittel, das auf der Dose angegeben ist.',
26
+ },
27
+ {
28
+ question: 'Wie viele Decklagen sind wirklich notwendig?',
29
+ answer:
30
+ 'Neue oder stark saugende Oberflächen benötigen einen Grundieranstrich plus zwei Deckanstriche. Das Überstreichen einer bereits gestrichenen Wand in einer ähnlichen Farbe benötigt meist nur ein bis zwei Decklagen.',
31
+ },
32
+ {
33
+ question: 'Ziehe ich Türen und Fenster ab?',
34
+ answer:
35
+ 'Ja. Messen Sie jede Öffnung und ziehen Sie sie von der Gesamtwandfläche ab. Als Faustregel sind Türen etwa 2 Quadratmeter und Fenster etwa 1,5 Quadratmeter groß.',
36
+ },
37
+ {
38
+ question: 'Ändert der Oberflächentyp den Ertrag?',
39
+ answer:
40
+ 'Ja. Glatte, vorbereitete Wände erbringen bis zu 14 Quadratmeter pro Liter. Rauer Beton, Rauputz oder saugendes Mauerwerk können den Ertrag auf 6 bis 8 Quadratmeter pro Liter senken.',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: 'Messen Sie Ihre Wände',
47
+ text: 'Messen Sie Breite und Höhe jeder Wand. Multiplizieren Sie sie, um die Fläche jeder Wand zu erhalten, und addieren Sie alle Wände.',
48
+ },
49
+ {
50
+ name: 'Öffnungen abziehen',
51
+ text: 'Messen Sie Türen und Fenster und ziehen Sie deren Fläche von der Gesamtfläche ab, um die reale zu streichende Fläche zu erhalten.',
52
+ },
53
+ {
54
+ name: 'Wählen Sie den Farbtyp',
55
+ text: 'Wählen Sie den Farbtyp im Rechner. Dispersionsfarbe matt, Dispersionsfarbe seidenglänzend und Emaille haben unterschiedliche Erträge und Verdünnungsempfehlungen.',
56
+ },
57
+ {
58
+ name: 'Decklagen und Preis eingeben',
59
+ text: 'Geben Sie an, wie viele Decklagen Sie auftragen möchten, und den Preis pro Liter oder Gallone. Der Rechner gibt die genaue Menge und die Gesamtkosten aus.',
60
+ },
61
+ ];
62
+
63
+ const faqSchema: WithContext<FAQPage> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'FAQPage',
66
+ mainEntity: faqData.map((item) => ({
67
+ '@type': 'Question',
68
+ name: item.question,
69
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
70
+ })),
71
+ };
72
+
73
+ const howToSchema: WithContext<HowTo> = {
74
+ '@context': 'https://schema.org',
75
+ '@type': 'HowTo',
76
+ name: title,
77
+ description,
78
+ step: howToData.map((step) => ({
79
+ '@type': 'HowToStep',
80
+ name: step.name,
81
+ text: step.text,
82
+ })),
83
+ };
84
+
85
+ const appSchema: WithContext<SoftwareApplication> = {
86
+ '@context': 'https://schema.org',
87
+ '@type': 'SoftwareApplication',
88
+ name: title,
89
+ description,
90
+ applicationCategory: 'UtilityApplication',
91
+ operatingSystem: 'All',
92
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
93
+ inLanguage: 'de',
94
+ };
95
+
96
+ export const content: ToolLocaleContent<WallPaintingCalculatorUI> = {
97
+ slug,
98
+ title,
99
+ description,
100
+ faq: faqData,
101
+ bibliography,
102
+ howTo: howToData,
103
+ schemas: [faqSchema, howToSchema, appSchema],
104
+ seo: [
105
+ {
106
+ type: 'title',
107
+ text: 'Farbrechner: Kaufen Sie Genau das, was Sie Brauchen',
108
+ level: 2,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: 'Ein Zimmer ohne Vorabberechnung zu streichen endet meist in <strong>halbleeren Dosen</strong> oder Notfalleinkäufen. Der Grund ist simpel: der Farbertrag variiert mit der Porosität der Oberfläche, der Farbänderung und der Anzahl der Decklagen. Eine glatte, bereits gestrichene Wand kann bis zu 14 Quadratmeter pro Liter erbringen, während eine Rauputzwand die gleiche Menge auf nur 6 Quadratmeter pro Liter reduzieren kann.',
113
+ },
114
+ {
115
+ type: 'stats',
116
+ items: [
117
+ { value: 'Hoch', label: 'Standard Deckkraft', icon: 'mdi:format-paint' },
118
+ { value: '2 Schichten', label: 'Empfohlen', icon: 'mdi:layers' },
119
+ { value: '5-10%', label: 'Typische Verdünnung', icon: 'mdi:cup-water' },
120
+ ],
121
+ columns: 3,
122
+ },
123
+ {
124
+ type: 'title',
125
+ text: 'Wie der Farbertrag Wirklich Funktioniert',
126
+ level: 3,
127
+ },
128
+ {
129
+ type: 'paragraph',
130
+ html: 'Hersteller geben einen theoretischen Ertrag auf der Dose an. Diese Zahl geht von einer perfekt glatten, nicht saugenden, weißen Oberfläche aus, die mit einer professionellen Rolle unter Idealbedingungen aufgetragen wird. In der Realität <strong>reduzieren poröse Wände, dunkle Farben und Heimwerkeranwendungen</strong> diesen Ertrag um 20 bis 40 Prozent. Unser Rechner ermöglicht realistische Profile, damit Sie nicht zu knapp kalkulieren.',
131
+ },
132
+ {
133
+ type: 'comparative',
134
+ items: [
135
+ {
136
+ title: 'Dispersionsfarbe Matt',
137
+ description: 'Die gebräuchlichste Wahl für Innenräume. Hohe Deckkraft, leicht zu retuschieren und in den meisten Qualitäten waschbar.',
138
+ icon: 'mdi:palette',
139
+ points: ['Standard Deckkraft für Innenräume', 'Verdünnung: 5 bis 10 Prozent Wasser', 'Ideal für: Wohnzimmer und Schlafzimmer'],
140
+ },
141
+ {
142
+ title: 'Dispersionsfarbe Seidenglänzend',
143
+ description: 'Leicht glänzender Finish mit größerer Feuchtigkeits- und Fleckenresistenz. Schwieriger nahtlos zu retuschieren.',
144
+ icon: 'mdi:brightness-6',
145
+ points: ['Etwas höhere Deckkraft', 'Verdünnung: 5 Prozent Wasser', 'Ideal für: Küchen und Bäder'],
146
+ },
147
+ {
148
+ title: 'Emaillefarbe',
149
+ description: 'Harter und haltbarer Finish für Tischlerarbeiten, Heizkörper und stark frequentierte Bereiche. Erfordert Lösungsmittel oder spezifischen Verdünner.',
150
+ icon: 'mdi:spray',
151
+ points: ['Harter und langlebiger Finish', 'Verdünnung: 10 bis 15 Prozent Lösungsmittel', 'Ideal für: Türen, Rahmen und Möbel'],
152
+ },
153
+ ],
154
+ columns: 3,
155
+ },
156
+ {
157
+ type: 'diagnostic',
158
+ variant: 'info',
159
+ title: 'Praktische Oberflächenmessung',
160
+ icon: 'mdi:ruler-square',
161
+ badge: 'Tipp',
162
+ html: '<p style="margin:0">Multiplizieren Sie Breite mal Höhe jeder Wand. Für eine schnelle Gesamtsumme addieren Sie alle Breiten und multiplizieren sie mit der Raumhöhe. Ziehen Sie dann ungefähr 2 Quadratmeter pro Standardtür und 1,5 Quadratmeter pro Fenster ab.</p>',
163
+ },
164
+ {
165
+ type: 'title',
166
+ text: 'Regeln für Verdünnung und Auftrag',
167
+ level: 3,
168
+ },
169
+ {
170
+ type: 'paragraph',
171
+ html: 'Erste Anstriche auf neuen oder reparierten Oberflächen benötigen immer eine leichte Verdünnung, damit die Farbe eindringt und haftet. Deckanstriche sollten unverdünnt oder mit dem vom Hersteller angegebenen Minimum aufgetragen werden. <strong>Übermäßige Verdünnung zerstört das Pigment</strong> und hinterlässt transparente Stellen, die einen zusätzlichen Anstrich erfordern.',
172
+ },
173
+ {
174
+ type: 'summary',
175
+ title: 'Warum Vor dem Kauf Berechnen',
176
+ items: [
177
+ 'Vermeiden Sie Farbreste, die in der Dose eintrocknen und zu Abfall werden.',
178
+ 'Verhindern Sie Farbunterschiede zwischen Chargen, die zu verschiedenen Zeitpunkten gekauft wurden.',
179
+ 'Budgetieren Sie präzise: kennen Sie die realen Kosten inklusive Grundierung und Werkzeug.',
180
+ 'Planen Sie die Arbeit in einem Zug, ohne sie für zusätzliches Material zu unterbrechen.',
181
+ ],
182
+ },
183
+ ],
184
+ ui: {
185
+ sectionTitle: 'Oberfläche und Farbe',
186
+ labelMetric: 'Metrisch',
187
+ labelImperial: 'Imperial',
188
+ labelArea: 'Gesamtfläche zu streichen',
189
+ labelAreaFt: 'Gesamtfläche zu streichen',
190
+ unitArea: 'm2',
191
+ unitAreaFt: 'ft2',
192
+ labelYield: 'Farbertrag',
193
+ labelYieldFt: 'Farbertrag',
194
+ unitYield: 'm2/L',
195
+ unitYieldFt: 'ft2/gal',
196
+ labelType: 'Farbtyp wählen',
197
+ btnPlasticMatTitle: 'Dispersion Matt',
198
+ btnPlasticMatSub: 'Matt · Wasser 5%',
199
+ btnPlasticSatinTitle: 'Dispersion Seidenglänzend',
200
+ btnPlasticSatinSub: 'Seidenglänzend · Wasser 5%',
201
+ btnEnamelTitle: 'Emaille',
202
+ btnEnamelSub: 'Emaille · Lösungsmittel 10%',
203
+ labelCoats: 'Anzahl Decklagen',
204
+ unitCoats: 'Schichten',
205
+ labelPrice: 'Preis pro Liter',
206
+ labelPriceFt: 'Preis pro Gallone',
207
+ unitPrice: '/L',
208
+ unitPriceGal: '/gal',
209
+ labelDilution: 'Verdünnungsprozentsatz',
210
+ unitDilution: '%',
211
+ resultBadge: 'Farbberechnung',
212
+ labelPaint: 'Liter Farbe',
213
+ labelPaintGal: 'Gallonen Farbe',
214
+ labelCost: 'Gesamtkosten',
215
+ labelWater: 'Verdünnungsflüssigkeit',
216
+ labelWaterGal: 'Verdünnungsflüssigkeit',
217
+ labelTotalVolume: 'Gesamtmischung',
218
+ labelTotalVolumeGal: 'Gesamtmischung',
219
+ labelCurrency: 'Währung',
220
+ btnCurrUSD: '$',
221
+ btnCurrEUR: '€',
222
+ btnCurrGBP: '£',
223
+ btnCurrJPY: '¥',
224
+ currencySign: '€',
225
+ },
226
+ };
@@ -0,0 +1,226 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { WallPaintingCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'wall-painting-calculator';
7
+ const title = 'Wall Painting and Dilution Optimizer';
8
+ const description =
9
+ 'Calculate exactly how many litres or gallons of paint you need for your walls. Adjust for coats, surface type, dilution and get the real cost before buying.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'How do I calculate the exact amount of paint?',
14
+ answer:
15
+ 'Multiply the wall surface area by the number of coats, then divide by the paint yield in square metres or square feet per litre or gallon. Subtract doors and windows from the total area first.',
16
+ },
17
+ {
18
+ question: 'How much paint does a standard room need?',
19
+ answer:
20
+ 'A 12 square metre room with 2.5 metre ceilings has about 30 square metres of wall surface. With two coats and a yield of 12 square metres per litre, you need approximately 5 litres of paint.',
21
+ },
22
+ {
23
+ question: 'Should I dilute the paint before applying it?',
24
+ answer:
25
+ 'Water based plastic paints are usually ready to use or need 5 to 10 percent water on the first coat. Enameled or oil paints often require a specific solvent indicated on the tin.',
26
+ },
27
+ {
28
+ question: 'How many coats are really necessary?',
29
+ answer:
30
+ 'New or highly absorbent surfaces need a primer plus two finish coats. Repainting an already painted wall in a similar colour usually needs only one or two coats.',
31
+ },
32
+ {
33
+ question: 'Do I subtract doors and windows?',
34
+ answer:
35
+ 'Yes. Measure each opening and subtract it from the total wall area. As a quick rule, doors are about 2 square metres and windows about 1.5 square metres each.',
36
+ },
37
+ {
38
+ question: 'Does the type of surface change the yield?',
39
+ answer:
40
+ 'Yes. Smooth prepared walls yield up to 14 square metres per litre. Rough concrete, textured plaster or absorbent brick can drop the yield to 6 or 8 square metres per litre.',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: 'Measure your walls',
47
+ text: 'Measure the width and height of each wall. Multiply them to get the area of each wall, then add all walls together.',
48
+ },
49
+ {
50
+ name: 'Subtract openings',
51
+ text: 'Measure doors and windows and subtract their area from the total to get the real surface to paint.',
52
+ },
53
+ {
54
+ name: 'Choose your paint type',
55
+ text: 'Select the paint type in the calculator. Plastic matte, plastic satin and enamel have different yields and dilution recommendations.',
56
+ },
57
+ {
58
+ name: 'Set coats and price',
59
+ text: 'Indicate how many coats you plan to apply and the price per litre or gallon. The calculator will return the exact amount and total cost.',
60
+ },
61
+ ];
62
+
63
+ const faqSchema: WithContext<FAQPage> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'FAQPage',
66
+ mainEntity: faqData.map((item) => ({
67
+ '@type': 'Question',
68
+ name: item.question,
69
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
70
+ })),
71
+ };
72
+
73
+ const howToSchema: WithContext<HowTo> = {
74
+ '@context': 'https://schema.org',
75
+ '@type': 'HowTo',
76
+ name: title,
77
+ description,
78
+ step: howToData.map((step) => ({
79
+ '@type': 'HowToStep',
80
+ name: step.name,
81
+ text: step.text,
82
+ })),
83
+ };
84
+
85
+ const appSchema: WithContext<SoftwareApplication> = {
86
+ '@context': 'https://schema.org',
87
+ '@type': 'SoftwareApplication',
88
+ name: title,
89
+ description,
90
+ applicationCategory: 'UtilityApplication',
91
+ operatingSystem: 'All',
92
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
93
+ inLanguage: 'en',
94
+ };
95
+
96
+ export const content: ToolLocaleContent<WallPaintingCalculatorUI> = {
97
+ slug,
98
+ title,
99
+ description,
100
+ faq: faqData,
101
+ bibliography,
102
+ howTo: howToData,
103
+ schemas: [faqSchema, howToSchema, appSchema],
104
+ seo: [
105
+ {
106
+ type: 'title',
107
+ text: 'Paint Calculator: Buy Exactly What You Need',
108
+ level: 2,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: 'Painting a room without calculating first usually ends in <strong>half empty tins</strong> or emergency trips to the store. The reason is simple: paint yield varies with surface porosity, colour change and the number of coats. A smooth previously painted wall can yield up to 14 square metres per litre, while a rough plaster wall can absorb the same amount and only cover 6 square metres per litre.',
113
+ },
114
+ {
115
+ type: 'stats',
116
+ items: [
117
+ { value: 'High', label: 'Standard Coverage', icon: 'mdi:format-paint' },
118
+ { value: '2 coats', label: 'Recommended', icon: 'mdi:layers' },
119
+ { value: '5-10%', label: 'Typical Dilution', icon: 'mdi:cup-water' },
120
+ ],
121
+ columns: 3,
122
+ },
123
+ {
124
+ type: 'title',
125
+ text: 'How Paint Yield Really Works',
126
+ level: 3,
127
+ },
128
+ {
129
+ type: 'paragraph',
130
+ html: 'Manufacturers state a theoretical yield on the tin. That number assumes a perfectly smooth, non absorbent, white surface applied by a professional roller under ideal conditions. In the real world, <strong>porous walls, dark colours, and DIY application</strong> reduce that yield by 20 to 40 percent. Our calculator lets you choose realistic profiles so you do not run short.',
131
+ },
132
+ {
133
+ type: 'comparative',
134
+ items: [
135
+ {
136
+ title: 'Plastic Matte Paint',
137
+ description: 'The most common choice for interiors. High coverage, easy to touch up, and washable in most qualities.',
138
+ icon: 'mdi:palette',
139
+ points: ['Standard interior coverage', 'Dilution: 5 to 10 percent water', 'Best for: Living rooms and bedrooms'],
140
+ },
141
+ {
142
+ title: 'Plastic Satin Paint',
143
+ description: 'Slightly glossy finish with greater resistance to humidity and stains. Harder to touch up seamlessly.',
144
+ icon: 'mdi:brightness-6',
145
+ points: ['Slightly higher coverage', 'Dilution: 5 percent water', 'Best for: Kitchens and bathrooms'],
146
+ },
147
+ {
148
+ title: 'Enamel Paint',
149
+ description: 'Hard and durable finish for woodwork, radiators and high traffic areas. Requires solvent or specific thinner.',
150
+ icon: 'mdi:spray',
151
+ points: ['Durable hard finish', 'Dilution: 10 to 15 percent solvent', 'Best for: Doors, frames, furniture'],
152
+ },
153
+ ],
154
+ columns: 3,
155
+ },
156
+ {
157
+ type: 'diagnostic',
158
+ variant: 'info',
159
+ title: 'Practical Surface Measurement',
160
+ icon: 'mdi:ruler-square',
161
+ badge: 'Tip',
162
+ html: '<p style="margin:0">Measure wall width times wall height for each wall. For a quick total, add all widths and multiply by the room height. Then subtract approximately 2 square metres for each standard door and 1.5 square metres for each window.</p>',
163
+ },
164
+ {
165
+ type: 'title',
166
+ text: 'Dilution and Application Rules',
167
+ level: 3,
168
+ },
169
+ {
170
+ type: 'paragraph',
171
+ html: 'First coats on new or repaired surfaces always need a light dilution so the paint penetrates and anchors. Finish coats should be applied undiluted or with the minimum indicated by the manufacturer. <strong>Over diluting breaks the pigment</strong> and leaves transparent patches that need an extra coat.',
172
+ },
173
+ {
174
+ type: 'summary',
175
+ title: 'Why Calculate Before You Buy',
176
+ items: [
177
+ 'Avoid leftover paint that dries in the tin and ends up as waste.',
178
+ 'Prevent colour mismatch between batches bought at different times.',
179
+ 'Budget accurately: know the real cost including primer and tools.',
180
+ 'Plan the work in one go without interrupting for extra materials.',
181
+ ],
182
+ },
183
+ ],
184
+ ui: {
185
+ sectionTitle: 'Surface and Paint',
186
+ labelMetric: 'Metric',
187
+ labelImperial: 'Imperial',
188
+ labelArea: 'Total surface to paint',
189
+ labelAreaFt: 'Total surface to paint',
190
+ unitArea: 'm2',
191
+ unitAreaFt: 'ft2',
192
+ labelYield: 'Paint yield',
193
+ labelYieldFt: 'Paint yield',
194
+ unitYield: 'm2/L',
195
+ unitYieldFt: 'ft2/gal',
196
+ labelType: 'Select paint type',
197
+ btnPlasticMatTitle: 'Plastic Matte',
198
+ btnPlasticMatSub: 'Matte · Water 5%',
199
+ btnPlasticSatinTitle: 'Plastic Satin',
200
+ btnPlasticSatinSub: 'Satin · Water 5%',
201
+ btnEnamelTitle: 'Enamel',
202
+ btnEnamelSub: 'Enamel · Solvent 10%',
203
+ labelCoats: 'Number of coats',
204
+ unitCoats: 'coats',
205
+ labelPrice: 'Price per litre',
206
+ labelPriceFt: 'Price per gallon',
207
+ unitPrice: '/L',
208
+ unitPriceGal: '/gal',
209
+ labelDilution: 'Dilution percentage',
210
+ unitDilution: '%',
211
+ resultBadge: 'Paint calculation',
212
+ labelPaint: 'Litres of paint',
213
+ labelPaintGal: 'Gallons of paint',
214
+ labelCost: 'Total cost',
215
+ labelWater: 'Dilution liquid',
216
+ labelWaterGal: 'Dilution liquid',
217
+ labelTotalVolume: 'Total mixture',
218
+ labelTotalVolumeGal: 'Total mixture',
219
+ labelCurrency: 'Currency',
220
+ btnCurrUSD: '$',
221
+ btnCurrEUR: '€',
222
+ btnCurrGBP: '£',
223
+ btnCurrJPY: '¥',
224
+ currencySign: '$',
225
+ },
226
+ };
@@ -0,0 +1,226 @@
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { WallPaintingCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'calculadora-pintura-paredes';
7
+ const title = 'Calculadora de Pintura y Dilución para Paredes';
8
+ const description =
9
+ 'Calcula exactamente cuántos litros o galones de pintura necesitas para tus paredes. Ajusta por capas, tipo de superficie, dilución y obtén el coste real antes de comprar.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: '¿Cómo calculo la cantidad exacta de pintura?',
14
+ answer:
15
+ 'Multiplica la superficie de la pared por el número de capas y divide por el rendimiento de la pintura en metros cuadrados o pies cuadrados por litro o galón. Resta primero puertas y ventanas del área total.',
16
+ },
17
+ {
18
+ question: '¿Cuánta pintura necesita una habitación estándar?',
19
+ answer:
20
+ 'Una habitación de 12 metros cuadrados con techos de 2,5 metros tiene unos 30 metros cuadrados de pared. Con dos capas y un rendimiento de 12 metros cuadrados por litro, necesitas aproximadamente 5 litros de pintura.',
21
+ },
22
+ {
23
+ question: '¿Debo diluir la pintura antes de aplicarla?',
24
+ answer:
25
+ 'Las pinturas plásticas al agua suelen venir listas para usar o necesitan un 5 a 10 por ciento de agua en la primera capa. Las esmaltes o pinturas al aceite requieren un disolvente específico indicado en el bote.',
26
+ },
27
+ {
28
+ question: '¿Cuántas capas son realmente necesarias?',
29
+ answer:
30
+ 'Las superficies nuevas o muy absorbentes necesitan una imprimación más dos capas de acabado. Repintar una pared ya pintada en un color similar suele bastar con una o dos capas.',
31
+ },
32
+ {
33
+ question: '¿Resto puertas y ventanas?',
34
+ answer:
35
+ 'Sí. Mide cada hueco y réstalo del área total de pared. Como regla rápida, cada puerta son unos 2 metros cuadrados y cada ventana unos 1,5 metros cuadrados.',
36
+ },
37
+ {
38
+ question: '¿El tipo de superficie cambia el rendimiento?',
39
+ answer:
40
+ 'Sí. Las paredes lisas y preparadas rinden hasta 14 metros cuadrados por litro. El hormigón rugoso, el gotelé o el ladrillo absorbente pueden bajar el rendimiento a 6 u 8 metros cuadrados por litro.',
41
+ },
42
+ ];
43
+
44
+ const howToData = [
45
+ {
46
+ name: 'Mide tus paredes',
47
+ text: 'Mide el ancho y alto de cada pared. Multiplícalos para obtener el área de cada una y suma todas las paredes.',
48
+ },
49
+ {
50
+ name: 'Resta huecos',
51
+ text: 'Mide puertas y ventanas y resta su área del total para obtener la superficie real a pintar.',
52
+ },
53
+ {
54
+ name: 'Elige el tipo de pintura',
55
+ text: 'Selecciona el tipo de pintura en la calculadora. La plástica mate, la plástica satinada y el esmalte tienen distintos rendimientos y recomendaciones de dilución.',
56
+ },
57
+ {
58
+ name: 'Indica capas y precio',
59
+ text: 'Escribe cuántas capas piensas aplicar y el precio por litro o galón. La calculadora devolverá la cantidad exacta y el coste total.',
60
+ },
61
+ ];
62
+
63
+ const faqSchema: WithContext<FAQPage> = {
64
+ '@context': 'https://schema.org',
65
+ '@type': 'FAQPage',
66
+ mainEntity: faqData.map((item) => ({
67
+ '@type': 'Question',
68
+ name: item.question,
69
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
70
+ })),
71
+ };
72
+
73
+ const howToSchema: WithContext<HowTo> = {
74
+ '@context': 'https://schema.org',
75
+ '@type': 'HowTo',
76
+ name: title,
77
+ description,
78
+ step: howToData.map((step) => ({
79
+ '@type': 'HowToStep',
80
+ name: step.name,
81
+ text: step.text,
82
+ })),
83
+ };
84
+
85
+ const appSchema: WithContext<SoftwareApplication> = {
86
+ '@context': 'https://schema.org',
87
+ '@type': 'SoftwareApplication',
88
+ name: title,
89
+ description,
90
+ applicationCategory: 'UtilityApplication',
91
+ operatingSystem: 'All',
92
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
93
+ inLanguage: 'es',
94
+ };
95
+
96
+ export const content: ToolLocaleContent<WallPaintingCalculatorUI> = {
97
+ slug,
98
+ title,
99
+ description,
100
+ faq: faqData,
101
+ bibliography,
102
+ howTo: howToData,
103
+ schemas: [faqSchema, howToSchema, appSchema],
104
+ seo: [
105
+ {
106
+ type: 'title',
107
+ text: 'Calculadora de Pintura: Compra Exactamente lo que Necesitas',
108
+ level: 2,
109
+ },
110
+ {
111
+ type: 'paragraph',
112
+ html: 'Pintar una habitación sin calcular antes suele acabar en <strong>latas a medio usar</strong> o en viajes de emergencia a la tienda. El motivo es simple: el rendimiento de la pintura varía con la porosidad de la superficie, el cambio de color y el número de capas. Una pared lisa y previamente pintada puede rendir hasta 14 metros cuadrados por litro, mientras que una pared de gotelé puede absorber la misma cantidad y cubrir solo 6 metros cuadrados por litro.',
113
+ },
114
+ {
115
+ type: 'stats',
116
+ items: [
117
+ { value: 'Alto', label: 'Rendimiento estándar', icon: 'mdi:format-paint' },
118
+ { value: '2 capas', label: 'Recomendado', icon: 'mdi:layers' },
119
+ { value: '5-10%', label: 'Dilución típica', icon: 'mdi:cup-water' },
120
+ ],
121
+ columns: 3,
122
+ },
123
+ {
124
+ type: 'title',
125
+ text: 'Cómo Funciona Realmente el Rendimiento de la Pintura',
126
+ level: 3,
127
+ },
128
+ {
129
+ type: 'paragraph',
130
+ html: 'Los fabricantes indican en la lata un rendimiento teórico. Ese número parte de una superficie perfectamente lisa, no absorbente, blanca y aplicada con rodillo profesional en condiciones ideales. En la realidad, <strong>paredes porosas, colores oscuros y aplicación bricolaje</strong> reducen ese rendimiento entre un 20 y un 40 por ciento. Nuestra calculadora te permite elegir perfiles realistas para que no te quedes corto.',
131
+ },
132
+ {
133
+ type: 'comparative',
134
+ items: [
135
+ {
136
+ title: 'Pintura Plástica Mate',
137
+ description: 'La opción más común para interiores. Buena cobertura, fácil de retocar y lavable en la mayoría de calidades.',
138
+ icon: 'mdi:palette',
139
+ points: ['Cobertura estándar para interiores', 'Dilución: 5 a 10 por ciento de agua', 'Ideal para: salones y dormitorios'],
140
+ },
141
+ {
142
+ title: 'Pintura Plástica Satinada',
143
+ description: 'Acabado ligeramente brillante con mayor resistencia a la humedad y las manchas. Más difícil de retocar sin marcas.',
144
+ icon: 'mdi:brightness-6',
145
+ points: ['Cobertura ligeramente superior', 'Dilución: 5 por ciento de agua', 'Ideal para: cocinas y baños'],
146
+ },
147
+ {
148
+ title: 'Pintura Esmalte',
149
+ description: 'Acabado duro y resistente para carpintería, radiadores y zonas de paso frecuente. Requiere disolvente o diluyente específico.',
150
+ icon: 'mdi:spray',
151
+ points: ['Acabado duro y duradero', 'Dilución: 10 a 15 por ciento de disolvente', 'Ideal para: puertas, marcos y muebles'],
152
+ },
153
+ ],
154
+ columns: 3,
155
+ },
156
+ {
157
+ type: 'diagnostic',
158
+ variant: 'info',
159
+ title: 'Medición Práctica de Superficies',
160
+ icon: 'mdi:ruler-square',
161
+ badge: 'Consejo',
162
+ html: '<p style="margin:0">Multiplica el ancho por el alto de cada pared. Para un cálculo rápido, suma todos los anchos y multiplícalos por la altura de la habitación. Luego resta aproximadamente 2 metros cuadrados por cada puerta estándar y 1,5 metros cuadrados por cada ventana.</p>',
163
+ },
164
+ {
165
+ type: 'title',
166
+ text: 'Reglas de Dilución y Aplicación',
167
+ level: 3,
168
+ },
169
+ {
170
+ type: 'paragraph',
171
+ html: 'Las primeras capas sobre superficies nuevas o reparadas siempre necesitan una ligera dilución para que la pintura penetre y ancle. Las capas de acabado deben aplicarse sin diluir o con el mínimo indicado por el fabricante. <strong>Diluir en exceso rompe el pigmento</strong> y deja parches transparentes que exigen una capa extra.',
172
+ },
173
+ {
174
+ type: 'summary',
175
+ title: 'Por Qué Calcular Antes de Comprar',
176
+ items: [
177
+ 'Evita sobrantes de pintura que se secan en la lata y acaban siendo residuo.',
178
+ 'Previene diferencias de tono entre lotes comprados en distintos momentos.',
179
+ 'Presupuesta con precisión: conoce el coste real incluyendo imprimación y herramientas.',
180
+ 'Planifica el trabajo de una sola vez sin interrumpirlo por material adicional.',
181
+ ],
182
+ },
183
+ ],
184
+ ui: {
185
+ sectionTitle: 'Superficie y Pintura',
186
+ labelMetric: 'Métrico',
187
+ labelImperial: 'Imperial',
188
+ labelArea: 'Superficie total a pintar',
189
+ labelAreaFt: 'Superficie total a pintar',
190
+ unitArea: 'm2',
191
+ unitAreaFt: 'ft2',
192
+ labelYield: 'Rendimiento de la pintura',
193
+ labelYieldFt: 'Rendimiento de la pintura',
194
+ unitYield: 'm2/L',
195
+ unitYieldFt: 'ft2/gal',
196
+ labelType: 'Selecciona el tipo de pintura',
197
+ btnPlasticMatTitle: 'Plástica Mate',
198
+ btnPlasticMatSub: 'Mate · Agua 5%',
199
+ btnPlasticSatinTitle: 'Plástica Satinada',
200
+ btnPlasticSatinSub: 'Satinada · Agua 5%',
201
+ btnEnamelTitle: 'Esmalte',
202
+ btnEnamelSub: 'Esmalte · Disolvente 10%',
203
+ labelCoats: 'Número de capas',
204
+ unitCoats: 'capas',
205
+ labelPrice: 'Precio por litro',
206
+ labelPriceFt: 'Precio por galón',
207
+ unitPrice: '/L',
208
+ unitPriceGal: '/gal',
209
+ labelDilution: 'Porcentaje de dilución',
210
+ unitDilution: '%',
211
+ resultBadge: 'Cálculo de pintura',
212
+ labelPaint: 'Litros de pintura',
213
+ labelPaintGal: 'Galones de pintura',
214
+ labelCost: 'Coste total',
215
+ labelWater: 'Líquido de dilución',
216
+ labelWaterGal: 'Líquido de dilución',
217
+ labelTotalVolume: 'Mezcla total',
218
+ labelTotalVolumeGal: 'Mezcla total',
219
+ labelCurrency: 'Moneda',
220
+ btnCurrUSD: '$',
221
+ btnCurrEUR: '€',
222
+ btnCurrGBP: '£',
223
+ btnCurrJPY: '¥',
224
+ currencySign: '€',
225
+ },
226
+ };