feat: add html-to-image tool definition and i18n strings

Add tool metadata to shared constants and i18n entries across all 21
locales for the new HTML to Image screenshot tool.
This commit is contained in:
SnapOtter
2026-06-06 21:45:38 +08:00
parent 10a85cf37e
commit d1b0afd2e6
22 changed files with 676 additions and 80 deletions
+32 -4
View File
@@ -37,8 +37,8 @@ export const zhTW: TranslationKeys = {
retry: "重試",
privacyPolicy: "隱私權政策",
pageNotFound: "Page not found",
pageNotFoundDescription: "The page you are looking for does not exist or has been moved.",
},
pageNotFoundDescription: "The page you are looking for does not exist or has been moved.",
},
categories: {
essentials: "基本工具",
optimization: "最佳化",
@@ -176,6 +176,10 @@ export const zhTW: TranslationKeys = {
name: "QR碼產生器",
description: "產生自訂色彩、圖案和Logo的QR碼",
},
"html-to-image": {
name: "HTML to Image",
description: "Capture webpages as high-quality images",
},
"barcode-read": {
name: "條碼讀取器",
description: "掃描影像中的QR碼、條碼和二維碼",
@@ -942,6 +946,30 @@ export const zhTW: TranslationKeys = {
submit: "產生QR碼",
download: "下載QR碼",
},
"html-to-image": {
url: "URL",
urlPlaceholder: "https://example.com",
format: "Output Format",
quality: "Quality",
devicePreset: "Device",
viewportWidth: "Width",
viewportHeight: "Height",
fullPage: "Full Page",
submit: "Capture",
download: "Download Screenshot",
capturing: "Capturing webpage...",
errorTimeout: "Page took too long to load",
errorBlocked: "This URL cannot be captured",
errorUnavailable: "Screenshot service is not available",
errorFailed: "Failed to capture the page",
placeholder: "Enter a URL and click Capture",
presets: {
desktop: "Desktop",
tablet: "Tablet",
mobile: "Mobile",
custom: "Custom",
},
},
"barcode-read": {
submit: "掃描條碼",
submitBatch: "掃描({count}個檔案)",
@@ -1768,9 +1796,9 @@ export const zhTW: TranslationKeys = {
pipelineName: "Pipeline名稱",
pipelineDescription: "描述(選填)",
noStepsPrompt: "加入步驟來建構自動化",
noStepsHeading: "No steps yet",
noStepsHeading: "No steps yet",
searchToolsPlaceholder: "Search tools...",
step: "步驟",
step: "步驟",
},
nav: {
tools: "工具",