From cdb7167101c21b2373dcfc4161dd69b723708745 Mon Sep 17 00:00:00 2001 From: jack Date: Mon, 2 Mar 2026 20:34:35 +0800 Subject: [PATCH] Add Chinese web UI templates Made-with: Cursor --- doc/zy_CN/index.html.in | 52 +++++++++++++ templates/zh_CN/add-class.tmpl | 37 +++++++++ templates/zh_CN/add-printer.tmpl | 44 +++++++++++ templates/zh_CN/admin.tmpl | 77 +++++++++++++++++++ templates/zh_CN/choose-device.tmpl | 49 ++++++++++++ templates/zh_CN/choose-make.tmpl | 61 +++++++++++++++ templates/zh_CN/choose-model.tmpl | 58 ++++++++++++++ templates/zh_CN/choose-serial.tmpl | 49 ++++++++++++ templates/zh_CN/choose-uri.tmpl | 40 ++++++++++ templates/zh_CN/class-added.tmpl | 3 + templates/zh_CN/class-confirm.tmpl | 6 ++ templates/zh_CN/class-deleted.tmpl | 3 + templates/zh_CN/class-jobs-header.tmpl | 1 + templates/zh_CN/class-modified.tmpl | 3 + templates/zh_CN/class.tmpl | 41 ++++++++++ templates/zh_CN/classes-header.tmpl | 1 + templates/zh_CN/classes.tmpl | 11 +++ templates/zh_CN/command.tmpl | 8 ++ templates/zh_CN/edit-config.tmpl | 20 +++++ templates/zh_CN/error-op.tmpl | 6 ++ templates/zh_CN/error.tmpl | 5 ++ templates/zh_CN/header.tmpl.in | 35 +++++++++ templates/zh_CN/help-header.tmpl | 44 +++++++++++ templates/zh_CN/help-printable.tmpl | 9 +++ templates/zh_CN/help-trailer.tmpl | 0 templates/zh_CN/job-cancel.tmpl | 3 + templates/zh_CN/job-hold.tmpl | 3 + templates/zh_CN/job-move.tmpl | 23 ++++++ templates/zh_CN/job-moved.tmpl | 5 ++ templates/zh_CN/job-release.tmpl | 3 + templates/zh_CN/job-restart.tmpl | 3 + templates/zh_CN/jobs-header.tmpl | 5 ++ templates/zh_CN/jobs.tmpl | 36 +++++++++ templates/zh_CN/list-available-printers.tmpl | 7 ++ templates/zh_CN/modify-class.tmpl | 31 ++++++++ templates/zh_CN/modify-printer.tmpl | 39 ++++++++++ templates/zh_CN/norestart.tmpl | 4 + templates/zh_CN/option-boolean.tmpl | 6 ++ templates/zh_CN/option-conflict.tmpl | 7 ++ templates/zh_CN/option-header.tmpl | 5 ++ templates/zh_CN/option-pickmany.tmpl | 6 ++ templates/zh_CN/option-pickone.tmpl | 18 +++++ templates/zh_CN/option-trailer.tmpl | 5 ++ templates/zh_CN/pager.tmpl | 7 ++ templates/zh_CN/printer-accept.tmpl | 5 ++ templates/zh_CN/printer-added.tmpl | 4 + templates/zh_CN/printer-cancel-jobs.tmpl | 5 ++ templates/zh_CN/printer-configured.tmpl | 4 + templates/zh_CN/printer-confirm.tmpl | 5 ++ templates/zh_CN/printer-default.tmpl | 7 ++ templates/zh_CN/printer-deleted.tmpl | 3 + templates/zh_CN/printer-jobs-header.tmpl | 1 + templates/zh_CN/printer-modified.tmpl | 4 + templates/zh_CN/printer-reject.tmpl | 5 ++ templates/zh_CN/printer-start.tmpl | 5 ++ templates/zh_CN/printer-stop.tmpl | 5 ++ templates/zh_CN/printer.tmpl | 43 +++++++++++ templates/zh_CN/printers-header.tmpl | 1 + templates/zh_CN/printers.tmpl | 11 +++ templates/zh_CN/restart.tmpl | 4 + templates/zh_CN/search.tmpl | 10 +++ .../zh_CN/set-printer-options-header.tmpl | 24 ++++++ .../zh_CN/set-printer-options-trailer.tmpl | 14 ++++ templates/zh_CN/test-page.tmpl | 4 + templates/zh_CN/trailer.tmpl | 5 ++ templates/zh_CN/users.tmpl | 27 +++++++ 66 files changed, 1075 insertions(+) create mode 100644 doc/zy_CN/index.html.in create mode 100644 templates/zh_CN/add-class.tmpl create mode 100644 templates/zh_CN/add-printer.tmpl create mode 100644 templates/zh_CN/admin.tmpl create mode 100644 templates/zh_CN/choose-device.tmpl create mode 100644 templates/zh_CN/choose-make.tmpl create mode 100644 templates/zh_CN/choose-model.tmpl create mode 100644 templates/zh_CN/choose-serial.tmpl create mode 100644 templates/zh_CN/choose-uri.tmpl create mode 100644 templates/zh_CN/class-added.tmpl create mode 100644 templates/zh_CN/class-confirm.tmpl create mode 100644 templates/zh_CN/class-deleted.tmpl create mode 100644 templates/zh_CN/class-jobs-header.tmpl create mode 100644 templates/zh_CN/class-modified.tmpl create mode 100644 templates/zh_CN/class.tmpl create mode 100644 templates/zh_CN/classes-header.tmpl create mode 100644 templates/zh_CN/classes.tmpl create mode 100644 templates/zh_CN/command.tmpl create mode 100644 templates/zh_CN/edit-config.tmpl create mode 100644 templates/zh_CN/error-op.tmpl create mode 100644 templates/zh_CN/error.tmpl create mode 100644 templates/zh_CN/header.tmpl.in create mode 100644 templates/zh_CN/help-header.tmpl create mode 100644 templates/zh_CN/help-printable.tmpl create mode 100644 templates/zh_CN/help-trailer.tmpl create mode 100644 templates/zh_CN/job-cancel.tmpl create mode 100644 templates/zh_CN/job-hold.tmpl create mode 100644 templates/zh_CN/job-move.tmpl create mode 100644 templates/zh_CN/job-moved.tmpl create mode 100644 templates/zh_CN/job-release.tmpl create mode 100644 templates/zh_CN/job-restart.tmpl create mode 100644 templates/zh_CN/jobs-header.tmpl create mode 100644 templates/zh_CN/jobs.tmpl create mode 100644 templates/zh_CN/list-available-printers.tmpl create mode 100644 templates/zh_CN/modify-class.tmpl create mode 100644 templates/zh_CN/modify-printer.tmpl create mode 100644 templates/zh_CN/norestart.tmpl create mode 100644 templates/zh_CN/option-boolean.tmpl create mode 100644 templates/zh_CN/option-conflict.tmpl create mode 100644 templates/zh_CN/option-header.tmpl create mode 100644 templates/zh_CN/option-pickmany.tmpl create mode 100644 templates/zh_CN/option-pickone.tmpl create mode 100644 templates/zh_CN/option-trailer.tmpl create mode 100644 templates/zh_CN/pager.tmpl create mode 100644 templates/zh_CN/printer-accept.tmpl create mode 100644 templates/zh_CN/printer-added.tmpl create mode 100644 templates/zh_CN/printer-cancel-jobs.tmpl create mode 100644 templates/zh_CN/printer-configured.tmpl create mode 100644 templates/zh_CN/printer-confirm.tmpl create mode 100644 templates/zh_CN/printer-default.tmpl create mode 100644 templates/zh_CN/printer-deleted.tmpl create mode 100644 templates/zh_CN/printer-jobs-header.tmpl create mode 100644 templates/zh_CN/printer-modified.tmpl create mode 100644 templates/zh_CN/printer-reject.tmpl create mode 100644 templates/zh_CN/printer-start.tmpl create mode 100644 templates/zh_CN/printer-stop.tmpl create mode 100644 templates/zh_CN/printer.tmpl create mode 100644 templates/zh_CN/printers-header.tmpl create mode 100644 templates/zh_CN/printers.tmpl create mode 100644 templates/zh_CN/restart.tmpl create mode 100644 templates/zh_CN/search.tmpl create mode 100644 templates/zh_CN/set-printer-options-header.tmpl create mode 100644 templates/zh_CN/set-printer-options-trailer.tmpl create mode 100644 templates/zh_CN/test-page.tmpl create mode 100644 templates/zh_CN/trailer.tmpl create mode 100644 templates/zh_CN/users.tmpl diff --git a/doc/zy_CN/index.html.in b/doc/zy_CN/index.html.in new file mode 100644 index 0000000000..085a6912e3 --- /dev/null +++ b/doc/zy_CN/index.html.in @@ -0,0 +1,52 @@ + + + + + + + + + + 首页 - CUPS @CUPS_VERSION@ + + +
+ +
+
+
+

