@jjlmoya/utils-converters 1.18.0 → 1.20.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.
- package/package.json +2 -2
- package/src/tests/seo_parity.test.ts +60 -0
- package/src/tests/translation_copy.test.ts +123 -0
- package/src/tool/pngAJpg/i18n/de.ts +40 -40
- package/src/tool/pngAJpg/i18n/en.ts +99 -32
- package/src/tool/pngAJpg/i18n/fr.ts +95 -22
- package/src/tool/pngAJpg/i18n/id.ts +36 -36
- package/src/tool/pngAJpg/i18n/it.ts +35 -35
- package/src/tool/pngAJpg/i18n/ja.ts +80 -84
- package/src/tool/pngAJpg/i18n/ko.ts +80 -84
- package/src/tool/pngAJpg/i18n/nl.ts +40 -40
- package/src/tool/pngAJpg/i18n/pl.ts +35 -35
- package/src/tool/pngAJpg/i18n/pt.ts +32 -32
- package/src/tool/pngAJpg/i18n/ru.ts +80 -84
- package/src/tool/pngAJpg/i18n/sv.ts +35 -35
- package/src/tool/pngAJpg/i18n/tr.ts +33 -33
- package/src/tool/pngAJpg/i18n/zh.ts +80 -84
|
@@ -21,25 +21,21 @@ const ui: ImageConverterUI = {
|
|
|
21
21
|
|
|
22
22
|
const faq: PngAJpgLocaleContent['faq'] = [
|
|
23
23
|
{
|
|
24
|
-
question:
|
|
25
|
-
answer:
|
|
26
|
-
'与传统工具不同,我们的实用程序完全在您的浏览器中处理文件。您的图像永远不会触及他人的硬盘,保证了您数据的完全主权和隐私。',
|
|
24
|
+
"question": "为什么选择我们的本地 PNG 转 JPG 转换器?",
|
|
25
|
+
"answer": "与普通的在线转换工具不同,我们的程序完全在您的浏览器内部处理图片。您的文件绝不会上传到第三方服务器,保证绝对的数据隐私。"
|
|
27
26
|
},
|
|
28
27
|
{
|
|
29
|
-
question:
|
|
30
|
-
answer:
|
|
31
|
-
'PNG 是具有透明度要求的徽标和元素的理想选择。然而,JPG 是摄影和网页横幅的黄金标准,因为它能达到更小的文件体积,从而显著提高网站的加载速度。',
|
|
28
|
+
"question": "JPG 与 PNG:哪种格式更适合您?",
|
|
29
|
+
"answer": "PNG 非常适合包含透明背景的标志和图标。JPG 具有更高的压缩率,文件体积更小,非常适合网页照片和广告横幅。"
|
|
32
30
|
},
|
|
33
31
|
{
|
|
34
|
-
question:
|
|
35
|
-
answer:
|
|
36
|
-
'我们利用 HTML5 Canvas 的强大功能。浏览器在一个不可见的虚拟画布上重建图像,用白色填充透明部分,并生成可以直接立即下载的字节流。',
|
|
32
|
+
"question": "无需上传的本地转换是如何实现的?",
|
|
33
|
+
"answer": "我们使用了 HTML5 Canvas 技术。浏览器在后台的虚拟画布上绘制 PNG 图片,将透明区域填充为纯白背景,并直接生成 JPG 字节流。"
|
|
37
34
|
},
|
|
38
35
|
{
|
|
39
|
-
question:
|
|
40
|
-
answer:
|
|
41
|
-
|
|
42
|
-
},
|
|
36
|
+
"question": "处理商业机密或敏感文件安全吗?",
|
|
37
|
+
"answer": "非常安全。所有数据仅储存在您的浏览器内存中,关闭标签页后临时数据将立刻完全销毁。"
|
|
38
|
+
}
|
|
43
39
|
];
|
|
44
40
|
|
|
45
41
|
const howTo: PngAJpgLocaleContent['howTo'] = [
|
|
@@ -59,112 +55,112 @@ const howTo: PngAJpgLocaleContent['howTo'] = [
|
|
|
59
55
|
|
|
60
56
|
const seo: PngAJpgLocaleContent['seo'] = [
|
|
61
57
|
{
|
|
62
|
-
type:
|
|
63
|
-
text:
|
|
64
|
-
level: 2
|
|
58
|
+
"type": "title",
|
|
59
|
+
"text": "PNG转JPG在线转换器:图像优化指南",
|
|
60
|
+
"level": 2
|
|
65
61
|
},
|
|
66
62
|
{
|
|
67
|
-
type:
|
|
68
|
-
html:
|
|
63
|
+
"type": "paragraph",
|
|
64
|
+
"html": "在浏览器中直接将PNG图片转换为JPG格式,无需上传服务器,保护隐私并提高网站加载速度。"
|
|
69
65
|
},
|
|
70
66
|
{
|
|
71
|
-
type:
|
|
72
|
-
text:
|
|
73
|
-
level: 3
|
|
67
|
+
"type": "title",
|
|
68
|
+
"text": "JPG 与 PNG 对比",
|
|
69
|
+
"level": 3
|
|
74
70
|
},
|
|
75
71
|
{
|
|
76
|
-
type:
|
|
77
|
-
html:
|
|
72
|
+
"type": "paragraph",
|
|
73
|
+
"html": "PNG支持透明背景但体积较大;JPG压缩率高且体积小,非常适合网页图片和照片。"
|
|
78
74
|
},
|
|
79
75
|
{
|
|
80
|
-
type:
|
|
81
|
-
html:
|
|
76
|
+
"type": "paragraph",
|
|
77
|
+
"html": "转换为JPG可以在保持良好视觉质量的同时大幅减少文件大小。"
|
|
82
78
|
},
|
|
83
79
|
{
|
|
84
|
-
type:
|
|
85
|
-
text:
|
|
86
|
-
level: 3
|
|
80
|
+
"type": "title",
|
|
81
|
+
"text": "本地处理与云端转换对比",
|
|
82
|
+
"level": 3
|
|
87
83
|
},
|
|
88
84
|
{
|
|
89
|
-
type:
|
|
90
|
-
items: [
|
|
85
|
+
"type": "comparative",
|
|
86
|
+
"items": [
|
|
91
87
|
{
|
|
92
|
-
title:
|
|
93
|
-
description:
|
|
94
|
-
icon:
|
|
95
|
-
pointIcon:
|
|
96
|
-
points: [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
]
|
|
88
|
+
"title": "云端转换工具",
|
|
89
|
+
"description": "需要将图片上传到远程服务器。",
|
|
90
|
+
"icon": "mdi:cloud-upload",
|
|
91
|
+
"pointIcon": "mdi:close-circle-outline",
|
|
92
|
+
"points": [
|
|
93
|
+
"网络传输延迟",
|
|
94
|
+
"隐私泄露风险",
|
|
95
|
+
"文件大小限制",
|
|
96
|
+
"广告弹窗"
|
|
97
|
+
]
|
|
102
98
|
},
|
|
103
99
|
{
|
|
104
|
-
title:
|
|
105
|
-
description:
|
|
106
|
-
icon:
|
|
107
|
-
highlight: true,
|
|
108
|
-
points: [
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
100
|
+
"title": "本地转换架构",
|
|
101
|
+
"description": "基于HTML5 Canvas技术的本地直接处理。",
|
|
102
|
+
"icon": "mdi:laptop-mac",
|
|
103
|
+
"highlight": true,
|
|
104
|
+
"points": [
|
|
105
|
+
"秒级极速转换",
|
|
106
|
+
"绝对隐私安全(0字节上传)",
|
|
107
|
+
"无文件大小限制",
|
|
108
|
+
"界面简洁"
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
]
|
|
116
112
|
},
|
|
117
113
|
{
|
|
118
|
-
type:
|
|
119
|
-
text:
|
|
120
|
-
level: 3
|
|
114
|
+
"type": "title",
|
|
115
|
+
"text": "本地转换技术原理",
|
|
116
|
+
"level": 3
|
|
121
117
|
},
|
|
122
118
|
{
|
|
123
|
-
type:
|
|
124
|
-
html:
|
|
119
|
+
"type": "paragraph",
|
|
120
|
+
"html": "利用浏览器原生的Canvas API,在内存中渲染图像并自动充填白色背景后导出JPG字节流。"
|
|
125
121
|
},
|
|
126
122
|
{
|
|
127
|
-
type:
|
|
128
|
-
html:
|
|
123
|
+
"type": "paragraph",
|
|
124
|
+
"html": "透明区域将自动替换为纯白背景,完美适配JPG标准。"
|
|
129
125
|
},
|
|
130
126
|
{
|
|
131
|
-
type:
|
|
132
|
-
title:
|
|
133
|
-
html:
|
|
127
|
+
"type": "tip",
|
|
128
|
+
"title": "SEO 优化建议",
|
|
129
|
+
"html": "压缩网页图片体积可显著改善 PageSpeed 指标和用户体验。"
|
|
134
130
|
},
|
|
135
131
|
{
|
|
136
|
-
type:
|
|
137
|
-
text:
|
|
138
|
-
level: 3
|
|
132
|
+
"type": "title",
|
|
133
|
+
"text": "企业级数据安全",
|
|
134
|
+
"level": 3
|
|
139
135
|
},
|
|
140
136
|
{
|
|
141
|
-
type:
|
|
142
|
-
html:
|
|
137
|
+
"type": "paragraph",
|
|
138
|
+
"html": "处理敏感文件更安全,关闭标签页后所有临时内存数据即刻销毁。"
|
|
143
139
|
},
|
|
144
140
|
{
|
|
145
|
-
type:
|
|
146
|
-
text:
|
|
147
|
-
level: 3
|
|
141
|
+
"type": "title",
|
|
142
|
+
"text": "兼容性说明",
|
|
143
|
+
"level": 3
|
|
148
144
|
},
|
|
149
145
|
{
|
|
150
|
-
type:
|
|
151
|
-
icon:
|
|
152
|
-
items: [
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
]
|
|
146
|
+
"type": "list",
|
|
147
|
+
"icon": "mdi:check-circle",
|
|
148
|
+
"items": [
|
|
149
|
+
"主流操作系统与移动设备",
|
|
150
|
+
"社交媒体平台",
|
|
151
|
+
"办公软件",
|
|
152
|
+
"CMS建站系统"
|
|
153
|
+
]
|
|
158
154
|
},
|
|
159
155
|
{
|
|
160
|
-
type:
|
|
161
|
-
text:
|
|
162
|
-
level: 3
|
|
156
|
+
"type": "title",
|
|
157
|
+
"text": "总结",
|
|
158
|
+
"level": 3
|
|
163
159
|
},
|
|
164
160
|
{
|
|
165
|
-
type:
|
|
166
|
-
html:
|
|
167
|
-
}
|
|
161
|
+
"type": "paragraph",
|
|
162
|
+
"html": "兼具高速与安全的专业图像处理工具。"
|
|
163
|
+
}
|
|
168
164
|
];
|
|
169
165
|
|
|
170
166
|
|