@jjlmoya/utils-diy 1.28.0 → 1.30.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 (304) hide show
  1. package/package.json +2 -2
  2. package/src/category/i18n/de.ts +12 -12
  3. package/src/category/i18n/en.ts +110 -110
  4. package/src/category/i18n/es.ts +110 -110
  5. package/src/category/i18n/fr.ts +101 -101
  6. package/src/category/i18n/id.ts +12 -12
  7. package/src/category/i18n/it.ts +12 -12
  8. package/src/category/i18n/ja.ts +12 -12
  9. package/src/category/i18n/ko.ts +12 -12
  10. package/src/category/i18n/nl.ts +12 -12
  11. package/src/category/i18n/pl.ts +12 -12
  12. package/src/category/i18n/pt.ts +12 -12
  13. package/src/category/i18n/ru.ts +12 -12
  14. package/src/category/i18n/sv.ts +12 -12
  15. package/src/category/i18n/tr.ts +12 -12
  16. package/src/category/i18n/zh.ts +12 -12
  17. package/src/category/index.ts +36 -36
  18. package/src/category/seo.astro +1 -1
  19. package/src/components/PreviewNavSidebar.astro +1 -1
  20. package/src/components/PreviewToolbar.astro +1 -1
  21. package/src/data.ts +1 -1
  22. package/src/entries.ts +37 -37
  23. package/src/env.d.ts +1 -1
  24. package/src/index.ts +50 -50
  25. package/src/layouts/PreviewLayout.astro +1 -1
  26. package/src/pages/index.astro +1 -1
  27. package/src/tests/category_seo_quality.test.ts +74 -0
  28. package/src/tests/faq_count.test.ts +1 -1
  29. package/src/tests/mocks/astro_mock.js +1 -1
  30. package/src/tests/no_h1_in_components.test.ts +1 -1
  31. package/src/tests/seo_length.test.ts +1 -1
  32. package/src/tests/seo_parity.test.ts +2 -2
  33. package/src/tests/seo_translation_completeness.test.ts +18 -12
  34. package/src/tests/tool_validation.test.ts +15 -15
  35. package/src/tool/balusterCalculator/bibliography.ts +16 -16
  36. package/src/tool/balusterCalculator/i18n/de.ts +251 -251
  37. package/src/tool/balusterCalculator/i18n/en.ts +251 -251
  38. package/src/tool/balusterCalculator/i18n/es.ts +251 -251
  39. package/src/tool/balusterCalculator/i18n/fr.ts +251 -251
  40. package/src/tool/balusterCalculator/i18n/id.ts +251 -251
  41. package/src/tool/balusterCalculator/i18n/it.ts +251 -251
  42. package/src/tool/balusterCalculator/i18n/ja.ts +251 -251
  43. package/src/tool/balusterCalculator/i18n/ko.ts +251 -251
  44. package/src/tool/balusterCalculator/i18n/nl.ts +251 -251
  45. package/src/tool/balusterCalculator/i18n/pl.ts +251 -251
  46. package/src/tool/balusterCalculator/i18n/pt.ts +251 -251
  47. package/src/tool/balusterCalculator/i18n/ru.ts +251 -251
  48. package/src/tool/balusterCalculator/i18n/sv.ts +251 -251
  49. package/src/tool/balusterCalculator/i18n/tr.ts +251 -251
  50. package/src/tool/balusterCalculator/i18n/zh.ts +251 -251
  51. package/src/tool/balusterCalculator/seo.astro +15 -15
  52. package/src/tool/clayCalculator/bibliography.ts +12 -12
  53. package/src/tool/clayCalculator/i18n/de.ts +174 -174
  54. package/src/tool/clayCalculator/i18n/en.ts +174 -174
  55. package/src/tool/clayCalculator/i18n/es.ts +174 -174
  56. package/src/tool/clayCalculator/i18n/fr.ts +174 -174
  57. package/src/tool/clayCalculator/i18n/id.ts +174 -174
  58. package/src/tool/clayCalculator/i18n/it.ts +174 -174
  59. package/src/tool/clayCalculator/i18n/ja.ts +173 -173
  60. package/src/tool/clayCalculator/i18n/ko.ts +174 -174
  61. package/src/tool/clayCalculator/i18n/nl.ts +174 -174
  62. package/src/tool/clayCalculator/i18n/pl.ts +174 -174
  63. package/src/tool/clayCalculator/i18n/pt.ts +174 -174
  64. package/src/tool/clayCalculator/i18n/ru.ts +174 -174
  65. package/src/tool/clayCalculator/i18n/sv.ts +174 -174
  66. package/src/tool/clayCalculator/i18n/tr.ts +174 -174
  67. package/src/tool/clayCalculator/i18n/zh.ts +174 -174
  68. package/src/tool/clayCalculator/seo.astro +15 -15
  69. package/src/tool/concreteCalculator/bibliography.ts +7 -7
  70. package/src/tool/concreteCalculator/i18n/de.ts +188 -188
  71. package/src/tool/concreteCalculator/i18n/en.ts +188 -188
  72. package/src/tool/concreteCalculator/i18n/es.ts +188 -188
  73. package/src/tool/concreteCalculator/i18n/fr.ts +188 -188
  74. package/src/tool/concreteCalculator/i18n/id.ts +188 -188
  75. package/src/tool/concreteCalculator/i18n/it.ts +188 -188
  76. package/src/tool/concreteCalculator/i18n/ja.ts +188 -188
  77. package/src/tool/concreteCalculator/i18n/ko.ts +188 -188
  78. package/src/tool/concreteCalculator/i18n/nl.ts +188 -188
  79. package/src/tool/concreteCalculator/i18n/pl.ts +188 -188
  80. package/src/tool/concreteCalculator/i18n/pt.ts +188 -188
  81. package/src/tool/concreteCalculator/i18n/ru.ts +188 -188
  82. package/src/tool/concreteCalculator/i18n/sv.ts +188 -188
  83. package/src/tool/concreteCalculator/i18n/tr.ts +188 -188
  84. package/src/tool/concreteCalculator/i18n/zh.ts +188 -188
  85. package/src/tool/concreteCalculator/seo.astro +15 -15
  86. package/src/tool/cutOptimizer/bibliography.ts +12 -12
  87. package/src/tool/cutOptimizer/i18n/de.ts +169 -169
  88. package/src/tool/cutOptimizer/i18n/en.ts +169 -169
  89. package/src/tool/cutOptimizer/i18n/es.ts +169 -169
  90. package/src/tool/cutOptimizer/i18n/fr.ts +169 -169
  91. package/src/tool/cutOptimizer/i18n/id.ts +169 -169
  92. package/src/tool/cutOptimizer/i18n/it.ts +169 -169
  93. package/src/tool/cutOptimizer/i18n/ja.ts +169 -169
  94. package/src/tool/cutOptimizer/i18n/ko.ts +169 -169
  95. package/src/tool/cutOptimizer/i18n/nl.ts +169 -169
  96. package/src/tool/cutOptimizer/i18n/pl.ts +169 -169
  97. package/src/tool/cutOptimizer/i18n/pt.ts +169 -169
  98. package/src/tool/cutOptimizer/i18n/ru.ts +169 -169
  99. package/src/tool/cutOptimizer/i18n/sv.ts +169 -169
  100. package/src/tool/cutOptimizer/i18n/tr.ts +169 -169
  101. package/src/tool/cutOptimizer/i18n/zh.ts +169 -169
  102. package/src/tool/cutOptimizer/seo.astro +15 -15
  103. package/src/tool/drillCalculator/bibliography.ts +12 -12
  104. package/src/tool/drillCalculator/i18n/de.ts +134 -134
  105. package/src/tool/drillCalculator/i18n/en.ts +134 -134
  106. package/src/tool/drillCalculator/i18n/es.ts +134 -134
  107. package/src/tool/drillCalculator/i18n/fr.ts +134 -134
  108. package/src/tool/drillCalculator/i18n/id.ts +134 -134
  109. package/src/tool/drillCalculator/i18n/it.ts +134 -134
  110. package/src/tool/drillCalculator/i18n/ja.ts +134 -134
  111. package/src/tool/drillCalculator/i18n/ko.ts +134 -134
  112. package/src/tool/drillCalculator/i18n/nl.ts +134 -134
  113. package/src/tool/drillCalculator/i18n/pl.ts +134 -134
  114. package/src/tool/drillCalculator/i18n/pt.ts +134 -134
  115. package/src/tool/drillCalculator/i18n/ru.ts +134 -134
  116. package/src/tool/drillCalculator/i18n/sv.ts +134 -134
  117. package/src/tool/drillCalculator/i18n/tr.ts +134 -134
  118. package/src/tool/drillCalculator/i18n/zh.ts +134 -134
  119. package/src/tool/drillCalculator/seo.astro +15 -15
  120. package/src/tool/drillSharpener/bibliography.ts +16 -16
  121. package/src/tool/drillSharpener/i18n/de.ts +117 -117
  122. package/src/tool/drillSharpener/i18n/en.ts +117 -117
  123. package/src/tool/drillSharpener/i18n/es.ts +117 -117
  124. package/src/tool/drillSharpener/i18n/fr.ts +117 -117
  125. package/src/tool/drillSharpener/i18n/id.ts +117 -117
  126. package/src/tool/drillSharpener/i18n/it.ts +117 -117
  127. package/src/tool/drillSharpener/i18n/ja.ts +117 -117
  128. package/src/tool/drillSharpener/i18n/ko.ts +117 -117
  129. package/src/tool/drillSharpener/i18n/nl.ts +117 -117
  130. package/src/tool/drillSharpener/i18n/pl.ts +117 -117
  131. package/src/tool/drillSharpener/i18n/pt.ts +117 -117
  132. package/src/tool/drillSharpener/i18n/ru.ts +117 -117
  133. package/src/tool/drillSharpener/i18n/sv.ts +117 -117
  134. package/src/tool/drillSharpener/i18n/tr.ts +117 -117
  135. package/src/tool/drillSharpener/i18n/zh.ts +117 -117
  136. package/src/tool/drillSharpener/seo.astro +15 -15
  137. package/src/tool/epoxyCalculator/bibliography.ts +20 -20
  138. package/src/tool/epoxyCalculator/i18n/de.ts +116 -116
  139. package/src/tool/epoxyCalculator/i18n/en.ts +178 -178
  140. package/src/tool/epoxyCalculator/i18n/es.ts +178 -178
  141. package/src/tool/epoxyCalculator/i18n/fr.ts +178 -178
  142. package/src/tool/epoxyCalculator/i18n/id.ts +116 -116
  143. package/src/tool/epoxyCalculator/i18n/it.ts +116 -116
  144. package/src/tool/epoxyCalculator/i18n/ja.ts +116 -116
  145. package/src/tool/epoxyCalculator/i18n/ko.ts +116 -116
  146. package/src/tool/epoxyCalculator/i18n/nl.ts +116 -116
  147. package/src/tool/epoxyCalculator/i18n/pl.ts +116 -116
  148. package/src/tool/epoxyCalculator/i18n/pt.ts +116 -116
  149. package/src/tool/epoxyCalculator/i18n/ru.ts +116 -116
  150. package/src/tool/epoxyCalculator/i18n/sv.ts +116 -116
  151. package/src/tool/epoxyCalculator/i18n/tr.ts +116 -116
  152. package/src/tool/epoxyCalculator/i18n/zh.ts +116 -116
  153. package/src/tool/epoxyCalculator/seo.astro +15 -15
  154. package/src/tool/furnitureFit/bibliography.ts +12 -12
  155. package/src/tool/furnitureFit/i18n/de.ts +111 -111
  156. package/src/tool/furnitureFit/i18n/en.ts +149 -149
  157. package/src/tool/furnitureFit/i18n/es.ts +149 -149
  158. package/src/tool/furnitureFit/i18n/fr.ts +149 -149
  159. package/src/tool/furnitureFit/i18n/id.ts +111 -111
  160. package/src/tool/furnitureFit/i18n/it.ts +111 -111
  161. package/src/tool/furnitureFit/i18n/ja.ts +111 -111
  162. package/src/tool/furnitureFit/i18n/ko.ts +111 -111
  163. package/src/tool/furnitureFit/i18n/nl.ts +111 -111
  164. package/src/tool/furnitureFit/i18n/pl.ts +111 -111
  165. package/src/tool/furnitureFit/i18n/pt.ts +111 -111
  166. package/src/tool/furnitureFit/i18n/ru.ts +111 -111
  167. package/src/tool/furnitureFit/i18n/sv.ts +111 -111
  168. package/src/tool/furnitureFit/i18n/tr.ts +111 -111
  169. package/src/tool/furnitureFit/i18n/zh.ts +111 -111
  170. package/src/tool/furnitureFit/seo.astro +15 -15
  171. package/src/tool/mortarCalculator/bibliography.ts +20 -20
  172. package/src/tool/mortarCalculator/i18n/de.ts +130 -130
  173. package/src/tool/mortarCalculator/i18n/en.ts +202 -202
  174. package/src/tool/mortarCalculator/i18n/es.ts +179 -179
  175. package/src/tool/mortarCalculator/i18n/fr.ts +203 -203
  176. package/src/tool/mortarCalculator/i18n/id.ts +130 -130
  177. package/src/tool/mortarCalculator/i18n/it.ts +130 -130
  178. package/src/tool/mortarCalculator/i18n/ja.ts +130 -130
  179. package/src/tool/mortarCalculator/i18n/ko.ts +130 -130
  180. package/src/tool/mortarCalculator/i18n/nl.ts +130 -130
  181. package/src/tool/mortarCalculator/i18n/pl.ts +130 -130
  182. package/src/tool/mortarCalculator/i18n/pt.ts +130 -130
  183. package/src/tool/mortarCalculator/i18n/ru.ts +130 -130
  184. package/src/tool/mortarCalculator/i18n/sv.ts +130 -130
  185. package/src/tool/mortarCalculator/i18n/tr.ts +130 -130
  186. package/src/tool/mortarCalculator/i18n/zh.ts +130 -130
  187. package/src/tool/mortarCalculator/seo.astro +15 -15
  188. package/src/tool/passepartoutCalculator/bibliography.ts +16 -16
  189. package/src/tool/passepartoutCalculator/i18n/de.ts +108 -108
  190. package/src/tool/passepartoutCalculator/i18n/en.ts +165 -165
  191. package/src/tool/passepartoutCalculator/i18n/es.ts +165 -165
  192. package/src/tool/passepartoutCalculator/i18n/fr.ts +165 -165
  193. package/src/tool/passepartoutCalculator/i18n/id.ts +108 -108
  194. package/src/tool/passepartoutCalculator/i18n/it.ts +108 -108
  195. package/src/tool/passepartoutCalculator/i18n/ja.ts +108 -108
  196. package/src/tool/passepartoutCalculator/i18n/ko.ts +108 -108
  197. package/src/tool/passepartoutCalculator/i18n/nl.ts +108 -108
  198. package/src/tool/passepartoutCalculator/i18n/pl.ts +108 -108
  199. package/src/tool/passepartoutCalculator/i18n/pt.ts +108 -108
  200. package/src/tool/passepartoutCalculator/i18n/ru.ts +108 -108
  201. package/src/tool/passepartoutCalculator/i18n/sv.ts +108 -108
  202. package/src/tool/passepartoutCalculator/i18n/tr.ts +108 -108
  203. package/src/tool/passepartoutCalculator/i18n/zh.ts +108 -108
  204. package/src/tool/passepartoutCalculator/seo.astro +15 -15
  205. package/src/tool/pythagoreanRightAngleCalculator/bibliography.ts +12 -12
  206. package/src/tool/pythagoreanRightAngleCalculator/i18n/de.ts +129 -129
  207. package/src/tool/pythagoreanRightAngleCalculator/i18n/en.ts +129 -129
  208. package/src/tool/pythagoreanRightAngleCalculator/i18n/es.ts +129 -129
  209. package/src/tool/pythagoreanRightAngleCalculator/i18n/fr.ts +129 -129
  210. package/src/tool/pythagoreanRightAngleCalculator/i18n/id.ts +129 -129
  211. package/src/tool/pythagoreanRightAngleCalculator/i18n/it.ts +129 -129
  212. package/src/tool/pythagoreanRightAngleCalculator/i18n/ja.ts +129 -129
  213. package/src/tool/pythagoreanRightAngleCalculator/i18n/ko.ts +129 -129
  214. package/src/tool/pythagoreanRightAngleCalculator/i18n/nl.ts +129 -129
  215. package/src/tool/pythagoreanRightAngleCalculator/i18n/pl.ts +129 -129
  216. package/src/tool/pythagoreanRightAngleCalculator/i18n/pt.ts +129 -129
  217. package/src/tool/pythagoreanRightAngleCalculator/i18n/ru.ts +129 -129
  218. package/src/tool/pythagoreanRightAngleCalculator/i18n/sv.ts +129 -129
  219. package/src/tool/pythagoreanRightAngleCalculator/i18n/tr.ts +129 -129
  220. package/src/tool/pythagoreanRightAngleCalculator/i18n/zh.ts +129 -129
  221. package/src/tool/stairCalculator/bibliography.ts +16 -16
  222. package/src/tool/stairCalculator/i18n/de.ts +143 -143
  223. package/src/tool/stairCalculator/i18n/en.ts +145 -145
  224. package/src/tool/stairCalculator/i18n/es.ts +145 -145
  225. package/src/tool/stairCalculator/i18n/fr.ts +145 -145
  226. package/src/tool/stairCalculator/i18n/id.ts +143 -143
  227. package/src/tool/stairCalculator/i18n/it.ts +143 -143
  228. package/src/tool/stairCalculator/i18n/ja.ts +143 -143
  229. package/src/tool/stairCalculator/i18n/ko.ts +143 -143
  230. package/src/tool/stairCalculator/i18n/nl.ts +143 -143
  231. package/src/tool/stairCalculator/i18n/pl.ts +143 -143
  232. package/src/tool/stairCalculator/i18n/pt.ts +143 -143
  233. package/src/tool/stairCalculator/i18n/ru.ts +143 -143
  234. package/src/tool/stairCalculator/i18n/sv.ts +143 -143
  235. package/src/tool/stairCalculator/i18n/tr.ts +143 -143
  236. package/src/tool/stairCalculator/i18n/zh.ts +143 -143
  237. package/src/tool/stairCalculator/seo.astro +15 -15
  238. package/src/tool/thermalExpansionCalculator/bibliography.ts +16 -16
  239. package/src/tool/thermalExpansionCalculator/i18n/de.ts +132 -132
  240. package/src/tool/thermalExpansionCalculator/i18n/en.ts +170 -170
  241. package/src/tool/thermalExpansionCalculator/i18n/es.ts +170 -170
  242. package/src/tool/thermalExpansionCalculator/i18n/fr.ts +170 -170
  243. package/src/tool/thermalExpansionCalculator/i18n/id.ts +132 -132
  244. package/src/tool/thermalExpansionCalculator/i18n/it.ts +132 -132
  245. package/src/tool/thermalExpansionCalculator/i18n/ja.ts +132 -132
  246. package/src/tool/thermalExpansionCalculator/i18n/ko.ts +132 -132
  247. package/src/tool/thermalExpansionCalculator/i18n/nl.ts +132 -132
  248. package/src/tool/thermalExpansionCalculator/i18n/pl.ts +132 -132
  249. package/src/tool/thermalExpansionCalculator/i18n/pt.ts +132 -132
  250. package/src/tool/thermalExpansionCalculator/i18n/ru.ts +132 -132
  251. package/src/tool/thermalExpansionCalculator/i18n/sv.ts +132 -132
  252. package/src/tool/thermalExpansionCalculator/i18n/tr.ts +132 -132
  253. package/src/tool/thermalExpansionCalculator/i18n/zh.ts +132 -132
  254. package/src/tool/thermalExpansionCalculator/seo.astro +15 -15
  255. package/src/tool/twoStrokeMixtureCalculator/bibliography.ts +12 -12
  256. package/src/tool/twoStrokeMixtureCalculator/i18n/de.ts +194 -194
  257. package/src/tool/twoStrokeMixtureCalculator/i18n/en.ts +194 -194
  258. package/src/tool/twoStrokeMixtureCalculator/i18n/es.ts +194 -194
  259. package/src/tool/twoStrokeMixtureCalculator/i18n/fr.ts +194 -194
  260. package/src/tool/twoStrokeMixtureCalculator/i18n/id.ts +194 -194
  261. package/src/tool/twoStrokeMixtureCalculator/i18n/it.ts +194 -194
  262. package/src/tool/twoStrokeMixtureCalculator/i18n/ja.ts +194 -194
  263. package/src/tool/twoStrokeMixtureCalculator/i18n/ko.ts +194 -194
  264. package/src/tool/twoStrokeMixtureCalculator/i18n/nl.ts +194 -194
  265. package/src/tool/twoStrokeMixtureCalculator/i18n/pl.ts +194 -194
  266. package/src/tool/twoStrokeMixtureCalculator/i18n/pt.ts +194 -194
  267. package/src/tool/twoStrokeMixtureCalculator/i18n/ru.ts +194 -194
  268. package/src/tool/twoStrokeMixtureCalculator/i18n/sv.ts +194 -194
  269. package/src/tool/twoStrokeMixtureCalculator/i18n/tr.ts +194 -194
  270. package/src/tool/twoStrokeMixtureCalculator/i18n/zh.ts +194 -194
  271. package/src/tool/voltageDropCalculator/bibliography.ts +16 -16
  272. package/src/tool/voltageDropCalculator/i18n/de.ts +113 -113
  273. package/src/tool/voltageDropCalculator/i18n/en.ts +151 -151
  274. package/src/tool/voltageDropCalculator/i18n/es.ts +151 -151
  275. package/src/tool/voltageDropCalculator/i18n/fr.ts +145 -145
  276. package/src/tool/voltageDropCalculator/i18n/id.ts +113 -113
  277. package/src/tool/voltageDropCalculator/i18n/it.ts +113 -113
  278. package/src/tool/voltageDropCalculator/i18n/ja.ts +113 -113
  279. package/src/tool/voltageDropCalculator/i18n/ko.ts +113 -113
  280. package/src/tool/voltageDropCalculator/i18n/nl.ts +113 -113
  281. package/src/tool/voltageDropCalculator/i18n/pl.ts +113 -113
  282. package/src/tool/voltageDropCalculator/i18n/pt.ts +113 -113
  283. package/src/tool/voltageDropCalculator/i18n/ru.ts +113 -113
  284. package/src/tool/voltageDropCalculator/i18n/sv.ts +113 -113
  285. package/src/tool/voltageDropCalculator/i18n/tr.ts +113 -113
  286. package/src/tool/voltageDropCalculator/i18n/zh.ts +113 -113
  287. package/src/tool/voltageDropCalculator/seo.astro +15 -15
  288. package/src/tool/workshopFractionConverter/bibliography.ts +12 -12
  289. package/src/tool/workshopFractionConverter/i18n/de.ts +147 -147
  290. package/src/tool/workshopFractionConverter/i18n/en.ts +147 -147
  291. package/src/tool/workshopFractionConverter/i18n/es.ts +147 -147
  292. package/src/tool/workshopFractionConverter/i18n/fr.ts +147 -147
  293. package/src/tool/workshopFractionConverter/i18n/id.ts +147 -147
  294. package/src/tool/workshopFractionConverter/i18n/it.ts +147 -147
  295. package/src/tool/workshopFractionConverter/i18n/ja.ts +147 -147
  296. package/src/tool/workshopFractionConverter/i18n/ko.ts +147 -147
  297. package/src/tool/workshopFractionConverter/i18n/nl.ts +147 -147
  298. package/src/tool/workshopFractionConverter/i18n/pl.ts +147 -147
  299. package/src/tool/workshopFractionConverter/i18n/pt.ts +147 -147
  300. package/src/tool/workshopFractionConverter/i18n/ru.ts +147 -147
  301. package/src/tool/workshopFractionConverter/i18n/sv.ts +147 -147
  302. package/src/tool/workshopFractionConverter/i18n/tr.ts +147 -147
  303. package/src/tool/workshopFractionConverter/i18n/zh.ts +147 -147
  304. package/src/tools.ts +20 -20
