@jjlmoya/utils-diy 1.15.0 → 1.17.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 (112) hide show
  1. package/package.json +1 -1
  2. package/src/category/i18n/fr.ts +5 -5
  3. package/src/entries.ts +3 -1
  4. package/src/index.ts +2 -0
  5. package/src/layouts/PreviewLayout.astro +1 -0
  6. package/src/tests/diacritics_density.test.ts +118 -0
  7. package/src/tests/inverted_punctuation.test.ts +84 -0
  8. package/src/tests/locale_completeness.test.ts +2 -2
  9. package/src/tests/no_en_dash.test.ts +70 -0
  10. package/src/tests/script_density.test.ts +94 -0
  11. package/src/tests/tool_validation.test.ts +2 -2
  12. package/src/tool/balusterCalculator/i18n/de.ts +7 -7
  13. package/src/tool/balusterCalculator/i18n/en.ts +4 -4
  14. package/src/tool/balusterCalculator/i18n/es.ts +2 -2
  15. package/src/tool/balusterCalculator/i18n/fr.ts +3 -3
  16. package/src/tool/balusterCalculator/i18n/it.ts +16 -16
  17. package/src/tool/balusterCalculator/i18n/ru.ts +14 -14
  18. package/src/tool/balusterCalculator/i18n/tr.ts +5 -5
  19. package/src/tool/clayCalculator/i18n/fr.ts +3 -3
  20. package/src/tool/clayCalculator/i18n/ru.ts +3 -3
  21. package/src/tool/concreteCalculator/i18n/en.ts +4 -4
  22. package/src/tool/concreteCalculator/i18n/fr.ts +2 -2
  23. package/src/tool/concreteCalculator/i18n/ko.ts +2 -2
  24. package/src/tool/concreteCalculator/i18n/ru.ts +3 -3
  25. package/src/tool/cutOptimizer/i18n/en.ts +4 -4
  26. package/src/tool/cutOptimizer/i18n/fr.ts +2 -2
  27. package/src/tool/cutOptimizer/i18n/ru.ts +2 -2
  28. package/src/tool/drillCalculator/bibliography.ts +2 -2
  29. package/src/tool/drillCalculator/i18n/ru.ts +5 -5
  30. package/src/tool/drillCalculator/i18n/zh.ts +2 -2
  31. package/src/tool/drillSharpener/i18n/ru.ts +3 -3
  32. package/src/tool/epoxyCalculator/epoxy-resin-calculator.css +81 -1
  33. package/src/tool/epoxyCalculator/i18n/de.ts +2 -2
  34. package/src/tool/epoxyCalculator/i18n/en.ts +2 -2
  35. package/src/tool/epoxyCalculator/i18n/es.ts +2 -2
  36. package/src/tool/epoxyCalculator/i18n/fr.ts +3 -3
  37. package/src/tool/epoxyCalculator/i18n/id.ts +2 -2
  38. package/src/tool/epoxyCalculator/i18n/it.ts +2 -2
  39. package/src/tool/epoxyCalculator/i18n/ja.ts +2 -2
  40. package/src/tool/epoxyCalculator/i18n/ko.ts +2 -2
  41. package/src/tool/epoxyCalculator/i18n/nl.ts +2 -2
  42. package/src/tool/epoxyCalculator/i18n/pl.ts +2 -2
  43. package/src/tool/epoxyCalculator/i18n/pt.ts +2 -2
  44. package/src/tool/epoxyCalculator/i18n/ru.ts +5 -5
  45. package/src/tool/epoxyCalculator/i18n/sv.ts +2 -2
  46. package/src/tool/epoxyCalculator/i18n/tr.ts +2 -2
  47. package/src/tool/epoxyCalculator/i18n/zh.ts +4 -4
  48. package/src/tool/furnitureFit/i18n/de.ts +2 -2
  49. package/src/tool/furnitureFit/i18n/en.ts +4 -4
  50. package/src/tool/furnitureFit/i18n/es.ts +2 -2
  51. package/src/tool/furnitureFit/i18n/fr.ts +3 -3
  52. package/src/tool/furnitureFit/i18n/id.ts +2 -2
  53. package/src/tool/furnitureFit/i18n/it.ts +2 -2
  54. package/src/tool/furnitureFit/i18n/ja.ts +2 -2
  55. package/src/tool/furnitureFit/i18n/ko.ts +2 -2
  56. package/src/tool/furnitureFit/i18n/nl.ts +2 -2
  57. package/src/tool/furnitureFit/i18n/pl.ts +2 -2
  58. package/src/tool/furnitureFit/i18n/pt.ts +2 -2
  59. package/src/tool/furnitureFit/i18n/ru.ts +6 -6
  60. package/src/tool/furnitureFit/i18n/sv.ts +2 -2
  61. package/src/tool/furnitureFit/i18n/tr.ts +2 -2
  62. package/src/tool/furnitureFit/i18n/zh.ts +2 -2
  63. package/src/tool/mortarCalculator/i18n/en.ts +3 -3
  64. package/src/tool/mortarCalculator/i18n/ru.ts +6 -6
  65. package/src/tool/mortarCalculator/i18n/zh.ts +3 -3
  66. package/src/tool/passepartoutCalculator/i18n/en.ts +4 -4
  67. package/src/tool/passepartoutCalculator/i18n/ru.ts +7 -7
  68. package/src/tool/passepartoutCalculator/i18n/zh.ts +6 -6
  69. package/src/tool/passepartoutCalculator/passepartout-calculator.css +99 -3
  70. package/src/tool/pythagoreanRightAngleCalculator/i18n/fr.ts +3 -3
  71. package/src/tool/pythagoreanRightAngleCalculator/i18n/pl.ts +2 -2
  72. package/src/tool/pythagoreanRightAngleCalculator/i18n/ru.ts +5 -5
  73. package/src/tool/stairCalculator/i18n/ru.ts +6 -6
  74. package/src/tool/stairCalculator/stair-calculator.css +76 -5
  75. package/src/tool/thermalExpansionCalculator/bibliography.ts +4 -4
  76. package/src/tool/thermalExpansionCalculator/i18n/en.ts +2 -2
  77. package/src/tool/thermalExpansionCalculator/i18n/fr.ts +3 -3
  78. package/src/tool/thermalExpansionCalculator/i18n/ru.ts +4 -4
  79. package/src/tool/twoStrokeMixtureCalculator/bibliography.astro +6 -0
  80. package/src/tool/twoStrokeMixtureCalculator/bibliography.ts +12 -0
  81. package/src/tool/twoStrokeMixtureCalculator/component.astro +266 -0
  82. package/src/tool/twoStrokeMixtureCalculator/entry.ts +24 -0
  83. package/src/tool/twoStrokeMixtureCalculator/i18n/de.ts +194 -0
  84. package/src/tool/twoStrokeMixtureCalculator/i18n/en.ts +194 -0
  85. package/src/tool/twoStrokeMixtureCalculator/i18n/es.ts +194 -0
  86. package/src/tool/twoStrokeMixtureCalculator/i18n/fr.ts +194 -0
  87. package/src/tool/twoStrokeMixtureCalculator/i18n/id.ts +194 -0
  88. package/src/tool/twoStrokeMixtureCalculator/i18n/it.ts +194 -0
  89. package/src/tool/twoStrokeMixtureCalculator/i18n/ja.ts +194 -0
  90. package/src/tool/twoStrokeMixtureCalculator/i18n/ko.ts +194 -0
  91. package/src/tool/twoStrokeMixtureCalculator/i18n/nl.ts +194 -0
  92. package/src/tool/twoStrokeMixtureCalculator/i18n/pl.ts +194 -0
  93. package/src/tool/twoStrokeMixtureCalculator/i18n/pt.ts +194 -0
  94. package/src/tool/twoStrokeMixtureCalculator/i18n/ru.ts +194 -0
  95. package/src/tool/twoStrokeMixtureCalculator/i18n/sv.ts +194 -0
  96. package/src/tool/twoStrokeMixtureCalculator/i18n/tr.ts +194 -0
  97. package/src/tool/twoStrokeMixtureCalculator/i18n/zh.ts +194 -0
  98. package/src/tool/twoStrokeMixtureCalculator/index.ts +11 -0
  99. package/src/tool/twoStrokeMixtureCalculator/logic.ts +92 -0
  100. package/src/tool/twoStrokeMixtureCalculator/seo.astro +15 -0
  101. package/src/tool/twoStrokeMixtureCalculator/two-stroke-fuel-mixture-calculator.css +405 -0
  102. package/src/tool/twoStrokeMixtureCalculator/ui.ts +81 -0
  103. package/src/tool/voltageDropCalculator/i18n/en.ts +2 -2
  104. package/src/tool/voltageDropCalculator/i18n/es.ts +4 -4
  105. package/src/tool/voltageDropCalculator/i18n/ru.ts +4 -4
  106. package/src/tool/workshopFractionConverter/bibliography.ts +2 -2
  107. package/src/tool/workshopFractionConverter/i18n/de.ts +2 -2
  108. package/src/tool/workshopFractionConverter/i18n/es.ts +2 -2
  109. package/src/tool/workshopFractionConverter/i18n/fr.ts +2 -2
  110. package/src/tool/workshopFractionConverter/i18n/ru.ts +9 -9
  111. package/src/tool/workshopFractionConverter/i18n/zh.ts +6 -6
  112. package/src/tools.ts +2 -1
