@jjlmoya/utils-textiles 1.20.0 → 1.22.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 (209) hide show
  1. package/package.json +1 -1
  2. package/src/category/i18n/de.ts +76 -76
  3. package/src/category/i18n/en.ts +76 -76
  4. package/src/category/i18n/es.ts +76 -76
  5. package/src/category/i18n/fr.ts +76 -76
  6. package/src/category/i18n/id.ts +76 -76
  7. package/src/category/i18n/it.ts +76 -76
  8. package/src/category/i18n/ja.ts +76 -76
  9. package/src/category/i18n/ko.ts +76 -76
  10. package/src/category/i18n/nl.ts +76 -76
  11. package/src/category/i18n/pl.ts +76 -76
  12. package/src/category/i18n/pt.ts +76 -76
  13. package/src/category/i18n/ru.ts +76 -76
  14. package/src/category/i18n/sv.ts +76 -76
  15. package/src/category/i18n/zh.ts +76 -76
  16. package/src/category/index.ts +2 -0
  17. package/src/category/seo.astro +1 -1
  18. package/src/components/PreviewNavSidebar.astro +1 -1
  19. package/src/components/PreviewToolbar.astro +1 -1
  20. package/src/data.ts +1 -1
  21. package/src/entries.ts +4 -1
  22. package/src/env.d.ts +1 -1
  23. package/src/index.ts +1 -1
  24. package/src/layouts/PreviewLayout.astro +113 -113
  25. package/src/pages/index.astro +1 -1
  26. package/src/tests/faq_count.test.ts +19 -19
  27. package/src/tests/i18n_coverage.test.ts +4 -2
  28. package/src/tests/locale_spelling.test.ts +44 -0
  29. package/src/tests/mocks/astro_mock.js +1 -1
  30. package/src/tests/no_en_dash.test.ts +70 -70
  31. package/src/tests/no_h1_in_components.test.ts +1 -1
  32. package/src/tests/seo_length.test.ts +22 -22
  33. package/src/tests/seo_translation_completeness.test.ts +69 -0
  34. package/src/tests/spanish_leakage.test.ts +175 -153
  35. package/src/tests/tool_validation.test.ts +17 -17
  36. package/src/tool/burnTest/i18n/es.ts +211 -211
  37. package/src/tool/burnTest/i18n/fr.ts +211 -211
  38. package/src/tool/burnTest/i18n/ja.ts +211 -211
  39. package/src/tool/burnTest/i18n/ko.ts +211 -211
  40. package/src/tool/burnTest/i18n/pl.ts +211 -211
  41. package/src/tool/burnTest/i18n/ru.ts +211 -211
  42. package/src/tool/burnTest/i18n/sv.ts +211 -211
  43. package/src/tool/burnTest/i18n/zh.ts +211 -211
  44. package/src/tool/burnTest/seo.astro +15 -15
  45. package/src/tool/clothingSizeConverter/i18n/de.ts +348 -348
  46. package/src/tool/clothingSizeConverter/i18n/en.ts +348 -348
  47. package/src/tool/clothingSizeConverter/i18n/fr.ts +348 -348
  48. package/src/tool/clothingSizeConverter/i18n/ja.ts +348 -348
  49. package/src/tool/clothingSizeConverter/i18n/ko.ts +348 -348
  50. package/src/tool/clothingSizeConverter/i18n/nl.ts +348 -348
  51. package/src/tool/clothingSizeConverter/i18n/pl.ts +348 -348
  52. package/src/tool/clothingSizeConverter/i18n/ru.ts +348 -348
  53. package/src/tool/clothingSizeConverter/i18n/sv.ts +348 -348
  54. package/src/tool/clothingSizeConverter/i18n/tr.ts +348 -348
  55. package/src/tool/clothingSizeConverter/i18n/zh.ts +348 -348
  56. package/src/tool/clothingSizeConverter/seo.astro +15 -15
  57. package/src/tool/embroideryStitchPricingEstimator/bibliography.astro +6 -0
  58. package/src/tool/embroideryStitchPricingEstimator/bibliography.ts +12 -0
  59. package/src/tool/embroideryStitchPricingEstimator/component.astro +111 -0
  60. package/src/tool/embroideryStitchPricingEstimator/controller.ts +111 -0
  61. package/src/tool/embroideryStitchPricingEstimator/dom-views.ts +94 -0
  62. package/src/tool/embroideryStitchPricingEstimator/embroidery-stitch-count-pricing-estimator.css +438 -0
  63. package/src/tool/embroideryStitchPricingEstimator/entry.ts +29 -0
  64. package/src/tool/embroideryStitchPricingEstimator/evaluator.ts +22 -0
  65. package/src/tool/embroideryStitchPricingEstimator/i18n/de.ts +38 -0
  66. package/src/tool/embroideryStitchPricingEstimator/i18n/en.ts +194 -0
  67. package/src/tool/embroideryStitchPricingEstimator/i18n/es.ts +38 -0
  68. package/src/tool/embroideryStitchPricingEstimator/i18n/fr.ts +38 -0
  69. package/src/tool/embroideryStitchPricingEstimator/i18n/id.ts +38 -0
  70. package/src/tool/embroideryStitchPricingEstimator/i18n/it.ts +38 -0
  71. package/src/tool/embroideryStitchPricingEstimator/i18n/ja.ts +38 -0
  72. package/src/tool/embroideryStitchPricingEstimator/i18n/ko.ts +38 -0
  73. package/src/tool/embroideryStitchPricingEstimator/i18n/nl.ts +38 -0
  74. package/src/tool/embroideryStitchPricingEstimator/i18n/pl.ts +38 -0
  75. package/src/tool/embroideryStitchPricingEstimator/i18n/pt.ts +38 -0
  76. package/src/tool/embroideryStitchPricingEstimator/i18n/ru.ts +38 -0
  77. package/src/tool/embroideryStitchPricingEstimator/i18n/sv.ts +38 -0
  78. package/src/tool/embroideryStitchPricingEstimator/i18n/tr.ts +38 -0
  79. package/src/tool/embroideryStitchPricingEstimator/i18n/zh.ts +38 -0
  80. package/src/tool/embroideryStitchPricingEstimator/index.ts +11 -0
  81. package/src/tool/embroideryStitchPricingEstimator/logic.test.ts +40 -0
  82. package/src/tool/embroideryStitchPricingEstimator/logic.ts +86 -0
  83. package/src/tool/embroideryStitchPricingEstimator/seo.astro +15 -0
  84. package/src/tool/embroideryStitchPricingEstimator/storage.ts +20 -0
  85. package/src/tool/embroideryStitchPricingEstimator/ui.ts +53 -0
  86. package/src/tool/fabricProjectCalculator/i18n/de.ts +236 -236
  87. package/src/tool/fabricProjectCalculator/i18n/ja.ts +236 -236
  88. package/src/tool/fabricProjectCalculator/i18n/ko.ts +236 -236
  89. package/src/tool/fabricProjectCalculator/i18n/nl.ts +236 -236
  90. package/src/tool/fabricProjectCalculator/i18n/pl.ts +236 -236
  91. package/src/tool/fabricProjectCalculator/i18n/ru.ts +236 -236
  92. package/src/tool/fabricProjectCalculator/i18n/sv.ts +236 -236
  93. package/src/tool/fabricProjectCalculator/i18n/tr.ts +236 -236
  94. package/src/tool/fabricProjectCalculator/i18n/zh.ts +236 -236
  95. package/src/tool/fabricProjectCalculator/seo.astro +15 -15
  96. package/src/tool/fabricTruth/i18n/de.ts +268 -268
  97. package/src/tool/fabricTruth/i18n/en.ts +268 -268
  98. package/src/tool/fabricTruth/i18n/es.ts +302 -302
  99. package/src/tool/fabricTruth/i18n/fr.ts +268 -268
  100. package/src/tool/fabricTruth/i18n/id.ts +268 -268
  101. package/src/tool/fabricTruth/i18n/it.ts +268 -268
  102. package/src/tool/fabricTruth/i18n/ja.ts +268 -268
  103. package/src/tool/fabricTruth/i18n/ko.ts +268 -268
  104. package/src/tool/fabricTruth/i18n/nl.ts +268 -268
  105. package/src/tool/fabricTruth/i18n/pl.ts +268 -268
  106. package/src/tool/fabricTruth/i18n/pt.ts +268 -268
  107. package/src/tool/fabricTruth/i18n/ru.ts +268 -268
  108. package/src/tool/fabricTruth/i18n/sv.ts +268 -268
  109. package/src/tool/fabricTruth/i18n/tr.ts +268 -268
  110. package/src/tool/fabricTruth/i18n/zh.ts +272 -272
  111. package/src/tool/fabricTruth/seo.astro +15 -15
  112. package/src/tool/fiberPrep/i18n/de.ts +215 -215
  113. package/src/tool/fiberPrep/i18n/fr.ts +215 -215
  114. package/src/tool/fiberPrep/i18n/ja.ts +215 -215
  115. package/src/tool/fiberPrep/i18n/ko.ts +215 -215
  116. package/src/tool/fiberPrep/i18n/nl.ts +215 -215
  117. package/src/tool/fiberPrep/i18n/pl.ts +215 -215
  118. package/src/tool/fiberPrep/i18n/ru.ts +215 -215
  119. package/src/tool/fiberPrep/i18n/sv.ts +215 -215
  120. package/src/tool/fiberPrep/i18n/tr.ts +215 -215
  121. package/src/tool/fiberPrep/i18n/zh.ts +215 -215
  122. package/src/tool/fiberPrep/seo.astro +15 -15
  123. package/src/tool/knittingGauge/i18n/de.ts +224 -224
  124. package/src/tool/knittingGauge/i18n/ja.ts +224 -224
  125. package/src/tool/knittingGauge/i18n/ko.ts +224 -224
  126. package/src/tool/knittingGauge/i18n/pl.ts +224 -224
  127. package/src/tool/knittingGauge/i18n/ru.ts +224 -224
  128. package/src/tool/knittingGauge/i18n/tr.ts +224 -224
  129. package/src/tool/knittingGauge/i18n/zh.ts +224 -224
  130. package/src/tool/knittingGauge/seo.astro +15 -15
  131. package/src/tool/laundryGuide/i18n/de.ts +271 -271
  132. package/src/tool/laundryGuide/i18n/en.ts +271 -271
  133. package/src/tool/laundryGuide/i18n/es.ts +271 -271
  134. package/src/tool/laundryGuide/i18n/fr.ts +255 -255
  135. package/src/tool/laundryGuide/i18n/id.ts +271 -271
  136. package/src/tool/laundryGuide/i18n/it.ts +271 -271
  137. package/src/tool/laundryGuide/i18n/ja.ts +271 -271
  138. package/src/tool/laundryGuide/i18n/ko.ts +271 -271
  139. package/src/tool/laundryGuide/i18n/nl.ts +271 -271
  140. package/src/tool/laundryGuide/i18n/pl.ts +271 -271
  141. package/src/tool/laundryGuide/i18n/pt.ts +271 -271
  142. package/src/tool/laundryGuide/i18n/ru.ts +271 -271
  143. package/src/tool/laundryGuide/i18n/sv.ts +271 -271
  144. package/src/tool/laundryGuide/i18n/tr.ts +271 -271
  145. package/src/tool/laundryGuide/i18n/zh.ts +271 -271
  146. package/src/tool/laundryGuide/seo.astro +15 -15
  147. package/src/tool/needleConverter/i18n/de.ts +202 -202
  148. package/src/tool/needleConverter/i18n/es.ts +207 -207
  149. package/src/tool/needleConverter/i18n/fr.ts +207 -207
  150. package/src/tool/needleConverter/i18n/ja.ts +202 -202
  151. package/src/tool/needleConverter/i18n/ko.ts +202 -202
  152. package/src/tool/needleConverter/i18n/nl.ts +202 -202
  153. package/src/tool/needleConverter/i18n/pl.ts +202 -202
  154. package/src/tool/needleConverter/i18n/ru.ts +202 -202
  155. package/src/tool/needleConverter/i18n/sv.ts +202 -202
  156. package/src/tool/needleConverter/i18n/tr.ts +202 -202
  157. package/src/tool/needleConverter/i18n/zh.ts +202 -202
  158. package/src/tool/needleConverter/seo.astro +15 -15
  159. package/src/tool/sewingPatternScaler/component.astro +236 -236
  160. package/src/tool/sewingPatternScaler/i18n/fr.ts +170 -170
  161. package/src/tool/sewingPatternScaler/i18n/ja.ts +114 -114
  162. package/src/tool/sewingPatternScaler/i18n/ko.ts +114 -114
  163. package/src/tool/sewingPatternScaler/i18n/nl.ts +114 -114
  164. package/src/tool/sewingPatternScaler/i18n/pl.ts +114 -114
  165. package/src/tool/sewingPatternScaler/i18n/ru.ts +114 -114
  166. package/src/tool/sewingPatternScaler/i18n/sv.ts +114 -114
  167. package/src/tool/sewingPatternScaler/i18n/tr.ts +114 -114
  168. package/src/tool/sewingPatternScaler/i18n/zh.ts +114 -114
  169. package/src/tool/sewingPatternScaler/seo.astro +15 -15
  170. package/src/tool/shoeSizeConverter/i18n/fr.ts +183 -183
  171. package/src/tool/shoeSizeConverter/i18n/ja.ts +179 -179
  172. package/src/tool/shoeSizeConverter/i18n/ko.ts +179 -179
  173. package/src/tool/shoeSizeConverter/i18n/nl.ts +179 -179
  174. package/src/tool/shoeSizeConverter/i18n/pl.ts +179 -179
  175. package/src/tool/shoeSizeConverter/i18n/ru.ts +179 -179
  176. package/src/tool/shoeSizeConverter/i18n/sv.ts +179 -179
  177. package/src/tool/shoeSizeConverter/i18n/tr.ts +179 -179
  178. package/src/tool/shoeSizeConverter/i18n/zh.ts +179 -179
  179. package/src/tool/shoeSizeConverter/seo.astro +15 -15
  180. package/src/tool/stainChemistry/bibliography.ts +16 -16
  181. package/src/tool/stainChemistry/i18n/de.ts +286 -286
  182. package/src/tool/stainChemistry/i18n/en.ts +289 -289
  183. package/src/tool/stainChemistry/i18n/es.ts +286 -286
  184. package/src/tool/stainChemistry/i18n/fr.ts +296 -296
  185. package/src/tool/stainChemistry/i18n/id.ts +286 -286
  186. package/src/tool/stainChemistry/i18n/it.ts +286 -286
  187. package/src/tool/stainChemistry/i18n/ja.ts +286 -286
  188. package/src/tool/stainChemistry/i18n/ko.ts +283 -283
  189. package/src/tool/stainChemistry/i18n/nl.ts +286 -286
  190. package/src/tool/stainChemistry/i18n/pl.ts +286 -286
  191. package/src/tool/stainChemistry/i18n/pt.ts +286 -286
  192. package/src/tool/stainChemistry/i18n/ru.ts +286 -286
  193. package/src/tool/stainChemistry/i18n/sv.ts +286 -286
  194. package/src/tool/stainChemistry/i18n/tr.ts +286 -286
  195. package/src/tool/stainChemistry/i18n/zh.ts +281 -281
  196. package/src/tool/stainChemistry/seo.astro +15 -15
  197. package/src/tool/yarnCalculator/i18n/de.ts +296 -296
  198. package/src/tool/yarnCalculator/i18n/es.ts +296 -296
  199. package/src/tool/yarnCalculator/i18n/fr.ts +296 -296
  200. package/src/tool/yarnCalculator/i18n/ja.ts +296 -296
  201. package/src/tool/yarnCalculator/i18n/ko.ts +296 -296
  202. package/src/tool/yarnCalculator/i18n/nl.ts +296 -296
  203. package/src/tool/yarnCalculator/i18n/pl.ts +296 -296
  204. package/src/tool/yarnCalculator/i18n/ru.ts +296 -296
  205. package/src/tool/yarnCalculator/i18n/sv.ts +296 -296
  206. package/src/tool/yarnCalculator/i18n/tr.ts +296 -296
  207. package/src/tool/yarnCalculator/i18n/zh.ts +295 -295
  208. package/src/tool/yarnCalculator/seo.astro +15 -15
  209. package/src/tools.ts +2 -2