CUPS @CUPS_VERSION@

+

CUPS 是由 OpenPrinting 为 Linux® 及其他 Unix® 类操作系统开发的标准开源打印系统。CUPS 使用 IPP Everywhere™ 支持本地与网络打印机。

+
+ +
+ + + diff --git a/templates/zh_CN/add-class.tmpl b/templates/zh_CN/add-class.tmpl new file mode 100644 index 0000000000..b5ab712383 --- /dev/null +++ b/templates/zh_CN/add-class.tmpl @@ -0,0 +1,37 @@ +

添加类

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + +
名称:
+(可包含除 "/"、"#"、空格外的可打印字符)
说明:
+(人类可读的说明,如"双面 HP LaserJet")
位置:
+(人类可读的位置,如"实验室 1")
成员: + +
+ +
diff --git a/templates/zh_CN/add-printer.tmpl b/templates/zh_CN/add-printer.tmpl new file mode 100644 index 0000000000..4d03a479a6 --- /dev/null +++ b/templates/zh_CN/add-printer.tmpl @@ -0,0 +1,44 @@ +

添加新打印机

+ +
+ + + + + + +{?current_make!?:} +{?current_make_and_model!?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称:
+(可包含除 "/"、"#"、空格外的可打印字符)
说明:
+(人类可读的说明,如"双面 HP LaserJet")
位置:
+(人类可读的位置,如"实验室 1")
连接:{device_uri}
共享: +
+ +
diff --git a/templates/zh_CN/admin.tmpl b/templates/zh_CN/admin.tmpl new file mode 100644 index 0000000000..f80aeeb2ab --- /dev/null +++ b/templates/zh_CN/admin.tmpl @@ -0,0 +1,77 @@ +
+
+

打印机

+ +

+

+
+
+

+ +

+ +

+

+
+

+ +

作业

+ +

+

+

+
+
+

服务器

+ +

+

+

+ + {SETTINGS_ERROR?

{SETTINGS_MESSAGE}

+
{SETTINGS_ERROR}
: + +
+ + + {ADVANCEDSETTINGS?

服务器设置\:

+ +

高级
+ + +
+         最大客户端数\: +
+         
+         
+
+ {have_gssapi?
:} +
+
+         最大作业数 (0 表示无限制)\: +
+         保留元数据\: +
+         保留文档\: +
+
+         最大日志文件大小\: +

+ + :

服务器设置:

+ +

高级
+ +
+         
+
+ {have_gssapi?
:} +
+

+ + } +

+ +
} +
+
diff --git a/templates/zh_CN/choose-device.tmpl b/templates/zh_CN/choose-device.tmpl new file mode 100644 index 0000000000..9ee9ea48e9 --- /dev/null +++ b/templates/zh_CN/choose-device.tmpl @@ -0,0 +1,49 @@ +

{op=modify-printer?修改 {printer_name}:添加打印机}

+ +{CUPS_GET_DEVICES_DONE?
+ + +{printer_name?:} + + +{op=add-printer?: + + +} + + + + + + + + + + + + + + + + + +
当前连接\: +
本地打印机\: +{[device_uri]{device_class!network? +
+:}} +
发现的网络打印机\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://? +
+:}:}} +
其他网络打印机\: +{[device_uri]{device_class=network?{device_uri~[a-z]+://?: +
+}:}} +
+ +
:

