Clarify template workflow and unify square image preview edges

This commit is contained in:
Pigway
2026-10-08 21:07:34 +08:00
parent 220521cf72
commit b90c4a700d
4 changed files with 37 additions and 6 deletions
+15
View File
@@ -43,3 +43,18 @@ Object.assign(window.MESSAGES.zh,{previousPage:'上一页',nextPage:'下一页'}
Object.assign(window.MESSAGES.zh,{fitScreen:'适应屏幕',actualSize:'原始尺寸(1:1)'});
Object.assign(window.MESSAGES.en,{fitScreen:'Fit to screen',actualSize:'Actual size (1:1)'});
Object.assign(window.MESSAGES.zh,{
templateHint:'模板会把文字、天气和所选照片排版成一张图片。画框显示的是这张图片,不是可实时更新的网页。',
templateSteps:'① 编辑内容 → ② 生成预览(仅在本地生成)→ ③ 显示到画框。保存默认数据只保存设置,不改变画框。需要定时更新时,请在自动化中新建模板任务。',
templatePhotoHelp:'此模板支持照片:选择上传照片或上传新照片。照片与文字一起生成;不选择照片时使用占位区域。',
templateContentHelp:'此模板显示排版后的信息内容,不会自动选取图库照片。天气与日期在每次生成时更新,显示后保持静态,直到再次生成并显示。',
templateWeatherHelp:'天气留空时自动读取「设置 → 天气来源」。仅在需要手动覆盖时填写 JSON。'
});
Object.assign(window.MESSAGES.en,{
templateHint:'Templates arrange text, weather and selected photos into one image. The frame displays that image, rather than a live webpage.',
templateSteps:'1. Edit content → 2. Generate preview (local only) → 3. Display on frame. Saving defaults only saves settings. Create a template job in Automation for scheduled updates.',
templatePhotoHelp:'This template supports photos: choose an uploaded photo or upload a new one. The photo and text render together; without a photo, a placeholder is shown.',
templateContentHelp:'This template displays formatted information and does not automatically choose gallery photos. Weather and dates update when rendering; the displayed image stays static until rendered and displayed again.',
templateWeatherHelp:'Leave weather blank to use Settings → Weather source automatically. Enter JSON only to override it manually.'
});