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 ar: 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: "التحسين",
@@ -220,6 +220,10 @@ export const ar: TranslationKeys = {
name: "مولّد رمز QR",
description: "إنشاء رموز QR مخصصة بألوان وأنماط وشعارات مميزة",
},
"html-to-image": {
name: "HTML to Image",
description: "Capture webpages as high-quality images",
},
"barcode-read": {
name: "قارئ الباركود",
description: "مسح الصور بحثًا عن رموز QR والباركود والرموز ثنائية الأبعاد",
@@ -1001,6 +1005,30 @@ export const ar: 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} ملف)",
@@ -1831,9 +1859,9 @@ export const ar: TranslationKeys = {
pipelineName: "اسم Pipeline",
pipelineDescription: "الوصف (اختياري)",
noStepsPrompt: "أضف خطوات لبناء أتمتتك",
noStepsHeading: "No steps yet",
noStepsHeading: "No steps yet",
searchToolsPlaceholder: "Search tools...",
step: "خطوة",
step: "خطوة",
},
nav: {
tools: "الأدوات",