正在搜索打印机...

} diff --git a/templates/zh_CN/choose-make.tmpl b/templates/zh_CN/choose-make.tmpl new file mode 100644 index 0000000000..291b650c50 --- /dev/null +++ b/templates/zh_CN/choose-make.tmpl @@ -0,0 +1,61 @@ +

{op=modify-printer?修改 {printer_name}:添加打印机}

+ +
+ + +{printer_name?:} + + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称:{printer_name}
说明:{printer_info}
位置:{printer_location}
连接:{device_uri}
共享: +{?printer_is_shared=?不共享此打印机:{?printer_is_shared=0?不共享此打印机:共享此打印机}}
制造商: + +
 
或提供 PPD 文件:
+ +
diff --git a/templates/zh_CN/choose-model.tmpl b/templates/zh_CN/choose-model.tmpl new file mode 100644 index 0000000000..4354c90ceb --- /dev/null +++ b/templates/zh_CN/choose-model.tmpl @@ -0,0 +1,58 @@ +

{op=modify-printer?修改 {printer_name}:添加打印机}

+ +
+ + +{printer_name?:} + + + + + +{op=modify-printer?: + + +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称:{printer_name}
说明:{printer_info}
位置:{printer_location}
连接:{device_uri}
共享: +{?printer_is_shared=?不共享此打印机:{?printer_is_shared=0?不共享此打印机:共享此打印机}}
制造商:{PPD_MAKE}
型号: + +
或提供 PPD 文件:
+ +
diff --git a/templates/zh_CN/choose-serial.tmpl b/templates/zh_CN/choose-serial.tmpl new file mode 100644 index 0000000000..d7e31ca103 --- /dev/null +++ b/templates/zh_CN/choose-serial.tmpl @@ -0,0 +1,49 @@ +

{op=modify-printer?修改 {printer_name}:添加打印机}

+ +
+ + +{printer_name?:} + + + + + + + + + + + + + + + + + + + + + + + + + + +
连接:{device_uri}
波特率:
奇偶校验:
数据位:
流控制:
+ +
diff --git a/templates/zh_CN/choose-uri.tmpl b/templates/zh_CN/choose-uri.tmpl new file mode 100644 index 0000000000..75acbd2b20 --- /dev/null +++ b/templates/zh_CN/choose-uri.tmpl @@ -0,0 +1,40 @@ +

{op=modify-printer?修改 {printer_name}:添加打印机}

+ +
+ + +{printer_name?:} + + + + + + + + + + + + + + + +
连接:
例: +
+    http://hostname:631/ipp/
+    http://hostname:631/ipp/port1
+
+    ipp://hostname/ipp/
+    ipp://hostname/ipp/port1
+
+    lpd://hostname/queue
+
+    socket://hostname
+    socket://hostname:9100
+
+ +

有关适合您打印机的 URI,请参阅《网络打印机》

+ +
+ +
diff --git a/templates/zh_CN/class-added.tmpl b/templates/zh_CN/class-added.tmpl new file mode 100644 index 0000000000..c8a87066ae --- /dev/null +++ b/templates/zh_CN/class-added.tmpl @@ -0,0 +1,3 @@ +

添加类

+ +

{printer_name} 已添加成功。 diff --git a/templates/zh_CN/class-confirm.tmpl b/templates/zh_CN/class-confirm.tmpl new file mode 100644 index 0000000000..e30f937a51 --- /dev/null +++ b/templates/zh_CN/class-confirm.tmpl @@ -0,0 +1,6 @@ +

删除类 {printer_name}

+ +

警告: 是否确定要删除类 +{printer_name}?

+ +

diff --git a/templates/zh_CN/class-deleted.tmpl b/templates/zh_CN/class-deleted.tmpl new file mode 100644 index 0000000000..84b82cc153 --- /dev/null +++ b/templates/zh_CN/class-deleted.tmpl @@ -0,0 +1,3 @@ +

删除类 {printer_name}

+ +

类 {printer_name} 已删除成功。 diff --git a/templates/zh_CN/class-jobs-header.tmpl b/templates/zh_CN/class-jobs-header.tmpl new file mode 100644 index 0000000000..be54fe5ebb --- /dev/null +++ b/templates/zh_CN/class-jobs-header.tmpl @@ -0,0 +1 @@ +

作业

diff --git a/templates/zh_CN/class-modified.tmpl b/templates/zh_CN/class-modified.tmpl new file mode 100644 index 0000000000..05a9959d16 --- /dev/null +++ b/templates/zh_CN/class-modified.tmpl @@ -0,0 +1,3 @@ +

修改类 {printer_name}

+ +

{printer_name} 已修改成功。 diff --git a/templates/zh_CN/class.tmpl b/templates/zh_CN/class.tmpl new file mode 100644 index 0000000000..f1837374c4 --- /dev/null +++ b/templates/zh_CN/class.tmpl @@ -0,0 +1,41 @@ +

{printer_name} +({printer_state=3?空闲:{printer_state=4?打印中:已暂停}}, +{printer_is_accepting_jobs=0?拒绝作业:接受作业}, +{server_is_sharing_printers=0?否:{printer_is_shared=0?否:}} 共享{default_name={printer_name}?, 服务器默认:})

+ +
+ + + +
+ +
+ + + + + +
+ + + + + + +
说明:{printer_info}
位置:{printer_location}
成员:{?member_uris=?无:{member_uris}}
默认:job-sheets={job_sheets_default} +media={media_default?{media_default}:未知} +{sides_default?sides={sides_default}:}
diff --git a/templates/zh_CN/classes-header.tmpl b/templates/zh_CN/classes-header.tmpl new file mode 100644 index 0000000000..207579797c --- /dev/null +++ b/templates/zh_CN/classes-header.tmpl @@ -0,0 +1 @@ +

{total=0?没有类:{total} 个类中的 {#printer_name} 个}。

diff --git a/templates/zh_CN/classes.tmpl b/templates/zh_CN/classes.tmpl new file mode 100644 index 0000000000..f8e33ceeb9 --- /dev/null +++ b/templates/zh_CN/classes.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
队列名说明位置成员状态
{printer_name}{printer_info}{printer_location}{?member_uris=?无:{member_uris}}{printer_state=3?空闲:{printer_state=4?打印中:已暂停}}{printer_state_message? - "{printer_state_message}":}
} diff --git a/templates/zh_CN/command.tmpl b/templates/zh_CN/command.tmpl new file mode 100644 index 0000000000..a04c189df2 --- /dev/null +++ b/templates/zh_CN/command.tmpl @@ -0,0 +1,8 @@ +

{printer_name} 的 {title}

+ +

{job_state>5?:加载中 }打印机命令作业 +{job_state=3?等待中:{job_state=4?已暂停: +{job_state=5?打印中:{job_state=6?已暂停: +{job_state=7?已取消:{job_state=8?已中止:已完成}}}}}}{job_state=9?:{job_printer_state_message?, +"{job_printer_state_message}":}}

diff --git a/templates/zh_CN/edit-config.tmpl b/templates/zh_CN/edit-config.tmpl new file mode 100644 index 0000000000..8626c4852f --- /dev/null +++ b/templates/zh_CN/edit-config.tmpl @@ -0,0 +1,20 @@ + + +

编辑配置文件

+ +
+ + + + + +

+

+ +
diff --git a/templates/zh_CN/error-op.tmpl b/templates/zh_CN/error-op.tmpl new file mode 100644 index 0000000000..a7b5842261 --- /dev/null +++ b/templates/zh_CN/error-op.tmpl @@ -0,0 +1,6 @@ +

{?title} {?printer_name} 错误

+ +

错误:

+ +
"{op}" 是未知操作!
+ diff --git a/templates/zh_CN/error.tmpl b/templates/zh_CN/error.tmpl new file mode 100644 index 0000000000..4a66fe356a --- /dev/null +++ b/templates/zh_CN/error.tmpl @@ -0,0 +1,5 @@ +

{?title} {?printer_name} 错误

+ +

{?message?{message}:错误}:

+ +
{error}
diff --git a/templates/zh_CN/header.tmpl.in b/templates/zh_CN/header.tmpl.in new file mode 100644 index 0000000000..8883dca3bd --- /dev/null +++ b/templates/zh_CN/header.tmpl.in @@ -0,0 +1,35 @@ + + + + + + + + {refresh_page?:} + + + + {title} - CUPS @CUPS_VERSION@ + + +
+ +
+
+
+

{title}

diff --git a/templates/zh_CN/help-header.tmpl b/templates/zh_CN/help-header.tmpl new file mode 100644 index 0000000000..28cd845337 --- /dev/null +++ b/templates/zh_CN/help-header.tmpl @@ -0,0 +1,44 @@ +
+{TOPIC?:} + +

+{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:所有文档}}中搜索: + +

+ +
+ + + + +{QUERY?

{HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:所有文档}}的搜索结果\:

+{QTEXT?:} +:

未找到匹配项。

} +
:} +{HELPTITLE?
: + +

在线帮助

+ +

这是 CUPS 的在线帮助界面。 +要显示帮助信息,请在上方输入搜索词,或点击文档链接。

+ +

若您是 CUPS 新手,请阅读 "CUPS 概述" 页面。

+ +

CUPS 主页 还提供 +用户讨论论坛、常见问题、提交缺陷报告和功能请求的表单等资源。

} diff --git a/templates/zh_CN/help-printable.tmpl b/templates/zh_CN/help-printable.tmpl new file mode 100644 index 0000000000..83246b435c --- /dev/null +++ b/templates/zh_CN/help-printable.tmpl @@ -0,0 +1,9 @@ + + + + + {HELPTITLE} + + + + diff --git a/templates/zh_CN/help-trailer.tmpl b/templates/zh_CN/help-trailer.tmpl new file mode 100644 index 0000000000..e69de29bb2 diff --git a/templates/zh_CN/job-cancel.tmpl b/templates/zh_CN/job-cancel.tmpl new file mode 100644 index 0000000000..b5da48a943 --- /dev/null +++ b/templates/zh_CN/job-cancel.tmpl @@ -0,0 +1,3 @@ +