@@ -1,147 +1,147 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import type { WorkshopFractionConverterUI } from '../ui';
4
- import { bibliography } from '../bibliography';
5
-
6
- const slug = 'workshop-fraction-converter';
7
- const title = 'Workshop Fraction to Metric Converter';
8
- const description = 'Convert fractional inch measurements to millimeters instantly. Find the closest standard fasteners, bolts, and sockets for your workshop. Designed for dirty hands and gloved fingers.';
9
-
10
- const faqData = [
11
- {
12
- question: 'Why do I need to convert fractions to millimeters?',
13
- answer: 'Most modern tools and fasteners use metric measurements, but many vintage tools and specs use fractional inches. This converter bridges that gap, helping you find the right metric equivalent or the closest standard fastener size.',
14
- },
15
- {
16
- question: 'What is the difference between 1/2 inch and 12.7 mm?',
17
- answer: '1/2 inch equals exactly 12.7 millimeters (0.5 × 25.4 = 12.7). Metric tools and imperial tools are often interchangeable at standard sizes because manufacturers align common fastener sizes across both systems.',
18
- },
19
- {
20
- question: 'Why does the tool show "closest fastener"?',
21
- answer: 'Because exact conversions often land between standard fastener sizes. The tool finds the commercial bolt or socket closest to your measurement, so you can use what is available in your workshop.',
22
- },
23
- {
24
- question: 'What is the difference between carpentry and metal precision?',
25
- answer: 'In carpentry, 0.5 mm differences are negligible. In metalwork and machining, 0.1 mm matters. The precision mode hints at acceptable tolerance ranges for your material.',
26
- },
27
- {
28
- question: 'Can I measure with this tool offline?',
29
- answer: 'Yes. All calculations happen in your browser. The tool works completely offline after the first load, perfect for use in the workshop without WiFi.',
30
- },
31
- {
32
- question: 'Why does the tool include history?',
33
- answer: 'When working on a disassembly or a project with multiple parts, history lets you reference measurements without re-entering them, and lets you build a parts list as you work.',
34
- },
35
- ];
36
-
37
- const howToData = [
38
- {
39
- name: 'Select your measurement type',
40
- text: 'Choose "Forward" to convert a fraction to millimeters, or "Reverse" to find a fraction for a measurement you took with calipers.',
41
- },
42
- {
43
- name: 'Enter the measurement',
44
- text: 'Use the three-column input (whole, numerator, denominator) or tap a quick preset button. Stepper buttons let you adjust without typing.',
45
- },
46
- {
47
- name: 'Review the results',
48
- text: 'The result shows the exact conversion plus the closest standard fastener and socket sizes. Visual scale gives you a sense of proportion.',
49
- },
50
- {
51
- name: 'Save to history',
52
- text: 'Click "Save to History" to keep measurements for later reference. History persists in your browser, even after closing.',
53
- },
54
- ];
55
-
56
- const faqSchema: WithContext<FAQPage> = {
57
- '@context': 'https://schema.org',
58
- '@type': 'FAQPage',
59
- mainEntity: faqData.map((item) => ({
60
- '@type': 'Question',
61
- name: item.question,
62
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
63
- })),
64
- };
65
-
66
- const howToSchema: WithContext<HowToThing> = {
67
- '@context': 'https://schema.org',
68
- '@type': 'HowTo',
69
- name: title,
70
- description,
71
- step: howToData.map((step, i) => ({
72
- '@type': 'HowToStep',
73
- position: i + 1,
74
- name: step.name,
75
- text: step.text,
76
- })),
77
- };
78
-
79
- const appSchema: WithContext<SoftwareApplication> = {
80
- '@context': 'https://schema.org',
81
- '@type': 'SoftwareApplication',
82
- name: title,
83
- description,
84
- applicationCategory: 'UtilityApplication',
85
- operatingSystem: 'All',
86
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
87
- inLanguage: 'en',
88
- };
89
-
90
- export const content: ToolLocaleContent<WorkshopFractionConverterUI> = {
91
- slug,
92
- title,
93
- description,
94
- faqTitle: 'Frequently Asked Questions',
95
- faq: faqData,
96
- bibliography,
97
- howTo: howToData,
98
- schemas: [faqSchema, howToSchema, appSchema],
99
- seo: [
100
- { type: 'title', text: 'Why Precision Fractional Conversion Matters in the Workshop', level: 2 },
101
- { type: 'paragraph', html: 'In a professional or high-stakes DIY workshop, being "close enough" often results in stripped bolts, wobbly joints, or failed assemblies. This tool is designed to bridge the gap between legacy imperial measurements and the precision of the metric system, ensuring your workshop projects maintain professional-grade standards.' },
102
- { type: 'title', text: 'The Standard Conversion: 1/2" vs. 12.7mm', level: 3 },
103
- { type: 'card', icon: 'mdi:ruler-square', title: 'Imperial vs. Metric Compatibility', html: '<p>Many DIYers assume imperial and metric fasteners are perfectly interchangeable. While 1/2" is exactly 12.7mm, the closest standard metric socket is 13mm. Using the wrong tool can round off bolt heads. Our converter identifies the <strong>closest standard tool match</strong> so you never damage your hardware.</p>' },
104
- { type: 'title', text: 'Woodworking vs. Metalworking Tolerance', level: 3 },
105
- { type: 'paragraph', html: 'Tolerance requirements vary wildly by trade. In <strong>woodworking</strong>, a tolerance of 1/64" (0.4mm) is usually acceptable. In <strong>metalworking and machining</strong>, 0.1mm or even 0.01mm matters. Our tool includes a precision mode to help you decide which standard fastener is the safest bet for your specific material.' },
106
- { type: 'title', text: '3 Essential Tips for Accurate Measurements', level: 3 },
107
- { type: 'paragraph', html: '<strong>1. Use Calipers:</strong> For reverse searching, always use digital calipers for the most accurate millimetre input. <strong>2. Check for Wear:</strong> Old sockets and bolts may have worn edges, making the "closest match" even more critical. <strong>3. Verify Pitch:</strong> Remember that even if the head size matches, the thread pitch (metric vs. imperial) will always be different.' },
108
- ],
109
- ui: {
110
- labelFraction: 'Measurement Type',
111
- labelWhole: 'Whole',
112
- labelNumerator: 'Numerator',
113
- labelDenominator: 'Denominator',
114
- labelInches: 'Inches',
115
- labelMillimeters: 'Millimeters',
116
- resultTitle: 'Conversion Result',
117
- resultFraction: 'Fraction',
118
- resultInches: 'Inches',
119
- resultMillimeters: 'Millimeters',
120
- matchTitle: 'Closest Fastener Match',
121
- matchClosestFastener: 'Standard bolt or fastener size',
122
- matchClosestSocket: 'Standard socket size',
123
- matchDifference: 'Difference from your measurement',
124
- matchRecommendation: 'Use this size if available',
125
- reverseSearchTitle: 'Reverse Search',
126
- reverseSearchLabel: 'Measured Size (mm)',
127
- reverseSearchButton: 'Find Fraction',
128
- reverseSearchHint: 'Measure with calipers, enter the value',
129
- unitMm: 'mm',
130
- unitInch: 'in',
131
- modeForward: 'Fraction → Metric',
132
- modeReverse: 'Metric → Fraction',
133
- precisionLabel: 'Precision Mode',
134
- precisionCarpentry: 'Carpentry',
135
- precisionMetal: 'Metalworking',
136
- buttonConvert: 'Convert',
137
- buttonClear: 'Clear',
138
- buttonCopyResult: 'Copy Result',
139
- buttonSaveToHistory: 'Save to History',
140
- historyTitle: 'History',
141
- historyEmpty: 'No measurements yet',
142
- historyRemove: 'Remove',
143
- helpText: 'Select a measurement or enter a fraction to get started.',
144
- toolOverline: 'Workshop Converter',
145
- labelVisualReference: 'Visual Reference (1 inch = 96px)',
146
- },
147
- };
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { WorkshopFractionConverterUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'workshop-fraction-converter';
7
+ const title = 'Workshop Fraction to Metric Converter';
8
+ const description = 'Convert fractional inch measurements to millimeters instantly. Find the closest standard fasteners, bolts, and sockets for your workshop. Designed for dirty hands and gloved fingers.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: 'Why do I need to convert fractions to millimeters?',
13
+ answer: 'Most modern tools and fasteners use metric measurements, but many vintage tools and specs use fractional inches. This converter bridges that gap, helping you find the right metric equivalent or the closest standard fastener size.',
14
+ },
15
+ {
16
+ question: 'What is the difference between 1/2 inch and 12.7 mm?',
17
+ answer: '1/2 inch equals exactly 12.7 millimeters (0.5 × 25.4 = 12.7). Metric tools and imperial tools are often interchangeable at standard sizes because manufacturers align common fastener sizes across both systems.',
18
+ },
19
+ {
20
+ question: 'Why does the tool show "closest fastener"?',
21
+ answer: 'Because exact conversions often land between standard fastener sizes. The tool finds the commercial bolt or socket closest to your measurement, so you can use what is available in your workshop.',
22
+ },
23
+ {
24
+ question: 'What is the difference between carpentry and metal precision?',
25
+ answer: 'In carpentry, 0.5 mm differences are negligible. In metalwork and machining, 0.1 mm matters. The precision mode hints at acceptable tolerance ranges for your material.',
26
+ },
27
+ {
28
+ question: 'Can I measure with this tool offline?',
29
+ answer: 'Yes. All calculations happen in your browser. The tool works completely offline after the first load, perfect for use in the workshop without WiFi.',
30
+ },
31
+ {
32
+ question: 'Why does the tool include history?',
33
+ answer: 'When working on a disassembly or a project with multiple parts, history lets you reference measurements without re-entering them, and lets you build a parts list as you work.',
34
+ },
35
+ ];
36
+
37
+ const howToData = [
38
+ {
39
+ name: 'Select your measurement type',
40
+ text: 'Choose "Forward" to convert a fraction to millimeters, or "Reverse" to find a fraction for a measurement you took with calipers.',
41
+ },
42
+ {
43
+ name: 'Enter the measurement',
44
+ text: 'Use the three-column input (whole, numerator, denominator) or tap a quick preset button. Stepper buttons let you adjust without typing.',
45
+ },
46
+ {
47
+ name: 'Review the results',
48
+ text: 'The result shows the exact conversion plus the closest standard fastener and socket sizes. Visual scale gives you a sense of proportion.',
49
+ },
50
+ {
51
+ name: 'Save to history',
52
+ text: 'Click "Save to History" to keep measurements for later reference. History persists in your browser, even after closing.',
53
+ },
54
+ ];
55
+
56
+ const faqSchema: WithContext<FAQPage> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'FAQPage',
59
+ mainEntity: faqData.map((item) => ({
60
+ '@type': 'Question',
61
+ name: item.question,
62
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
63
+ })),
64
+ };
65
+
66
+ const howToSchema: WithContext<HowToThing> = {
67
+ '@context': 'https://schema.org',
68
+ '@type': 'HowTo',
69
+ name: title,
70
+ description,
71
+ step: howToData.map((step, i) => ({
72
+ '@type': 'HowToStep',
73
+ position: i + 1,
74
+ name: step.name,
75
+ text: step.text,
76
+ })),
77
+ };
78
+
79
+ const appSchema: WithContext<SoftwareApplication> = {
80
+ '@context': 'https://schema.org',
81
+ '@type': 'SoftwareApplication',
82
+ name: title,
83
+ description,
84
+ applicationCategory: 'UtilityApplication',
85
+ operatingSystem: 'All',
86
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
87
+ inLanguage: 'en',
88
+ };
89
+
90
+ export const content: ToolLocaleContent<WorkshopFractionConverterUI> = {
91
+ slug,
92
+ title,
93
+ description,
94
+ faqTitle: 'Frequently Asked Questions',
95
+ faq: faqData,
96
+ bibliography,
97
+ howTo: howToData,
98
+ schemas: [faqSchema, howToSchema, appSchema],
99
+ seo: [
100
+ { type: 'title', text: 'Why Precision Fractional Conversion Matters in the Workshop', level: 2 },
101
+ { type: 'paragraph', html: 'In a professional or high-stakes DIY workshop, being "close enough" often results in stripped bolts, wobbly joints, or failed assemblies. This tool is designed to bridge the gap between legacy imperial measurements and the precision of the metric system, ensuring your workshop projects maintain professional-grade standards.' },
102
+ { type: 'title', text: 'The Standard Conversion: 1/2" vs. 12.7mm', level: 3 },
103
+ { type: 'card', icon: 'mdi:ruler-square', title: 'Imperial vs. Metric Compatibility', html: '<p>Many DIYers assume imperial and metric fasteners are perfectly interchangeable. While 1/2" is exactly 12.7mm, the closest standard metric socket is 13mm. Using the wrong tool can round off bolt heads. Our converter identifies the <strong>closest standard tool match</strong> so you never damage your hardware.</p>' },
104
+ { type: 'title', text: 'Woodworking vs. Metalworking Tolerance', level: 3 },
105
+ { type: 'paragraph', html: 'Tolerance requirements vary wildly by trade. In <strong>woodworking</strong>, a tolerance of 1/64" (0.4mm) is usually acceptable. In <strong>metalworking and machining</strong>, 0.1mm or even 0.01mm matters. Our tool includes a precision mode to help you decide which standard fastener is the safest bet for your specific material.' },
106
+ { type: 'title', text: '3 Essential Tips for Accurate Measurements', level: 3 },
107
+ { type: 'paragraph', html: '<strong>1. Use Calipers:</strong> For reverse searching, always use digital calipers for the most accurate millimetre input. <strong>2. Check for Wear:</strong> Old sockets and bolts may have worn edges, making the "closest match" even more critical. <strong>3. Verify Pitch:</strong> Remember that even if the head size matches, the thread pitch (metric vs. imperial) will always be different.' },
108
+ ],
109
+ ui: {
110
+ labelFraction: 'Measurement Type',
111
+ labelWhole: 'Whole',
112
+ labelNumerator: 'Numerator',
113
+ labelDenominator: 'Denominator',
114
+ labelInches: 'Inches',
115
+ labelMillimeters: 'Millimeters',
116
+ resultTitle: 'Conversion Result',
117
+ resultFraction: 'Fraction',
118
+ resultInches: 'Inches',
119
+ resultMillimeters: 'Millimeters',
120
+ matchTitle: 'Closest Fastener Match',
121
+ matchClosestFastener: 'Standard bolt or fastener size',
122
+ matchClosestSocket: 'Standard socket size',
123
+ matchDifference: 'Difference from your measurement',
124
+ matchRecommendation: 'Use this size if available',
125
+ reverseSearchTitle: 'Reverse Search',
126
+ reverseSearchLabel: 'Measured Size (mm)',
127
+ reverseSearchButton: 'Find Fraction',
128
+ reverseSearchHint: 'Measure with calipers, enter the value',
129
+ unitMm: 'mm',
130
+ unitInch: 'in',
131
+ modeForward: 'Fraction → Metric',
132
+ modeReverse: 'Metric → Fraction',
133
+ precisionLabel: 'Precision Mode',
134
+ precisionCarpentry: 'Carpentry',
135
+ precisionMetal: 'Metalworking',
136
+ buttonConvert: 'Convert',
137
+ buttonClear: 'Clear',
138
+ buttonCopyResult: 'Copy Result',
139
+ buttonSaveToHistory: 'Save to History',
140
+ historyTitle: 'History',
141
+ historyEmpty: 'No measurements yet',
142
+ historyRemove: 'Remove',
143
+ helpText: 'Select a measurement or enter a fraction to get started.',
144
+ toolOverline: 'Workshop Converter',
145
+ labelVisualReference: 'Visual Reference (1 inch = 96px)',
146
+ },
147
+ };
@@ -1,147 +1,147 @@
1
- import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import type { WorkshopFractionConverterUI } from '../ui';
4
- import { bibliography } from '../bibliography';
5
-
6
- const slug = 'conversor-fracciones-pulgadas-milimetros';
7
- const title = 'Conversor de Fracciones a Milímetros para Taller';
8
- const description = 'Convierte medidas de pulgadas fraccionales a milímetros al instante. Encuentra los tornillos, pernos y llaves estándar más cercanos para tu taller. Diseñado para manos sucias y dedos con guantes.';
9
-
10
- const faqData = [
11
- {
12
- question: '¿Por qué necesito convertir fracciones a milímetros?',
13
- answer: 'La mayoría de las herramientas y tornillería modernas usan el sistema métrico, pero muchas herramientas antiguas y especificaciones siguen usando pulgadas fraccionales. Este conversor cierra esa brecha, ayudándote a encontrar el equivalente métrico exacto o el tamaño de tornillería estándar más cercano.',
14
- },
15
- {
16
- question: '¿Cuál es la diferencia entre 1/2 pulgada y 12,7 mm?',
17
- answer: '1/2 pulgada equivale exactamente a 12.7 milímetros (0.5 × 25.4 = 12.7). Las herramientas métricas e imperiales a menudo son intercambiables en tamaños estándar porque los fabricantes alinean los tamaños de tornillería comunes en ambos sistemas.',
18
- },
19
- {
20
- question: '¿Por qué la herramienta muestra el "sujetador más cercano"?',
21
- answer: 'Porque las conversiones exactas a menudo caen entre los tamaños estándar de tornillería. La herramienta encuentra el perno o la llave comercial más cercana a tu medida, para que puedas usar lo que tienes disponible en tu taller.',
22
- },
23
- {
24
- question: '¿Qué diferencia hay entre la precisión para carpintería y para metal?',
25
- answer: 'En carpintería, diferencias de 0.5 mm suelen ser insignificantes. En metalmecánica y mecanizado, 0.1 mm importa. El modo de precisión indica rangos de tolerancia aceptables según el material con el que trabajes.',
26
- },
27
- {
28
- question: '¿Puedo usar esta herramienta sin conexión?',
29
- answer: 'Sí. Todos los cálculos se realizan en tu navegador. La herramienta funciona completamente fuera de línea tras la primera carga, ideal para usarla en el taller sin WiFi.',
30
- },
31
- {
32
- question: '¿Por qué la herramienta incluye un historial?',
33
- answer: 'Al trabajar en un desmontaje o en un proyecto con múltiples piezas, el historial te permite consultar medidas anteriores sin tener que volver a introducirlas, ayudándote a crear una lista de piezas sobre la marcha.',
34
- },
35
- ];
36
-
37
- const howToData = [
38
- {
39
- name: 'Selecciona el tipo de medida',
40
- text: 'Elige "Directa" para convertir una fracción a milímetros, o "Inversa" para encontrar la fracción de una medida que hayas tomado con un calibre.',
41
- },
42
- {
43
- name: 'Introduce la medida',
44
- text: 'Usa la entrada de tres columnas (entero, numerador, denominador) o pulsa un botón de preajuste rápido. Los botones de ajuste te permiten cambiar el valor sin necesidad de escribir.',
45
- },
46
- {
47
- name: 'Revisa los resultados',
48
- text: 'El resultado muestra la conversión exacta además del tamaño de tornillo y llave estándar más cercanos. La escala visual te ayuda a percibir la proporción.',
49
- },
50
- {
51
- name: 'Guarda en el historial',
52
- text: 'Haz clic en "Guardar en historial" para conservar las medidas para futuras consultas. El historial se mantiene en tu navegador, incluso después de cerrarlo.',
53
- },
54
- ];
55
-
56
- const faqSchema: WithContext<FAQPage> = {
57
- '@context': 'https://schema.org',
58
- '@type': 'FAQPage',
59
- mainEntity: faqData.map((item) => ({
60
- '@type': 'Question',
61
- name: item.question,
62
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
63
- })),
64
- };
65
-
66
- const howToSchema: WithContext<HowToThing> = {
67
- '@context': 'https://schema.org',
68
- '@type': 'HowTo',
69
- name: title,
70
- description,
71
- step: howToData.map((step, i) => ({
72
- '@type': 'HowToStep',
73
- position: i + 1,
74
- name: step.name,
75
- text: step.text,
76
- })),
77
- };
78
-
79
- const appSchema: WithContext<SoftwareApplication> = {
80
- '@context': 'https://schema.org',
81
- '@type': 'SoftwareApplication',
82
- name: title,
83
- description,
84
- applicationCategory: 'UtilityApplication',
85
- operatingSystem: 'All',
86
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
87
- inLanguage: 'es',
88
- };
89
-
90
- export const content: ToolLocaleContent<WorkshopFractionConverterUI> = {
91
- slug,
92
- title,
93
- description,
94
- faqTitle: 'Preguntas Frecuentes',
95
- faq: faqData,
96
- bibliography,
97
- howTo: howToData,
98
- schemas: [faqSchema, howToSchema, appSchema],
99
- seo: [
100
- { type: 'title', text: 'Por qué es Vital la Precisión en la Conversión de Fracciones en el Taller', level: 2 },
101
- { type: 'paragraph', html: 'En un taller profesional o de bricolaje avanzado, un "más o menos" suele acabar en tornillos pasados, juntas inestables o montajes fallidos. Esta herramienta cierra la brecha entre las medidas imperiales tradicionales y la precisión del sistema métrico, asegurando que tus proyectos mantengan un estándar profesional.' },
102
- { type: 'title', text: 'La Conversión Estándar: 1/2" frente a 12,7 mm', level: 3 },
103
- { type: 'card', icon: 'mdi:ruler-square', title: '¿Son intercambiables el sistema métrico e imperial?', html: '<p>Muchos dan por hecho que sí. Aunque 1/2" son exactamente 12,7 mm, la llave métrica más cercana es de 13 mm. Usar la herramienta incorrecta puede redondear las cabezas de los tornillos. Nuestro conversor identifica el <strong>ajuste de herramienta estándar más cercano</strong> para que nunca dañes tus piezas.</p>' },
104
- { type: 'title', text: 'Tolerancia en Carpintería vs. Metalmecánica', level: 3 },
105
- { type: 'paragraph', html: 'Los requisitos de tolerancia varían enormemente según el oficio. En <strong>carpintería</strong>, una tolerancia de 1/64" (0,4 mm) suele ser aceptable. En <strong>mecanizado y metalistería</strong>, importa cada 0,1 mm o incluso 0,01 mm. Nuestra herramienta incluye un modo de precisión para ayudarte a decidir qué medida estándar es la más segura para tu material.' },
106
- { type: 'title', text: '3 Consejos Esenciales para Mediciones Precisas', level: 3 },
107
- { type: 'paragraph', html: '<strong>1. Usa Calibres:</strong> Para búsquedas inversas, utiliza siempre un calibre digital para obtener la entrada de milímetros más precisa. <strong>2. Revisa el Desgaste:</strong> Los vasos y tornillos viejos pueden tener bordes desgastados, lo que hace que el "ajuste más cercano" sea aún más crítico. <strong>3. Verifica el Paso de Rosca:</strong> Recuerda que aunque el tamaño de la cabeza coincida, el paso de rosca (métrico vs. imperial) siempre será diferente.' },
108
- ],
109
- ui: {
110
- labelFraction: 'Tipo de Medida',
111
- labelWhole: 'Entero',
112
- labelNumerator: 'Numerador',
113
- labelDenominator: 'Denominador',
114
- labelInches: 'Pulgadas',
115
- labelMillimeters: 'Milímetros',
116
- resultTitle: 'Resultado de la Conversión',
117
- resultFraction: 'Fracción',
118
- resultInches: 'Pulgadas',
119
- resultMillimeters: 'Milímetros',
120
- matchTitle: 'Sujetador Estándar más Cercano',
121
- matchClosestFastener: 'Tamaño de perno o tornillo estándar',
122
- matchClosestSocket: 'Tamaño de llave o vaso estándar',
123
- matchDifference: 'Diferencia con tu medida',
124
- matchRecommendation: 'Usa este tamaño si está disponible',
125
- reverseSearchTitle: 'Búsqueda Inversa',
126
- reverseSearchLabel: 'Medida Tomada (mm)',
127
- reverseSearchButton: 'Buscar Fracción',
128
- reverseSearchHint: 'Mide con un calibre e introduce el valor',
129
- unitMm: 'mm',
130
- unitInch: 'pulg',
131
- modeForward: 'Fracción → Métrico',
132
- modeReverse: 'Métrico → Fracción',
133
- precisionLabel: 'Modo de Precisión',
134
- precisionCarpentry: 'Carpintería',
135
- precisionMetal: 'Mecanizado',
136
- buttonConvert: 'Convertir',
137
- buttonClear: 'Limpiar',
138
- buttonCopyResult: 'Copiar Resultado',
139
- buttonSaveToHistory: 'Guardar en Historial',
140
- historyTitle: 'Historial',
141
- historyEmpty: 'Aún no hay medidas',
142
- historyRemove: 'Eliminar',
143
- helpText: 'Selecciona una medida o introduce una fracción para empezar.',
144
- toolOverline: 'Herramientas de Taller',
145
- labelVisualReference: 'Referencia Visual (1 pulgada = 96px)',
146
- },
147
- };
1
+ import type { WithContext, FAQPage, HowToThing, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import type { WorkshopFractionConverterUI } from '../ui';
4
+ import { bibliography } from '../bibliography';
5
+
6
+ const slug = 'conversor-fracciones-pulgadas-milimetros';
7
+ const title = 'Conversor de Fracciones a Milímetros para Taller';
8
+ const description = 'Convierte medidas de pulgadas fraccionales a milímetros al instante. Encuentra los tornillos, pernos y llaves estándar más cercanos para tu taller. Diseñado para manos sucias y dedos con guantes.';
9
+
10
+ const faqData = [
11
+ {
12
+ question: '¿Por qué necesito convertir fracciones a milímetros?',
13
+ answer: 'La mayoría de las herramientas y tornillería modernas usan el sistema métrico, pero muchas herramientas antiguas y especificaciones siguen usando pulgadas fraccionales. Este conversor cierra esa brecha, ayudándote a encontrar el equivalente métrico exacto o el tamaño de tornillería estándar más cercano.',
14
+ },
15
+ {
16
+ question: '¿Cuál es la diferencia entre 1/2 pulgada y 12,7 mm?',
17
+ answer: '1/2 pulgada equivale exactamente a 12.7 milímetros (0.5 × 25.4 = 12.7). Las herramientas métricas e imperiales a menudo son intercambiables en tamaños estándar porque los fabricantes alinean los tamaños de tornillería comunes en ambos sistemas.',
18
+ },
19
+ {
20
+ question: '¿Por qué la herramienta muestra el "sujetador más cercano"?',
21
+ answer: 'Porque las conversiones exactas a menudo caen entre los tamaños estándar de tornillería. La herramienta encuentra el perno o la llave comercial más cercana a tu medida, para que puedas usar lo que tienes disponible en tu taller.',
22
+ },
23
+ {
24
+ question: '¿Qué diferencia hay entre la precisión para carpintería y para metal?',
25
+ answer: 'En carpintería, diferencias de 0.5 mm suelen ser insignificantes. En metalmecánica y mecanizado, 0.1 mm importa. El modo de precisión indica rangos de tolerancia aceptables según el material con el que trabajes.',
26
+ },
27
+ {
28
+ question: '¿Puedo usar esta herramienta sin conexión?',
29
+ answer: 'Sí. Todos los cálculos se realizan en tu navegador. La herramienta funciona completamente fuera de línea tras la primera carga, ideal para usarla en el taller sin WiFi.',
30
+ },
31
+ {
32
+ question: '¿Por qué la herramienta incluye un historial?',
33
+ answer: 'Al trabajar en un desmontaje o en un proyecto con múltiples piezas, el historial te permite consultar medidas anteriores sin tener que volver a introducirlas, ayudándote a crear una lista de piezas sobre la marcha.',
34
+ },
35
+ ];
36
+
37
+ const howToData = [
38
+ {
39
+ name: 'Selecciona el tipo de medida',
40
+ text: 'Elige "Directa" para convertir una fracción a milímetros, o "Inversa" para encontrar la fracción de una medida que hayas tomado con un calibre.',
41
+ },
42
+ {
43
+ name: 'Introduce la medida',
44
+ text: 'Usa la entrada de tres columnas (entero, numerador, denominador) o pulsa un botón de preajuste rápido. Los botones de ajuste te permiten cambiar el valor sin necesidad de escribir.',
45
+ },
46
+ {
47
+ name: 'Revisa los resultados',
48
+ text: 'El resultado muestra la conversión exacta además del tamaño de tornillo y llave estándar más cercanos. La escala visual te ayuda a percibir la proporción.',
49
+ },
50
+ {
51
+ name: 'Guarda en el historial',
52
+ text: 'Haz clic en "Guardar en historial" para conservar las medidas para futuras consultas. El historial se mantiene en tu navegador, incluso después de cerrarlo.',
53
+ },
54
+ ];
55
+
56
+ const faqSchema: WithContext<FAQPage> = {
57
+ '@context': 'https://schema.org',
58
+ '@type': 'FAQPage',
59
+ mainEntity: faqData.map((item) => ({
60
+ '@type': 'Question',
61
+ name: item.question,
62
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
63
+ })),
64
+ };
65
+
66
+ const howToSchema: WithContext<HowToThing> = {
67
+ '@context': 'https://schema.org',
68
+ '@type': 'HowTo',
69
+ name: title,
70
+ description,
71
+ step: howToData.map((step, i) => ({
72
+ '@type': 'HowToStep',
73
+ position: i + 1,
74
+ name: step.name,
75
+ text: step.text,
76
+ })),
77
+ };
78
+
79
+ const appSchema: WithContext<SoftwareApplication> = {
80
+ '@context': 'https://schema.org',
81
+ '@type': 'SoftwareApplication',
82
+ name: title,
83
+ description,
84
+ applicationCategory: 'UtilityApplication',
85
+ operatingSystem: 'All',
86
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
87
+ inLanguage: 'es',
88
+ };
89
+
90
+ export const content: ToolLocaleContent<WorkshopFractionConverterUI> = {
91
+ slug,
92
+ title,
93
+ description,
94
+ faqTitle: 'Preguntas Frecuentes',
95
+ faq: faqData,
96
+ bibliography,
97
+ howTo: howToData,
98
+ schemas: [faqSchema, howToSchema, appSchema],
99
+ seo: [
100
+ { type: 'title', text: 'Por qué es Vital la Precisión en la Conversión de Fracciones en el Taller', level: 2 },
101
+ { type: 'paragraph', html: 'En un taller profesional o de bricolaje avanzado, un "más o menos" suele acabar en tornillos pasados, juntas inestables o montajes fallidos. Esta herramienta cierra la brecha entre las medidas imperiales tradicionales y la precisión del sistema métrico, asegurando que tus proyectos mantengan un estándar profesional.' },
102
+ { type: 'title', text: 'La Conversión Estándar: 1/2" frente a 12,7 mm', level: 3 },
103
+ { type: 'card', icon: 'mdi:ruler-square', title: '¿Son intercambiables el sistema métrico e imperial?', html: '<p>Muchos dan por hecho que sí. Aunque 1/2" son exactamente 12,7 mm, la llave métrica más cercana es de 13 mm. Usar la herramienta incorrecta puede redondear las cabezas de los tornillos. Nuestro conversor identifica el <strong>ajuste de herramienta estándar más cercano</strong> para que nunca dañes tus piezas.</p>' },
104
+ { type: 'title', text: 'Tolerancia en Carpintería vs. Metalmecánica', level: 3 },
105
+ { type: 'paragraph', html: 'Los requisitos de tolerancia varían enormemente según el oficio. En <strong>carpintería</strong>, una tolerancia de 1/64" (0,4 mm) suele ser aceptable. En <strong>mecanizado y metalistería</strong>, importa cada 0,1 mm o incluso 0,01 mm. Nuestra herramienta incluye un modo de precisión para ayudarte a decidir qué medida estándar es la más segura para tu material.' },
106
+ { type: 'title', text: '3 Consejos Esenciales para Mediciones Precisas', level: 3 },
107
+ { type: 'paragraph', html: '<strong>1. Usa Calibres:</strong> Para búsquedas inversas, utiliza siempre un calibre digital para obtener la entrada de milímetros más precisa. <strong>2. Revisa el Desgaste:</strong> Los vasos y tornillos viejos pueden tener bordes desgastados, lo que hace que el "ajuste más cercano" sea aún más crítico. <strong>3. Verifica el Paso de Rosca:</strong> Recuerda que aunque el tamaño de la cabeza coincida, el paso de rosca (métrico vs. imperial) siempre será diferente.' },
108
+ ],
109
+ ui: {
110
+ labelFraction: 'Tipo de Medida',
111
+ labelWhole: 'Entero',
112
+ labelNumerator: 'Numerador',
113
+ labelDenominator: 'Denominador',
114
+ labelInches: 'Pulgadas',
115
+ labelMillimeters: 'Milímetros',
116
+ resultTitle: 'Resultado de la Conversión',
117
+ resultFraction: 'Fracción',
118
+ resultInches: 'Pulgadas',
119
+ resultMillimeters: 'Milímetros',
120
+ matchTitle: 'Sujetador Estándar más Cercano',
121
+ matchClosestFastener: 'Tamaño de perno o tornillo estándar',
122
+ matchClosestSocket: 'Tamaño de llave o vaso estándar',
123
+ matchDifference: 'Diferencia con tu medida',
124
+ matchRecommendation: 'Usa este tamaño si está disponible',
125
+ reverseSearchTitle: 'Búsqueda Inversa',
126
+ reverseSearchLabel: 'Medida Tomada (mm)',
127
+ reverseSearchButton: 'Buscar Fracción',
128
+ reverseSearchHint: 'Mide con un calibre e introduce el valor',
129
+ unitMm: 'mm',
130
+ unitInch: 'pulg',
131
+ modeForward: 'Fracción → Métrico',
132
+ modeReverse: 'Métrico → Fracción',
133
+ precisionLabel: 'Modo de Precisión',
134
+ precisionCarpentry: 'Carpintería',
135
+ precisionMetal: 'Mecanizado',
136
+ buttonConvert: 'Convertir',
137
+ buttonClear: 'Limpiar',
138
+ buttonCopyResult: 'Copiar Resultado',
139
+ buttonSaveToHistory: 'Guardar en Historial',
140
+ historyTitle: 'Historial',
141
+ historyEmpty: 'Aún no hay medidas',
142
+ historyRemove: 'Eliminar',
143
+ helpText: 'Selecciona una medida o introduce una fracción para empezar.',
144
+ toolOverline: 'Herramientas de Taller',
145
+ labelVisualReference: 'Referencia Visual (1 pulgada = 96px)',
146
+ },
147
+ };