| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641 |
- /* 英文文案字典:中文为 key,英文为 value。只做整串精确匹配,避免误伤用户内容。 */
- window.PLI18N_EN = window.PLI18N_EN || { dict: {}, rules: [] };
- (function (D) {
- Object.assign(D.dict, {
- /* ---------- 站点通用 / 导航 ---------- */
- "Steady Packaging — 包装在线设计工作室": "Steady Packaging — Online Packaging Design Studio",
- "袋研社": "Steady",
- "袋研社 POUCHLAB": "Steady",
- "袋研社 POUCHLAB — 包装袋在线设计工作室": "Steady Packaging — Online Packaging Design Studio",
- "产品中心": "Products",
- "设计工作室": "Studio",
- "模板灵感": "Templates",
- "工艺材质": "Materials",
- "纸盒设计": "Box Design",
- "我的订单": "My Orders",
- "登录": "Log in",
- "主导航": "Main navigation",
- /* ---------- 首页 ---------- */
- "让你的包装袋": "Make your packaging",
- "先被看见。": "seen first.",
- "从袋型、刀版到成品效果,在线完成包装设计。100 个起订,小批量也能做出大品牌的质感。": "From pouch style to dieline to final look — design it all online. MOQ 100, so a small batch can still feel like a big brand.",
- "品牌正在使用": "Trusted by brands",
- "100 个": "100 pcs",
- "起订": "MOQ",
- "3D 实时预览已开启": "3D live preview on",
- "200+ 袋型": "200+ pouch styles",
- "48H 打样": "48h sampling",
- "100% 可回收材质": "100% recyclable",
- "免费刀版线": "Free dielines",
- "3D 实时预览": "3D live preview",
- "从一个袋型,": "Start with a pouch,",
- "开始表达。": "start expressing.",
- "六种常用袋型,覆盖咖啡、食品、茶、宠物、服饰与电商。每一种都提供精准刀版与真实样机。": "Six popular pouch styles for coffee, food, tea, pets, apparel and e-commerce — each with a precise dieline and a realistic mockup.",
- "像设计师一样,": "Design packaging",
- "在线做包装。": "like a pro, online.",
- "不用安装软件。上传 Logo、挑选模板、拖拽排版,实时看到袋子上的印刷效果。刀版线、安全区、出血位,都已经替你算好。": "No software to install. Upload your logo, pick a template, drag to lay out and see the print live. Dielines, safe zones and bleed are all handled for you.",
- "设计": "Design",
- "预览": "Preview",
- "下一步": "Next",
- "已自动保存": "Autosaved",
- "挑一个模板,": "Pick a template,",
- "改改就能用。": "make it yours.",
- "不止袋子,": "Not just pouches —",
- "纸盒同样在线设计。": "boxes are online too.",
- "卡纸折叠盒、磁吸书型盒、飞机盒、抽屉盒——选结构、改尺寸、配稿件,3D 立体预览与精确展开图同步生成,报价实时可算。": "Folding cartons, magnetic book-style boxes, mailer boxes, drawer boxes — pick a structure, set dimensions, add artwork. 3D previews and precise dielines generate together, with instant pricing.",
- "4 种盒型": "4 box styles",
- "标准刀版自动生成": "Standard dielines auto-generated",
- "6 个面": "6 faces",
- "逐面配色与稿件": "Per-face color & artwork",
- "实时报价": "Instant pricing",
- "按展开面积计算": "Based on flat area",
- "开始设计纸盒": "Start box design",
- "好看的背后,": "Behind the looks,",
- "是": "is",
- "认真的工艺。": "real craftsmanship.",
- "从 300dpi 的印刷精度,到 3mm 的出血位;从哑光触感膜,到可堆肥的植物基材料。我们把这些看不见的细节,做成你拿在手里的质感。": "From 300dpi print to 3mm bleed; from soft-touch matte film to compostable plant-based materials. We turn the details you can't see into the quality you can feel.",
- "四步,从想法到成品。": "Four steps from idea to product.",
- "今天,": "Today,",
- "就把你的袋子设计出来。": "design your pouch.",
- "无需注册,免费使用全部模板与刀版。设计稿可随时保存、下载。": "No sign-up required. All templates and dielines are free. Save and download anytime.",
- "为小批量品牌而生的包装设计工作室。让每一个袋子,都值得被拿在手里。": "A packaging studio built for small-batch brands — so every pouch is worth holding.",
- "站立袋": "Stand-up Pouch",
- "平底袋": "Flat-bottom Pouch",
- "咖啡袋": "Coffee Bag",
- "牛皮纸袋": "Kraft Paper Bag",
- "邮寄袋": "Mailer Bag",
- "在线设计": "Design online",
- "上传 Logo": "Upload logo",
- "尺寸指南": "Size guide",
- "每月一封包装灵感与材料趋势,不打扰。": "A monthly note on packaging ideas and material trends. No spam.",
- "© 2026 Steady Packaging": "© 2026 Steady Packaging",
- "© 2026 POUCHLAB · 袋研社": "© 2026 Steady Packaging",
- "隐私政策": "Privacy Policy",
- "服务条款": "Terms of Service",
- "联系我们": "Contact",
- "沪 ICP 备 2026000000 号": "ICP Filing No. 2026000000 (Shanghai)",
- "免费设计 →": "Design free →",
- "开始免费设计": "Start designing free",
- "浏览模板": "Browse templates",
- "进入设计工作室": "Open the studio",
- "查看全部模板 →": "View all templates →",
- "开始设计 →": "Start designing →",
- "先看模板": "Browse templates first",
- "在线设计你的包装袋:站立袋、平底袋、咖啡袋、牛皮纸袋、邮寄袋。100 个起订,3D 实时预览,刀版精准,小批量也能做出大品牌质感。": "Design your packaging online: stand-up pouches, flat-bottom pouches, coffee bags, kraft paper bags, mailer bags. MOQ 100, live 3D preview, precise dielines — small batches with a big-brand feel.",
- /* ---------- 手机端 ---------- */
- "AI 设计师 — Steady Packaging": "AI Designer — Steady Packaging",
- "AI 设计师 — 袋研社 POUCHLAB": "AI Designer — Steady Packaging",
- "☕ 咖啡袋": "☕ Coffee bag",
- "🎁 礼盒": "🎁 Gift box",
- "📦 飞机盒": "📦 Mailer box",
- "确认下单": "Confirm order",
- "详细微调请到电脑网站": "Fine-tune on desktop",
- "手机端完成智能出稿与下单。文字排版、逐面编辑、刀版微调等精细操作,请在电脑浏览器打开设计工作台继续。": "Use mobile for AI drafts and ordering. For typography, per-face editing and dieline tweaks, continue in the designer on a desktop browser.",
- "复制网站链接": "Copy site link",
- "知道了": "Got it",
- "AI 设计": "AI Design",
- "订单": "Orders",
- "说出你的包装需求…": "Describe your packaging needs…",
- "发送": "Send",
- "下单": "Order",
- "手机端 AI 包装设计:对话式出稿、下单、查询订单物流。详细微调请到电脑网站。": "Mobile AI packaging design: chat-to-design, ordering, and shipment tracking. For fine-tuning, use the desktop site.",
- /* ---------- 袋子编辑器 ---------- */
- "设计工作室 — Steady Packaging": "Studio — Steady Packaging",
- "设计工作室 — 袋研社 POUCHLAB": "Studio — Steady Packaging",
- "站立袋 · M · 100 个": "Stand-up Pouch · M · 100 pcs",
- "设置": "Settings",
- "已保存": "Saved",
- "3D 预览": "3D Preview",
- "继续设计 →": "Continue →",
- "实时样机": "Live mockup",
- "袋身颜色": "Pouch color",
- "印刷效果以最终打样为准": "Final print follows the approved proof",
- "100 个起订,小批量也能开机": "MOQ 100 — small batches welcome",
- "48 小时数码打样,颜色先确认": "48-hour digital proof to confirm colors",
- "可降解膜与再生牛皮纸可选": "Compostable film and recycled kraft available",
- "需要帮助?": "Need help?",
- "把产品尺寸和数量发给在线顾问,我们帮你选袋型。": "Send your dimensions and quantity to our online advisor and we'll help you choose a pouch.",
- "产品": "Product",
- "模板": "Templates",
- "上传": "Upload",
- "文字": "Text",
- "图形": "Shapes",
- "图层": "Layers",
- "产品设置": "Product settings",
- "当前袋型、尺寸与印刷信息": "Current pouch, size and print details",
- "正面": "Front",
- "背面": "Back",
- "刀版线": "Dieline",
- "适应": "Fit",
- "空白画布": "Blank canvas",
- "套用模板": "Use template",
- "或": "or",
- "下载效果图": "Download preview",
- "下载 4K": "Download 4K",
- "导出 DXF": "Export DXF",
- "画布设置": "Canvas settings",
- "确认你的设计": "Confirm your design",
- "下单前请检查文字、条码与颜色。提交后设计师会再次与你确认。": "Check text, barcodes and colors before ordering. Our designer will confirm with you after submission.",
- "← 继续编辑": "← Continue editing",
- "查看 3D 预览": "View 3D preview",
- "订单信息": "Order details",
- "提交订单": "Place order",
- "提交即表示同意服务条款。我们不会发送垃圾邮件。": "By submitting you agree to the Terms of Service. We never send spam.",
- "封口": "Seal",
- "开口": "Opening",
- "拖动画面可旋转 · 实时印刷效果": "Drag to rotate · live print preview",
- "⌘/Ctrl + Enter 完成": "⌘/Ctrl + Enter to finish",
- "完成": "Done",
- "订单已提交": "Order submitted",
- "我们已收到你的设计。1 个工作日内,设计师会联系你确认刀版与打样细节。": "We've received your design. A designer will contact you within 1 business day to confirm dielines and sampling.",
- "网络不可达,订单已离线保存在本机。": "Network unavailable — your order was saved locally.",
- "查看我的订单": "View my orders",
- "返回首页": "Back to home",
- "设计名称": "Design name",
- "设计步骤": "Design steps",
- "撤销 ⌘Z": "Undo ⌘Z",
- "撤销": "Undo",
- "重做 ⇧⌘Z": "Redo ⇧⌘Z",
- "重做": "Redo",
- "设计工具": "Design tools",
- "收起面板": "Collapse panel",
- "缩小": "Zoom out",
- "放大": "Zoom in",
- "关闭属性面板": "Close properties panel",
- "联系人": "Contact name",
- "手机号": "Phone",
- "邮箱(选填)": "Email (optional)",
- "收货地址(省市区 + 详细地址)": "Shipping address (province/city/district + street)",
- "备注:颜色、工艺、交期或其他要求": "Notes: color, finish, lead time or other requests",
- "关闭": "Close",
- "切换袋型模型": "Switch pouch model",
- "旋转角度": "Rotation",
- "输入文字…": "Enter text…",
- "在线包装袋设计工作室:选择袋型、套用模板、上传 Logo、3D 预览并下单一站完成。": "Online pouch design studio: choose a style, use a template, upload your logo, preview in 3D and order — all in one place.",
- /* ---------- 纸盒编辑器 ---------- */
- "3D 云设计编辑器 — Steady Packaging": "3D Box Designer — Steady Packaging",
- "3D云设计编辑器 — 袋研社 POUCHLAB": "3D Box Designer — Steady Packaging",
- "文件": "File",
- "未命名纸盒": "Untitled box",
- "新建设计方案": "New design",
- "创建副本": "Duplicate",
- "查看我的设计方案": "My designs",
- "历史版本记录": "Version history",
- "保存": "Save",
- "导入PSD/AI/PDF": "Import PSD/AI/PDF",
- "导入CAD": "Import CAD",
- "投稿至模板中心": "Submit to template gallery",
- "2D设计": "2D Design",
- "3D预览": "3D Preview",
- "印刷下单": "Order print",
- "渲 染": "Render",
- "导出": "Export",
- "✨ AI 排版": "✨ AI Layout",
- "盒型": "Box types",
- "素材": "Assets",
- "工具": "Tools",
- "帮助": "Help",
- "外侧": "Outside",
- "内侧": "Inside",
- "开": "Open",
- "合": "Close",
- "下载4K图片": "Download 4K image",
- "分享": "Share",
- "AI 排版(登录后可用)": "AI Layout (sign in required)",
- "登录 / 账号": "Log in / Account",
- "预览(隐藏刀版线)": "Preview (hide dielines)",
- "平移画布": "Pan canvas",
- "适应画布": "Fit canvas",
- "盒身颜色": "Box color",
- "自定义颜色": "Custom color",
- "无颜色": "No color",
- "折叠程度": "Fold level",
- "重置视角": "Reset view",
- "自动播放": "Auto play",
- "播放开合": "Play open/close",
- "放大预览": "Enlarge preview",
- "在线 3D 纸盒设计:盒型库、模板、素材、文字、条码二维码、智能参数、动效预览与印刷下单。": "Online 3D box design: box library, templates, assets, text, barcodes/QR codes, smart parameters, animated preview and print ordering.",
- /* ---------- 订单 / 后台 ---------- */
- "我的订单 — Steady Packaging": "My Orders — Steady Packaging",
- "我的订单 — 袋研社 POUCHLAB": "My Orders — Steady Packaging",
- "查看订单支付状态、生产进度与物流信息。": "Track payment status, production progress and shipping.",
- "后台管理 — Steady Packaging": "Admin — Steady Packaging",
- "后台管理 — 袋研社 POUCHLAB": "Admin — Steady Packaging"
- });
- /* 含数字/变量的动态文案 */
- D.rules.push(
- [/^(\d+)\s*个图层$/, function (m) { return m[1] + ' layers'; }],
- [/^印刷区\s*([\d.]+)\s*×\s*([\d.]+)\s*mm$/, function (m) { return 'Print area ' + m[1] + ' × ' + m[2] + ' mm'; }],
- [/^模型ID:\s*(\d+)$/, function (m) { return 'Model ID: ' + m[1]; }],
- [/^(\d+(?:\.\d+)?)\s*mm\s*×\s*(\d+(?:\.\d+)?)\s*mm\s*·\s*(正面|背面|左侧面|右侧面|侧面|顶面|底面|封口|开口)$/, function (m) {
- var face = { '正面': 'Front', '背面': 'Back', '左侧面': 'Left', '右侧面': 'Right', '侧面': 'Side', '顶面': 'Top', '底面': 'Bottom', '封口': 'Seal', '开口': 'Opening' }[m[3]] || m[3];
- return m[1] + ' mm × ' + m[2] + ' mm · ' + face;
- }],
- [/^剩余\s*(\d+)\s*次$/, function (m) { return m[1] + ' left'; }],
- [/^(\d+)\s*个$/, function (m) { return m[1] + ' pcs'; }]
- );
- })(window.PLI18N_EN);
- (function (D) {
- /* ---------- 袋子编辑器:设置 / 工具 / AI ---------- */
- Object.assign(D.dict, {
- "未命名设计": "Untitled design",
- "未命名方案": "Untitled design",
- "方案数据已损坏": "This design file is corrupted",
- "方案已删除": "Design deleted",
- "保存中…": "Saving…",
- "本地空间不足,请先删除旧方案": "Local storage is full. Delete old designs first.",
- "本地存储空间不足,建议下载效果图备份": "Local storage is full. Download a preview as backup.",
- "已载入 AI 设计师方案,可继续微调": "AI designer draft loaded — keep refining",
- "自定义": "Custom",
- "个": "pcs",
- "只": "pcs",
- "次": "left",
- "/ 个": "/ pc",
- "袋型": "Pouch style",
- "尺寸": "Size",
- "材质": "Material",
- "工艺": "Finish",
- "数量": "Quantity",
- "单价": "Unit price",
- "可调尺寸": "Adjustable",
- "选择你的袋子": "Choose your pouch",
- "袋型、尺寸、材质与数量都会影响最终报价。": "Style, size, material and quantity all affect the final price.",
- "6 种可选": "6 options",
- "自定义尺寸": "Custom size",
- "宽": "W",
- "高": "H",
- "宽 30–1200 mm,高 30–1600 mm,按面积计价。": "W 30–1200 mm, H 30–1600 mm, priced by area.",
- "材质与工艺": "Material & finish",
- "100 个起订": "MOQ 100",
- "自定义数量": "Custom quantity",
- "个 · 100 起订": "pcs · min 100",
- "需要纸盒?": "Need a box?",
- "打开纸盒设计器 →": "Open box designer →",
- "预计总价": "Estimated total",
- "含税,不含运费": "Tax included, shipping excluded",
- "免费设计 · 免费刀版 · 不满意随时修改": "Free design · free dielines · revise anytime",
- "mm · 正面预览": "mm · front preview",
- "已切换袋型,设计已等比适配": "Pouch style changed — design scaled to fit",
- "印刷区": "Print area",
- "图片": "Image",
- "矩形": "Rectangle",
- "圆形": "Circle",
- "三角形": "Triangle",
- "线条": "Line",
- "贴纸 ·": "Sticker ·",
- "圆形徽章": "Round badge",
- "条码 ·": "Barcode ·",
- "二维码 ·": "QR code ·",
- "素材 ·": "Asset ·",
- "模板库": "Template library",
- "套用后可继续自由修改": "Apply, then edit freely",
- "上传素材": "Upload asset",
- "建议使用透明背景 PNG 或 SVG": "Transparent PNG or SVG recommended",
- "文字工具": "Text tool",
- "标题、正文与字体选择": "Headline, body copy and fonts",
- "图形与贴纸": "Shapes & stickers",
- "用图形建立视觉层次": "Build hierarchy with shapes",
- "图层管理": "Layer management",
- "从上到下即前后顺序": "Top to bottom = front to back",
- "点击套用 · 会覆盖当前画布,可用撤销恢复。": "Click to apply · replaces the canvas; undo to restore.",
- "AI 排版": "AI Layout",
- "✨ AI 排版": "✨ AI Layout",
- "双面同款": "Both sides",
- "描述你想要的排版,如: 极简咖啡包装,暖米底色,顶部衬线体品牌名,中部咖啡豆贴纸,底部一行英文 slogan 生成后可继续说:文字再大一点 / 换深色背景": "Describe the layout you want, e.g.: minimalist coffee packaging, warm beige background, serif brand name at top, coffee bean sticker in the middle, one-line English slogan at the bottom. After generating: make the text bigger / dark background",
- "生成排版": "Generate layout",
- "清空本面": "Clear this side",
- "AI 结果直接应用到画布,可随时撤销(⌘Z)。每次生成消耗 1 次额度。": "AI results apply straight to the canvas and can be undone (⌘Z). Each generation uses 1 credit.",
- "登录后可用 AI 排版": "Sign in to use AI Layout",
- "剩余": "Remaining",
- "AI 未配置": "AI not configured",
- "AI 需要联网登录后使用": "AI requires an internet connection and sign-in",
- "先描述一下排版需求": "Describe what you'd like first",
- "AI 生成中…": "Generating…",
- "AI 正在设计中,通常 10~60 秒,请勿关闭面板或刷新页面…": "AI is designing — usually 10–60s. Please don't close the panel or refresh.",
- "AI 结果已应用到画布,可继续提修改意见(每次生成消耗 1 次额度)。": "AI result applied. Keep refining with more feedback (each generation uses 1 credit).",
- "AI 这次没能生成有效排版(未扣次数),换个说法再试": "AI couldn't produce a valid layout this time (no credit used). Try rephrasing.",
- "AI 排版已应用,可继续提修改意见": "AI layout applied — keep refining",
- "AI 生成失败": "AI generation failed",
- "你的标题": "Your headline",
- "一句打动人的副标题": "A subtitle that resonates",
- "在这里输入产品说明、配料或品牌故事。": "Add product details, ingredients or your brand story here.",
- "已添加文字 · 双击画布可直接编辑": "Text added · double-click the canvas to edit",
- "已添加": "Added",
- "条码": "Barcode",
- "二维码": "QR code",
- "徽章": "Badge",
- "图片已放置到画布": "Image placed on canvas",
- "已清空": "Cleared",
- "已清空全部设计 · 可撤销": "All design cleared · undoable",
- "已删除 · 可撤销": "Deleted · undoable",
- "已撤销": "Undone",
- "已重做": "Redone",
- "设计已保存到本地": "Design saved locally",
- "合计": "Total",
- "刀版 DXF 已导出 · CUT/FOLD/BLEED": "Dieline DXF exported · CUT/FOLD/BLEED",
- "已下载": "Downloaded",
- "效果图已下载": "Preview downloaded",
- "已下载 SVG 文件": "SVG downloaded",
- "先添加一些内容,再确认订单": "Add some content before confirming the order",
- "请选择图片文件": "Please choose an image file",
- "图片过大,请使用 12MB 以内的文件": "Image too large — use a file under 12 MB",
- "4K 效果图": "4K preview",
- "订单已离线保存(服务器不可达)": "Order saved offline (server unreachable)",
- "订单已提交,可前往「我的订单」支付": "Order submitted — go to My Orders to pay",
- "正在提交订单…": "Submitting order…",
- "订单提交失败,请重试": "Order submission failed. Please try again.",
- "参考潘通色": "PANTONE reference",
- "— Steady Packaging": " — Steady Packaging",
- "— 袋研社 POUCHLAB": " — Steady Packaging"
- });
- D.rules.push(
- [/^下一步\s*·\s*¥\s*(.+)$/, function (m) { return 'Next · ¥' + m[1]; }],
- [/^提交订单\s*·\s*¥\s*(.+)$/, function (m) { return 'Place order · ¥' + m[1]; }],
- [/^方案已保存\s*·\s*(.+)$/, function (m) { return 'Design saved · ' + m[1]; }],
- [/^已载入方案\s*·\s*(.+)$/, function (m) { return 'Design loaded · ' + m[1]; }],
- [/^已选择「(.+)」$/, function (m) { return 'Selected “' + (D.dict[m[1]] || m[1]) + '”'; }],
- [/^已套用模板「(.+)」\s*·\s*可撤销$/, function (m) { return 'Template “' + (D.dict[m[1]] || m[1]) + '” applied · undoable'; }],
- [/^已添加素材\s*·\s*(.+)$/, function (m) { return 'Asset added · ' + m[1]; }],
- [/^已添加(.+)$/, function (m) { return m[1] + ' added'; }],
- [/^已复制到\s*(.+)$/, function (m) { return 'Copied to ' + m[1]; }],
- [/^已清空(.+)$/, function (m) { return m[1] + ' cleared'; }],
- [/^AI 生成中…\s*(\d+)s$/, function (m) { return 'Generating… ' + m[1] + 's'; }],
- [/^个\s*·\s*(.+)$/, function (m) { return 'pcs · ' + m[1]; }]
- );
- })(window.PLI18N_EN);
- (function (D) {
- /* ---------- 纸盒编辑器 ---------- */
- Object.assign(D.dict, {
- "前面": "Front", "右面": "Right", "左面": "Left", "顶面": "Top", "底面": "Bottom",
- "左": "L", "右": "R", "顶": "T", "底": "B",
- "350g白卡(0.5mm)": "350g white card (0.5mm)",
- "挺括细腻,适合彩印": "Sturdy and smooth, great for color printing",
- "灰板2mm": "2mm grey board",
- "硬挺,适合精装礼盒": "Rigid, for premium gift boxes",
- "牛皮纸(0.4mm)": "Kraft paper (0.4mm)",
- "自然原色,环保质感": "Natural tone, eco feel",
- "E楞瓦楞(1.5mm)": "E-flute corrugated (1.5mm)",
- "缓冲抗压,电商发货": "Cushioning strength for e-commerce shipping",
- "四色": "CMYK",
- "四色+1专": "CMYK + 1 spot",
- "四色+2专": "CMYK + 2 spots",
- "不印刷": "No printing",
- "胶印合版": "Offset (gang run)",
- "胶印专版": "Offset (dedicated)",
- "数码印刷": "Digital printing",
- "卡纸折叠盒": "Folding carton",
- "平口箱": "Slotted carton",
- "反向插锁盒": "Reverse tuck box",
- "直插盒": "Straight tuck box",
- "扣底盒": "Snap-lock bottom box",
- "磁吸书型盒": "Magnetic book-style box",
- "飞机盒": "Mailer box",
- "抽屉盒": "Drawer box",
- "手提袋": "Paper bag",
- "封套": "Sleeve",
- "卡牌/吊牌/标签": "Cards / tags / labels",
- "糊口长": "Glue flap",
- "插舌长": "Tuck flap",
- "倒角": "Corner cut",
- "槽口宽": "Slot width",
- "沿口宽": "Lip width",
- "顶折边": "Top fold",
- "孔半径": "Hole radius",
- "开孔": "Hole",
- "已载入 AI 设计师整套方案,可继续微调": "AI designer's full set loaded — keep refining",
- "内侧设计 · 镜像": "Inside design · mirrored",
- "外侧设计": "Outside design",
- "本地保存空间不足": "Local storage is full",
- "热门": "Popular",
- "更多": "More",
- "纸箱": "Carton",
- "导入 CAD": "Import CAD",
- "上传盒型结构个性化设计": "Upload a custom box structure",
- "输入盒型关键字": "Search box types",
- "推荐盒型": "Recommended",
- "我的盒型": "My box types",
- "我的盒型(导入的 CAD 结构会保存在这里)": "My box types (imported CAD structures are saved here)",
- "· 暂无": " · none",
- "种固定尺寸": "fixed sizes",
- "可改尺寸": "Adjustable",
- "不可印刷": "Not printable",
- "找不到盒型": "No box types found",
- "输入模板关键字": "Search templates",
- "全部": "All",
- "分类": "Categories",
- "形状": "Shapes",
- "图标": "Icons",
- "礼盒插画": "Gift box illustrations",
- "插画": "Illustrations",
- "咖啡杯插画": "Coffee cup illustrations",
- "透明徽章": "Clear badge",
- "抠图": "Cut-outs",
- "透明箭头": "Clear arrows",
- "收藏": "Favorites",
- "已购": "Purchased",
- "输入素材关键字": "Search assets",
- "素材分类": "Asset categories",
- "暂无购买记录": "No purchases yet",
- "没找到你想要的结果": "No results found",
- "素材点击即添加到当前选中的面,可于图层面板调整。": "Click an asset to add it to the selected face; adjust it in the Layers panel.",
- "标准": "Standard",
- "描边": "Outline",
- "阴影": "Shadow",
- "斜体": "Italic",
- "衬线": "Serif",
- "圆润": "Rounded",
- "品牌 + 品类": "Brand + category",
- "品牌名称": "Brand name",
- "日期 + 系列": "Date + series",
- "主标题 + 卖点": "Headline + selling point",
- "大促特惠": "Sale promotion",
- "买二送一 · 限时": "Buy 2 get 1 · limited",
- "竖排签名": "Vertical signature",
- "点击添加文字": "Click to add text",
- "基础文字": "Basic text",
- "输入文字": "Enter text",
- "文字组合": "Text presets",
- "文字组合已添加": "Text preset added",
- "整套 6 面": "All 6 faces",
- "外": "Outside",
- "内": "Inside",
- "侧)": "side)",
- "仅当前面(": "Current face only (",
- "描述这个面的排版需求;生成后再说\"文字再大点/换个位置\"可继续调整。": "Describe the layout for this face; after generating, say \"make the text bigger / move it\" to keep refining.",
- "如:极简茶叶礼盒,居中大字品牌名,下方一行英文,底部小字净含量": "e.g. minimalist tea gift box, large centered brand name, one line of English below, net weight in small type at the bottom",
- "将清除": "will clear",
- "的全部文字与图形(含背景色),可撤销": "'s text and shapes (including background) — undoable",
- "已清空(可 ⌘Z 撤销)": "Cleared (⌘Z to undo)",
- "生成并应用": "Generate & apply",
- "请先描述需求": "Describe what you want first",
- "AI 正在设计中,通常 10~60 秒,请勿关闭弹窗…": "AI is designing — usually 10–60s. Please don't close the dialog.",
- "AI 这次没能生成有效成套设计(未扣次数),换个说法再试": "AI couldn't produce a valid full-set design this time (no credit used). Try rephrasing.",
- "条形码": "Barcode",
- "快速生成一堆码支持4种码制": "Generate codes quickly — 4 symbologies supported",
- "快速生成二维码设计使用": "Generate QR codes for your design",
- "码制": "Symbology",
- "EAN-13 商品码": "EAN-13 product code",
- "EAN-8 短码": "EAN-8 short code",
- "内容": "Content",
- "条码内容": "Barcode content",
- "生成条形码": "Generate barcode",
- "二维码内容(网址或文字)": "QR content (URL or text)",
- "生成二维码": "Generate QR code",
- "内容过长": "Content too long",
- "一键清空": "Clear all",
- "元素": "Element",
- "显示": "Show",
- "隐藏": "Hide",
- "移到最顶层": "Bring to front",
- "上移一层": "Move up",
- "下移一层": "Move down",
- "移到最底层": "Send to back",
- "删除": "Delete",
- "图层为空": "No layers",
- "清空图层": "Clear layers",
- "当前面有": "This face has",
- "个图层,全部面共": "layers; all faces:",
- "已清空全部面图层": "All faces cleared",
- "清空全部面(": "Clear all faces (",
- "清空后可通过 Ctrl+Z 撤销。": "Undo with Ctrl+Z after clearing.",
- "演示环境:可发送邮件至 support@pouchlab.design": "Demo: email support@pouchlab.design",
- "咨询客服": "Contact support",
- "工作日 9:00-18:00": "Weekdays 9:00–18:00",
- "快速上手": "Quick start",
- "3 步完成盒子设计": "Design a box in 3 steps",
- "快捷键": "Shortcuts",
- "常用操作快捷键列表": "Common shortcuts",
- "1. 在「盒型」面板选择盒型与尺寸,或点「编辑」打开智能参数宝精确调参; 2. 在 2D 设计里点选面,用「文字 / 素材 / 上传」添加内容,右侧换颜色与纹理; 3. 切到「3D预览」拖拽查看,播放动效,最后「导出」或「印刷下单」。": "1. Choose a box type and size in the Box types panel, or click Edit to fine-tune in Smart parameters. 2. In 2D Design, select a face and add content via Text / Assets / Upload; change color and texture on the right. 3. Switch to 3D Preview to drag and play the motion, then Export or Order print.",
- "Ctrl/⌘ + Z\u3000撤销": "Ctrl/⌘ + Z Undo",
- "Ctrl/⌘ + Shift + Z\u3000重做": "Ctrl/⌘ + Shift + Z Redo",
- "Ctrl/⌘ + S\u3000保存": "Ctrl/⌘ + S Save",
- "Delete\u3000删除选中元素": "Delete remove selected",
- "Tab\u3000切换外侧 / 内侧": "Tab switch outside / inside",
- "空格拖拽\u3000平移画布": "Space + drag pan canvas",
- "尺寸/材质": "Size / material",
- "内尺寸为盒体内部净尺寸": "Inner size is the box's internal clearance",
- "编辑": "Edit",
- "内尺寸(mm)": "Inner size (mm)",
- "厚度": "Thickness",
- "颜色 / 背景": "Color / background",
- "颜色": "Color",
- "纹理": "Texture",
- "清空颜色": "Clear color",
- "清空纹理": "Clear texture",
- "画布": "Canvas",
- "展开": "Flat",
- "外侧尺寸": "Outer size",
- "当前设计": "Current design",
- "文字属性": "Text properties",
- "图片属性": "Image properties",
- "素材属性": "Asset properties",
- "二维码属性": "QR code properties",
- "条形码属性": "Barcode properties",
- "元素属性": "Element properties",
- "完成选择": "Done",
- "文字内容": "Text content",
- "字号 (mm)": "Font size (mm)",
- "对齐": "Align",
- "中": "Center",
- "字重": "Weight",
- "常规": "Regular",
- "粗": "Bold",
- "样式": "Style",
- "宽度": "Width",
- "水平": "Horizontal",
- "垂直": "Vertical",
- "图层顺序": "Layer order",
- "⤒ 置顶": "⤒ Front",
- "↑ 上移": "↑ Up",
- "↓ 下移": "↓ Down",
- "⤓ 置底": "⤓ Back",
- "动效": "Motion",
- "点击预览": "Click to preview",
- "停止": "Stop",
- "视角": "View",
- "自动旋转": "Auto-rotate",
- "确认调整": "Apply changes",
- "我知道了": "Got it",
- "内尺寸": "Inner size",
- "标注方式": "Dimension style",
- "数值": "Values",
- "无标注": "None",
- "基础参数": "Basic parameters",
- "以内尺寸或外尺寸为基准调整": "Adjust from inner or outer size",
- "基准尺寸": "Base size",
- "输出制造尺寸口径": "Output manufacturing size",
- "输出尺寸": "Output size",
- "长 (L)": "Length (L)",
- "宽 (W)": "Width (W)",
- "高 (H)": "Height (H)",
- "出血线 (BL)": "Bleed (BL)",
- "厚度(0.2~3mm)": "Thickness (0.2–3mm)",
- "高级参数": "Advanced",
- "智能参数宝": "Smart parameters",
- "参数已调整,刀版与 3D 已更新": "Parameters updated — dieline and 3D refreshed",
- "支持 DXF 盒型结构文件上传,上传后在「我的盒型」中管理。": "DXF box structures are supported; manage them under My box types.",
- "演示环境:本版本以内置参数化盒型库代替 CAD 解析,选择盒型后可在智能参数宝中精调结构参数。": "Demo: this version uses the built-in parametric box library instead of CAD parsing. Pick a box type, then fine-tune the structure in Smart parameters.",
- "文件类型": "File type",
- "印刷PDF": "Print PDF",
- "AI 源文件暂不支持,可导出 PDF / DXF / SVG 矢量文件": "AI source files aren't supported yet — export PDF / DXF / SVG vectors instead",
- "印刷AI": "Print AI",
- "刀版PDF": "Dieline PDF",
- "刀版DXF": "Dieline DXF",
- "预览JPG": "Preview JPG",
- "色彩模式": "Color mode",
- "CMYK模式": "CMYK",
- "屏幕预览为 RGB,交付印刷文件请选 CMYK": "Screens preview in RGB; choose CMYK for print files",
- "RGB模式": "RGB",
- "刀线和设计元素独立分层": "Dielines and artwork on separate layers",
- "导出即视为已阅读并同意《授权许可协议》": "Exporting means you've read and agree to the License Agreement",
- "3D 预览加载中…": "Loading 3D preview…",
- "高清": "HD",
- "超清": "FHD",
- "超高清": "UHD",
- "构图比例": "Aspect ratio",
- "背景": "Background",
- "场景": "Scene",
- "透明": "Transparent",
- "导出效果图": "Export preview",
- "导出视频": "Export video",
- "设计文件": "Design file",
- "效果图": "Preview",
- "视频": "Video",
- "⏱ 导出记录": "⏱ Export history",
- "浏览器拦截了新窗口,请允许弹窗": "Your browser blocked a new window — allow pop-ups",
- "印刷文件": "Print file",
- "刀版": "Dieline",
- "预览 JPG 已下载": "Preview JPG downloaded",
- "刀版 DXF 已下载": "Dieline DXF downloaded",
- "3D 渲染器未就绪": "3D renderer not ready",
- "正在渲染": "Rendering",
- "效果图…": "preview…",
- "当前浏览器不支持视频录制": "This browser doesn't support video recording",
- "动效视频已下载": "Motion video downloaded",
- "导出记录": "Export history",
- "暂无导出记录": "No exports yet",
- "刀版结构完整(": "Dieline structure complete (",
- "出血线": "Bleed",
- "(建议 ≥3mm)": "(≥3mm recommended)",
- "图片清晰度": "Image resolution",
- "(检测到低分辨率图片,印刷可能模糊)": "(low-resolution images detected — print may be blurry)",
- "最小字号": "Minimum font size",
- "(有 <2mm 文字,印刷可能不清晰)": "(text under 2mm — print may be unclear)",
- "色彩模式:CMYK 印刷色域": "Color mode: CMYK gamut",
- "印前检测": "Preflight check",
- "限免": "Free for now",
- "智能印刷引擎在您检测设计问题": "Smart print engine is checking your design",
- "智能印刷引擎正在为您检测中…": "Smart print engine is checking…",
- "印刷报价": "Print quote",
- "确认印刷配置,沿用原设计与刀版": "Confirm print settings; reuse the original design and dieline",
- "返回继续编辑 ⇱": "← Back to editing",
- "制造尺寸": "Manufacturing size",
- "生产主材": "Primary material",
- "印面": "Print sides",
- "单面(外)": "Single (outside)",
- "单面(内)": "Single (inside)",
- "订购数量 ⇱": "Order quantity",
- "印刷配置": "Print settings",
- "印色": "Ink colors",
- "印刷方式": "Printing method",
- "收货信息": "Shipping details",
- "备注(选填)": "Notes (optional)",
- "演示环境:400-000-0000": "Demo: 400-000-0000",
- "🎧 人工咨询": "🎧 Talk to us",
- "预计加工时间:4 个工作日": "Est. production: 4 business days",
- "印刷费 ¥": "Printing ¥",
- "(运费待计算)": "(shipping calculated later)",
- "报价明细": "Quote breakdown",
- "展开面积:": "Flat area:",
- "材质单价:": "Material rate:",
- "元/m²": "CNY/m²",
- "印色系数:": "Ink factor:",
- "结构费:": "Structure fee:",
- "数量折扣:": "Quantity discount:",
- "单价:¥": "Unit price: ¥",
- "请完整填写联系人、手机号和收货地址": "Please fill in contact name, phone and shipping address",
- "下单成功": "Order placed",
- "订单号:": "Order no.:",
- "数量:": "Quantity:",
- "支付与生产进度请在「我的订单」查看": "Track payment and production in My Orders",
- "前往我的订单 →": "Go to My Orders →",
- "下单成功(离线保存)": "Order placed (saved offline)",
- "服务器暂不可达,订单已保存在本地,联网后请重新提交。": "The server is unreachable; your order was saved locally. Resubmit once you're online.",
- "下单失败,请重试": "Order failed. Please try again.",
- "正在提交…": "Submitting…",
- "立即下单": "Place order",
- "当前方案已自动保存到「我的设计方案」,新建后将开始一个空白方案。": "Your design was autosaved to My designs. A new blank design will start.",
- "已新建设计方案": "New design created",
- "新建": "New",
- "副本": "Copy",
- "我的设计方案": "My designs",
- "打开": "Open",
- "已删除": "Deleted",
- "暂无保存的方案": "No saved designs",
- "方案数据缺失": "Design data missing",
- "方案打开失败": "Failed to open design",
- "版本": "Version",
- "已恢复历史版本": "Restored historical version",
- "恢复": "Restore",
- "暂无历史版本": "No versions yet",
- "模型ID:": "Model ID:",
- "— 3D 云设计编辑器 · Steady": " — 3D Box Designer · Steady",
- "— 3D云设计编辑器 · 袋研社": " — 3D Box Designer · Steady",
- "方案已保存": "Design saved",
- "演示环境:支持上传 JPG/PNG/SVG(上传面板)": "Demo: JPG/PNG/SVG uploads supported (Upload panel)",
- "演示环境:投稿至模板中心需要登录账号": "Demo: sign in to submit to the template gallery",
- "重命名方案": "Rename design",
- "确定": "OK",
- "分享链接已复制": "Share link copied",
- "分享链接:": "Share link:",
- "本地实时渲染:正在播放「折叠展开」动效": "Local live render: playing “fold/unfold” motion",
- "反向插锁盒 · 120×80×180mm": "Reverse tuck box · 120×80×180mm"
- });
- D.rules.push(
- [/^·\s*模型ID\s*(\d+)$/, function (m) { return ' · Model ID ' + m[1]; }],
- [/^已切换到「(.+)」$/, function (m) { return 'Switched to “' + (D.dict[m[1]] || m[1]) + '”'; }],
- [/^模板「(.+)」已套用到(.+)$/, function (m) { return 'Template “' + (D.dict[m[1]] || m[1]) + '” applied to ' + (D.dict[m[2]] || m[2]); }],
- [/^已添加到「(.+)」$/, function (m) { return 'Added to “' + m[1] + '”'; }],
- [/^AI 已完成整套 6 面设计(剩余\s*(\d+)\s*次),可撤销$/, function (m) { return 'AI finished all 6 faces (' + m[1] + ' credits left) · undoable'; }],
- [/^AI 排版已应用到(.+)(剩余\s*(\d+)\s*次)$/, function (m) { return 'AI layout applied to ' + m[1] + ' (' + m[2] + ' credits left)'; }],
- [/^已清空「(.+)」图层$/, function (m) { return 'Cleared layers of “' + m[1] + '”'; }],
- [/^清空当前面((\d+) 个图层)$/, function (m) { return 'Clear this face (' + m[1] + ' layers)'; }],
- [/^清空全部面((\d+) 个图层)$/, function (m) { return 'Clear all faces (' + m[1] + ' layers)'; }],
- [/^已创建副本:(.+)$/, function (m) { return 'Copy created: ' + m[1]; }],
- [/^已打开「(.+)」$/, function (m) { return 'Opened “' + m[1] + '”'; }],
- [/^正在录制「(.+)」…$/, function (m) { return 'Recording “' + m[1] + '”…'; }],
- [/^(\d+)\s*个\s*·\s*金额:¥(.+)$/, function (m) { return m[1] + ' pcs · ¥' + m[2]; }],
- [/^当前面有 (\d+) 个图层,全部面共 (\d+) 个图层。$/, function (m) { return 'This face has ' + m[1] + ' layers; all faces: ' + m[2] + '.'; }],
- [/^(\d+)\s*种固定尺寸$/, function (m) { return m[1] + ' fixed sizes'; }],
- [/^AI 排版 · (.+)$/, function (m) { return 'AI Layout · ' + m[1]; }]
- );
- })(window.PLI18N_EN);
- (function (D) {
- Object.assign(D.dict, {
- /* ---- orders.js ---- */
- '我的订单': 'My Orders',
- '订单列表': 'Orders',
- '订单详情': 'Order details',
- '登录': 'Sign in',
- '退出登录': 'Sign out',
- '确认退出': 'Sign out',
- '退出后需重新登录才能查看设计、订单进度与下载记录,确定要退出吗?': 'You will need to sign in again to view designs, order progress and download records. Sign out now?',
- '登录已失效,请重新登录': 'Session expired, please sign in again',
- '登录后可查看订单的支付状态、生产进度与物流信息': 'Sign in to view payment status, production progress and tracking.',
- '手机号登录': 'Sign in with phone',
- '包装袋': 'Pouch',
- '纸盒': 'Box',
- '包装袋设计': 'Pouch design',
- '纸盒设计': 'Box design',
- '数量': 'Quantity',
- '件': 'pcs',
- '单价': 'Unit price',
- '总额': 'Total',
- '订单状态': 'Order status',
- '支付状态': 'Payment status',
- '收货信息': 'Shipping info',
- '联系人': 'Contact',
- '手机号': 'Phone',
- '地址': 'Address',
- '备注': 'Notes',
- '物流信息': 'Tracking',
- '承运商': 'Carrier',
- '运单号': 'Tracking no.',
- '复制': 'Copy',
- '进度时间线': 'Progress timeline',
- '取消': 'Cancel',
- '取消订单': 'Cancel order',
- '确定取消该订单吗?': 'Cancel this order?',
- '立即支付': 'Pay now',
- '确认支付': 'Confirm payment',
- '模拟支付': 'Pay (demo)',
- '还没有订单,去设计一款包装吧': 'No orders yet — design a package to get started.',
- '还没有订单': 'No orders yet',
- '开始设计': 'Start designing',
- '订单加载失败': 'Failed to load orders',
- '详情加载失败': 'Failed to load order details',
- '该订单保存在本机,尚未同步到服务器': 'This order is stored locally and has not synced to the server yet.',
- '服务器未收到该订单,联网后请在设计页重新提交': 'The server has not received this order. Please resubmit from the design page once online.',
- '联网后可在设计页重新提交;设计稿与预览图已随订单保存在本机。': 'Resubmit from the design page once online; the artwork and previews are saved locally with this order.',
- '本机保存': 'Saved locally',
- '订单保存在本机': 'Order saved locally',
- '订单已取消': 'Order cancelled',
- '取消失败': 'Failed to cancel',
- '运单号已复制': 'Tracking number copied',
- '支付成功(模拟),订单已进入生产': 'Payment successful (demo) — order is now in production',
- '支付失败': 'Payment failed',
- '尚未发货': 'Not shipped yet',
- '物流信息录入中': 'Tracking info pending',
- '工厂发货后将在此展示快递公司与运单号,可直接复制查询。': 'Once shipped, the carrier and tracking number appear here for you to copy.',
- '(本机订单未记录地址)': '(No address recorded for this local order)',
- '待支付': 'Awaiting payment',
- '生产中': 'In production',
- '已发货': 'Shipped',
- '已完成': 'Completed',
- '已取消': 'Cancelled',
- '未支付': 'Unpaid',
- '已支付': 'Paid',
- '已退款': 'Refunded',
- '自定义': 'Custom',
- '效果': 'Preview',
- '视图': 'View',
- /* ---- auth.js ---- */
- '手机号': 'Phone number',
- '验证码': 'Verification code',
- '6 位验证码': '6-digit code',
- '请输入 11 位手机号': 'Enter an 11-digit phone number',
- '请输入 6 位验证码': 'Enter the 6-digit code',
- '获取验证码': 'Send code',
- '发送中…': 'Sending…',
- '输入手机号获取验证码登录;演示环境验证码会直接弹出显示。': 'Enter your phone to receive a sign-in code. In demo mode the code pops up directly.',
- '登录 / 注册': 'Sign in / Sign up',
- '登录即表示同意《服务条款》与《隐私政策》': 'By signing in you agree to the Terms of Service and Privacy Policy.',
- '登录后可保存设计、同步订单进度与下载记录。': 'Sign in to save designs, sync order progress and download records.',
- '关闭': 'Close',
- '登录成功': 'Signed in',
- '登录失败,请重试': 'Sign-in failed, please try again',
- '离线演示模式登录(数据不会上传)': 'Signed in offline (demo mode, no data uploaded)',
- '已退出登录': 'Signed out',
- '点击退出登录': 'Click to sign out',
- '服务器暂不可达,离线演示验证码:123456': 'Server unreachable. Offline demo code: 123456',
- '验证码已发送,请注意查收短信': 'Code sent — please check your SMS.',
- '演示验证码:': 'Demo code: ',
- '(已自动填入)': ' (auto-filled)',
- '用户': 'User',
- /* ---- agent-chat.js ---- */
- 'AI 设计师': 'AI Designer',
- '说出需求,一步步帮你设计包装': 'Tell us what you need and we design it step by step',
- '发送': 'Send',
- '描述你的包装需求,或继续调整…': 'Describe your packaging needs, or keep refining…',
- '你好!我是 AI 设计师 👋 告诉我你要做什么包装,比如:': 'Hi! I am your AI designer 👋 Tell me what packaging you need, for example:',
- '我会逐步选型、定尺寸、配材质并生成图案,右侧实时预览,满意后点「去微调」。': 'I will pick the type, set the size, choose materials and generate artwork. Preview updates live on the right — click Fine-tune when happy.',
- '✏️ 去微调': '✏️ Fine-tune',
- '✏️ 去微调 →': '✏️ Fine-tune →',
- '去微调': 'Fine-tune',
- '去下单 →': 'Order →',
- '拖拽旋转 · 点击进入微调': 'Drag to rotate · Click to fine-tune',
- '点击进入微调': 'Click to fine-tune',
- '点击': 'Click',
- '正在理解需求…': 'Understanding your request…',
- '继续执行中…': 'Still working…',
- '任务启动失败': 'Failed to start the task',
- '执行出错了,请重试': 'Something went wrong, please try again',
- '剩余': 'Remaining',
- 'AI 未配置': 'AI not configured',
- '正面': 'Front',
- '背面': 'Back',
- '袋子': 'Pouch',
- '盒子': 'Box',
- '客服': 'Support',
- /* ---- materials & products used by chat/order panels ---- */
- '哑光膜': 'Matte film',
- '亮光膜': 'Gloss film',
- '再生牛皮': 'Recycled kraft',
- '可降解膜': 'Compostable film',
- '350g白卡': '350g white card',
- 'E楞瓦楞': 'E-flute corrugated',
- '灰板2mm': '2mm greyboard',
- '触感膜': 'Soft-touch film',
- '局部UV': 'Spot UV',
- '烫金': 'Hot foil',
- '牛皮纸袋': 'Kraft pouch',
- '站立袋': 'Stand-up pouch',
- '平底袋': 'Flat-bottom pouch',
- '邮寄袋': 'Mailer pouch',
- '服装袋': 'Garment bag',
- '咖啡袋': 'Coffee pouch',
- '卡纸折叠盒': 'Folding carton',
- '抽屉盒': 'Drawer box',
- '插盖盒': 'Tuck-top box',
- '磁吸书型盒': 'Magnetic book box',
- '飞机盒': 'Mailer box',
- '平口箱': 'Flat-top box',
- '立方体预览(可拖拽旋转,点击进微调)': '3D preview (drag to rotate, click to fine-tune)',
- /* ---- landing.js ---- */
- '选袋型': 'Choose a pouch',
- '选择袋型': 'Choose a pouch type',
- '尺寸与材质实时报价': 'Live pricing by size and material',
- '做设计': 'Design',
- '模板 / 上传 / 文字 / 图形': 'Templates / Upload / Text / Graphics',
- '看效果': 'Preview',
- '3D 预览,一键下载': '3D preview, one-click download',
- '3D 预览、下载效果图,检查每一个细节。': '3D preview and export; check every detail.',
- '在线设计': 'Design online',
- '套用模板或从空白开始,上传 Logo,拖拽排版。': 'Start from a template or blank canvas, upload a logo and drag to lay out.',
- '确认效果': 'Confirm look',
- '下单印刷': 'Place print order',
- '按产品与容量选袋型、尺寸与材质,价格实时计算。': 'Pick pouch type, size and material by product and capacity — price updates live.',
- '100 个起订,48 小时打样,生产进度全程可查。': 'MOQ 100 pcs, 48-hour proofing, track production end to end.',
- 'DPI 印刷精度': 'DPI print precision',
- 'MM 刀版误差': 'MM dieline tolerance',
- '种表面工艺': 'surface finishes',
- '精准刀版线': 'Precise dielines',
- '每种袋型都有独立刀版,安全区、出血位与折线自动生成,设计不会印偏。': 'Every pouch type gets its own dieline with auto safe area, bleed and fold lines — nothing prints off-register.',
- '3D 实时样机': 'Real-time 3D mockups',
- '设计完成即可查看立体效果,模拟袋身弧度与光泽,所见即所得。': 'See the 3D result instantly, with pouch curvature and gloss simulated — what you see is what you get.',
- '48 小时打样': '48-hour proofing',
- '数码打样快速确认颜色与材质,100 个即可开机,小批量不再将就。': 'Digital proofs confirm color and material fast; runs start at 100 pcs, so small batches are no compromise.',
- '环保材料': 'Eco materials',
- '可降解膜、再生牛皮纸与大豆油墨。包装好看,也可以对地球友好。': 'Compostable film, recycled kraft and soy ink. Great packaging that is kinder to the planet.',
- '你的邮箱': 'Your email',
- '请输入有效的邮箱地址': 'Please enter a valid email address',
- '订阅成功,下一封灵感见': 'Subscribed — see you in the next issue',
- '/ 个起': '/ pc min.',
- /* ---- m.js ---- */
- '手机版': 'Mobile',
- '完整设计工作台请用电脑访问': 'Open the full design studio on a desktop',
- '账号': 'Account',
- '姓名': 'Name',
- '收货联系手机': 'Contact phone',
- '省市区 + 详细地址': 'Region + full address',
- '收货地址': 'Shipping address',
- '实时报价': 'Live quote',
- '提交订单': 'Place order',
- '提交中…': 'Submitting…',
- '提交后可在「订单」中支付并跟踪生产/物流': 'After ordering, pay and track production/shipping in Orders',
- '(无设计稿,下单后由设计师对接)': ' (No artwork — a designer will follow up after ordering)',
- '请填写联系人和手机号': 'Please fill in contact name and phone',
- '请填写收货地址': 'Please fill in the shipping address',
- '下单成功:': 'Order placed: ',
- '下单失败,请重试': 'Failed to place order, please try again',
- 'AI 设计 ·': 'AI design ·',
- '标准白袋 ·': 'Standard white pouch ·',
- '支付中…': 'Paying…',
- '支付成功,进入生产': 'Payment successful — in production',
- '金额': 'Amount',
- '详情': 'Details',
- '返回列表': 'Back to list',
- '物流轨迹': 'Tracking history',
- '登录后查看订单': 'Sign in to view orders',
- '登录可同步订单、支付并跟踪生产物流。': 'Sign in to sync orders, pay and track production and shipping.',
- '立即登录': 'Sign in now',
- '网站链接已复制': 'Site link copied',
- '恢复上次会话': 'Restore last session',
- '宽 (mm)': 'Width (mm)',
- '高 (mm)': 'Height (mm)',
- '袋型': 'Pouch type',
- '材质': 'Material',
- /* ---- api.js ---- */
- '请求超时,请重试': 'Request timed out, please try again',
- '无法连接服务器': 'Cannot reach the server',
- '预览图生成失败': 'Failed to generate preview',
- /* ---- pantone.js ---- */
- '参考潘通色': 'Pantone reference',
- '参考潘通色 · 屏幕色值为模拟参考,实际以打样效果为准': 'Pantone reference · Screen colors are simulated; final proofing prevails',
- '实际颜色以实物色卡与打样效果为准。': 'Actual colors follow the physical swatch book and proofing.'
- });
- D.rules.push(
- [/^共 (\d+) 单$/, function (m) { return m[1] + ' orders'; }],
- [/^模拟支付 ¥([\d.]+)$/, function (m) { return 'Pay (demo) ¥' + m[1]; }],
- [/^确认支付 ¥([\d.]+)?(演示环境不会真实扣款)$/, function (m) { return 'Confirm payment of ¥' + m[1] + '? (No real charge in demo mode)'; }],
- [/^已登录 · (.+)$/, function (m) { return 'Signed in · ' + m[1]; }],
- [/^用户(\d+)$/, function (m) { return 'User ' + m[1]; }],
- [/^(\d+)s 后重发$/, function (m) { return 'Resend in ' + m[1] + 's'; }],
- [/^演示验证码:(\d+)(已自动填入)$/, function (m) { return 'Demo code: ' + m[1] + ' (auto-filled)'; }],
- [/^演示验证码:(\d+)$/, function (m) { return 'Demo code: ' + m[1]; }],
- [/^AI 剩余 (\d+) 次$/, function (m) { return 'AI: ' + m[1] + ' left'; }],
- [/^剩余 (\d+) 次$/, function (m) { return m[1] + ' left'; }],
- [/^下单成功:(.+)$/, function (m) { return 'Order placed: ' + m[1]; }],
- [/^袋子 · (.+)$/, function (m) { return 'Pouch · ' + m[1]; }],
- [/^盒子 · (.+)$/, function (m) { return 'Box · ' + m[1]; }],
- [/^AI 设计 · (.+)$/, function (m) { return 'AI design · ' + m[1]; }],
- [/^标准白袋 · (.+)$/, function (m) { return 'Standard white pouch · ' + m[1]; }],
- [/^请求失败((\d+))$/, function (m) { return 'Request failed (' + m[1] + ')'; }],
- [/^下载失败((\d+))$/, function (m) { return 'Download failed (' + m[1] + ')'; }]
- );
- })(window.PLI18N_EN);
- (function (D) {
- Object.assign(D.dict, {
- /* ---- data.js: fonts ---- */
- '现代黑体': 'Modern Sans',
- '优雅宋体': 'Elegant Serif',
- '圆润黑体': 'Rounded Sans',
- '英文无衬线': 'Latin Sans',
- '英文衬线': 'Latin Serif',
- '等宽字体': 'Monospace',
- '手写体': 'Handwriting',
- /* ---- data.js: products ---- */
- '会站立的货架主角': 'The shelf star that stands on its own',
- '自带拉链与站立袋底,适合咖啡豆、零食、宠物粮与茶叶。密封性好,陈列稳定。': 'Built-in zip and stand-up base for coffee beans, snacks, pet food and tea. Excellent sealing and stable shelf display.',
- '人气款': 'Bestseller',
- '可降解': 'Compostable',
- '拉链封口': 'Zip seal',
- '自封拉链': 'Self-sealing zip',
- '站立袋底': 'Stand-up base',
- '可选排气阀': 'Optional valve',
- '货架上的高级感': 'Premium shelf presence',
- '方正的平底结构,容量大、站立稳。适合精品咖啡、谷物与礼盒装产品。': 'Square flat-bottom structure with high capacity and stable standing. Ideal for specialty coffee, grains and gift sets.',
- '精品首选': 'Premium pick',
- '大容量': 'High capacity',
- '平整印刷': 'Flat print',
- '六边封合': 'Six-side seal',
- '平底结构': 'Flat-bottom structure',
- '可加手提孔': 'Optional handle hole',
- '锁住新鲜与风味': 'Locks in freshness and flavor',
- '带单向排气阀与加厚铝膜,避光防潮。为精品咖啡与冷萃打造的专业袋型。': 'One-way degassing valve and thickened foil keep light and moisture out. A pro pouch for specialty coffee and cold brew.',
- '含排气阀': 'With degassing valve',
- '避光': 'Light-proof',
- '单向阀': 'One-way valve',
- '单向排气阀': 'Degassing valve',
- '加厚铝膜': 'Thickened foil',
- '拉链密封': 'Zip seal',
- '自然的触感': 'Natural touch',
- '原色牛皮纸与环保油墨,质感温润。适合烘焙、茶叶、杂货与手作品牌。': 'Natural kraft paper with eco ink for a warm feel. Great for bakery, tea, groceries and craft brands.',
- '环保材质': 'Eco material',
- '原色牛皮': 'Natural kraft',
- '可回收': 'Recyclable',
- '食品级内层': 'Food-grade liner',
- '侧边风琴褶': 'Side gusset',
- '环保油墨': 'Eco ink',
- '轻量、耐撕、好寄': 'Light, tear-resistant, easy to ship',
- '轻量耐撕的邮寄包装,适合服饰、配件与小件电商。可定制整面单色印刷。': 'Lightweight, tear-resistant mailer for apparel, accessories and small e-commerce items. Full-surface mono printing available.',
- '电商常用': 'E-commerce favorite',
- '防水': 'Waterproof',
- '撕拉条': 'Tear strip',
- '自粘封口': 'Self-adhesive seal',
- '撕拉开袋': 'Tear-open',
- '防水耐撕': 'Waterproof & tear-resistant',
- '让衣服体面出门': 'Send garments out in style',
- '半透明磨砂质感,配挂孔与自粘封口。适合服装、家纺与品牌工作室。': 'Translucent frosted finish with hang hole and self-adhesive seal. Suits apparel, home textiles and brand studios.',
- '小批量': 'Small batch',
- '磨砂': 'Frosted',
- '挂孔': 'Hang hole',
- '挂孔设计': 'Hang-hole design',
- '磨砂质感': 'Frosted finish',
- /* ---- data.js: materials & finishes ---- */
- '细腻高级,触感柔和': 'Refined and soft to the touch',
- '色彩饱和,货架吸睛': 'Saturated color that pops on shelf',
- '自然原色,环保质感': 'Natural tone, eco feel',
- '植物基材料,可堆肥': 'Plant-based and compostable',
- '标准印刷': 'Standard print',
- '四色 / 专色': 'CMYK / spot',
- '高光点缀': 'Gloss accents',
- '烫金 / 烫银': 'Hot foil (gold / silver)',
- '金属光泽': 'Metallic sheen',
- '丝绒手感': 'Velvet feel',
- /* ---- data.js: templates & nav ---- */
- '青柠气泡': 'Lime Pop',
- '晨光咖啡': 'Morning Coffee',
- '花间茶事': 'Tea Bloom',
- '极简黑': 'Minimal Black',
- '汪汪零食': 'Woof Treats',
- '麦田烘焙': 'Bakery Field',
- '柔光护肤': 'Glow Skincare',
- '周末市集': 'Sunday Market',
- '食品饮料': 'Food & Drink',
- '咖啡': 'Coffee',
- '茶': 'Tea',
- '极简': 'Minimal',
- '宠物': 'Pets',
- '烘焙': 'Bakery',
- '美妆': 'Beauty',
- '零售': 'Retail',
- '产品中心': 'Products',
- '设计工作室': 'Design Studio',
- '模板灵感': 'Template Inspiration',
- '工艺材质': 'Craft & Materials',
- /* ---- boxlib.js: structures ---- */
- '热门': 'Popular',
- '纸盒': 'Folding boxes',
- '精装盒': 'Rigid boxes',
- '手提袋': 'Paper bags',
- '封套/卡片/文件': 'Sleeves / Cards / Docs',
- '更多': 'More',
- '反向插锁盒': 'Reverse tuck box',
- '直插盒': 'Straight tuck box',
- '卡纸折叠盒': 'Folding carton',
- '飞机式插锁盒': 'Mailer box',
- '扣底盒': 'Auto-bottom box',
- '平口箱': 'RSC shipper',
- '四折边对盖盒': 'Four-flap box',
- '异型书型精品翻盖礼盒': 'Shaped book-style gift box',
- '翻盖精品礼盒': 'Flip-top gift box',
- '到底V槽天地盖盒': 'V-groove lid-and-base box',
- '抽屉盒': 'Drawer box',
- '平口手提袋': 'Flat-top paper bag',
- '弧形孔手提袋': 'Arc-handle paper bag',
- '免提手袋': 'Handle-free bag',
- '封套': 'Sleeve',
- '梯形盒套': 'Tapered sleeve',
- '快餐盒封套': 'Fast-food sleeve',
- '矩形卡牌': 'Rectangular card',
- '圆形卡牌': 'Round card',
- '矩形吊牌': 'Rectangular hang tag',
- '椭圆形吊牌': 'Oval hang tag',
- '矩形标签': 'Rectangular label',
- '圆形标签': 'Round label',
- /* ---- boxlib.js: box templates ---- */
- '苹果果汁软糖塑料袋包装设计': 'Apple gummy pouch design',
- '西瓜味雪糕包装设计': 'Watermelon ice cream design',
- '橙汁饮料玻璃瓶包装设计': 'Orange juice bottle design',
- '巧克力冰淇淋': 'Chocolate ice cream',
- '数码家电开箱盒': 'Electronics unboxing box',
- '蓝牙耳机天地盖盒': 'Earbuds lid-and-base box',
- '乌龙茶饮包装': 'Oolong tea packaging',
- '香氛蜡烛礼盒': 'Scented candle gift box',
- '美妆精华简约盒': 'Minimal skincare serum box',
- '电商发货飞机盒': 'E-commerce mailer box',
- '精品手提袋': 'Premium paper bag',
- '中秋月饼礼盒': 'Mooncake gift box',
- '数码家电': 'Electronics',
- '日常用品': 'Everyday',
- /* ---- boxlib.js: asset library ---- */
- '全部': 'All',
- '形状': 'Shapes',
- '图标': 'Icons',
- '插画': 'Illustrations',
- '抠图': 'Cutouts',
- '回收标志': 'Recycle symbol',
- '向上': 'This way up',
- '防雨': 'Keep dry',
- '防潮 / 保持干燥': 'Moisture-proof / keep dry',
- '易碎品(酒杯)': 'Fragile (glass)',
- '堆码层数': 'Stack limit',
- '小心棱角': 'Mind sharp edges',
- 'CE 认证': 'CE mark',
- 'FC 认证': 'FC mark',
- '绿点回收': 'Green dot',
- 'ISO 质量': 'ISO quality',
- '请勿乱扔': 'Do not litter',
- '电子回收': 'Battery recycling',
- '苹果': 'Apple',
- '叶子环保': 'Eco leaf',
- '爱心': 'Heart',
- '星星': 'Star',
- '方形': 'Square',
- '圆形': 'Circle',
- '三角形': 'Triangle',
- '圆环': 'Ring',
- '横线': 'Line',
- '丝带横幅': 'Ribbon banner',
- '圆形徽章': 'Round badge',
- '圆角框': 'Rounded frame',
- /* ---- boxlib.js: textures & animations ---- */
- '牛皮纸纹': 'Kraft texture',
- '圆点': 'Dots',
- '斜条纹': 'Diagonal stripes',
- '亚麻': 'Linen',
- '碎花': 'Floral',
- '大理石': 'Marble',
- '折叠展开': 'Fold-out',
- '物体平视自转一圈': 'Object spin (eye level)',
- '物体俯视自转一周': 'Object spin (top view)',
- '旋转掉落': 'Spin & drop',
- '由远到近': 'Zoom in',
- '掉落后放大细节': 'Drop & zoom detail',
- '由远到近放大细节': 'Zoom in to detail',
- '从左侧旋转入场': 'Rotate in from left',
- '由远到近曲线入场': 'Curved zoom in',
- '折叠动画弹跳入场': 'Fold bounce entrance',
- /* ---- admin.js: login / shell ---- */
- '用户名': 'Username',
- '密码': 'Password',
- '管理员账号': 'Admin account',
- '登 录': 'Sign in',
- '默认账号 admin / admin123,登录后请尽快修改密码': 'Default account admin / admin123 — change the password right after signing in',
- '袋研社 · 后台管理': 'Steady · Admin',
- '后台管理': 'Admin',
- '后台管理 · ADMIN': 'ADMIN',
- '袋研社后台': 'Steady Admin',
- '工厂协作端': 'Factory Portal',
- '仪表盘': 'Dashboard',
- '订单管理': 'Orders',
- '用户管理': 'Users',
- 'AI 设置': 'AI Settings',
- '生产订单': 'Production orders',
- '退出': 'Sign out',
- '(协作工厂)': ' (Factory)',
- '(管理员)': ' (Admin)',
- '该账号无后台权限': 'This account has no admin access',
- '请输入用户名和密码': 'Enter username and password',
- '请填写用户名和密码': 'Enter username and password',
- '登录失败': 'Sign-in failed',
- '登录失败,请重试': 'Sign-in failed, please try again',
- /* ---- admin.js: dashboard & orders ---- */
- '订单总数': 'Total orders',
- '今日新增订单': 'New today',
- '待发货': 'To ship',
- '已支付金额': 'Paid amount',
- '注册用户': 'Registered users',
- '今日 AI 排版': 'AI layouts today',
- '最新订单': 'Latest orders',
- '全部订单 →': 'All orders →',
- '订单号': 'Order no.',
- '类型': 'Type',
- '规格': 'Spec',
- '规格摘要': 'Spec summary',
- '下单时间': 'Placed at',
- '下单': 'Placed',
- '操作': 'Actions',
- '搜索订单号': 'Search order no.',
- '搜索订单号 / 联系人 / 手机号': 'Search order no. / contact / phone',
- '搜索手机号 / 昵称': 'Search phone / nickname',
- '用户:': 'User:',
- '昵称': 'Nickname',
- '订单数': 'Orders',
- '消费额': 'Spent',
- 'AI 用量': 'AI usage',
- '注册时间': 'Registered',
- '正常': 'Active',
- '已禁用': 'Disabled',
- '禁用': 'Disable',
- '启用': 'Enable',
- 'AI 额度': 'AI quota',
- '查看订单': 'View orders',
- '工厂名称': 'Factory name',
- '分配订单数': 'Assigned orders',
- '创建时间': 'Created',
- '改名/重置密码': 'Rename / reset password',
- '工厂账号': 'Factory accounts',
- '+ 新建工厂账号': '+ New factory account',
- '一家协作工厂一个账号;订单在「订单详情 → 分配工厂」指定后,对应工厂才能看到该订单(用户隐私自动脱敏)': 'One account per partner factory. After a factory is assigned in Order details → Assign factory, only that factory can see the order (customer privacy is masked).',
- '新建工厂账号': 'New factory account',
- '创建': 'Create',
- '保存': 'Save',
- '登录用户名(3-30 位字母/数字/下划线)': 'Username (3-30 letters / digits / underscore)',
- '如 hangzhou-box': 'e.g. hangzhou-box',
- '工厂名称(对外显示)': 'Factory name (public)',
- '如 杭州彩印包装厂': 'e.g. Hangzhou Color Print Packaging',
- '初始密码(至少 6 位)': 'Initial password (min. 6 characters)',
- '重置密码(留空则不修改)': 'Reset password (leave blank to keep)',
- '至少 6 位': 'At least 6 characters',
- '新密码至少 6 位': 'New password must be at least 6 characters',
- '工厂用此账号在 admin.html 登录,仅见分配给它的订单': 'Factory signs in with this account on admin.html and only sees assigned orders',
- '工厂账号已创建': 'Factory account created',
- '工厂账号加载失败': 'Failed to load factory accounts',
- /* ---- admin.js: order drawer ---- */
- '尺寸': 'Size',
- '工艺': 'Finish',
- '盒型': 'Box type',
- '内尺寸': 'Inner size',
- '厚': 'Thickness',
- '印色': 'Print colors',
- '印刷方式': 'Print method',
- '摘要': 'Summary',
- '规格与金额': 'Spec & amount',
- '下单与联系': 'Order & contact',
- '收货地址': 'Shipping address',
- '用户备注': 'Customer note',
- '订单操作': 'Order actions',
- '分配工厂(分配后该工厂才能看到此订单)': 'Assign factory (it can see this order after assignment)',
- '未分配': 'Unassigned',
- '管理员备注': 'Admin note',
- '内部备注(用户不可见)': 'Internal note (hidden from customers)',
- '保存修改': 'Save changes',
- '生产图纸 PDF': 'Production drawing PDF',
- '矢量刀版 1:1': 'Vector dieline 1:1',
- 'CAD 预览': 'CAD preview',
- '设计稿': 'Artwork',
- '物流发货': 'Shipping',
- '快递公司(如 顺丰速运)': 'Carrier (e.g. SF Express)',
- '发货': 'Ship',
- '设计问题反馈': 'Design issue feedback',
- '工厂协作': 'Factory collaboration',
- '管理员': 'Admin',
- '工厂': 'Factory',
- '回复': 'Reply',
- '提交反馈': 'Submit feedback',
- '回复工厂…': 'Reply to factory…',
- '描述设计问题(如:正面文字超出安全区 2mm,建议内移…)': 'Describe the issue (e.g. front text exceeds the safe area by 2mm — move it inward…)',
- '如发现设计问题(出血不足、图文越界、工艺冲突等),请在下方提交,平台会转达用户。': 'If you spot design issues (insufficient bleed, text outside the safe area, process conflicts), submit below and the platform will relay it to the customer.',
- '工厂的反馈会显示在这里,可选择将问题整理成邮件通知用户。': 'Factory feedback appears here; you can turn it into an email to notify the customer.',
- '✉ 邮件通知用户(模板)': '✉ Email customer (template)',
- '操作时间线': 'Activity timeline',
- '邮件通知用户(模板已生成,可编辑)': 'Email customer (template ready, editable)',
- '发送': 'Send',
- '收件人:': 'To:',
- '未留邮箱': 'No email on file',
- '(未留邮箱)': '(No email on file)',
- '未配置 SMTP 或订单未留邮箱时,内容将存档到反馈线程,可复制到其他渠道': 'If SMTP is not configured or the order has no email, the content is archived to the feedback thread and can be copied elsewhere',
- '邮件主题': 'Email subject',
- '邮件正文(模板已按工厂反馈自动生成)': 'Email body (auto-generated from factory feedback)',
- '工厂 CAD 图纸': 'Factory CAD drawing',
- '滚轮缩放 · 拖拽平移 · 可点选图元查看图层': 'Scroll to zoom · Drag to pan · Click entities to inspect layers',
- '下载 DXF': 'Download DXF',
- /* ---- admin.js: statuses / toasts / config ---- */
- '订单加载失败': 'Failed to load orders',
- '用户加载失败': 'Failed to load users',
- '配置加载失败': 'Failed to load configuration',
- '详情加载失败': 'Failed to load details',
- 'AI 配置已保存': 'AI settings saved',
- '保存失败': 'Save failed',
- '已保存': 'Saved',
- '额度已保存': 'Quota saved',
- '额度已保存且用量已清零': 'Quota saved and usage reset',
- '操作失败': 'Operation failed',
- '已启用': 'Enabled',
- '请填写反馈/回复内容': 'Please enter feedback or a reply',
- '反馈已提交,等待平台处理': 'Feedback submitted — awaiting platform review',
- '回复已发送': 'Reply sent',
- '提交失败': 'Submit failed',
- '请填写邮件主题与内容': 'Please enter an email subject and body',
- '邮件已发送给用户': 'Email sent to customer',
- '该订单未留邮箱,可编辑存档内容供其他渠道使用': 'No email on file for this order — edit the archived content for other channels',
- '该订单未留邮箱,内容已存档到反馈线程': 'No email on file — content archived to the feedback thread',
- 'SMTP 未配置,内容已存档(可复制到其他渠道发送)': 'SMTP not configured — content archived (copy it to send elsewhere)',
- '发送失败': 'Failed to send',
- '请填写快递公司和运单号': 'Please enter the carrier and tracking number',
- '已发货并通知用户': 'Shipped and customer notified',
- '发货失败': 'Failed to ship',
- '生成失败': 'Generation failed',
- '下载失败': 'Download failed',
- 'CAD 预览加载失败': 'Failed to load CAD preview',
- 'CAD 图纸已下载': 'CAD drawing downloaded',
- '生产图纸已下载': 'Production drawing downloaded',
- '已下载': 'Downloaded',
- 'EPS 已下载:CorelDRAW 打开后「另存为 CDR」即得 .cdr 文件': 'EPS downloaded: open it in CorelDRAW and choose Save As CDR to get a .cdr file',
- '测试失败': 'Test failed',
- '未知错误': 'Unknown error',
- '保存配置': 'Save settings',
- '测试连通': 'Test connection',
- 'API 地址(Base URL,如 https://open.bigmodel.cn/api/paas/v4)': 'API URL (Base URL, e.g. https://open.bigmodel.cn/api/paas/v4)',
- '模型名(如 glm-4-flash / glm-4.6 / deepseek-chat)': 'Model name (e.g. glm-4-flash / glm-4.6 / deepseek-chat)',
- '留空保持不变': 'Leave blank to keep',
- '粘贴 API Key': 'Paste API key',
- 'AI 排版未启用:未配置 API Key': 'AI layout disabled: no API key configured',
- '配置存于数据库(后台即时生效,优先于部署环境变量)。支持任意 OpenAI 兼容接口:智谱 / ModelScope / DeepSeek / 自建 vLLM 等。': 'Settings are stored in the database (effective immediately, overriding deployment env vars). Any OpenAI-compatible API works: Zhipu / ModelScope / DeepSeek / self-hosted vLLM, etc.',
- '用量说明': 'Usage notes',
- '· 每位用户默认 20 次,在「用户管理 → AI 额度」按人调整(设 0 禁用)': '· Each user gets 20 runs by default; adjust per user in Users → AI quota (set 0 to disable)',
- '· 用户每次成功生成扣 1 次,失败不扣;仪表盘显示"今日 AI 排版"': '· Each successful generation costs 1 run; failures are free. The dashboard shows "AI layouts today"',
- '· Key 仅存储在服务端数据库,界面只回显打码值': '· Keys are stored only in the server database; the UI shows masked values',
- '取消': 'Cancel',
- '保存并清零用量': 'Save & reset usage',
- '登录已失效,请重新登录': 'Session expired, please sign in again'
- });
- D.rules.push(
- [/^共 (\d+) 位用户$/, function (m) { return m[1] + ' users'; }],
- [/^AI 排版额度 · (.+)$/, function (m) { return 'AI layout quota · ' + m[1]; }],
- [/^修改工厂账号((.+))$/, function (m) { return 'Edit factory account (' + m[1] + ')'; }],
- [/^订单 (.+)$/, function (m) { return 'Order ' + m[1]; }],
- [/^已用 (\d+) 次。设为 0 表示禁止该用户使用 AI 排版。$/, function (m) { return 'Used ' + m[1] + ' times. Set to 0 to disable AI layout for this user.'; }],
- [/^当前物流:(.+)$/, function (m) { return 'Tracking: ' + m[1]; }],
- [/^已发送邮件至 (.+)$/, function (m) { return 'Email sent to ' + m[1]; }],
- [/^邮件内容已存档((.+))$/, function (m) { return 'Email archived (' + m[1] + ')'; }],
- [/^主题:(.+)$/, function (m) { return 'Subject: ' + m[1]; }],
- [/^(当前:(.+),留空则不修改)$/, function (m) { return ' (current: ' + m[1] + ', leave blank to keep)'; }],
- [/^连通成功 · (.+)$/, function (m) { return 'Connected · ' + m[1]; }],
- [/^连通失败:(.+)$/, function (m) { return 'Connection failed: ' + m[1]; }],
- [/^AI 排版已启用(模型 (.+))$/, function (m) { return 'AI layout enabled (model ' + m[1] + ')'; }],
- [/^(已禁用)$/, function () { return ' (disabled)'; }],
- [/^用户:(.+)$/, function (m) { return 'User: ' + m[1]; }],
- [/^(\d+) 件$/, function (m) { return m[1] + ' pcs'; }],
- [/^发送失败已存档:(.+)$/, function (m) { return 'Send failed, archived: ' + m[1]; }]
- );
- })(window.PLI18N_EN);
- /* 批次 6:studio 动态面板 / box 面板与提示 / m / auth / agent / admin 补充 / SVG 标注 */
- (function (D) {
- Object.assign(D.dict, {
- /* ---- studio.html 动态面板 ---- */
- 'Logo 请使用 1 色或透明背景 PNG;图片会自动等比缩放。上传后可在右侧属性面板调整「填满 / 完整显示」与单色印刷。': 'Use a 1-color or transparent PNG logo; images scale proportionally. After upload, adjust “Cover / Contain” and single-color printing in the right panel.',
- 'PNG · JPG · SVG · 建议 ≥ 1000px': 'PNG · JPG · SVG · Recommended ≥ 1000px',
- '一键清空全部': 'Clear all',
- '位置与尺寸': 'Position & size',
- '使用建议': 'Tips',
- '保存后可随时切换不同设计方案,最多 12 个。': 'Save designs and switch between up to 12 at any time.',
- '刀版线外 3mm 为出血位,重要文字请放在安全区内。': 'Keep 3 mm bleed beyond the die line; place key text inside the safe area.',
- '切换尺寸或数量后价格会实时更新。': 'Price updates instantly when size or quantity changes.',
- '删除图层': 'Delete layer',
- '删除方案': 'Delete design',
- '副标题': 'Subheading',
- '单色印刷': 'Single-color print',
- '印刷底色': 'Print background',
- '印刷画布': 'Print canvas',
- '圆角': 'Corner radius',
- '基础图形': 'Basic shapes',
- '填充': 'Fill',
- '填充方式': 'Fill mode',
- '填写网址、微信号或任意文字即可生成二维码;保留浅色底可提高扫码成功率。': 'Enter a URL, WeChat ID or any text to generate a QR code; a light background improves scan reliability.',
- '填满裁切': 'Cover (crop)',
- '复制到': 'Copy to',
- '复制到另一面': 'Copy to other side',
- '外观': 'Appearance',
- '大标题': 'Headline',
- '字体': 'Font',
- '字体 Aa': 'Font Aa',
- '字号 mm': 'Size (mm)',
- '字距': 'Letter spacing',
- '完整显示': 'Contain (fit)',
- '平台素材': 'Platform assets',
- '当前袋型': 'Current pouch type',
- '当前面': 'Current side',
- '我的方案': 'My designs',
- '报价': 'Quote',
- '拖动四角可等比缩放。': 'Drag a corner to scale proportionally.',
- '描边宽': 'Stroke width',
- '无底色': 'No background',
- '无衬线大写字母': 'Sans-serif caps',
- '显示刀版线': 'Show die line',
- '显示图层': 'Show layers',
- '显示数字': 'Show numbers',
- '替换图片': 'Replace image',
- '最近上传': 'Recent uploads',
- '条码 / SKU': 'Barcode / SKU',
- '正文': 'Body text',
- '浅色底': 'Light background',
- '添加二维码': 'Add QR code',
- '添加文字': 'Add text',
- '添加条码': 'Add barcode',
- '点击上传,或拖入图片': 'Click to upload or drop an image',
- '点击应用或新建': 'Apply or create new',
- '点击放置到画布': 'Click to place on canvas',
- '环文字号': 'Arc text size',
- '画布工具': 'Canvas tools',
- '码点颜色': 'Module color',
- '素材为矢量图标,可任意缩放;拖动四角等比调整大小。': 'Vector icons scale freely; drag a corner to resize proportionally.',
- '给当前设计起个名字': 'Name this design',
- '自定义底色': 'Custom background',
- '英文标题': 'English title',
- '行高': 'Line height',
- '补充口味或卖点': 'Add flavor or selling point',
- '贴纸': 'Sticker',
- '贴纸库': 'Sticker library',
- '载入': 'Load',
- '载入方案': 'Load design',
- '输入 12–13 位数字会生成真实 EAN-13 校验位;输入链接或文字会生成稳定条码。': '12–13 digits generate a valid EAN-13 check digit; a link or text produces a stable barcode.',
- '返回设置': 'Back to settings',
- '这一面还没有图层': 'No layers on this side yet',
- '适合品牌名 / 产品名': 'For brand / product name',
- '配料、说明与信息': 'Ingredients, instructions & info',
- '隐藏图层': 'Hide layer',
- '高度': 'Height',
- '高度(自动)': 'Height (auto)',
- 'AI 结果直接应用到画布,可随时撤销(⌘Z)。每次生成消耗 1 次额度。': 'AI results apply directly to the canvas and can be undone (⌘Z). Each generation uses 1 credit.',
- '袋型、尺寸、材质与数量都会影响最终报价。': 'Pouch type, size, material and quantity all affect the final quote.',
- '实时报价': 'Live quote',
- '个 · 100 起订': 'pcs · MOQ 100',
- '旋转 °': 'Rotation °',
- '正面 / 背面': 'Front / Back',
- '已删除 · 可撤销': 'Deleted · Undoable',
- '已清空全部设计 · 可撤销': 'All designs cleared · Undoable',
- '已切换袋型,设计已等比适配': 'Pouch type switched, design scaled to fit',
- '登录后可用 AI 排版': 'Sign in to use AI layout',
- 'AI 排版已应用,可继续提修改意见': 'AI layout applied. Ask for further changes anytime.',
- '设计已保存到本地': 'Design saved locally',
- 'AI 排版(登录后可用)': 'AI layout (sign-in required)',
- /* ---- box.html 面板与提示 ---- */
- '上传图片': 'Upload image',
- '上传的稿件会放置到当前选中的面': 'Uploads are placed on the currently selected side',
- '从上传记录中移除': 'Remove from uploads',
- '外尺寸': 'Outer size',
- '内尺寸': 'Inner size',
- '扩充容量': 'Expand storage',
- '支持上传JPG/PNG/SVG等格式文件': 'Supports JPG / PNG / SVG files',
- '演示环境:容量为本地浏览器存储模拟': 'Demo: storage is simulated in your browser',
- '请输入内容': 'Enter content',
- '添加到当前面': 'Add to current side',
- '开孔': 'Hole',
- '整套 6 面': 'all 6 faces',
- '(外侧)': ' (outer)',
- '(内侧)': ' (inner)',
- '裁切线': 'Cut line',
- '折叠线': 'Fold line',
- '防尘翼/插舌(不印刷)': 'Dust flap / tuck (no print)',
- '模型ID': 'Model ID',
- '1. 在「盒型」面板选择盒型与尺寸,或点「编辑」打开智能参数宝精确调参;': '1. Choose a box type and size in the “Box” panel, or click “Edit” to fine-tune with the smart parameter tool;',
- '2. 在 2D 设计里点选面,用「文字 / 素材 / 上传」添加内容,右侧换颜色与纹理;': '2. In 2D design, click a face and add content with “Text / Assets / Upload”; change colors and textures on the right;',
- '3. 切到「3D预览」拖拽查看,播放动效,最后「导出」或「印刷下单」。': '3. Switch to “3D Preview” to drag, rotate and play animations, then “Export” or “Order print”.',
- 'Ctrl/⌘ + S 保存': 'Ctrl/⌘ + S Save',
- 'Ctrl/⌘ + Shift + Z 重做': 'Ctrl/⌘ + Shift + Z Redo',
- 'Ctrl/⌘ + Z 撤销': 'Ctrl/⌘ + Z Undo',
- 'Delete 删除选中元素': 'Delete Remove selected element',
- 'Tab 切换外侧 / 内侧': 'Tab Switch outer / inner',
- '空格拖拽 平移画布': 'Space + drag Pan canvas',
- '前面': 'Front',
- '右面': 'Right',
- '左面': 'Left',
- /* ---- m.html ---- */
- '+ 直接下单': '+ Order now',
- '← 返回列表': '← Back to list',
- '「做一个 140×210 的咖啡袋,牛皮纸,极简风,200 个」': '“Design a 140×210 coffee pouch, kraft paper, minimal style, 200 pcs”',
- '加载中…': 'Loading…',
- '加载失败': 'Load failed',
- '在「AI 设计」里出稿后一键下单,或直接快速下单。': 'Generate a design in “AI Design” and order in one tap, or order directly.',
- '手机版 · 完整设计工作台请用电脑访问 studio.html / box.html': 'Mobile edition · For the full design workspace, visit studio.html / box.html on desktop',
- '收货人': 'Recipient',
- '生产 / 物流轨迹': 'Production / logistics timeline',
- '电话': 'Phone',
- /* ---- auth / agent ---- */
- '发送失败,请稍后再试': 'Failed to send. Please try again later.',
- '我会逐步选型、定尺寸、配材质并生成图案,右侧实时预览,满意后点「去微调」。': 'I’ll pick the type, size and material step by step, generate artwork, and preview it live on the right. Tap “Fine-tune” when you are happy.',
- /* ---- admin 补充 ---- */
- '📊 仪表盘': '📊 Dashboard',
- '📦 订单管理': '📦 Orders',
- '📦 生产订单': '📦 Production',
- '👥 用户管理': '👥 Users',
- '🤖 AI 设置': '🤖 AI settings',
- '状态': 'Status',
- '支付': 'Payment',
- 'EPS 矢量(CorelDRAW 原生导入,另存为 CDR 即得 .cdr 文件)': 'EPS vector (imports natively in CorelDRAW; save as CDR to get a .cdr file)',
- 'mm 实尺矢量刀版,CorelDRAW/Illustrator 可直接打开编辑(CDR 交付替代)': 'Actual-size vector die line (mm), editable directly in CorelDRAW/Illustrator (CDR alternative)',
- 'CAD 图纸获取失败': 'Failed to get CAD drawing',
- 'CAD 预览加载失败': 'Failed to load CAD preview',
- 'CAD 图纸已下载': 'CAD drawing downloaded',
- '正在生成 CAD 图纸…': 'Generating CAD drawing…',
- '正在生成生产图纸…': 'Generating production PDF…',
- '生产图纸已下载': 'Production PDF downloaded',
- '生成失败': 'Generation failed',
- '该订单未留邮箱,可编辑存档内容供其他渠道使用': 'No email on this order; edit the archived content for other channels',
- '该订单未留邮箱,内容已存档到反馈线程': 'No email on this order; content archived to the feedback thread',
- '(未留邮箱)': '(no email)',
- /* ---- 数据/素材标签 ---- */
- '局部 UV': 'Spot UV'
- });
- var SIDE = { '正面': 'Front', '背面': 'Back', '前面': 'Front', '后面': 'Back', '左面': 'Left', '右面': 'Right', '顶面': 'Top', '底面': 'Bottom', '左': 'L', '右': 'R', '顶': 'T', '底': 'B', '正': 'Front', '背': 'Back' };
- function side(s) { return SIDE[s] || s; }
- D.rules.push(
- /* studio 动态文案 */
- [/^下一步 · ¥([\d.]+)$/, function (m) { return 'Next · ¥' + m[1]; }],
- [/^提交订单 · ¥([\d.]+)$/, function (m) { return 'Place order · ¥' + m[1]; }],
- [/^合计 · (\d+) 个$/, function (m) { return 'Total · ' + m[1] + ' pcs'; }],
- [/^图层 · (正面|背面)$/, function (m) { return 'Layers · ' + side(m[1]); }],
- [/^(\d+) 个$/, function (m) { return m[1] + ' pcs'; }],
- [/^不透明度 (\d+)%$/, function (m) { return 'Opacity ' + m[1] + '%'; }],
- [/^方案已保存 · (.+)$/, function (m) { return 'Design saved · ' + m[1]; }],
- [/^已保存 (\d{2}:\d{2})$/, function (m) { return 'Saved ' + m[1]; }],
- [/^已载入方案 · (.+)$/, function (m) { return 'Design loaded · ' + m[1]; }],
- [/^已选择「(.+)」$/, function (m) { return 'Selected “' + m[1] + '”'; }],
- [/^已套用模板「(.+)」· 可撤销$/, function (m) { return 'Template “' + m[1] + '” applied · Undoable'; }],
- [/^复制到(正面|背面)$/, function (m) { return 'Copy to ' + side(m[1]); }],
- [/^已复制到(正面|背面)$/, function (m) { return 'Copied to ' + side(m[1]); }],
- [/^已清空(正面|背面) · 可撤销$/, function (m) { return 'Cleared ' + side(m[1]) + ' · Undoable'; }],
- [/^(\d+) × (\d+) mm · 正面预览$/, function (m) { return m[1] + ' × ' + m[2] + ' mm · Front preview'; }],
- [/^描述你想要的排版/, function () { return 'Describe the layout you want, e.g.:\nMinimal coffee packaging, warm beige base, serif brand name on top, coffee-bean sticker in the middle, one line of English slogan at the bottom\nAfter generating you can say: make the text bigger / switch to a dark background'; }],
- /* box 提示与操作反馈 */
- [/^当前面有 (\d+) 个图层,全部面共 (\d+) 个图层。$/, function (m) { return 'This side has ' + m[1] + ' layers; ' + m[2] + ' in total across all sides.'; }],
- [/^(.*) · (\d+) 个图层$/, function (m) { return (SIDE[m[1]] || m[1]) + ' · ' + m[2] + ' layers'; }],
- [/^个人已使用 ([\d.]+)M\/100M$/, function (m) { return 'Used ' + m[1] + 'M / 100M'; }],
- [/^素材已添加到「(.+)」$/, function (m) { return 'Asset added to “' + (SIDE[m[1]] || m[1]) + '”'; }],
- [/^已切换到「(.+)」$/, function (m) { return 'Switched to “' + (D.dict[m[1]] || m[1]) + '”'; }],
- [/^模板「(.+)」已套用到(.+)$/, function (m) { return 'Template “' + (D.dict[m[1]] || m[1]) + '” applied to ' + (D.dict[m[2]] || m[2]); }],
- [/^✨ AI 排版 · (.+)$/, function (m) { return '✨ AI Layout · ' + m[1]; }],
- [/^AI 已完成整套 6 面设计(剩余 (\d+) 次),可撤销$/, function (m) { return 'AI finished all 6 faces (' + m[1] + ' left) · Undoable'; }],
- [/^AI 排版已应用到(.+)(剩余 (\d+) 次),可撤销$/, function (m) { return 'AI layout applied to ' + m[1] + ' (' + m[2] + ' left) · Undoable'; }],
- [/^已清空「(.+)」图层$/, function (m) { return 'Cleared layers on “' + (SIDE[m[1]] || m[1]) + '”'; }],
- [/^清空当前面((\d+))$/, function (m) { return 'Clear current side (' + m[1] + ')'; }],
- [/^正在录制「(.+)」([\d.]+)s…$/, function (m) { return 'Recording “' + m[1] + '” for ' + m[2] + 's…'; }],
- [/^已创建副本:(.+)$/, function (m) { return 'Duplicate created: ' + m[1]; }],
- [/^已打开「(.+)」$/, function (m) { return 'Opened “' + m[1] + '”'; }],
- [/^模型ID: (.+)$/, function (m) { return 'Model ID: ' + m[1]; }],
- /* SVG 刀版标注(data-ui) */
- [/^折边 (\d+)$/, function (m) { return 'Fold ' + m[1]; }],
- [/^封边 (\d+)$/, function (m) { return 'Seal ' + m[1]; }],
- [/^面 ([\d.]+) × ([\d.]+) mm$/, function (m) { return 'Face ' + m[1] + ' × ' + m[2] + ' mm'; }],
- [/^Ø([\d.]+) 开孔$/, function (m) { return 'Ø' + m[1] + ' hole'; }],
- [/^(正|背|左|右|顶|底) (\d+) × (\d+)$/, function (m) { return side(m[1]) + ' ' + m[2] + ' × ' + m[3]; }],
- /* auth / admin 补充 */
- [/^离线演示验证码:(\d+)$/, function (m) { return 'Offline demo code: ' + m[1]; }],
- [/^API Key(未配置)$/, function () { return 'API Key (not configured)'; }],
- [/^收件人:(.+?) — 未配置 SMTP 或订单未留邮箱时,内容将存档到反馈线程,可复制到其他渠道$/, function (m) { return 'To: ' + m[1] + ' — If SMTP is not configured or the order has no email, content is archived to the feedback thread and can be copied elsewhere'; }]
- );
- })(window.PLI18N_EN);
- /* 批次 7:刀版组合标注 */
- (function (D) {
- D.rules.push(
- [/^(内侧设计 · 镜像|外侧设计) · 模型ID (.+)$/, function (m) {
- return (m[1] === '外侧设计' ? 'Outside design' : 'Inside design · mirrored') + ' · Model ID ' + m[2];
- }]
- );
- })(window.PLI18N_EN);
- /* 批次 8:订单详情材质行 */
- (function (D) {
- D.rules.push(
- [/^(.+) · 厚 (.+)$/, function (m) { return (D.dict[m[1]] || m[1]) + ' · ' + m[2] + ' thick'; }]
- );
- })(window.PLI18N_EN);
- /* 批次 9:价格单位、数量、页面标题组合串 */
- (function (D) {
- Object.assign(D.dict, {
- " / 个起": " / pc+",
- "个起": "pc+"
- });
- D.rules.push(
- [/^(.+) — 袋研社 POUCHLAB$/, function (m) { return (D.dict[m[1]] || m[1]) + ' — Steady Packaging'; }],
- [/^(.+) — Steady Packaging$/, function (m) { return (D.dict[m[1]] || m[1]) + ' — Steady Packaging'; }],
- [/^¥([\d,.]+) \/ 个$/, function (m) { return '$' + m[1] + ' / pc'; }],
- [/^¥([\d,.]+) \/ (\d[\d,]*) 个$/, function (m) { return '$' + m[1] + ' / ' + m[2] + ' pcs'; }],
- [/^(¥([\d,.]+)\/个)$/, function (m) { return ' ($' + m[1] + '/pc)'; }],
- [/^\/ (\d[\d,]*) 个$/, function (m) { return '/ ' + m[1] + ' pcs'; }],
- [/^(.+) — 3D云设计编辑器 · 袋研社$/, function (m) { return (D.dict[m[1]] || m[1]) + ' — 3D Box Designer · Steady'; }],
- [/^(.+) — 3D 云设计编辑器 · Steady$/, function (m) { return (D.dict[m[1]] || m[1]) + ' — 3D Box Designer · Steady'; }],
- [/^(正面|背面|前面|后面|左面|右面|顶面|底面)\s+([\d.]+ × [\d.]+)( mm)?$/, function (m) { return (D.dict[m[1]] || m[1]) + ' ' + m[2] + (m[3] || ''); }],
- [/^展开\s+([\d.]+ × [\d.]+)( mm)?$/, function (m) { return 'Flat ' + m[1] + (m[2] || ''); }],
- [/^(.+) · (\d[\d,]*) 个$/, function (m) { return (D.dict[m[1]] || m[1]) + ' · ' + m[2] + ' pcs'; }],
- [/^(\d[\d,]*) 个$/, function (m) { return m[1] + ' pcs'; }]
- );
- })(window.PLI18N_EN);
- /* 批次 11:邮箱账号体系 */
- (function (D) {
- Object.assign(D.dict, {
- "邮箱登录": "Email sign-in", "密码登录": "Password", "手机号(旧)": "Phone (legacy)",
- "邮箱": "Email", "请输入正确的邮箱地址": "Enter a valid email address",
- "请输入密码": "Enter your password", "登录密码": "Password",
- "name@example.com": "name@example.com", "至少 8 位,含字母和数字": "8+ chars, letters and digits",
- "输入邮箱获取验证码登录;演示环境验证码会直接弹出显示。": "Enter your email to get a code. In demo mode the code is shown in a popup.",
- "未设置密码的账号请用邮箱验证码登录。": "Accounts without a password — use the email code tab.",
- "老手机号验证码登录;登录后需绑定邮箱。": "Legacy phone sign-in; an email must be bound afterwards.",
- "绑定邮箱": "Bind Email",
- "为保障订单通知与账号安全,请先绑定邮箱。绑定后方可继续使用。": "For order notifications and account security, bind your email first. You can continue after binding.",
- "确认绑定": "Bind", "绑定中…": "Binding…", "邮箱已绑定": "Email bound", "绑定失败,请重试": "Binding failed — try again",
- "验证码已发送,请查收邮件/短信": "Code sent — check your email/SMS",
- "账户设置": "Account", "旧密码": "Current password", "新密码": "New password", "确认新密码": "Confirm password",
- "旧密码(首次设置无需填写)": "Current password (leave empty for first setup)",
- "保存密码": "Save password", "密码已保存": "Password saved", "保存失败,请重试": "Save failed — try again",
- "两次输入的密码不一致": "Passwords do not match",
- "密码需至少 8 位且包含字母和数字": "Password must be at least 8 characters with letters and digits",
- "去绑定邮箱": "Bind your email", "尚未绑定邮箱": "No email bound yet",
- "邮箱:": "Email: ", "已设置密码": "password set", "未设置密码": "no password",
- "手机号 ": "Phone ", "演示账号": "demo account",
- "搜索手机号 / 邮箱 / 昵称": "Search phone / email / nickname",
- "该邮箱已被其他账号绑定": "This email is already linked to another account"
- });
- D.rules.push(
- [/^邮箱:(.+?)\s*·\s*(已设置密码|未设置密码)$/, function (m) { return 'Email: ' + m[1] + ' · ' + D.dict[m[2]]; }],
- [/^尚未绑定邮箱(手机号 (.+))$/, function (m) { return 'No email bound yet (Phone ' + m[1] + ')'; }],
- [/^尚未绑定邮箱(演示账号)$/, function () { return 'No email bound yet (demo account)'; }],
- [/^手机号 (.+)$/, function (m) { return 'Phone ' + m[1]; }]
- );
- })(window.PLI18N_EN);
- /* __MORE_ENTRIES__ */
|