取消作业 {job_id}

+ +

作业 {job_id} 已取消。 diff --git a/templates/zh_CN/job-hold.tmpl b/templates/zh_CN/job-hold.tmpl new file mode 100644 index 0000000000..7533af4a7a --- /dev/null +++ b/templates/zh_CN/job-hold.tmpl @@ -0,0 +1,3 @@ +

暂停作业 {job_id}

+ +

作业 {job_id} 已暂停。 diff --git a/templates/zh_CN/job-move.tmpl b/templates/zh_CN/job-move.tmpl new file mode 100644 index 0000000000..1528aa3e68 --- /dev/null +++ b/templates/zh_CN/job-move.tmpl @@ -0,0 +1,23 @@ +

+ + +{job_id?:} + +

{job_id?移动作业 {job_id}:移动作业}

+ + + + + + + + + + +
新目标: + +
+ +
diff --git a/templates/zh_CN/job-moved.tmpl b/templates/zh_CN/job-moved.tmpl new file mode 100644 index 0000000000..54ffe8ec4b --- /dev/null +++ b/templates/zh_CN/job-moved.tmpl @@ -0,0 +1,5 @@ +

{job_id?作业 {job_id} 移动作业:移动作业}

+ +

{job_id?作业 {job_id}:所有作业} 已 +{job_printer_name} 已移动。