@@ -0,0 +1,194 @@
1
+ import type { WithContext, FAQPage, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { TwoStrokeMixtureCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'calculateur-melange-2-temps';
7
+ const title = 'Calculateur de Mélange 2 Temps: Ratios Huile et Essence Précis';
8
+ const description = 'Calculez instantanément le mélange précis pour votre moteur 2 temps. Outil essentiel pour tronçonneuses, cyclomoteurs, motos et petits moteurs. Supporte les ratios 1:25, 1:33, 1:40 et 1:50.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'Qu\'est-ce qu\'un moteur 2 temps ?',
13
+ answer: 'Un moteur 2 temps combine l\'admission et la compression en deux courses de piston, ce qui le rend plus simple et plus léger que les moteurs 4 temps. Ils équipent les tronçonneuses, les souffleurs, les cyclomoteurs et certaines motos. Ils nécessitent de l\'huile mélangée au carburant pour la lubrification.',
14
+ },
15
+ {
16
+ question: 'Quels sont les ratios de mélange courants ?',
17
+ answer: 'Les ratios courants sont 1:25 (riche, protecteur), 1:33 (matériel ancien), 1:40 (standard) et 1:50 (pauvre, moteurs modernes). Vérifiez le manuel de votre moteur: un mauvais ratio peut endommager votre moteur.',
18
+ },
19
+ {
20
+ question: 'Que se passe-t-il si le mélange est incorrect ?',
21
+ answer: 'Trop d\'huile (mélange riche) provoque une fumée excessive, encrasse les bougies et réduit les performances. Trop peu d\'huile (mélange pauvre) entraîne un serrage, des dommages au piston et une casse moteur.',
22
+ },
23
+ {
24
+ question: 'Quel type d\'huile utiliser ?',
25
+ answer: 'Utilisez de l\'huile moteur 2 temps adaptée à votre équipement. Les huiles synthétiques premium offrent une meilleure protection et une combustion plus propre que les huiles conventionnelles. N\'utilisez jamais d\'huile moteur 4 temps, cela endommagerait le moteur.',
26
+ },
27
+ {
28
+ question: 'Comment mélanger l\'essence et l\'huile ?',
29
+ answer: 'Versez une partie de l\'essence dans un récipient propre, ajoutez la quantité calculée d\'huile, puis ajoutez le reste de l\'essence. Mélangez soigneusement en agitant pendant 1 à 2 minutes. Étiquetez le récipient avec la date du mélange.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ { name: 'Connaître votre ratio', text: 'Consultez le manuel de votre moteur. Ratios courants: tronçonneuses (1:40 ou 1:50), cyclomoteurs (1:33), motos anciennes (1:25). Un mauvais ratio endommage votre moteur.' },
35
+ { name: 'Mesurer le volume d\'essence', text: 'Décidez de la quantité d\'essence nécessaire. Cet outil gère les litres, les gallons ou toute unité de volume. Une mesure précise de l\'essence garantit la bonne quantité d\'huile.' },
36
+ { name: 'Calculer l\'huile nécessaire', text: 'Entrez le volume d\'essence et le ratio. Ce calculateur affiche exactement la quantité d\'huile (en ml ou litres) dont vous avez besoin pour un mélange parfait.' },
37
+ { name: 'Mélanger soigneusement', text: 'Versez l\'essence dans un récipient propre, ajoutez l\'huile calculée, puis ajoutez l\'essence restante. Agitez pendant 1 à 2 minutes pour bien mélanger.' },
38
+ { name: 'Étiqueter et utiliser', text: 'Marquez le récipient avec la date et le ratio. Utilisez le mélange dans les 30 jours pour de meilleurs résultats (surtout avec les huiles synthétiques).' },
39
+ ];
40
+
41
+ const faqSchema: WithContext<FAQPage> = {
42
+ '@context': 'https://schema.org',
43
+ '@type': 'FAQPage',
44
+ mainEntity: faqData.map((item) => ({
45
+ '@type': 'Question',
46
+ name: item.question,
47
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
48
+ })),
49
+ };
50
+
51
+ const howToSchema: WithContext<any> = {
52
+ '@context': 'https://schema.org',
53
+ '@type': 'HowTo',
54
+ name: title,
55
+ description,
56
+ step: howToData.map((step, i) => ({
57
+ '@type': 'HowToStep',
58
+ position: i + 1,
59
+ name: step.name,
60
+ text: step.text,
61
+ })),
62
+ };
63
+
64
+ const appSchema: WithContext<SoftwareApplication> = {
65
+ '@context': 'https://schema.org',
66
+ '@type': 'SoftwareApplication',
67
+ name: title,
68
+ description,
69
+ applicationCategory: 'UtilityApplication',
70
+ operatingSystem: 'All',
71
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
72
+ inLanguage: 'fr',
73
+ };
74
+
75
+ export const content: ToolLocaleContent<TwoStrokeMixtureCalculatorUI> = {
76
+ slug,
77
+ title,
78
+ description,
79
+ faqTitle: 'Foire Aux Questions',
80
+ faq: faqData,
81
+ bibliography,
82
+ howTo: howToData,
83
+ schemas: [faqSchema, howToSchema, appSchema],
84
+ seo: [
85
+ { type: 'title', text: 'Calculateur de Mélange 2 Temps: Ratios Huile/Essence Précis pour Tronçonneuses et Cyclomoteurs', level: 2 },
86
+ { type: 'paragraph', html: 'Les moteurs deux temps nécessitent un mélange précis d\'essence et d\'huile pour survivre. Un mauvais mélange peut détruire votre moteur en quelques minutes. Ce calculateur détermine instantanément la quantité exacte d\'huile nécessaire pour votre volume de carburant et votre type de moteur - éliminant toute approximation dans l\'atelier.' },
87
+
88
+ { type: 'title', text: 'Pourquoi les moteurs 2 temps nécessitent-ils de l\'huile dans l\'essence ?', level: 3 },
89
+ { type: 'card', icon: 'mdi:engine', title: 'La différence critique', html: 'Contrairement aux moteurs 4 temps dotés de réservoirs d\'huile séparés, les moteurs 2 temps mélangent l\'huile directement au carburant. À chaque temps moteur, le moteur brûle le mélange essence-huile pour l\'énergie et la lubrification. Il n\'y a pas de carter, pas de pompe à huile séparée - seule le mélange maintient les pistons en vie.' },
90
+
91
+ { type: 'title', text: 'Référence rapide des ratios 2 temps', level: 3 },
92
+ { type: 'table', headers: ['Ratio', '% Huile', 'Usage', 'Type de moteur', 'Caractéristiques'], rows: [
93
+ ['1:25', '3,85%', 'Protection Maximale', 'Matériel avant 1980, forte charge, motos anciennes', 'Mélange riche: plus de fumée, plus de calamine, protection maximale contre le serrage'],
94
+ ['1:33', '2,94%', 'Matériel Classique', 'Petits moteurs des années 80-90, anciennes tronçonneuses', 'Richesse modérée: équilibre entre protection et efficacité'],
95
+ ['1:40', '2,44%', 'Standard de l\'industrie', 'La plupart des tronçonneuses et cyclomoteurs modernes', 'Recommandation standard: conçu pour les huiles synthétiques actuelles'],
96
+ ['1:50', '1,96%', 'Efficacité Moderne', 'Dernières tronçonneuses, cyclomoteurs haute performance', 'Mélange pauvre: moins de fumée, combustion propre, conçu pour les huiles synthétiques premium']
97
+ ] },
98
+
99
+ { type: 'title', text: 'Conséquences de ratios incorrects', level: 3 },
100
+ { type: 'proscons', items: [
101
+ { pro: 'Trop d\'huile (Mélange riche)', con: 'Fumée blanche excessive, bougies encrassées, calamine, mauvaises accélérations, panne moteur' },
102
+ { pro: 'Trop peu d\'huile (Mélange pauvre)', con: 'Serrage du piston en quelques secondes, parois du cylindre rayées, dommages moteur catastrophiques' },
103
+ { pro: 'Ratio correct', con: 'Fonctionnement fluide, lubrification adéquate, combustion optimale, durée de vie moteur prolongée, démarrage fiable' }
104
+ ] },
105
+
106
+ { type: 'title', text: 'Ratios courants par équipement', level: 3 },
107
+ { type: 'card', icon: 'mdi:tree', title: 'Tronçonneuses', html: '<strong>Stihl, Husqvarna, Echo :</strong> Les modèles modernes nécessitent généralement 1:40 ou 1:50. Vérifiez toujours votre manuel - utiliser du 1:25 sur une tronçonneuse moderne risque d\'encrasser les bougies. Les anciennes machines Stihl (années 90 et antérieures) peuvent spécifier 1:25 ou 1:33.' },
108
+ { type: 'card', icon: 'mdi:motorcycle', title: 'Cyclomoteurs & Motos', html: '<strong>Vespa, Honda, Yamaha :</strong> La plupart nécessitent 1:33 pour les anciens modèles, 1:40-1:50 pour les versions modernes. Les cyclomoteurs et motos de route haute performance spécifient souvent des ratios de 1:50.' },
109
+ { type: 'card', icon: 'mdi:tools', title: 'Souffleurs & Coupe bordures', html: '<strong>Stihl, Husqvarna, DeWalt :</strong> Généralement 1:50 (moderne) ou 1:40 (plus ancien). Ces outils sont conçus pour une utilisation saisonnière rapide, donc les ratios pauvres réduisent la fumée sans sacrifier la fiabilité.' },
110
+
111
+ { type: 'title', text: 'Le type d\'huile compte autant que le ratio', level: 3 },
112
+ { type: 'comparative', items: [
113
+ { title: 'Huile 2 Temps Conventionnelle', description: 'Option économique pour usage occasionnel. Plus de cendres, plus de fumée, protection adéquate pour les ratios standards.', icon: 'mdi:beaker', points: ['Coût réduit', 'Fumée plus visible', 'Plus de calamine', 'Fonctionne pour les ratios 1:40'] },
114
+ { title: 'Huile 2 Temps Synthétique', description: 'Le choix premium. Combustion plus propre, meilleure protection, permet des ratios plus pauvres. Stable en température.', icon: 'mdi:flame', points: ['Moins de fumée', 'Meilleure protection moteur', 'Permet le 1:50 en toute sécurité', 'Meilleure stabilité au stockage'], highlight: true },
115
+ { title: 'Mélange Synthétique (Semi synthétique)', description: 'Compromis entre conventionnelle et 100% synthétique. Bonne protection à coût modéré. Recommandation courante des constructeurs.', icon: 'mdi:beaker-outline', points: ['Performances équilibrées', 'Coût modéré', 'Idéal pour les ratios 1:40', 'Fumée réduite vs conventionnelle'] }
116
+ ], columns: 3 },
117
+
118
+ { type: 'title', text: 'Processus de mélange étape par étape', level: 3 },
119
+ { type: 'card', icon: 'mdi:check-circle', title: 'La bonne façon de mélanger', html: '<ol style="margin: 1rem 0; padding-left: 1.5rem;"><li><strong>Utilisez un récipient dédié</strong> réservé uniquement au mélange. Propre, sec, marqué.</li><li><strong>Versez la moitié de l\'essence</strong> dans le récipient d\'abord.</li><li><strong>Ajoutez la quantité d\'huile calculée</strong> (utilisez ce calculateur pour la précision).</li><li><strong>Ajoutez l\'essence restante</strong> pour atteindre le volume cible.</li><li><strong>Agitez vigoureusement pendant 1 à 2 minutes</strong> jusqu\'à ce que la couleur soit uniforme. Un mélange homogène = lubrification égale.</li><li><strong>Étiquetez le récipient</strong> avec la date, le ratio et le type de carburant.</li><li><strong>Utilisez dans les 30 jours</strong> (les huiles synthétiques prolongent cela à 60 jours).</li></ol>' },
120
+
121
+ { type: 'title', text: 'Quand douter du manuel de votre équipement', level: 3 },
122
+ { type: 'tip', html: '<strong>Vérifiez toujours le ratio dans le manuel de votre équipement en premier.</strong> Si vous ne le trouvez pas, visitez le site web du fabricant ou contactez son support. Ne supposez jamais - un mauvais ratio annule les garanties et risque un serrage moteur. Si votre équipement est ancien et le manuel perdu, cherchez en ligne le numéro de modèle.' },
123
+
124
+ { type: 'title', text: 'Glossaire: Termes du 2 Temps Expliqués', level: 3 },
125
+ { type: 'glossary', items: [
126
+ { term: 'Mélange Pauvre (Lean)', definition: 'Carburant avec trop peu d\'huile (ratio élevé comme 1:50). Risque de serrage du piston par manque de lubrification.' },
127
+ { term: 'Mélange Riche (Rich)', definition: 'Carburant avec trop d\'huile (ratio faible comme 1:25). Provoque fumée excessive, encrassement des bougies et calamine.' },
128
+ { term: 'Mélange Homogène', definition: 'Mélange uniforme d\'essence et d\'huile dans tout le volume, obtenu par agitation. Essentiel pour une lubrification et combustion régulières.' },
129
+ { term: 'Serrage (Seizure)', definition: 'Lorsqu\'un piston se bloque dans le cylindre par manque de lubrification et friction. Entraîne une casse moteur complète.' },
130
+ { term: 'Huile Synthétique', definition: 'Huile formulée en laboratoire offrant une protection supérieure, une combustion plus propre et une meilleure stabilité thermique.' },
131
+ { term: 'Moteur 2 Temps', definition: 'Moteur complétant son cycle de combustion en deux mouvements de piston. Plus léger et simple que les moteurs 4 temps.' },
132
+ { term: 'Moteur 4 Temps', definition: 'Moteur avec carter d\'huile séparé et cycle en quatre étapes. L\'huile circule via des conduits, pas mélangée à l\'essence.' }
133
+ ] },
134
+
135
+ { type: 'title', text: 'Comment ce calculateur vous fait gagner du temps et de l\'argent', level: 3 },
136
+ { type: 'stats', items: [
137
+ { value: '100%', label: 'Calculs précis, aucune erreur de mesure', icon: 'mdi:check-circle' },
138
+ { value: 'Instantané', label: 'Montants exacts en secondes, pas d\'approximation', icon: 'mdi:flash' },
139
+ { value: '4 Ratios', label: '1:25, 1:33, 1:40, 1:50 couverts', icon: 'mdi:counter', trend: { value: 'Plus ratios personnalisés', positive: true } },
140
+ { value: 'Partageable', label: 'Copiez et partagez votre configuration via URL', icon: 'mdi:share-variant' }
141
+ ], columns: 2 },
142
+
143
+ { type: 'title', text: 'Erreurs courantes qui tuent les moteurs', level: 3 },
144
+ { type: 'diagnostic', variant: 'error', title: 'Utiliser de l\'huile 4 temps dans un moteur 2 temps', icon: 'mdi:alert', badge: 'Mort du Moteur', html: 'Les huiles 4 temps sont conçues pour circuler dans un bloc moteur. Dans un réservoir 2 temps, elles ne brûlent pas proprement et détruiront votre moteur en quelques heures.' },
145
+ { type: 'diagnostic', variant: 'warning', title: 'Oublier de mélanger soigneusement', icon: 'mdi:alert', badge: 'Risque de Serrage', html: 'Si l\'huile et l\'essence se séparent à cause d\'un mélange incomplet, des parties de votre moteur brûleront sans lubrification. Agitez pendant au moins 1 à 2 minutes.' },
146
+ { type: 'diagnostic', variant: 'warning', title: 'Utiliser du vieux carburant (plus de 60 jours)', icon: 'mdi:alert', badge: 'Dépôts de Gomme', html: 'L\'essence contenant de l\'éthanol se dégrade avec le temps. Le vieux mélange laisse des dépôts gommeux dans les carburateurs. Ne mélangez que ce que vous utiliserez sous 30 jours.' },
147
+
148
+ { type: 'title', text: 'Résumé de la FAQ', level: 3 },
149
+ { type: 'summary', title: 'Avant de mélanger', items: [
150
+ 'Vérifiez le ratio exact dans le manuel - c\'est la spécification testée par le fabricant.',
151
+ 'Vérifiez que vous utilisez de l\'huile 2 temps, pas de la 4 temps ou autre.',
152
+ 'Utilisez un récipient propre et dédié uniquement au mélange.',
153
+ 'Utilisez de l\'essence fraîche (pas stockée depuis des mois) et une huile compatible.',
154
+ 'Mélangez soigneusement et étiquetez avec date, ratio et type d\'essence.',
155
+ 'Utilisez le mélange sous 30 jours pour de meilleurs résultats.'
156
+ ] },
157
+ ],
158
+ ui: {
159
+ titleMain: 'Calculateur de Mélange 2 Temps',
160
+ labelFuelVolume: 'Volume d\'Essence',
161
+ labelRatio: 'Ratio de Mélange',
162
+ labelOilRequired: 'Huile Nécessaire',
163
+ labelTotalMixture: 'Mélange Total',
164
+ labelRichness: 'Richesse du Mélange',
165
+ labelPresets: 'Ratios Courants',
166
+ labelCustomRatio: 'Ratio Personnalisé (1:X)',
167
+ btnClear: 'Effacer',
168
+ btnCopyResults: 'Copier les Résultats',
169
+ btnSwitchMode: 'Changer de Mode',
170
+ unitLiters: 'L',
171
+ unitMilliliters: 'ml',
172
+ richLean: 'Pauvre (moins d\'huile, risque de serrage)',
173
+ richBalanced: 'Équilibré (mélange standard)',
174
+ richRich: 'Riche (plus d\'huile, plus de fumée, protection moteur)',
175
+ msgReady: 'Prêt',
176
+ msgMixtureReady: 'Mélange calculé',
177
+ tooltipFuelVolume: 'Entrez la quantité d\'essence en litres',
178
+ tooltipRatio: 'Entrez le ratio: 25, 33, 40 ou 50 (pour 1:25, 1:33, etc.)',
179
+ recipientLabel: 'Récipient de Mélange',
180
+ oilPercentage: '% Huile',
181
+ labelVolume: 'Volume',
182
+ labelRatioShort: 'Ratio',
183
+ labelOilTip: 'Mélange à 2% d\'huile = ratio 1:50',
184
+ labelMixingTips: 'Conseils de Mélange',
185
+ labelMixingTipsDesc: 'Mélangez dans un récipient propre: essence d\'abord, huile mesurée ensuite, puis essence restante. Agitez bien (1-2 min) pour un mélange homogène. Étiquetez avec date et ratio.',
186
+ recipePrefix: 'Pour',
187
+ recipeAt: 'd\'essence à',
188
+ recipeAdd: 'ajoutez exactement',
189
+ recipeOfOil: 'd\'huile 2 temps.',
190
+ copyTextPrefix: 'Mélange 2T',
191
+ copyTextFuel: 'essence',
192
+ copyTextOil: 'huile',
193
+ },
194
+ };
@@ -0,0 +1,194 @@
1
+ import type { WithContext, FAQPage, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { TwoStrokeMixtureCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'kalkulator-campuran-bahan-bakar-2-tak';
7
+ const title = 'Kalkulator Campuran Bahan Bakar 2 Tak: Rasio Oli dan Bensin Akurat';
8
+ const description = 'Hitung rasio campuran bahan bakar 2-tak yang presisi secara instan. Alat penting untuk gergaji mesin, moped, sepeda motor, dan mesin kecil. Mendukung rasio 1:25, 1:33, 1:40, dan 1:50.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'Apa itu mesin 2-tak?',
13
+ answer: 'Mesin 2-tak menggabungkan langkah hisap dan tenaga dalam dua gerakan piston, menjadikannya lebih sederhana dan ringan daripada mesin 4-tak. Mesin ini menggerakkan gergaji mesin, peniup daun, moped, dan beberapa sepeda motor. Mereka membutuhkan oli yang dicampur ke dalam bahan bakar untuk pelumasan.',
14
+ },
15
+ {
16
+ question: 'Apa rasio campuran bahan bakar dan oli yang umum?',
17
+ answer: 'Rasio umum adalah 1:25 (kaya, melindungi), 1:33 (peralatan lama), 1:40 (standar), dan 1:50 (miskin, mesin modern). Periksa manual mesin Anda untuk rasio yang tepat-menggunakan rasio yang salah dapat merusak mesin Anda.',
18
+ },
19
+ {
20
+ question: 'Apa yang terjadi jika saya salah mencampur?',
21
+ answer: 'Terlalu banyak oli (campuran kaya) menyebabkan asap berlebih, busi kotor, dan performa buruk. Terlalu sedikit oli (campuran miskin) menyebabkan piston macet (seizure), kerusakan piston, dan kegagalan mesin.',
22
+ },
23
+ {
24
+ question: 'Jenis oli apa yang harus saya gunakan?',
25
+ answer: 'Gunakan oli motor 2-tak yang sesuai untuk peralatan Anda. Oli 2-tak sintetik premium memberikan perlindungan yang lebih baik dan pembakaran yang lebih bersih daripada oli konvensional. Jangan pernah menggunakan oli mesin 4-tak-ini akan merusak mesin.',
26
+ },
27
+ {
28
+ question: 'Bagaimana cara mencampur bahan bakar dan oli?',
29
+ answer: 'Tuangkan sebagian bensin ke dalam wadah bersih, tambahkan jumlah oli yang dihitung, lalu tambahkan sisa bensin. Campur secara menyeluruh dengan mengocok selama 1-2 menit. Beri label pada wadah dengan tanggal pencampuran.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ { name: 'Ketahui rasio Anda', text: 'Cari manual mesin atau dokumentasi peralatan Anda. Rasio umum: gergaji mesin (1:40 atau 1:50), moped (1:33), sepeda motor lama (1:25). Menggunakan rasio yang salah akan merusak mesin Anda.' },
35
+ { name: 'Ukur volume bahan bakar', text: 'Tentukan berapa banyak bensin yang Anda butuhkan. Alat ini menangani liter, galon, atau unit volume apa pun. Pengukuran bahan bakar yang akurat = jumlah oli yang akurat.' },
36
+ { name: 'Hitung oli yang dibutuhkan', text: 'Masukkan volume bahan bakar dan rasio. Kalkulator ini menunjukkan dengan tepat berapa banyak oli (dalam ml atau liter) yang Anda butuhkan untuk campuran yang sempurna.' },
37
+ { name: 'Campur dengan hati-hati', text: 'Tuangkan bahan bakar ke dalam wadah bersih, tambahkan oli yang dihitung, lalu tambahkan sisa bahan bakar. Kocok selama 1-2 menit agar tercampur rata.' },
38
+ { name: 'Beri label dan gunakan', text: 'Tandai wadah dengan tanggal dan rasio campuran. Gunakan bahan bakar campuran dalam waktu 30 hari untuk hasil terbaik (terutama oli sintetik).' },
39
+ ];
40
+
41
+ const faqSchema: WithContext<FAQPage> = {
42
+ '@context': 'https://schema.org',
43
+ '@type': 'FAQPage',
44
+ mainEntity: faqData.map((item) => ({
45
+ '@type': 'Question',
46
+ name: item.question,
47
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
48
+ })),
49
+ };
50
+
51
+ const howToSchema: WithContext<any> = {
52
+ '@context': 'https://schema.org',
53
+ '@type': 'HowTo',
54
+ name: title,
55
+ description,
56
+ step: howToData.map((step, i) => ({
57
+ '@type': 'HowToStep',
58
+ position: i + 1,
59
+ name: step.name,
60
+ text: step.text,
61
+ })),
62
+ };
63
+
64
+ const appSchema: WithContext<SoftwareApplication> = {
65
+ '@context': 'https://schema.org',
66
+ '@type': 'SoftwareApplication',
67
+ name: title,
68
+ description,
69
+ applicationCategory: 'UtilityApplication',
70
+ operatingSystem: 'All',
71
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
72
+ inLanguage: 'id',
73
+ };
74
+
75
+ export const content: ToolLocaleContent<TwoStrokeMixtureCalculatorUI> = {
76
+ slug,
77
+ title,
78
+ description,
79
+ faqTitle: 'Pertanyaan yang Sering Diajukan',
80
+ faq: faqData,
81
+ bibliography,
82
+ howTo: howToData,
83
+ schemas: [faqSchema, howToSchema, appSchema],
84
+ seo: [
85
+ { type: 'title', text: 'Kalkulator Campuran Bahan Bakar 2-Tak: Rasio Oli-Bensin Presisi untuk Gergaji Mesin & Moped', level: 2 },
86
+ { type: 'paragraph', html: 'Mesin dua-tak membutuhkan campuran bahan bakar-oli yang presisi untuk bertahan hidup. Salah campur dan mesin Anda bisa hancur dalam hitungan menit. Kalkulator ini secara instan menentukan jumlah oli yang tepat yang dibutuhkan untuk volume bahan bakar dan jenis mesin Anda-menghilangkan tebakan di bengkel.' },
87
+
88
+ { type: 'title', text: 'Mengapa Mesin 2-Tak Membutuhkan Oli dalam Bahan Bakar', level: 3 },
89
+ { type: 'card', icon: 'mdi:engine', title: 'Perbedaan Kritis', html: 'Tidak seperti mesin 4-tak dengan penampung oli terpisah, mesin 2-tak mencampur oli langsung ke dalam bahan bakar. Pada setiap langkah tenaga, mesin membakar campuran bahan bakar-oli untuk energi dan pelumasan. Tidak ada bak oli, tidak ada pompa oli terpisah-hanya bahan bakar campuran yang menjaga piston tetap hidup.' },
90
+
91
+ { type: 'title', text: 'Referensi Cepat Rasio 2-Tak', level: 3 },
92
+ { type: 'table', headers: ['Rasio', '% Oli', 'Kasus Penggunaan', 'Jenis Mesin', 'Karakteristik'], rows: [
93
+ ['1:25', '3,85%', 'Perlindungan Maksimal', 'Peralatan sebelum 1980-an, penggunaan beban tinggi, motor antik', 'Campuran kaya: lebih banyak asap, lebih banyak tumpukan karbon, perlindungan maksimal terhadap macet'],
94
+ ['1:33', '2,94%', 'Peralatan Klasik', 'Mesin kecil 1980-an-1990-an, gergaji mesin lama', 'Kekayaan moderat: keseimbangan antara perlindungan dan efisiensi'],
95
+ ['1:40', '2,44%', 'Standar Industri', 'Kebanyakan gergaji mesin modern, moped, mesin kecil modern', 'Rekomendasi standar: dirancang untuk oli sintetik masa kini'],
96
+ ['1:50', '1,96%', 'Efisiensi Modern', 'Gergaji mesin terbaru, moped performa tinggi, sepeda motor baru', 'Campuran miskin: lebih sedikit asap, pembakaran lebih bersih, dirancang untuk oli sintetik premium']
97
+ ] },
98
+
99
+ { type: 'title', text: 'Konsekuensi Rasio yang Salah', level: 3 },
100
+ { type: 'proscons', items: [
101
+ { pro: 'Terlalu Banyak Oli (Campuran Kaya)', con: 'Asap putih berlebih, busi kotor, tumpukan karbon, akselerasi buruk, kegagalan mesin' },
102
+ { pro: 'Terlalu Sedikit Oli (Campuran Miskin)', con: 'Piston macet dalam hitungan detik, dinding silinder tergores, kerusakan mesin katastrofik' },
103
+ { pro: 'Rasio yang Benar', con: 'Operasi lancar, pelumasan yang tepat, pembakaran optimal, umur mesin lebih panjang, starter yang andal' }
104
+ ] },
105
+
106
+ { type: 'title', text: 'Rasio Peralatan Umum', level: 3 },
107
+ { type: 'card', icon: 'mdi:tree', title: 'Gergaji Mesin', html: '<strong>Stihl, Husqvarna, Echo:</strong> Model modern biasanya membutuhkan 1:40 atau 1:50. Selalu periksa manual Anda-menggunakan 1:25 pada gergaji mesin modern berisiko busi kotor dan performa buruk. Mesin Stihl lama (1990-an dan sebelumnya) mungkin menentukan 1:25 atau 1:33.' },
108
+ { type: 'card', icon: 'mdi:motorcycle', title: 'Moped & Sepeda Motor', html: '<strong>Vespa, Honda, Yamaha:</strong> Kebanyakan membutuhkan 1:33 untuk model lama, 1:40-1:50 untuk versi modern. Moped performa tinggi sering kali menentukan rasio 1:50. Periksa manual servis Anda-itu adalah sumber kebenaran.' },
109
+ { type: 'card', icon: 'mdi:tools', title: 'Peniup Daun & Pemangkas', html: '<strong>Stihl, Husqvarna, DeWalt:</strong> Biasanya 1:50 (modern) atau 1:40 (sedikit lebih tua). Alat-alat ini dirancang untuk penggunaan musiman cepat, sehingga rasio miskin menghemat asap tanpa mengorbankan keandalan.' },
110
+
111
+ { type: 'title', text: 'Jenis Oli Sangat Penting', level: 3 },
112
+ { type: 'comparative', items: [
113
+ { title: 'Oli 2 Tak Konvensional', description: 'Opsi hemat untuk penggunaan sesekali. Kadar abu lebih tinggi, lebih banyak asap, perlindungan memadai untuk rasio standar.', icon: 'mdi:beaker', points: ['Biaya lebih rendah', 'Asap lebih terlihat', 'Tumpukan abu lebih tinggi', 'Bekerja untuk rasio 1:40'] },
114
+ { title: 'Oli 2 Tak Sintetik', description: 'Pilihan premium untuk pengguna sering. Pembakaran lebih bersih, perlindungan lebih baik, memungkinkan rasio lebih miskin. Stabil terhadap suhu.', icon: 'mdi:flame', points: ['Keluaran asap lebih rendah', 'Perlindungan mesin lebih baik', 'Memungkinkan rasio 1:50 dengan aman', 'Stabilitas penyimpanan lebih lama'], highlight: true },
115
+ { title: 'Campuran Sintetik (Semi Sintetik)', description: 'Jalan tengah antara konvensional dan sintetik penuh. Perlindungan baik dengan biaya moderat. Rekomendasi umum produsen.', icon: 'mdi:beaker-outline', points: ['Performa seimbang', 'Biaya moderat', 'Bagus untuk rasio 1:40', 'Asap berkurang dibanding konvensional'] }
116
+ ], columns: 3 },
117
+
118
+ { type: 'title', text: 'Proses Mencampur Langkah-demi-Langkah', level: 3 },
119
+ { type: 'card', icon: 'mdi:check-circle', title: 'Cara yang Benar untuk Mencampur', html: '<ol style="margin: 1rem 0; padding-left: 1.5rem;"><li><strong>Gunakan wadah khusus</strong> yang disediakan hanya untuk pencampuran bahan bakar. Bersih, kering, bertanda.</li><li><strong>Tuangkan setengah bahan bakar Anda</strong> ke dalam wadah terlebih dahulu.</li><li><strong>Tambahkan jumlah oli yang dihitung</strong> (gunakan kalkulator ini untuk presisi).</li><li><strong>Tambahkan sisa bahan bakar</strong> untuk mencapai volume target.</li><li><strong>Kocok dengan kuat selama 1-2 menit</strong> sampai warna seragam. Campuran homogen = pelumasan merata.</li><li><strong>Beri label pada wadah</strong> dengan tanggal, rasio, dan jenis bahan bakar.</li><li><strong>Gunakan dalam waktu 30 hari</strong> (oli sintetik memperpanjang ini hingga 60 hari).</li></ol>' },
120
+
121
+ { type: 'title', text: 'Kapan Harus Mempertanyakan Manual Peralatan Anda', level: 3 },
122
+ { type: 'tip', html: '<strong>Selalu verifikasi rasio dalam manual peralatan Anda terlebih dahulu.</strong> Jika Anda tidak dapat menemukannya, kunjungi situs web produsen atau hubungi dukungan mereka. Jangan pernah menebak-rasio yang salah membatalkan garansi dan berisiko piston macet. Jika peralatan Anda barang antik dan manualnya hilang, cari nomor model secara online.' },
123
+
124
+ { type: 'title', text: 'Glosarium: Istilah 2-Tak Dijelaskan', level: 3 },
125
+ { type: 'glossary', items: [
126
+ { term: 'Campuran Miskin (Lean)', definition: 'Bahan bakar dengan terlalu sedikit oli (rasio tinggi seperti 1:50). Berisiko piston macet karena pelumasan yang tidak memadai.' },
127
+ { term: 'Campuran Kaya (Rich)', definition: 'Bahan bakar dengan terlalu banyak oli (rasio rendah seperti 1:25). Menyebabkan asap berlebih, busi kotor, dan tumpukan karbon.' },
128
+ { term: 'Campuran Homogen', definition: 'Campuran seragam antara bahan bakar dan oli di seluruh bagian, dicapai melalui pengocokan yang menyeluruh. Penting untuk pelumasan dan pembakaran yang merata.' },
129
+ { term: 'Macet (Seizure)', definition: 'Saat piston membeku di dalam silinder karena pelumasan dan gesekan yang tidak memadai. Menyebabkan kegagalan mesin total.' },
130
+ { term: 'Oli Sintetik', definition: 'Oli formulasi lab yang menawarkan perlindungan unggul, pembakaran lebih bersih, dan stabilitas suhu dibanding oli mineral konvensional.' },
131
+ { term: 'Mesin 2-Tak', definition: 'Mesin yang menyelesaikan siklus pembakaran penuh dalam dua gerakan piston. Lebih ringan dan sederhana dari mesin 4-tak.' },
132
+ { term: 'Mesin 4-Tak', definition: 'Mesin dengan bak oli terpisah dan siklus empat tahap. Oli bersirkulasi melalui saluran, tidak dicampur ke dalam bahan bakar.' }
133
+ ] },
134
+
135
+ { type: 'title', text: 'Bagaimana Kalkulator Ini Menghemat Waktu & Uang', level: 3 },
136
+ { type: 'stats', items: [
137
+ { value: '100%', label: 'Perhitungan akurat, tidak ada kesalahan ukur', icon: 'mdi:check-circle' },
138
+ { value: 'Instan', label: 'Dapatkan jumlah tepat dalam hitungan detik', icon: 'mdi:flash' },
139
+ { value: '4 Rasio', label: 'Mencakup 1:25, 1:33, 1:40, 1:50', icon: 'mdi:counter', trend: { value: 'Ditambah rasio kustom', positive: true } },
140
+ { value: 'Dapat Dibagikan', label: 'Salin dan bagikan pengaturan campuran Anda melalui URL', icon: 'mdi:share-variant' }
141
+ ], columns: 2 },
142
+
143
+ { type: 'title', text: 'Kesalahan Umum yang Mematikan Mesin', level: 3 },
144
+ { type: 'diagnostic', variant: 'error', title: 'Menggunakan Oli 4 Tak pada Mesin 2 Tak', icon: 'mdi:alert', badge: 'Kematian Mesin', html: 'Oli 4-tak dirancang untuk bersirkulasi melalui blok mesin. Dalam tangki bahan bakar 2-tak, mereka tidak terbakar bersih dan akan menghancurkan mesin Anda dalam hitungan jam.' },
145
+ { type: 'diagnostic', variant: 'warning', title: 'Lupa Mencampur Secara Menyeluruh', icon: 'mdi:alert', badge: 'Risiko Macet', html: 'Jika oli dan bahan bakar terpisah karena pencampuran yang tidak lengkap, bagian dari mesin Anda akan terbakar tanpa pelumasan. Kocok setidaknya selama 1-2 menit sampai campuran seragam.' },
146
+ { type: 'diagnostic', variant: 'warning', title: 'Menggunakan Bahan Bakar Lama (Lebih dari 60 Hari)', icon: 'mdi:alert', badge: 'Penumpukan Getah', html: 'Bahan bakar campuran etanol terurai seiring waktu. Campuran bahan bakar lama meninggalkan endapan getah di karburator dan injektor bahan bakar. Campur hanya apa yang akan Anda gunakan dalam 30 hari.' },
147
+
148
+ { type: 'title', text: 'Ringkasan FAQ', level: 3 },
149
+ { type: 'summary', title: 'Sebelum Anda Mencampur', items: [
150
+ 'Periksa manual peralatan Anda untuk rasio yang tepat-ini adalah spesifikasi yang diuji produsen.',
151
+ 'Verifikasi Anda menggunakan oli 2-tak, bukan 4-tak atau oli lainnya.',
152
+ 'Gunakan wadah bersih khusus yang hanya digunakan untuk pencampuran bahan bakar.',
153
+ 'Gunakan bensin segar (tidak disimpan selama berbulan-bulan) dan oli 2-tak yang kompatibel.',
154
+ 'Campur secara menyeluruh dan beri label dengan tanggal, rasio, dan jenis bahan bakar.',
155
+ 'Gunakan campuran dalam waktu 30 hari untuk hasil terbaik.'
156
+ ] },
157
+ ],
158
+ ui: {
159
+ titleMain: 'Kalkulator Campuran Bahan Bakar 2 Tak',
160
+ labelFuelVolume: 'Volume Bahan Bakar',
161
+ labelRatio: 'Rasio Campuran',
162
+ labelOilRequired: 'Oli yang Dibutuhkan',
163
+ labelTotalMixture: 'Total Campuran',
164
+ labelRichness: 'Kekayaan Campuran',
165
+ labelPresets: 'Rasio Umum',
166
+ labelCustomRatio: 'Rasio Kustom (1:X)',
167
+ btnClear: 'Bersihkan',
168
+ btnCopyResults: 'Salin Hasil',
169
+ btnSwitchMode: 'Ganti Mode',
170
+ unitLiters: 'L',
171
+ unitMilliliters: 'ml',
172
+ richLean: 'Miskin (sedikit oli, risiko macet)',
173
+ richBalanced: 'Seimbang (campuran standar)',
174
+ richRich: 'Kaya (lebih banyak oli, lebih banyak asap, perlindungan mesin)',
175
+ msgReady: 'Siap',
176
+ msgMixtureReady: 'Campuran dihitung',
177
+ tooltipFuelVolume: 'Masukkan jumlah bensin dalam liter',
178
+ tooltipRatio: 'Masukkan rasio sebagai 25, 33, 40, atau 50 (untuk 1:25, 1:33, dll.)',
179
+ recipientLabel: 'Wadah Campuran',
180
+ oilPercentage: '% Oli',
181
+ labelVolume: 'Volume',
182
+ labelRatioShort: 'Rasio',
183
+ labelOilTip: 'Campuran oli 2% = rasio 1:50',
184
+ labelMixingTips: 'Tips Mencampur',
185
+ labelMixingTipsDesc: 'Campur dalam wadah bersih: bensin dulu, tambahkan oli terukur, lalu sisa bensin. Kocok rata (1-2 menit) untuk hasil homogen. Labeli dengan tanggal dan rasio.',
186
+ recipePrefix: 'Untuk',
187
+ recipeAt: 'bensin pada',
188
+ recipeAdd: 'tambahkan tepat',
189
+ recipeOfOil: 'oli 2-tak.',
190
+ copyTextPrefix: 'Campuran 2-Tak',
191
+ copyTextFuel: 'bensin',
192
+ copyTextOil: 'oli',
193
+ },
194
+ };
@@ -0,0 +1,194 @@
1
+ import type { WithContext, FAQPage, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { TwoStrokeMixtureCalculatorUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'calcolatore-miscela-2-tempi';
7
+ const title = 'Calcolatore Miscela 2 Tempi: Rapporti Olio e Benzina Precisi';
8
+ const description = 'Calcola istantaneamente il rapporto preciso per la tua miscela 2 tempi. Strumento essenziale per motoseghe, ciclomotori, moto e piccoli motori. Supporta i rapporti 1:25, 1:33, 1:40 e 1:50.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'Cos\'è un motore a 2 tempi?',
13
+ answer: 'Un motore a 2 tempi combina aspirazione e compressione in soli due movimenti del pistone, risultando più semplice e leggero di un motore a 4 tempi. Alimentano motoseghe, soffiatori, ciclomotori e alcune moto. Richiedono olio miscelato alla benzina per la lubrificazione.',
14
+ },
15
+ {
16
+ question: 'Quali sono i rapporti di miscela più comuni?',
17
+ answer: 'I rapporti comuni sono 1:25 (ricco, protettivo), 1:33 (macchine datate), 1:40 (standard) e 1:50 (magro, motori moderni). Controlla sempre il manuale del tuo motore: un rapporto errato può danneggiarlo.',
18
+ },
19
+ {
20
+ question: 'Cosa succede se sbaglio la miscela?',
21
+ answer: 'Troppo olio (miscela ricca) causa fumo eccessivo, incrosta le candele e riduce le prestazioni. Troppo poco olio (miscela magra) porta al grippaggio, danni al pistone e rottura del motore.',
22
+ },
23
+ {
24
+ question: 'Che tipo di olio devo usare?',
25
+ answer: 'Usa olio specifico per motori a 2 tempi adatto alla tua attrezzatura. Gli oli sintetici premium offrono una protezione migliore e una combustione più pulita rispetto agli oli convenzionali. Non usare mai olio per motori a 4 tempi: danneggerebbe il motore.',
26
+ },
27
+ {
28
+ question: 'Come miscelare benzina e olio?',
29
+ answer: 'Versa una parte di benzina in un contenitore pulito, aggiungi la quantità calcolata di olio, quindi aggiungi la benzina rimanente. Mescola bene agitando per 1-2 minuti. Etichetta il contenitore con la data della miscela.',
30
+ },
31
+ ];
32
+
33
+ const howToData = [
34
+ { name: 'Verifica il rapporto', text: 'Cerca il manuale del motore. Rapporti comuni: motoseghe (1:40 o 1:50), ciclomotori (1:33), moto d\'epoca (1:25). Usare il rapporto sbagliato danneggia il motore.' },
35
+ { name: 'Misura la benzina', text: 'Decidi quanta benzina ti serve. Questo strumento gestisce litri, galloni o qualsiasi unità. Una misurazione precisa della benzina garantisce la giusta quantità di olio.' },
36
+ { name: 'Calcola l\'olio necessario', text: 'Inserisci volume benzina e rapporto. Questo calcolatore mostra esattamente quanto olio (in ml o litri) ti serve per una miscela perfetta.' },
37
+ { name: 'Mescola con cura', text: 'Versa la benzina in un contenitore pulito, aggiungi l\'olio calcolato, poi la benzina restante. Agita per 1-2 minuti per amalgamare bene.' },
38
+ { name: 'Etichetta e usa', text: 'Segna sul contenitore data e rapporto. Usa la miscela entro 30 giorni per risultati ottimali (specialmente con oli sintetici).' },
39
+ ];
40
+
41
+ const faqSchema: WithContext<FAQPage> = {
42
+ '@context': 'https://schema.org',
43
+ '@type': 'FAQPage',
44
+ mainEntity: faqData.map((item) => ({
45
+ '@type': 'Question',
46
+ name: item.question,
47
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
48
+ })),
49
+ };
50
+
51
+ const howToSchema: WithContext<any> = {
52
+ '@context': 'https://schema.org',
53
+ '@type': 'HowTo',
54
+ name: title,
55
+ description,
56
+ step: howToData.map((step, i) => ({
57
+ '@type': 'HowToStep',
58
+ position: i + 1,
59
+ name: step.name,
60
+ text: step.text,
61
+ })),
62
+ };
63
+
64
+ const appSchema: WithContext<SoftwareApplication> = {
65
+ '@context': 'https://schema.org',
66
+ '@type': 'SoftwareApplication',
67
+ name: title,
68
+ description,
69
+ applicationCategory: 'UtilityApplication',
70
+ operatingSystem: 'All',
71
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
72
+ inLanguage: 'it',
73
+ };
74
+
75
+ export const content: ToolLocaleContent<TwoStrokeMixtureCalculatorUI> = {
76
+ slug,
77
+ title,
78
+ description,
79
+ faqTitle: 'Domande Frequenti',
80
+ faq: faqData,
81
+ bibliography,
82
+ howTo: howToData,
83
+ schemas: [faqSchema, howToSchema, appSchema],
84
+ seo: [
85
+ { type: 'title', text: 'Calcolatore Miscela 2 Tempi: Rapporti Olio-Benzina Precisi per Motoseghe e Ciclomotori', level: 2 },
86
+ { type: 'paragraph', html: 'I motori a due tempi richiedono una miscela precisa di benzina e olio per sopravvivere. Una miscela errata può distruggere il motore in pochi minuti. Questo calcolatore determina istantaneamente l\'esatta quantità di olio necessaria per il tuo volume di carburante e tipo di motore, eliminando ogni incertezza in officina.' },
87
+
88
+ { type: 'title', text: 'Perché i motori a 2 tempi richiedono olio nella benzina', level: 3 },
89
+ { type: 'card', icon: 'mdi:engine', title: 'La differenza critica', html: 'A differenza dei motori a 4 tempi con serbatoi d\'olio separati, i motori a 2 tempi miscelano l\'olio direttamente nel carburante. Ad ogni ciclo, il motore brucia la miscela sia per l\'energia che per la lubrificazione. Non c\'è coppa, né pompa dell\'olio separata: solo la miscela mantiene in vita i pistoni.' },
90
+
91
+ { type: 'title', text: 'Riferimento rapido rapporti 2 tempi', level: 3 },
92
+ { type: 'table', headers: ['Rapporto', '% Olio', 'Utilizzo', 'Tipo Motore', 'Caratteristiche'], rows: [
93
+ ['1:25', '3,85%', 'Massima Protezione', 'Attrezzatura pre-1980, carichi elevati, moto d\'epoca', 'Miscela ricca: più fumo, più depositi carboniosi, massima protezione contro il grippaggio'],
94
+ ['1:33', '2,94%', 'Macchine Classiche', 'Piccoli motori anni 80-90, vecchie motoseghe', 'Ricchezza moderata: equilibrio tra protezione ed efficienza'],
95
+ ['1:40', '2,44%', 'Standard di Settore', 'Quasi tutte le motoseghe e ciclomotori moderni', 'Raccomandazione standard: progettato per gli oli sintetici odierni'],
96
+ ['1:50', '1,96%', 'Efficienza Moderna', 'Ultime motoseghe, ciclomotori hi-performance', 'Miscela magra: meno fumo, combustione pulita, per oli sintetici premium']
97
+ ] },
98
+
99
+ { type: 'title', text: 'Conseguenze di rapporti errati', level: 3 },
100
+ { type: 'proscons', items: [
101
+ { pro: 'Troppo Olio (Miscela Ricca)', con: 'Eccessivo fumo bianco, candele incrostate, depositi carboniosi, scarsa accelerazione, guasto al motore' },
102
+ { pro: 'Troppo Poco Olio (Miscela Magra)', con: 'Grippaggio del pistone in pochi secondi, pareti cilindro rigate, danno motore catastrofico' },
103
+ { pro: 'Rapporto Corretto', con: 'Funzionamento fluido, lubrificazione adeguata, combustione ottimale, vita del motore prolungata, avviamento affidabile' }
104
+ ] },
105
+
106
+ { type: 'title', text: 'Rapporti comuni per attrezzatura', level: 3 },
107
+ { type: 'card', icon: 'mdi:tree', title: 'Motoseghe', html: '<strong>Stihl, Husqvarna, Echo:</strong> I modelli moderni richiedono tipicamente 1:40 o 1:50. Controlla sempre il manuale: usare 1:25 su una motosega moderna rischia candele sporche. Le vecchie macchine Stihl (anni 90 e precedenti) possono specificare 1:25 o 1:33.' },
108
+ { type: 'card', icon: 'mdi:motorcycle', title: 'Ciclomotori e Moto', html: '<strong>Vespa, Honda, Yamaha:</strong> La maggior parte richiede 1:33 per i vecchi modelli, 1:40-1:50 per le versioni moderne. Ciclomotori ad alte prestazioni spesso specificano 1:50. Il manuale di servizio è la fonte di verità.' },
109
+ { type: 'card', icon: 'mdi:tools', title: 'Soffiatori e Tagliabordi', html: '<strong>Stihl, Husqvarna, DeWalt:</strong> Tipicamente 1:50 (moderni) o 1:40 (più vecchi). Questi strumenti sono progettati per uso stagionale rapido, quindi rapporti magri riducono il fumo senza sacrificare l\'affidabilità.' },
110
+
111
+ { type: 'title', text: 'Il tipo di olio conta quanto il rapporto', level: 3 },
112
+ { type: 'comparative', items: [
113
+ { title: 'Olio 2 Tempi Convenzionale', description: 'Opzione economica per uso occasionale. Più ceneri, più fumo, protezione adeguata per rapporti standard.', icon: 'mdi:beaker', points: ['Costo inferiore', 'Fumo più visibile', 'Più depositi', 'Va bene per rapporti 1:40'] },
114
+ { title: 'Olio 2 Tempi Sintetico', description: 'Scelta premium per utenti frequenti. Combustione più pulita, migliore protezione, permette rapporti più magri. Termostabile.', icon: 'mdi:flame', points: ['Minore fumo', 'Migliore protezione motore', 'Permette 1:50 in sicurezza', 'Maggiore stabilità in stoccaggio'], highlight: true },
115
+ { title: 'Miscela Sintetica (Semi sintetico)', description: 'Via di mezzo tra convenzionale e sintetico. Buona protezione a costo moderato. Spesso raccomandato dai produttori.', icon: 'mdi:beaker-outline', points: ['Prestazioni equilibrate', 'Costo moderato', 'Ottimo per rapporti 1:40', 'Meno fumo del convenzionale'] }
116
+ ], columns: 3 },
117
+
118
+ { type: 'title', text: 'Processo di miscelazione passo-passo', level: 3 },
119
+ { type: 'card', icon: 'mdi:check-circle', title: 'Il modo giusto di miscelare', html: '<ol style="margin: 1rem 0; padding-left: 1.5rem;"><li><strong>Usa un contenitore dedicato</strong> riservato solo alla miscela. Pulito, asciutto, contrassegnato.</li><li><strong>Versa metà benzina</strong> nel contenitore per prima.</li><li><strong>Aggiungi la quantità di olio calcolata</strong> (usa questo calcolatore per precisione).</li><li><strong>Aggiungi la benzina rimanente</strong> per raggiungere il volume target.</li><li><strong>Agita vigorosamente per 1-2 minuti</strong> finché il colore non è uniforme. Una miscela omogenea = lubrificazione costante.</li><li><strong>Etichetta il contenitore</strong> con data, rapporto e tipo di carburante.</li><li><strong>Usa entro 30 giorni</strong> (gli oli sintetici estendono a 60 giorni).</li></ol>' },
120
+
121
+ { type: 'title', text: 'Quando dubitare del manuale dell\'attrezzatura', level: 3 },
122
+ { type: 'tip', html: '<strong>Verifica sempre prima il rapporto sul manuale del produttore.</strong> Se non lo trovi, visita il sito del produttore o contatta il supporto. Mai indovinare: un rapporto errato annulla la garanzia e rischia il grippaggio. Se l\'attrezzatura è d\'epoca e il manuale è perso, cerca online il numero del modello.' },
123
+
124
+ { type: 'title', text: 'Glossario: Termini del 2 Tempi Spiegati', level: 3 },
125
+ { type: 'glossary', items: [
126
+ { term: 'Miscela Magra (Lean)', definition: 'Carburante con troppo poco olio (rapporto alto come 1:50). Rischio di grippaggio per lubrificazione insufficiente.' },
127
+ { term: 'Miscela Ricca (Rich)', definition: 'Carburante con troppo olio (rapporto basso come 1:25). Causa fumo eccessivo, candele sporche e depositi.' },
128
+ { term: 'Miscela Omogenea', definition: 'Amalgama uniforme di benzina e olio, ottenuto agitando bene. Essenziale per lubrificazione e combustione costanti.' },
129
+ { term: 'Grippaggio (Seizure)', definition: 'Quando un pistone si blocca nel cilindro per mancanza di lubrificazione e attrito. Risulta in guasto totale del motore.' },
130
+ { term: 'Olio Sintetico', definition: 'Olio formulato in laboratorio che offre protezione superiore, combustione pulita e stabilità termica rispetto agli oli minerali.' },
131
+ { term: 'Motore a 2 Tempi', definition: 'Motore che completa il ciclo in due movimenti del pistone. Più leggero e semplice dei motori a 4 tempi.' },
132
+ { term: 'Motore a 4 Tempi', definition: 'Motore con coppa dell\'olio separata e ciclo a quattro fasi. L\'olio circola tramite condotti, non miscelato alla benzina.' }
133
+ ] },
134
+
135
+ { type: 'title', text: 'Come questo calcolatore salva tempo e denaro', level: 3 },
136
+ { type: 'stats', items: [
137
+ { value: '100%', label: 'Calcoli precisi, zero errori di misura', icon: 'mdi:check-circle' },
138
+ { value: 'Istantaneo', label: 'Quantità esatte in pochi secondi', icon: 'mdi:flash' },
139
+ { value: '4 Rapporti', label: 'Copre 1:25, 1:33, 1:40, 1:50', icon: 'mdi:counter', trend: { value: 'Più rapporti custom', positive: true } },
140
+ { value: 'Condivisibile', label: 'Copia e condividi il setup tramite URL', icon: 'mdi:share-variant' }
141
+ ], columns: 2 },
142
+
143
+ { type: 'title', text: 'Errori comuni che uccidono i motori', level: 3 },
144
+ { type: 'diagnostic', variant: 'error', title: 'Usare olio per 4 tempi in motori a 2 tempi', icon: 'mdi:alert', badge: 'Morte Motore', html: 'Gli oli per 4 tempi sono fatti per circolare nel blocco motore. In un serbatoio 2 tempi non bruciano bene e distruggono il motore in poche ore.' },
145
+ { type: 'diagnostic', variant: 'warning', title: 'Dimenticare di agitare bene', icon: 'mdi:alert', badge: 'Rischio Grippaggio', html: 'Se olio e benzina si separano per miscelazione incompleta, parti del motore bruceranno senza lubrificazione. Agita per almeno 1-2 minuti.' },
146
+ { type: 'diagnostic', variant: 'warning', title: 'Usare benzina vecchia (oltre 60 giorni)', icon: 'mdi:alert', badge: 'Residui Gommosi', html: 'La benzina con etanolo si degrada nel tempo. La vecchia miscela lascia depositi gommosi nei carburatori. Prepara solo quella che userai entro 30 giorni.' },
147
+
148
+ { type: 'title', text: 'Sintesi FAQ', level: 3 },
149
+ { type: 'summary', title: 'Prima di miscelare', items: [
150
+ 'Controlla il rapporto esatto sul manuale: è la specifica testata dal produttore.',
151
+ 'Verifica di usare olio per 2 tempi, non per 4 tempi o altri tipi.',
152
+ 'Usa un contenitore pulito e dedicato solo alla miscela.',
153
+ 'Usa benzina fresca (non vecchia di mesi) e olio compatibile.',
154
+ 'Mescola bene ed etichetta con data, rapporto e tipo di benzina.',
155
+ 'Usa la miscela entro 30 giorni per i migliori risultati.'
156
+ ] },
157
+ ],
158
+ ui: {
159
+ titleMain: 'Calcolatore Miscela 2 Tempi',
160
+ labelFuelVolume: 'Volume Benzina',
161
+ labelRatio: 'Rapporto Miscela',
162
+ labelOilRequired: 'Olio Necessario',
163
+ labelTotalMixture: 'Miscela Totale',
164
+ labelRichness: 'Ricchezza Miscela',
165
+ labelPresets: 'Rapporti Comuni',
166
+ labelCustomRatio: 'Rapporto Custom (1:X)',
167
+ btnClear: 'Cancella',
168
+ btnCopyResults: 'Copia Risultati',
169
+ btnSwitchMode: 'Cambia Modalità',
170
+ unitLiters: 'L',
171
+ unitMilliliters: 'ml',
172
+ richLean: 'Magro (meno olio, rischio grippaggio)',
173
+ richBalanced: 'Bilanciato (mix standard)',
174
+ richRich: 'Ricco (più olio, più fumo, protezione motore)',
175
+ msgReady: 'Pronto',
176
+ msgMixtureReady: 'Miscela calcolata',
177
+ tooltipFuelVolume: 'Inserisci la quantità di benzina in litri',
178
+ tooltipRatio: 'Inserisci il valore: 25, 33, 40 o 50 (per 1:25, 1:33, ecc.)',
179
+ recipientLabel: 'Contenitore Miscela',
180
+ oilPercentage: '% Olio',
181
+ labelVolume: 'Volume',
182
+ labelRatioShort: 'Rapporto',
183
+ labelOilTip: 'Mix olio al 2% = rapporto 1:50',
184
+ labelMixingTips: 'Consigli Miscelazione',
185
+ labelMixingTipsDesc: 'Mescola in contenitore pulito: prima benzina, aggiungi olio misurato, poi benzina restante. Agita bene (1-2 min) per mix omogeneo. Etichetta con data e rapporto.',
186
+ recipePrefix: 'Per',
187
+ recipeAt: 'di benzina al',
188
+ recipeAdd: 'aggiungi esattamente',
189
+ recipeOfOil: 'di olio per 2 tempi.',
190
+ copyTextPrefix: 'Miscela 2T',
191
+ copyTextFuel: 'benzina',
192
+ copyTextOil: 'olio',
193
+ },
194
+ };