Skip to content

Commit 38576e0

Browse files
authored
Merge pull request #18 from MontageSubs/douzi/ui-Improve
feat: Update tool page card content
2 parents 1040923 + 11e1a77 commit 38576e0

3 files changed

Lines changed: 24 additions & 26 deletions

File tree

src/data/tools.ts

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,39 +13,39 @@ export interface Tool {
1313

1414
export const tools: Tool[] = [
1515
{
16-
id: 'subtitle-flow',
17-
name: 'SubtitleFlow',
18-
author: 'akibarika',
19-
description_zh: '浏览器端字幕时间轴编辑器,支持实时预览和多格式导出(SRT、ASS、VTT)。无需安装,打开即用。',
20-
description_en: 'Browser-based subtitle timeline editor with real-time preview and multi-format export (SRT, ASS, VTT). No installation required.',
16+
id: 'svg-to-ass',
17+
name: 'SVG to ASS Draw',
18+
author: 'NickCollect / MontageSubs',
19+
description_zh: '浏览器端 SVG 转 ASS 绘图命令工具,可将 Illustrator、Inkscape 等导出的矢量路径转换为 ASS/SSA \\p 绘图代码,支持智能清理、8x/16x 精度缩放和实时预览。',
20+
description_en: 'Browser-based SVG to ASS draw converter for turning Illustrator or Inkscape vector paths into ASS/SSA \\p drawing commands, with smart cleanup, 8x/16x precision scaling, and live preview.',
2121
type: 'online',
22-
url: 'https://github.com/MontageSubs/subtitle-flow',
23-
tags: ['timeline', 'browser', 'javascript', 'editor'],
22+
url: 'https://subs.js.org/svg-to-ass/',
23+
tags: ['svg', 'ass', 'draw', 'typesetting'],
2424
status: 'active',
2525
lang: ['zh-hans', 'en'],
2626
},
2727
{
28-
id: 'sub-lint',
29-
name: 'SubLint',
30-
author: 'akibarika',
31-
description_zh: '字幕文件规范检查工具,自动检测格式错误、标点问题和排版规范,支持批量处理。',
32-
description_en: 'Subtitle file linting tool that automatically detects formatting errors, punctuation issues and typesetting problems. Supports batch processing.',
33-
type: 'installable',
34-
url: 'https://github.com/MontageSubs/sub-lint',
35-
tags: ['linting', 'cli', 'quality', 'automation'],
36-
status: 'beta',
28+
id: 'ass-subset',
29+
name: 'ASS Subsetter',
30+
author: 'MontageSubs',
31+
description_zh: 'ASS/SSA 字幕字体嵌入与子集化工具,可按实际使用字符压缩字体,也可完整嵌入字体;支持 TTF、OTF、TTC、OTC、WOFF、WOFF2、批量处理和绘图命令优化。',
32+
description_en: 'Font embedding and subsetting tool for ASS/SSA subtitles. It can subset fonts to used characters or embed full fonts, with support for TTF, OTF, TTC, OTC, WOFF, WOFF2, batch processing, and drawing-command optimization.',
33+
type: 'online',
34+
url: 'https://subs.js.org/ass-subset/',
35+
tags: ['ass', 'fonts', 'subset', 'embedding'],
36+
status: 'active',
3737
lang: ['zh-hans', 'en'],
3838
},
3939
{
40-
id: 'timing-helper',
41-
name: 'TimingHelper',
42-
author: 'akibarika',
43-
description_zh: '字幕时间轴辅助工具,支持批量偏移、拉伸和场景检测对齐。',
44-
description_en: 'Subtitle timing assistant supporting bulk offset, stretching, and scene-detection alignment.',
40+
id: 'ass-to-svg',
41+
name: 'ASS to SVG',
42+
author: 'NickCollect / MontageSubs',
43+
description_zh: '浏览器端 ASS/SSA 绘图命令反向转换工具,可将 \\p1 到 \\p5 绘图代码还原为 SVG 矢量图形,支持多行、多绘图块输入、自动精度识别、实时预览和一键复制或下载 SVG。',
44+
description_en: 'Browser-based reverse converter that restores ASS/SSA \\p1 to \\p5 drawing commands into SVG vector graphics, with multi-line and multi-block input, automatic precision detection, live preview, and one-click copy or SVG download.',
4545
type: 'online',
46-
url: 'https://github.com/MontageSubs/timing-helper',
47-
tags: ['timing', 'browser', 'utility'],
46+
url: 'https://subs.js.org/ass-to-svg/',
47+
tags: ['ass', 'svg', 'draw', 'reverse'],
4848
status: 'active',
49-
lang: ['zh'],
49+
lang: ['zh-hans', 'en'],
5050
},
5151
];

src/pages/en/tools.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ const filters = [
4242
<div class="w-14 h-14 border border-signal-yellow/40 flex items-center justify-center group-hover:bg-signal-yellow/10 transition-colors">
4343
<span class="font-display-italic text-3xl text-signal-yellow leading-none">{tool.name.charAt(0)}</span>
4444
</div>
45-
<span class="font-mono text-[10px] text-bone-mute tracking-[0.2em]">N° {String(i+1).padStart(2,'0')}</span>
4645
</div>
4746
<div class="flex flex-wrap gap-1.5 mb-4">
4847
<span class="font-mono text-[10px] uppercase tracking-[0.1em] px-2 py-0.5 border border-bone/15 text-bone-dim">{tool.type==='online'?t('common.type.online'):t('common.type.installable')}</span>

src/pages/zh-hans/tools.astro

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const filters = [
5353
<div class="w-14 h-14 border border-signal-yellow/40 flex items-center justify-center group-hover:bg-signal-yellow/10 transition-colors">
5454
<span class="font-display-italic text-3xl text-signal-yellow leading-none">{tool.name.charAt(0)}</span>
5555
</div>
56-
<span class="font-mono text-[10px] text-bone-mute tracking-[0.2em]">N° {String(i+1).padStart(2,'0')}</span>
5756
</div>
5857
<div class="flex flex-wrap gap-1.5 mb-4">
5958
<span class={`font-mono text-[10px] uppercase tracking-[0.1em] px-2 py-0.5 ${tool.type==='online' ? 'text-signal-yellow border border-signal-yellow/30' : 'text-bone-dim border border-bone/15'}`}>

0 commit comments

Comments
 (0)