+ diff --git a/templates/zh_CN/job-release.tmpl b/templates/zh_CN/job-release.tmpl new file mode 100644 index 0000000000..0884a38915 --- /dev/null +++ b/templates/zh_CN/job-release.tmpl @@ -0,0 +1,3 @@ +

作业 {job_id} 释放

+ +

作业 {job_id} 已释放。 diff --git a/templates/zh_CN/job-restart.tmpl b/templates/zh_CN/job-restart.tmpl new file mode 100644 index 0000000000..583da29081 --- /dev/null +++ b/templates/zh_CN/job-restart.tmpl @@ -0,0 +1,3 @@ +

作业 {job_id} 重新打印

+ +

作业 {job_id} 已重新打印。 diff --git a/templates/zh_CN/jobs-header.tmpl b/templates/zh_CN/jobs-header.tmpl new file mode 100644 index 0000000000..b603323ed5 --- /dev/null +++ b/templates/zh_CN/jobs-header.tmpl @@ -0,0 +1,5 @@ +{?which_jobs=?:

} +{?which_jobs=completed?:
} +{?which_jobs=all?:
} + +

{?which_jobs=?按处理顺序列出的活动作业▼;已暂停作业优先显示。:{which_jobs=all?按顺序列出的作业▼:按完成或取消顺序列出的已完成作业▲}}