@@ -1,87 +1,87 @@
1
- import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import { bibliography } from '../bibliography';
4
- import type { SewingPatternScalerUI } from '../ui';
5
-
6
- const slug = 'sewing-pattern-scaler';
7
- const title = '在线缝纫纸样放码(调节)工具';
8
- const description = '根据您的实际尺寸调整任何缝纫纸样。具有放码差值计算和更新纸样预览功能的差异化缩放计算器。';
9
-
10
- const faqData = [
11
- {
12
- question: '为什么肩寬的增长不像胸围那样快?',
13
- answer: '人体并不是一个球体。虽然躯干的体积会有显著变化,但骨架和关节(如肩膀)是相对固定的。专业的放码(grading)会应用不同的系数,以确保不会破坏服装的平衡。',
14
- },
15
- {
16
- question: '什么是"松量"或"ease"?',
17
- answer: '它是指您的身体与面料之间的额外空间。没有松量,您将无法活动。我们的计算器会保持这种松量,使服装既符合设计师的构思,又适应您的实际轮廓。',
18
- },
19
- {
20
- question: '我可以对针织或针织平针织物的纸样进行缩放吗?',
21
- answer: '可以,但请注意,弹力面料通常具有负松量。如果纸样非常紧身,请确保您选择的新面料的弹性系数与原始面料相同。',
22
- },
23
- ];
24
-
25
- const howToData = [
26
- {
27
- name: '测量您的纸样',
28
- text: '在原始纸样(纸样稿)的关键水平线上(胸围、腰围和臀围)进行测量,从一侧缝线量到另一侧。',
29
- },
30
- {
31
- name: '配置源数据',
32
- text: '在工具的"源尺寸"列中输入纸样的尺码或您量得的尺寸。',
33
- },
34
- {
35
- name: '输入目标数据',
36
- text: '输入您的实际尺寸或您想要达到的目标尺码。工具将计算每个区域的精确差值。',
37
- },
38
- {
39
- name: '在裁床上应用',
40
- text: '按照"裁床操作"说明,在纸样块的侧面和底部增加或减少厘米数。',
41
- },
42
- ];
43
-
44
- const faqSchema: WithContext<FAQPage> = {
45
- '@context': 'https://schema.org',
46
- '@type': 'FAQPage',
47
- mainEntity: faqData.map((item) => ({
48
- '@type': 'Question',
49
- name: item.question,
50
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
51
- })),
52
- };
53
-
54
- const howToSchema: WithContext<HowTo> = {
55
- '@context': 'https://schema.org',
56
- '@type': 'HowTo',
57
- name: title,
58
- description,
59
- step: howToData.map((step) => ({
60
- '@type': 'HowToStep',
61
- name: step.name,
62
- text: step.text,
63
- })),
64
- };
65
-
66
- const appSchema: WithContext<SoftwareApplication> = {
67
- '@context': 'https://schema.org',
68
- '@type': 'SoftwareApplication',
69
- name: title,
70
- description,
71
- applicationCategory: 'UtilityApplication',
72
- operatingSystem: 'All',
73
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
74
- inLanguage: 'zh',
75
- };
76
-
77
- export const content: ToolLocaleContent<SewingPatternScalerUI> = {
78
- slug,
79
- title,
80
- description,
81
- faq: faqData,
82
- bibliography: bibliography,
83
- howTo: howToData,
84
- schemas: [faqSchema, howToSchema, appSchema],
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import { bibliography } from '../bibliography';
4
+ import type { SewingPatternScalerUI } from '../ui';
5
+
6
+ const slug = 'sewing-pattern-scaler';
7
+ const title = '在线缝纫纸样放码(调节)工具';
8
+ const description = '根据您的实际尺寸调整任何缝纫纸样。具有放码差值计算和更新纸样预览功能的差异化缩放计算器。';
9
+
10
+ const faqData = [
11
+ {
12
+ question: '为什么肩寬的增长不像胸围那样快?',
13
+ answer: '人体并不是一个球体。虽然躯干的体积会有显著变化,但骨架和关节(如肩膀)是相对固定的。专业的放码(grading)会应用不同的系数,以确保不会破坏服装的平衡。',
14
+ },
15
+ {
16
+ question: '什么是"松量"或"ease"?',
17
+ answer: '它是指您的身体与面料之间的额外空间。没有松量,您将无法活动。我们的计算器会保持这种松量,使服装既符合设计师的构思,又适应您的实际轮廓。',
18
+ },
19
+ {
20
+ question: '我可以对针织或针织平针织物的纸样进行缩放吗?',
21
+ answer: '可以,但请注意,弹力面料通常具有负松量。如果纸样非常紧身,请确保您选择的新面料的弹性系数与原始面料相同。',
22
+ },
23
+ ];
24
+
25
+ const howToData = [
26
+ {
27
+ name: '测量您的纸样',
28
+ text: '在原始纸样(纸样稿)的关键水平线上(胸围、腰围和臀围)进行测量,从一侧缝线量到另一侧。',
29
+ },
30
+ {
31
+ name: '配置源数据',
32
+ text: '在工具的"源尺寸"列中输入纸样的尺码或您量得的尺寸。',
33
+ },
34
+ {
35
+ name: '输入目标数据',
36
+ text: '输入您的实际尺寸或您想要达到的目标尺码。工具将计算每个区域的精确差值。',
37
+ },
38
+ {
39
+ name: '在裁床上应用',
40
+ text: '按照"裁床操作"说明,在纸样块的侧面和底部增加或减少厘米数。',
41
+ },
42
+ ];
43
+
44
+ const faqSchema: WithContext<FAQPage> = {
45
+ '@context': 'https://schema.org',
46
+ '@type': 'FAQPage',
47
+ mainEntity: faqData.map((item) => ({
48
+ '@type': 'Question',
49
+ name: item.question,
50
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
51
+ })),
52
+ };
53
+
54
+ const howToSchema: WithContext<HowTo> = {
55
+ '@context': 'https://schema.org',
56
+ '@type': 'HowTo',
57
+ name: title,
58
+ description,
59
+ step: howToData.map((step) => ({
60
+ '@type': 'HowToStep',
61
+ name: step.name,
62
+ text: step.text,
63
+ })),
64
+ };
65
+
66
+ const appSchema: WithContext<SoftwareApplication> = {
67
+ '@context': 'https://schema.org',
68
+ '@type': 'SoftwareApplication',
69
+ name: title,
70
+ description,
71
+ applicationCategory: 'UtilityApplication',
72
+ operatingSystem: 'All',
73
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
74
+ inLanguage: 'zh',
75
+ };
76
+
77
+ export const content: ToolLocaleContent<SewingPatternScalerUI> = {
78
+ slug,
79
+ title,
80
+ description,
81
+ faq: faqData,
82
+ bibliography: bibliography,
83
+ howTo: howToData,
84
+ schemas: [faqSchema, howToSchema, appSchema],
85
85
  seo: [
86
86
  {
87
87
  type: 'title',
@@ -150,33 +150,33 @@ export const content: ToolLocaleContent<SewingPatternScalerUI> = {
150
150
  ],
151
151
  },
152
152
  ],
153
- ui: {
154
- labelSystem: '工作系统',
155
- modeStandard: '标准尺码',
156
- modeCustom: '实际尺寸',
157
- labelPatternSize: '纸样尺码',
158
- labelTargetSize: '目标尺码',
159
- labelOriginMeasures: '源数据测量',
160
- labelTargetMeasures: '您的尺寸',
161
- labelEase: '当前松量 (Ease)',
162
- labelChest: '胸围',
163
- labelWaist: '腰围',
164
- labelHips: '臀围',
165
- labelLength: '长度',
166
- resBust: '胸围',
167
- resWaist: '腰围',
168
- resHips: '臀围',
169
- resLength: '长度',
170
- actionLatAdd: '增加',
171
- actionLatRemove: '减少',
172
- actionLatSuffix: '于纸样侧缝',
173
- actionLatNote: '每四分之一纸样的调整量',
174
- actionLenExtend: '加长纸样',
175
- actionLenShorten: '缩短纸样',
176
- actionLenNote: '于底边线调整',
177
- legendOriginal: '原始级',
178
- legendUpdated: '更新级',
179
- warnText: '放码跨度超过 3 个尺码。袖窿处存在变形风险。',
180
- sizePrefix: '码',
181
- },
182
- };
153
+ ui: {
154
+ labelSystem: '工作系统',
155
+ modeStandard: '标准尺码',
156
+ modeCustom: '实际尺寸',
157
+ labelPatternSize: '纸样尺码',
158
+ labelTargetSize: '目标尺码',
159
+ labelOriginMeasures: '源数据测量',
160
+ labelTargetMeasures: '您的尺寸',
161
+ labelEase: '当前松量 (Ease)',
162
+ labelChest: '胸围',
163
+ labelWaist: '腰围',
164
+ labelHips: '臀围',
165
+ labelLength: '长度',
166
+ resBust: '胸围',
167
+ resWaist: '腰围',
168
+ resHips: '臀围',
169
+ resLength: '长度',
170
+ actionLatAdd: '增加',
171
+ actionLatRemove: '减少',
172
+ actionLatSuffix: '于纸样侧缝',
173
+ actionLatNote: '每四分之一纸样的调整量',
174
+ actionLenExtend: '加长纸样',
175
+ actionLenShorten: '缩短纸样',
176
+ actionLenNote: '于底边线调整',
177
+ legendOriginal: '原始级',
178
+ legendUpdated: '更新级',
179
+ warnText: '放码跨度超过 3 个尺码。袖窿处存在变形风险。',
180
+ sizePrefix: '码',
181
+ },
182
+ };
@@ -1,15 +1,15 @@
1
- ---
2
- import { SEORenderer } from '@jjlmoya/utils-shared';
3
- import { sewingPatternScaler } from './index';
4
- import type { KnownLocale } from '../../types';
5
-
6
- interface Props {
7
- locale?: KnownLocale;
8
- }
9
-
10
- const { locale = 'es' } = Astro.props;
11
- const content = await sewingPatternScaler.i18n[locale]?.();
12
- if (!content) return null;
13
- ---
14
-
15
- {content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
1
+ ---
2
+ import { SEORenderer } from '@jjlmoya/utils-shared';
3
+ import { sewingPatternScaler } from './index';
4
+ import type { KnownLocale } from '../../types';
5
+
6
+ interface Props {
7
+ locale?: KnownLocale;
8
+ }
9
+
10
+ const { locale = 'es' } = Astro.props;
11
+ const content = await sewingPatternScaler.i18n[locale]?.();
12
+ if (!content) return null;
13
+ ---
14
+
15
+ {content.seo?.length > 0 && <SEORenderer content={{ locale, sections: content.seo }} />}
@@ -1,183 +1,183 @@
1
- import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
- import type { ToolLocaleContent } from '../../../types';
3
- import { bibliography } from '../bibliography';
4
- import type { ShoeSizeConverterUI } from '../ui';
5
-
6
- const slug = 'convertisseur-pointures-chaussures';
7
- const title = 'Convertisseur de Pointures International';
8
- const description =
9
- 'Convertissez les pointures entre les systèmes américain (US), européen (EU), britannique (UK) et centimètres (CM). Guide pour homme et femme.';
10
-
11
- const faqData = [
12
- {
13
- question: 'Comment connaître ma pointure aux États-Unis (US) ?',
14
- answer:
15
- 'Pour les hommes, la taille US est généralement une unité supérieure à la UK. Pour les femmes, l\'échelle est différente. La méthode la plus précise est de mesurer votre pied en centimètres et d\'utiliser notre convertisseur.',
16
- },
17
- {
18
- question: 'Quelle est la différence entre la pointure UK et US ?',
19
- answer:
20
- 'Bien que les deux utilisent le système impérial, leurs points de départ diffèrent. Généralement, une pointure 8 UK équivaut à une pointure 9 US en chaussures pour hommes.',
21
- },
22
- {
23
- question: 'Comment mesurer mon pied pour connaître la taille CM ?',
24
- answer:
25
- 'Placez le talon contre un mur, marquez où se termine votre orteil le plus long et mesurez la distance. Cette mesure en centimètres (CM) est la plus fiable pour acheter des chaussures de marques internationales.',
26
- },
27
- ];
28
-
29
- const howToData = [
30
- {
31
- name: 'Choisir le genre',
32
- text: 'Sélectionnez si vous cherchez des tailles pour homme ou femme, car les échelles varient.',
33
- },
34
- {
35
- name: 'Sélectionner la région',
36
- text: 'Indiquez le système de tailles que vous connaissez (EU, US, UK ou CM).',
37
- },
38
- {
39
- name: 'Choisir votre numéro',
40
- text: 'Utilisez le sélecteur ou cliquez directement sur la grille de tailles.',
41
- },
42
- {
43
- name: 'Voir les équivalences',
44
- text: 'Obtenez instantanément le numéro correspondant dans toutes les autres régions du monde.',
45
- },
46
- ];
47
-
48
- const faqSchema: WithContext<FAQPage> = {
49
- '@context': 'https://schema.org',
50
- '@type': 'FAQPage',
51
- mainEntity: faqData.map((item) => ({
52
- '@type': 'Question',
53
- name: item.question,
54
- acceptedAnswer: { '@type': 'Answer', text: item.answer },
55
- })),
56
- };
57
-
58
- const howToSchema: WithContext<HowTo> = {
59
- '@context': 'https://schema.org',
60
- '@type': 'HowTo',
61
- name: title,
62
- description,
63
- step: howToData.map((step) => ({
64
- '@type': 'HowToStep',
65
- name: step.name,
66
- text: step.text,
67
- })),
68
- };
69
-
70
- const appSchema: WithContext<SoftwareApplication> = {
71
- '@context': 'https://schema.org',
72
- '@type': 'SoftwareApplication',
73
- name: title,
74
- description,
75
- applicationCategory: 'UtilityApplication',
76
- operatingSystem: 'All',
77
- offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
78
- inLanguage: 'fr',
79
- };
80
-
81
- export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
82
- slug,
83
- title,
84
- description,
85
- faq: faqData,
86
- bibliography: bibliography,
87
- howTo: howToData,
88
- schemas: [faqSchema, howToSchema, appSchema],
89
- seo: [
90
- {
91
- type: 'title',
92
- text: 'Convertisseur de Pointures: Guide International Complet',
93
- level: 2,
94
- },
95
- {
96
- type: 'paragraph',
97
- html: 'Acheter des chaussures dans des boutiques internationales peut être un défi logistique. Le <strong>convertisseur de pointures</strong> est un outil essentiel pour éviter les retours inutiles et s\'assurer que chaque achat est une réussite.',
98
- },
99
- {
100
- type: 'title',
101
- text: 'Comment fonctionnent les équivalences de pointures ?',
102
- level: 2,
103
- },
104
- {
105
- type: 'paragraph',
106
- html: 'Le monde de la chaussure n\'est pas unifié. Historiquement, chaque région a développé son propre système basé sur des unités de mesure locales comme les pouces ou le "point de Paris".',
107
- },
108
- {
109
- type: 'list',
110
- items: [
111
- '<span><strong>Tailles EU (Europe) :</strong> Basées sur le "point de Paris", équivalant à 2/3 de centimètre. Le système le plus courant en France.</span>',
112
- '<span><strong>Tailles US (États-Unis) :</strong> Utilisent les pouces avec un point de départ différent pour hommes et femmes.</span>',
113
- '<span><strong>Tailles UK (Royaume-Uni) :</strong> Également en système impérial, mais généralement une unité inférieure aux US.</span>',
114
- '<span><strong>Taille CM / Mondopoint :</strong> La plus précise. Utilise directement la longueur du pied en centimètres.</span>',
115
- ],
116
- },
117
- {
118
- type: 'title',
119
- text: 'Guide pour mesurer votre pied et trouver votre pointure exacte',
120
- level: 2,
121
- },
122
- {
123
- type: 'paragraph',
124
- html: 'Avant d\'utiliser le convertisseur, il est essentiel de connaître la mesure réelle de votre pied. La mesure fondamentale est la longueur du talon jusqu\'au bout du plus long orteil.',
125
- },
126
- {
127
- type: 'tip',
128
- title: 'Conseil Professionnel',
129
- html: 'Mesurez vos pieds en fin de journée. Les pieds ont tendance à gonfler avec l\'activité et la chaleur, une mesure matinale pourrait donner des chaussures trop serrées l\'après-midi.',
130
- },
131
- {
132
- type: 'title',
133
- text: 'Pourquoi les pointures varient selon les marques',
134
- level: 2,
135
- },
136
- {
137
- type: 'paragraph',
138
- html: 'Pourquoi portez-vous du 42 chez Nike mais du 41 1/3 chez Adidas ? Les marques utilisent leurs propres "formes". Certaines marques de sport ont tendance à tailler petit, obligeant à prendre une demi-pointure de plus.',
139
- },
140
- ],
141
- ui: {
142
- genderMenTitle: 'Chaussures Homme',
143
- genderWomenTitle: 'Chaussures Femme',
144
- regionLabel: 'Votre Système de Taille',
145
- regionEU: 'Europe (EU)',
146
- regionUS: 'États-Unis (US)',
147
- regionUK: 'Royaume-Uni (UK)',
148
- regionCM: 'Mondopoint (CM)',
149
- gridTitle: 'Sélectionnez votre Pointure',
150
- gridDesc: 'Cliquez pour voir les équivalences internationales',
151
- labelEU: 'Europe (EU)',
152
- labelUS: 'États-Unis (US)',
153
- labelUK: 'Royaume-Uni (UK)',
154
- labelCM: 'Mondopoint',
155
- unitCM: 'cm',
156
- infoBannerHtml: 'La taille <strong>CM</strong> représente la longueur physique du pied. C\'est la méthode la plus fiable pour acheter des chaussures de marques internationales.',
157
- menData: [
158
- { EU: '39', US: '6.5', UK: '6', CM: '24.5' },
159
- { EU: '40', US: '7.5', UK: '7', CM: '25.0' },
160
- { EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
161
- { EU: '41', US: '8.5', UK: '8', CM: '26.0' },
162
- { EU: '42', US: '9', UK: '8.5', CM: '26.5' },
163
- { EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
164
- { EU: '43', US: '10', UK: '9.5', CM: '27.5' },
165
- { EU: '44', US: '10.5', UK: '10', CM: '28.0' },
166
- { EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
167
- { EU: '45', US: '11.5', UK: '11', CM: '29.0' },
168
- { EU: '46', US: '12', UK: '11.5', CM: '30.0' },
169
- ],
170
- womenData: [
171
- { EU: '35', US: '5', UK: '3', CM: '22.0' },
172
- { EU: '36', US: '6', UK: '4', CM: '22.5' },
173
- { EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
174
- { EU: '37.5', US: '7', UK: '5', CM: '23.8' },
175
- { EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
176
- { EU: '38.5', US: '8', UK: '6', CM: '24.5' },
177
- { EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
178
- { EU: '40', US: '9', UK: '7', CM: '25.5' },
179
- { EU: '41', US: '10', UK: '8', CM: '26.5' },
180
- { EU: '42', US: '11', UK: '9', CM: '27.0' },
181
- ],
182
- },
183
- };
1
+ import type { WithContext, FAQPage, HowTo, SoftwareApplication } from 'schema-dts';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+ import { bibliography } from '../bibliography';
4
+ import type { ShoeSizeConverterUI } from '../ui';
5
+
6
+ const slug = 'convertisseur-pointures-chaussures';
7
+ const title = 'Convertisseur de Pointures International';
8
+ const description =
9
+ 'Convertissez les pointures entre les systèmes américain (US), européen (EU), britannique (UK) et centimètres (CM). Guide pour homme et femme.';
10
+
11
+ const faqData = [
12
+ {
13
+ question: 'Comment connaître ma pointure aux États-Unis (US) ?',
14
+ answer:
15
+ 'Pour les hommes, la taille US est généralement une unité supérieure à la UK. Pour les femmes, l\'échelle est différente. La méthode la plus précise est de mesurer votre pied en centimètres et d\'utiliser notre convertisseur.',
16
+ },
17
+ {
18
+ question: 'Quelle est la différence entre la pointure UK et US ?',
19
+ answer:
20
+ 'Bien que les deux utilisent le système impérial, leurs points de départ diffèrent. Généralement, une pointure 8 UK équivaut à une pointure 9 US en chaussures pour hommes.',
21
+ },
22
+ {
23
+ question: 'Comment mesurer mon pied pour connaître la taille CM ?',
24
+ answer:
25
+ 'Placez le talon contre un mur, marquez où se termine votre orteil le plus long et mesurez la distance. Cette mesure en centimètres (CM) est la plus fiable pour acheter des chaussures de marques internationales.',
26
+ },
27
+ ];
28
+
29
+ const howToData = [
30
+ {
31
+ name: 'Choisir le genre',
32
+ text: 'Sélectionnez si vous cherchez des tailles pour homme ou femme, car les échelles varient.',
33
+ },
34
+ {
35
+ name: 'Sélectionner la région',
36
+ text: 'Indiquez le système de tailles que vous connaissez (EU, US, UK ou CM).',
37
+ },
38
+ {
39
+ name: 'Choisir votre numéro',
40
+ text: 'Utilisez le sélecteur ou cliquez directement sur la grille de tailles.',
41
+ },
42
+ {
43
+ name: 'Voir les équivalences',
44
+ text: 'Obtenez instantanément le numéro correspondant dans toutes les autres régions du monde.',
45
+ },
46
+ ];
47
+
48
+ const faqSchema: WithContext<FAQPage> = {
49
+ '@context': 'https://schema.org',
50
+ '@type': 'FAQPage',
51
+ mainEntity: faqData.map((item) => ({
52
+ '@type': 'Question',
53
+ name: item.question,
54
+ acceptedAnswer: { '@type': 'Answer', text: item.answer },
55
+ })),
56
+ };
57
+
58
+ const howToSchema: WithContext<HowTo> = {
59
+ '@context': 'https://schema.org',
60
+ '@type': 'HowTo',
61
+ name: title,
62
+ description,
63
+ step: howToData.map((step) => ({
64
+ '@type': 'HowToStep',
65
+ name: step.name,
66
+ text: step.text,
67
+ })),
68
+ };
69
+
70
+ const appSchema: WithContext<SoftwareApplication> = {
71
+ '@context': 'https://schema.org',
72
+ '@type': 'SoftwareApplication',
73
+ name: title,
74
+ description,
75
+ applicationCategory: 'UtilityApplication',
76
+ operatingSystem: 'All',
77
+ offers: { '@type': 'Offer', price: '0', priceCurrency: 'EUR' },
78
+ inLanguage: 'fr',
79
+ };
80
+
81
+ export const content: ToolLocaleContent<ShoeSizeConverterUI> = {
82
+ slug,
83
+ title,
84
+ description,
85
+ faq: faqData,
86
+ bibliography: bibliography,
87
+ howTo: howToData,
88
+ schemas: [faqSchema, howToSchema, appSchema],
89
+ seo: [
90
+ {
91
+ type: 'title',
92
+ text: 'Convertisseur de Pointures: Guide International Complet',
93
+ level: 2,
94
+ },
95
+ {
96
+ type: 'paragraph',
97
+ html: 'Acheter des chaussures dans des boutiques internationales peut être un défi logistique. Le <strong>convertisseur de pointures</strong> est un outil essentiel pour éviter les retours inutiles et s\'assurer que chaque achat est une réussite.',
98
+ },
99
+ {
100
+ type: 'title',
101
+ text: 'Comment fonctionnent les équivalences de pointures ?',
102
+ level: 2,
103
+ },
104
+ {
105
+ type: 'paragraph',
106
+ html: 'Le monde de la chaussure n\'est pas unifié. Historiquement, chaque région a développé son propre système basé sur des unités de mesure locales comme les pouces ou le "point de Paris".',
107
+ },
108
+ {
109
+ type: 'list',
110
+ items: [
111
+ '<span><strong>Tailles EU (Europe) :</strong> Basées sur le "point de Paris", équivalant à 2/3 de centimètre. Le système le plus courant en France.</span>',
112
+ '<span><strong>Tailles US (États-Unis) :</strong> Utilisent les pouces avec un point de départ différent pour hommes et femmes.</span>',
113
+ '<span><strong>Tailles UK (Royaume-Uni) :</strong> Également en système impérial, mais généralement une unité inférieure aux US.</span>',
114
+ '<span><strong>Taille CM / Mondopoint :</strong> La plus précise. Utilise directement la longueur du pied en centimètres.</span>',
115
+ ],
116
+ },
117
+ {
118
+ type: 'title',
119
+ text: 'Guide pour mesurer votre pied et trouver votre pointure exacte',
120
+ level: 2,
121
+ },
122
+ {
123
+ type: 'paragraph',
124
+ html: 'Avant d\'utiliser le convertisseur, il est essentiel de connaître la mesure réelle de votre pied. La mesure fondamentale est la longueur du talon jusqu\'au bout du plus long orteil.',
125
+ },
126
+ {
127
+ type: 'tip',
128
+ title: 'Conseil Professionnel',
129
+ html: 'Mesurez vos pieds en fin de journée. Les pieds ont tendance à gonfler avec l\'activité et la chaleur, une mesure matinale pourrait donner des chaussures trop serrées l\'après-midi.',
130
+ },
131
+ {
132
+ type: 'title',
133
+ text: 'Pourquoi les pointures varient selon les marques',
134
+ level: 2,
135
+ },
136
+ {
137
+ type: 'paragraph',
138
+ html: 'Pourquoi portez-vous du 42 chez Nike mais du 41 1/3 chez Adidas ? Les marques utilisent leurs propres "formes". Certaines marques de sport ont tendance à tailler petit, obligeant à prendre une demi-pointure de plus.',
139
+ },
140
+ ],
141
+ ui: {
142
+ genderMenTitle: 'Chaussures Homme',
143
+ genderWomenTitle: 'Chaussures Femme',
144
+ regionLabel: 'Votre Système de Taille',
145
+ regionEU: 'Europe (EU)',
146
+ regionUS: 'États-Unis (US)',
147
+ regionUK: 'Royaume-Uni (UK)',
148
+ regionCM: 'Mondopoint (CM)',
149
+ gridTitle: 'Sélectionnez votre Pointure',
150
+ gridDesc: 'Cliquez pour voir les équivalences internationales',
151
+ labelEU: 'Europe (EU)',
152
+ labelUS: 'États-Unis (US)',
153
+ labelUK: 'Royaume-Uni (UK)',
154
+ labelCM: 'Mondopoint',
155
+ unitCM: 'cm',
156
+ infoBannerHtml: 'La taille <strong>CM</strong> représente la longueur physique du pied. C\'est la méthode la plus fiable pour acheter des chaussures de marques internationales.',
157
+ menData: [
158
+ { EU: '39', US: '6.5', UK: '6', CM: '24.5' },
159
+ { EU: '40', US: '7.5', UK: '7', CM: '25.0' },
160
+ { EU: '40.5', US: '8', UK: '7.5', CM: '25.5' },
161
+ { EU: '41', US: '8.5', UK: '8', CM: '26.0' },
162
+ { EU: '42', US: '9', UK: '8.5', CM: '26.5' },
163
+ { EU: '42.5', US: '9.5', UK: '9', CM: '27.0' },
164
+ { EU: '43', US: '10', UK: '9.5', CM: '27.5' },
165
+ { EU: '44', US: '10.5', UK: '10', CM: '28.0' },
166
+ { EU: '44.5', US: '11', UK: '10.5', CM: '28.5' },
167
+ { EU: '45', US: '11.5', UK: '11', CM: '29.0' },
168
+ { EU: '46', US: '12', UK: '11.5', CM: '30.0' },
169
+ ],
170
+ womenData: [
171
+ { EU: '35', US: '5', UK: '3', CM: '22.0' },
172
+ { EU: '36', US: '6', UK: '4', CM: '22.5' },
173
+ { EU: '37', US: '6.5', UK: '4.5', CM: '23.5' },
174
+ { EU: '37.5', US: '7', UK: '5', CM: '23.8' },
175
+ { EU: '38', US: '7.5', UK: '5.5', CM: '24.0' },
176
+ { EU: '38.5', US: '8', UK: '6', CM: '24.5' },
177
+ { EU: '39', US: '8.5', UK: '6.5', CM: '25.0' },
178
+ { EU: '40', US: '9', UK: '7', CM: '25.5' },
179
+ { EU: '41', US: '10', UK: '8', CM: '26.5' },
180
+ { EU: '42', US: '11', UK: '9', CM: '27.0' },
181
+ ],
182
+ },
183
+ };