diff --git a/templates/zh_CN/jobs.tmpl b/templates/zh_CN/jobs.tmpl new file mode 100644 index 0000000000..a13cecaeeb --- /dev/null +++ b/templates/zh_CN/jobs.tmpl @@ -0,0 +1,36 @@ +{#job_id=0?: + + + + + +{[job_id] + + + + + + + + + +} + +
ID名称用户大小页数状态操作
{job_printer_name}-{job_id}{?phone? ({phone}):} {?job_name=?未知:{job_name}} {?job_originating_user_name=?隐藏:{job_originating_user_name}} {job_k_octets}k {job_impressions_completed=0?未知:{?job_impressions_completed}} {job_state=3?{?time_at_creation=?未知:{time_at_creation}}
起已暂停:{job_state=4?{?time_at_creation=?未知:{time_at_creation}}
起已暂停: +{job_state=5?{?time_at_processing=?未知:{time_at_processing}}
起打印中:{job_state=6?已暂停: +{job_state=7?{?time_at_completed=?未知:{time_at_completed}}
已取消:{job_state=8?已中止:{?time_at_completed=?未知:{time_at_completed}}
已完成}}}}}} {job_printer_state_message?
+"{job_printer_state_message}":}
+{job_preserved>0?{job_state>5? +
:}:} +{job_state=4? +
+
:} +{job_state=3? +
+
:} +{job_state<7? +
+
+
:} + 
+} diff --git a/templates/zh_CN/list-available-printers.tmpl b/templates/zh_CN/list-available-printers.tmpl new file mode 100644 index 0000000000..62aa8415de --- /dev/null +++ b/templates/zh_CN/list-available-printers.tmpl @@ -0,0 +1,7 @@ +

可用打印机

+ +{#device_uri=0?

未找到打印机。

+:
    {[device_uri] +
  • +{device_make_and_model} ({device_info})
  • +}
} diff --git a/templates/zh_CN/modify-class.tmpl b/templates/zh_CN/modify-class.tmpl new file mode 100644 index 0000000000..8162c3faec --- /dev/null +++ b/templates/zh_CN/modify-class.tmpl @@ -0,0 +1,31 @@ +

修改类 {printer_name}

+ +
+ + + + + + + + + + + + + + + + + + + + + +
说明:
位置:
成员: + +
+ +
diff --git a/templates/zh_CN/modify-printer.tmpl b/templates/zh_CN/modify-printer.tmpl new file mode 100644 index 0000000000..94fd4316b7 --- /dev/null +++ b/templates/zh_CN/modify-printer.tmpl @@ -0,0 +1,39 @@ +

{printer_name} 修改

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
说明:
+(人类可读的说明,如"双面 HP LaserJet")
位置:
+(人类可读的位置,如"实验室 1")
连接:{device_uri}
共享: +
+ +
diff --git a/templates/zh_CN/norestart.tmpl b/templates/zh_CN/norestart.tmpl new file mode 100644 index 0000000000..12db59aa1b --- /dev/null +++ b/templates/zh_CN/norestart.tmpl @@ -0,0 +1,4 @@ +

设置修改

+ +

设置未发生更改,服务器未重启...

+ diff --git a/templates/zh_CN/option-boolean.tmpl b/templates/zh_CN/option-boolean.tmpl new file mode 100644 index 0000000000..ce9b6afe85 --- /dev/null +++ b/templates/zh_CN/option-boolean.tmpl @@ -0,0 +1,6 @@ + +{keytext}: + +{[choices]} + + diff --git a/templates/zh_CN/option-conflict.tmpl b/templates/zh_CN/option-conflict.tmpl new file mode 100644 index 0000000000..7fd66e043e --- /dev/null +++ b/templates/zh_CN/option-conflict.tmpl @@ -0,0 +1,7 @@ +

错误: 以下选项存在冲突:

+ + + +

请修改一个或多个选项以解决冲突。

diff --git a/templates/zh_CN/option-header.tmpl b/templates/zh_CN/option-header.tmpl new file mode 100644 index 0000000000..464726a50b --- /dev/null +++ b/templates/zh_CN/option-header.tmpl @@ -0,0 +1,5 @@ +
+ +

{group}

+ + diff --git a/templates/zh_CN/option-pickmany.tmpl b/templates/zh_CN/option-pickmany.tmpl new file mode 100644 index 0000000000..0da75e5d2c --- /dev/null +++ b/templates/zh_CN/option-pickmany.tmpl @@ -0,0 +1,6 @@ + + + + diff --git a/templates/zh_CN/option-pickone.tmpl b/templates/zh_CN/option-pickone.tmpl new file mode 100644 index 0000000000..4469a0cf7e --- /dev/null +++ b/templates/zh_CN/option-pickone.tmpl @@ -0,0 +1,18 @@ + + +:} + diff --git a/templates/zh_CN/option-trailer.tmpl b/templates/zh_CN/option-trailer.tmpl new file mode 100644 index 0000000000..84d8d17f7e --- /dev/null +++ b/templates/zh_CN/option-trailer.tmpl @@ -0,0 +1,5 @@ +
{keytext}:
{keytext}: +{iscustom=1?{[params] + + +}
{paramtext}:{params=Units?:}
+
+ +

+ +
\ No newline at end of file diff --git a/templates/zh_CN/pager.tmpl b/templates/zh_CN/pager.tmpl new file mode 100644 index 0000000000..04ef7ebfbc --- /dev/null +++ b/templates/zh_CN/pager.tmpl @@ -0,0 +1,7 @@ + + + + + +
{PREV?{PREV>0?
:}
: }
{NEXT?
: } + {LAST?
:}
diff --git a/templates/zh_CN/printer-accept.tmpl b/templates/zh_CN/printer-accept.tmpl new file mode 100644 index 0000000000..0da7a10cd8 --- /dev/null +++ b/templates/zh_CN/printer-accept.tmpl @@ -0,0 +1,5 @@ +

{is_class?类:打印机} {printer_name} 接受作业

+ +

{is_class?类:打印机} {printer_name} +已接受作业。

diff --git a/templates/zh_CN/printer-added.tmpl b/templates/zh_CN/printer-added.tmpl new file mode 100644 index 0000000000..af8aba4f0d --- /dev/null +++ b/templates/zh_CN/printer-added.tmpl @@ -0,0 +1,4 @@ +

添加打印机

+ +

打印机 {printer_name} 已添加成功。 + diff --git a/templates/zh_CN/printer-cancel-jobs.tmpl b/templates/zh_CN/printer-cancel-jobs.tmpl new file mode 100644 index 0000000000..fb1f2d44f2 --- /dev/null +++ b/templates/zh_CN/printer-cancel-jobs.tmpl @@ -0,0 +1,5 @@ +

{is_class?类:打印机} {printer_name} 取消作业

+ +

{is_class?类:打印机} {printer_name} +所有作业已取消。

diff --git a/templates/zh_CN/printer-configured.tmpl b/templates/zh_CN/printer-configured.tmpl new file mode 100644 index 0000000000..697c2aba9e --- /dev/null +++ b/templates/zh_CN/printer-configured.tmpl @@ -0,0 +1,4 @@ +

{printer_name} 默认选项设置

+ +

{OP=set-class-options?类 :打印机 }{printer_name} +默认选项已设置成功。 diff --git a/templates/zh_CN/printer-confirm.tmpl b/templates/zh_CN/printer-confirm.tmpl new file mode 100644 index 0000000000..604119e122 --- /dev/null +++ b/templates/zh_CN/printer-confirm.tmpl @@ -0,0 +1,5 @@ +

删除打印机 {printer_name}

+ +

警告: 是否确定要删除打印机 {printer_name}?

+ +

diff --git a/templates/zh_CN/printer-default.tmpl b/templates/zh_CN/printer-default.tmpl new file mode 100644 index 0000000000..3a83b842b1 --- /dev/null +++ b/templates/zh_CN/printer-default.tmpl @@ -0,0 +1,7 @@ +

{is_class?类:打印机} {printer_name} 设为默认

+ +

{is_class?类:打印机} {printer_name} +已设为服务器默认打印机。

+ +
注意: lpoptions 命令设置的各用户默认会覆盖此服务器默认设置。
diff --git a/templates/zh_CN/printer-deleted.tmpl b/templates/zh_CN/printer-deleted.tmpl new file mode 100644 index 0000000000..08888bbd99 --- /dev/null +++ b/templates/zh_CN/printer-deleted.tmpl @@ -0,0 +1,3 @@ +

删除打印机 {printer_name}

+ +

打印机 {printer_name} 已删除成功。 diff --git a/templates/zh_CN/printer-jobs-header.tmpl b/templates/zh_CN/printer-jobs-header.tmpl new file mode 100644 index 0000000000..be54fe5ebb --- /dev/null +++ b/templates/zh_CN/printer-jobs-header.tmpl @@ -0,0 +1 @@ +

作业

diff --git a/templates/zh_CN/printer-modified.tmpl b/templates/zh_CN/printer-modified.tmpl new file mode 100644 index 0000000000..ef2a943bc2 --- /dev/null +++ b/templates/zh_CN/printer-modified.tmpl @@ -0,0 +1,4 @@ +

修改打印机 {printer_name}

+ +

打印机 {printer_name} +已修改成功。 diff --git a/templates/zh_CN/printer-reject.tmpl b/templates/zh_CN/printer-reject.tmpl new file mode 100644 index 0000000000..ef9db3fbd7 --- /dev/null +++ b/templates/zh_CN/printer-reject.tmpl @@ -0,0 +1,5 @@ +

{is_class?类:打印机} {printer_name} 拒绝作业

+ +

{is_class?类:打印机} {printer_name} +已拒绝作业。

diff --git a/templates/zh_CN/printer-start.tmpl b/templates/zh_CN/printer-start.tmpl new file mode 100644 index 0000000000..ece8b7d72c --- /dev/null +++ b/templates/zh_CN/printer-start.tmpl @@ -0,0 +1,5 @@ +

{is_class?类:打印机} {printer_name} 已恢复

+ +

{is_class?类:打印机} {printer_name} +已恢复。

diff --git a/templates/zh_CN/printer-stop.tmpl b/templates/zh_CN/printer-stop.tmpl new file mode 100644 index 0000000000..26f5209569 --- /dev/null +++ b/templates/zh_CN/printer-stop.tmpl @@ -0,0 +1,5 @@ +

{is_class?类:打印机} {printer_name} 已暂停

+ +

{is_class?类:打印机} {printer_name} +已暂停。

diff --git a/templates/zh_CN/printer.tmpl b/templates/zh_CN/printer.tmpl new file mode 100644 index 0000000000..4ede933dbe --- /dev/null +++ b/templates/zh_CN/printer.tmpl @@ -0,0 +1,43 @@ +

{printer_name} +({printer_state=3?空闲:{printer_state=4?打印中:已暂停}}, +{printer_is_accepting_jobs=0?拒绝作业:接受作业}, +{server_is_sharing_printers=0?否:{printer_is_shared=0?否:}} 共享{default_name={printer_name}?, 服务器默认:})

+ +
+ + + +
+ +
+ + + + +
+ + + + + + +
说明:{printer_info}
位置:{printer_location}
打印机驱动:{printer_make_and_model} ({color_supported=1?彩色:黑白}{sides_supported=one-sided?:, 双面})
+
连接:{device_uri}
默认设置:封面={job_sheets_default} +介质={media_default?{media_default}:未知} +{sides_default?双面={sides_default}:}
diff --git a/templates/zh_CN/printers-header.tmpl b/templates/zh_CN/printers-header.tmpl new file mode 100644 index 0000000000..6a06bef260 --- /dev/null +++ b/templates/zh_CN/printers-header.tmpl @@ -0,0 +1 @@ +

{total=0?没有打印机:{total} 台打印机中的 {#printer_name} 台}。

diff --git a/templates/zh_CN/printers.tmpl b/templates/zh_CN/printers.tmpl new file mode 100644 index 0000000000..3814332aca --- /dev/null +++ b/templates/zh_CN/printers.tmpl @@ -0,0 +1,11 @@ +{#printer_name=0?: + + + + + +{[printer_name] + +} + +
队列名说明位置制造商和型号状态
{printer_name}{printer_info}{printer_location}{printer_make_and_model}{printer_state=3?空闲:{printer_state=4?打印中:已暂停}}{printer_state_message? - "{printer_state_message}":}
} diff --git a/templates/zh_CN/restart.tmpl b/templates/zh_CN/restart.tmpl new file mode 100644 index 0000000000..67553c52c5 --- /dev/null +++ b/templates/zh_CN/restart.tmpl @@ -0,0 +1,4 @@ +

修改设置

+ +

服务器正在重启,请稍候...

diff --git a/templates/zh_CN/search.tmpl b/templates/zh_CN/search.tmpl new file mode 100644 index 0000000000..0f0ece3190 --- /dev/null +++ b/templates/zh_CN/search.tmpl @@ -0,0 +1,10 @@ +
+{WHICH_JOBS?:} +{ORDER?:} + +

+{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?类:{SECTION=jobs?作业:打印机}}} 中搜索: +

+ +
diff --git a/templates/zh_CN/set-printer-options-header.tmpl b/templates/zh_CN/set-printer-options-header.tmpl new file mode 100644 index 0000000000..8c0ea68bd1 --- /dev/null +++ b/templates/zh_CN/set-printer-options-header.tmpl @@ -0,0 +1,24 @@ +

修改 {printer_name} 默认选项

+ +
+ + + +{HAVE_AUTOCONFIGURE?:} + + + +

{[group_id] +{group}     }

+ +
diff --git a/templates/zh_CN/set-printer-options-trailer.tmpl b/templates/zh_CN/set-printer-options-trailer.tmpl new file mode 100644 index 0000000000..b92988a7f0 --- /dev/null +++ b/templates/zh_CN/set-printer-options-trailer.tmpl @@ -0,0 +1,14 @@ +
+ + +
diff --git a/templates/zh_CN/test-page.tmpl b/templates/zh_CN/test-page.tmpl new file mode 100644 index 0000000000..1fc60c4283 --- /dev/null +++ b/templates/zh_CN/test-page.tmpl @@ -0,0 +1,4 @@ +

{printer_name} 打印测试页

+ +

测试页已提交,作业 ID 为 +{printer_name}-{job_id}

diff --git a/templates/zh_CN/trailer.tmpl b/templates/zh_CN/trailer.tmpl new file mode 100644 index 0000000000..23f71508d9 --- /dev/null +++ b/templates/zh_CN/trailer.tmpl @@ -0,0 +1,5 @@ +
+ + + + diff --git a/templates/zh_CN/users.tmpl b/templates/zh_CN/users.tmpl new file mode 100644 index 0000000000..3006d3ca62 --- /dev/null +++ b/templates/zh_CN/users.tmpl @@ -0,0 +1,27 @@ +
+ + + +{IS_CLASS?:} + +

{printer_name} 允许的用户

+ + + + + + + + + + +
用户: + +
+ + +
+ +
+ +