]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add Japanese web interface files.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 15 Feb 2006 21:42:46 +0000 (21:42 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Wed, 15 Feb 2006 21:42:46 +0000 (21:42 +0000)
Fix the language detection code to work properly in the presence of the
charset in the locale name.

git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@5110 7a7537e8-13f0-0310-91df-b6672ffda945

103 files changed:
cgi-bin/template.c
configure.in
doc/Makefile
doc/ja/images/accept-jobs.gif [new file with mode: 0644]
doc/ja/images/add-class.gif [new file with mode: 0644]
doc/ja/images/add-printer.gif [new file with mode: 0644]
doc/ja/images/add-this-printer.gif [new file with mode: 0644]
doc/ja/images/cancel-all-jobs.gif [new file with mode: 0644]
doc/ja/images/cancel-job.gif [new file with mode: 0644]
doc/ja/images/cancel.gif [new file with mode: 0644]
doc/ja/images/change-settings.gif [new file with mode: 0644]
doc/ja/images/continue.gif [new file with mode: 0644]
doc/ja/images/delete-class.gif [new file with mode: 0644]
doc/ja/images/delete-printer.gif [new file with mode: 0644]
doc/ja/images/edit-configuration-file.gif [new file with mode: 0644]
doc/ja/images/export-samba.gif [new file with mode: 0644]
doc/ja/images/help.gif [new file with mode: 0644]
doc/ja/images/hold-job.gif [new file with mode: 0644]
doc/ja/images/manage-classes.gif [new file with mode: 0644]
doc/ja/images/manage-jobs.gif [new file with mode: 0644]
doc/ja/images/manage-printers.gif [new file with mode: 0644]
doc/ja/images/manage-server.gif [new file with mode: 0644]
doc/ja/images/modify-class.gif [new file with mode: 0644]
doc/ja/images/modify-printer.gif [new file with mode: 0644]
doc/ja/images/move-job.gif [new file with mode: 0644]
doc/ja/images/move-jobs.gif [new file with mode: 0644]
doc/ja/images/print-test-page.gif [new file with mode: 0644]
doc/ja/images/publish-printer.gif [new file with mode: 0644]
doc/ja/images/reject-jobs.gif [new file with mode: 0644]
doc/ja/images/release-job.gif [new file with mode: 0644]
doc/ja/images/restart-job.gif [new file with mode: 0644]
doc/ja/images/save-changes.gif [new file with mode: 0644]
doc/ja/images/search.gif [new file with mode: 0644]
doc/ja/images/set-allowed-users.gif [new file with mode: 0644]
doc/ja/images/set-as-default.gif [new file with mode: 0644]
doc/ja/images/set-printer-options.gif [new file with mode: 0644]
doc/ja/images/show-active.gif [new file with mode: 0644]
doc/ja/images/show-all.gif [new file with mode: 0644]
doc/ja/images/show-completed.gif [new file with mode: 0644]
doc/ja/images/show-next.gif [new file with mode: 0644]
doc/ja/images/show-previous.gif [new file with mode: 0644]
doc/ja/images/sort-ascending.gif [new file with mode: 0644]
doc/ja/images/sort-descending.gif [new file with mode: 0644]
doc/ja/images/start-class.gif [new file with mode: 0644]
doc/ja/images/start-printer.gif [new file with mode: 0644]
doc/ja/images/stop-class.gif [new file with mode: 0644]
doc/ja/images/stop-printer.gif [new file with mode: 0644]
doc/ja/images/unpublish-printer.gif [new file with mode: 0644]
doc/ja/images/use-default-config.gif [new file with mode: 0644]
doc/ja/images/view-access-log.gif [new file with mode: 0644]
doc/ja/images/view-error-log.gif [new file with mode: 0644]
doc/ja/images/view-page-log.gif [new file with mode: 0644]
templates/Makefile
templates/ja/add-class.tmpl [new file with mode: 0644]
templates/ja/add-printer.tmpl [new file with mode: 0644]
templates/ja/admin.tmpl [new file with mode: 0644]
templates/ja/choose-device.tmpl [new file with mode: 0644]
templates/ja/choose-make.tmpl [new file with mode: 0644]
templates/ja/choose-model.tmpl [new file with mode: 0644]
templates/ja/choose-serial.tmpl [new file with mode: 0644]
templates/ja/choose-uri.tmpl [new file with mode: 0644]
templates/ja/class-added.tmpl [new file with mode: 0644]
templates/ja/class-confirm.tmpl [new file with mode: 0644]
templates/ja/class-deleted.tmpl [new file with mode: 0644]
templates/ja/class-jobs-header.tmpl [new file with mode: 0644]
templates/ja/class-modified.tmpl [new file with mode: 0644]
templates/ja/classes-header.tmpl [new file with mode: 0644]
templates/ja/classes.tmpl [new file with mode: 0644]
templates/ja/error-op.tmpl [new file with mode: 0644]
templates/ja/error.tmpl [new file with mode: 0644]
templates/ja/header.tmpl.in [new file with mode: 0644]
templates/ja/help-header.tmpl [new file with mode: 0644]
templates/ja/job-cancel.tmpl [new file with mode: 0644]
templates/ja/job-hold.tmpl [new file with mode: 0644]
templates/ja/job-move.tmpl [new file with mode: 0644]
templates/ja/job-moved.tmpl [new file with mode: 0644]
templates/ja/job-release.tmpl [new file with mode: 0644]
templates/ja/job-restart.tmpl [new file with mode: 0644]
templates/ja/jobs-header.tmpl [new file with mode: 0644]
templates/ja/jobs.tmpl [new file with mode: 0644]
templates/ja/modify-class.tmpl [new file with mode: 0644]
templates/ja/modify-printer.tmpl [new file with mode: 0644]
templates/ja/option-conflict.tmpl [new file with mode: 0644]
templates/ja/option-trailer.tmpl [new file with mode: 0644]
templates/ja/pager.tmpl [new file with mode: 0644]
templates/ja/printer-accept.tmpl [new file with mode: 0644]
templates/ja/printer-added.tmpl [new file with mode: 0644]
templates/ja/printer-configured.tmpl [new file with mode: 0644]
templates/ja/printer-confirm.tmpl [new file with mode: 0644]
templates/ja/printer-default.tmpl [new file with mode: 0644]
templates/ja/printer-deleted.tmpl [new file with mode: 0644]
templates/ja/printer-jobs-header.tmpl [new file with mode: 0644]
templates/ja/printer-modified.tmpl [new file with mode: 0644]
templates/ja/printer-purge.tmpl [new file with mode: 0644]
templates/ja/printer-reject.tmpl [new file with mode: 0644]
templates/ja/printer-start.tmpl [new file with mode: 0644]
templates/ja/printer-stop.tmpl [new file with mode: 0644]
templates/ja/printers-header.tmpl [new file with mode: 0644]
templates/ja/printers.tmpl [new file with mode: 0644]
templates/ja/restart.tmpl [new file with mode: 0644]
templates/ja/search.tmpl [new file with mode: 0644]
templates/ja/test-page.tmpl [new file with mode: 0644]
templates/ja/users.tmpl [new file with mode: 0644]

index 6d2478a3595215950ce07e27b47b0a03fe8fad91..8942f8ea80be53e1076d73e19494036dfeb4450e 100644 (file)
@@ -101,14 +101,19 @@ cgiCopyTemplateLang(const char *tmpl)     /* I - Base filename */
     for (i = 0; lang[i] && i < 15; i ++)
       if (isalnum(lang[i] & 255))
         locale[i] = tolower(lang[i]);
-      else
+      else if (lang[i] == '-')
         locale[i] = '_';
+      else
+        break;
 
     locale[i] = '\0';
   }
   else
     locale[0] = '\0';
 
+  fprintf(stderr, "DEBUG: cupsCopyTemplateLang: locale=\"%s\"...\n",
+          locale);
+
  /*
   * See if we have a template file for this language...
   */
index dd61ca998c82724ad736bb2a4cb8670259878ec5..89364501d179e45f9d24b19dc9e9f6f690f53e56 100644 (file)
@@ -53,7 +53,8 @@ AC_OUTPUT(Makedefs packaging/cups.list init/cups.sh cups-config
          doc/help/standard.html man/cups-deviced.man
          man/cups-driverd.man man/cups-lpd.man man/cupsaddsmb.man
          man/cupsd.man man/cupsd.conf.man
-         templates/edit-config.tmpl templates/header.tmpl)
+         templates/edit-config.tmpl templates/header.tmpl
+         templates/ja/header.tmpl)
 
 chmod +x cups-config
 
index b0333172bd891af47b552edd7efe28ccd9d10770..65e180ae0982e134666d64f80e5446e7a031557a 100644 (file)
@@ -28,30 +28,25 @@ include ../Makedefs
 # Document files...
 #
 
+LANGUAGES      =       ja
 WEBPAGES       =       cups.css cupsdoc.css index.html robots.txt
-WEBIMAGES      =       \
-                       favicon.ico \
+WEBBUTTONS     =       \
                        images/accept-jobs.gif \
                        images/add-class.gif \
                        images/add-printer.gif \
                        images/add-this-printer.gif \
-                       images/bottom-left.gif \
-                       images/bottom-right.gif \
                        images/cancel.gif \
                        images/cancel-all-jobs.gif \
                        images/cancel-job.gif \
                        images/change-settings.gif \
-                       images/classes.gif \
                        images/continue.gif \
                        images/delete-class.gif \
                        images/delete-printer.gif \
                        images/edit-configuration-file.gif \
-                       images/esp-logo.gif \
                        images/export-samba.gif \
                        images/happy.gif \
                        images/help.gif \
                        images/hold-job.gif \
-                       images/logo.gif \
                        images/manage-classes.gif \
                        images/manage-jobs.gif \
                        images/manage-printers.gif \
@@ -60,9 +55,6 @@ WEBIMAGES     =       \
                        images/modify-printer.gif \
                        images/move-job.gif \
                        images/move-jobs.gif \
-                       images/printer-idle.gif \
-                       images/printer-processing.gif \
-                       images/printer-stopped.gif \
                        images/print-test-page.gif \
                        images/publish-printer.gif \
                        images/reject-jobs.gif \
@@ -84,16 +76,27 @@ WEBIMAGES   =       \
                        images/start-printer.gif \
                        images/stop-class.gif \
                        images/stop-printer.gif \
-                       images/tab-left.gif \
-                       images/tab-right.gif \
-                       images/top-left.gif \
-                       images/top-middle.gif \
-                       images/top-right.gif \
                        images/unpublish-printer.gif \
                        images/use-default-config.gif \
                        images/view-access-log.gif \
                        images/view-error-log.gif \
                        images/view-page-log.gif
+WEBIMAGES      =       \
+                       favicon.ico \
+                       images/bottom-left.gif \
+                       images/bottom-right.gif \
+                       images/classes.gif \
+                       images/esp-logo.gif \
+                       images/happy.gif \
+                       images/logo.gif \
+                       images/printer-idle.gif \
+                       images/printer-processing.gif \
+                       images/printer-stopped.gif \
+                       images/tab-left.gif \
+                       images/tab-right.gif \
+                       images/top-left.gif \
+                       images/top-middle.gif \
+                       images/top-right.gif
 HELPFILES      =       \
                        help/access_log-reference.html \
                        help/api-array.html \
@@ -175,6 +178,12 @@ install:   all
        for file in $(WEBIMAGES); do \
                $(INSTALL_MAN) $$file $(DOCDIR)/images; \
        done
+       for lang in $(LANGUAGES); do \
+               $(INSTALL_DIR) -m 755 $(DOCDIR)/$$lang/images; \
+               for file in $(WEBIMAGES); do \
+                       $(INSTALL_MAN) $$lang/$$file $(DOCDIR)/$$lang/images; \
+               done \
+       done
 
 
 #
diff --git a/doc/ja/images/accept-jobs.gif b/doc/ja/images/accept-jobs.gif
new file mode 100644 (file)
index 0000000..7ee4db6
Binary files /dev/null and b/doc/ja/images/accept-jobs.gif differ
diff --git a/doc/ja/images/add-class.gif b/doc/ja/images/add-class.gif
new file mode 100644 (file)
index 0000000..aa046eb
Binary files /dev/null and b/doc/ja/images/add-class.gif differ
diff --git a/doc/ja/images/add-printer.gif b/doc/ja/images/add-printer.gif
new file mode 100644 (file)
index 0000000..19869c6
Binary files /dev/null and b/doc/ja/images/add-printer.gif differ
diff --git a/doc/ja/images/add-this-printer.gif b/doc/ja/images/add-this-printer.gif
new file mode 100644 (file)
index 0000000..75dcf19
Binary files /dev/null and b/doc/ja/images/add-this-printer.gif differ
diff --git a/doc/ja/images/cancel-all-jobs.gif b/doc/ja/images/cancel-all-jobs.gif
new file mode 100644 (file)
index 0000000..3be5118
Binary files /dev/null and b/doc/ja/images/cancel-all-jobs.gif differ
diff --git a/doc/ja/images/cancel-job.gif b/doc/ja/images/cancel-job.gif
new file mode 100644 (file)
index 0000000..c6ce936
Binary files /dev/null and b/doc/ja/images/cancel-job.gif differ
diff --git a/doc/ja/images/cancel.gif b/doc/ja/images/cancel.gif
new file mode 100644 (file)
index 0000000..b182a5d
Binary files /dev/null and b/doc/ja/images/cancel.gif differ
diff --git a/doc/ja/images/change-settings.gif b/doc/ja/images/change-settings.gif
new file mode 100644 (file)
index 0000000..d31acf1
Binary files /dev/null and b/doc/ja/images/change-settings.gif differ
diff --git a/doc/ja/images/continue.gif b/doc/ja/images/continue.gif
new file mode 100644 (file)
index 0000000..540aabf
Binary files /dev/null and b/doc/ja/images/continue.gif differ
diff --git a/doc/ja/images/delete-class.gif b/doc/ja/images/delete-class.gif
new file mode 100644 (file)
index 0000000..a9307db
Binary files /dev/null and b/doc/ja/images/delete-class.gif differ
diff --git a/doc/ja/images/delete-printer.gif b/doc/ja/images/delete-printer.gif
new file mode 100644 (file)
index 0000000..5525d10
Binary files /dev/null and b/doc/ja/images/delete-printer.gif differ
diff --git a/doc/ja/images/edit-configuration-file.gif b/doc/ja/images/edit-configuration-file.gif
new file mode 100644 (file)
index 0000000..8b8a879
Binary files /dev/null and b/doc/ja/images/edit-configuration-file.gif differ
diff --git a/doc/ja/images/export-samba.gif b/doc/ja/images/export-samba.gif
new file mode 100644 (file)
index 0000000..a839670
Binary files /dev/null and b/doc/ja/images/export-samba.gif differ
diff --git a/doc/ja/images/help.gif b/doc/ja/images/help.gif
new file mode 100644 (file)
index 0000000..b0369cf
Binary files /dev/null and b/doc/ja/images/help.gif differ
diff --git a/doc/ja/images/hold-job.gif b/doc/ja/images/hold-job.gif
new file mode 100644 (file)
index 0000000..67c5e84
Binary files /dev/null and b/doc/ja/images/hold-job.gif differ
diff --git a/doc/ja/images/manage-classes.gif b/doc/ja/images/manage-classes.gif
new file mode 100644 (file)
index 0000000..0643673
Binary files /dev/null and b/doc/ja/images/manage-classes.gif differ
diff --git a/doc/ja/images/manage-jobs.gif b/doc/ja/images/manage-jobs.gif
new file mode 100644 (file)
index 0000000..8054528
Binary files /dev/null and b/doc/ja/images/manage-jobs.gif differ
diff --git a/doc/ja/images/manage-printers.gif b/doc/ja/images/manage-printers.gif
new file mode 100644 (file)
index 0000000..65e824a
Binary files /dev/null and b/doc/ja/images/manage-printers.gif differ
diff --git a/doc/ja/images/manage-server.gif b/doc/ja/images/manage-server.gif
new file mode 100644 (file)
index 0000000..2b2d235
Binary files /dev/null and b/doc/ja/images/manage-server.gif differ
diff --git a/doc/ja/images/modify-class.gif b/doc/ja/images/modify-class.gif
new file mode 100644 (file)
index 0000000..38d40a7
Binary files /dev/null and b/doc/ja/images/modify-class.gif differ
diff --git a/doc/ja/images/modify-printer.gif b/doc/ja/images/modify-printer.gif
new file mode 100644 (file)
index 0000000..261b384
Binary files /dev/null and b/doc/ja/images/modify-printer.gif differ
diff --git a/doc/ja/images/move-job.gif b/doc/ja/images/move-job.gif
new file mode 100644 (file)
index 0000000..f0d2b54
Binary files /dev/null and b/doc/ja/images/move-job.gif differ
diff --git a/doc/ja/images/move-jobs.gif b/doc/ja/images/move-jobs.gif
new file mode 100644 (file)
index 0000000..e381fe4
Binary files /dev/null and b/doc/ja/images/move-jobs.gif differ
diff --git a/doc/ja/images/print-test-page.gif b/doc/ja/images/print-test-page.gif
new file mode 100644 (file)
index 0000000..88995e5
Binary files /dev/null and b/doc/ja/images/print-test-page.gif differ
diff --git a/doc/ja/images/publish-printer.gif b/doc/ja/images/publish-printer.gif
new file mode 100644 (file)
index 0000000..7c47333
Binary files /dev/null and b/doc/ja/images/publish-printer.gif differ
diff --git a/doc/ja/images/reject-jobs.gif b/doc/ja/images/reject-jobs.gif
new file mode 100644 (file)
index 0000000..ed1ac6b
Binary files /dev/null and b/doc/ja/images/reject-jobs.gif differ
diff --git a/doc/ja/images/release-job.gif b/doc/ja/images/release-job.gif
new file mode 100644 (file)
index 0000000..245126e
Binary files /dev/null and b/doc/ja/images/release-job.gif differ
diff --git a/doc/ja/images/restart-job.gif b/doc/ja/images/restart-job.gif
new file mode 100644 (file)
index 0000000..af27eaa
Binary files /dev/null and b/doc/ja/images/restart-job.gif differ
diff --git a/doc/ja/images/save-changes.gif b/doc/ja/images/save-changes.gif
new file mode 100644 (file)
index 0000000..2637b49
Binary files /dev/null and b/doc/ja/images/save-changes.gif differ
diff --git a/doc/ja/images/search.gif b/doc/ja/images/search.gif
new file mode 100644 (file)
index 0000000..c03e1f5
Binary files /dev/null and b/doc/ja/images/search.gif differ
diff --git a/doc/ja/images/set-allowed-users.gif b/doc/ja/images/set-allowed-users.gif
new file mode 100644 (file)
index 0000000..891c123
Binary files /dev/null and b/doc/ja/images/set-allowed-users.gif differ
diff --git a/doc/ja/images/set-as-default.gif b/doc/ja/images/set-as-default.gif
new file mode 100644 (file)
index 0000000..14834a7
Binary files /dev/null and b/doc/ja/images/set-as-default.gif differ
diff --git a/doc/ja/images/set-printer-options.gif b/doc/ja/images/set-printer-options.gif
new file mode 100644 (file)
index 0000000..e218b00
Binary files /dev/null and b/doc/ja/images/set-printer-options.gif differ
diff --git a/doc/ja/images/show-active.gif b/doc/ja/images/show-active.gif
new file mode 100644 (file)
index 0000000..156f79d
Binary files /dev/null and b/doc/ja/images/show-active.gif differ
diff --git a/doc/ja/images/show-all.gif b/doc/ja/images/show-all.gif
new file mode 100644 (file)
index 0000000..4178a97
Binary files /dev/null and b/doc/ja/images/show-all.gif differ
diff --git a/doc/ja/images/show-completed.gif b/doc/ja/images/show-completed.gif
new file mode 100644 (file)
index 0000000..c577842
Binary files /dev/null and b/doc/ja/images/show-completed.gif differ
diff --git a/doc/ja/images/show-next.gif b/doc/ja/images/show-next.gif
new file mode 100644 (file)
index 0000000..86cd446
Binary files /dev/null and b/doc/ja/images/show-next.gif differ
diff --git a/doc/ja/images/show-previous.gif b/doc/ja/images/show-previous.gif
new file mode 100644 (file)
index 0000000..57ae163
Binary files /dev/null and b/doc/ja/images/show-previous.gif differ
diff --git a/doc/ja/images/sort-ascending.gif b/doc/ja/images/sort-ascending.gif
new file mode 100644 (file)
index 0000000..075c460
Binary files /dev/null and b/doc/ja/images/sort-ascending.gif differ
diff --git a/doc/ja/images/sort-descending.gif b/doc/ja/images/sort-descending.gif
new file mode 100644 (file)
index 0000000..79fcb4d
Binary files /dev/null and b/doc/ja/images/sort-descending.gif differ
diff --git a/doc/ja/images/start-class.gif b/doc/ja/images/start-class.gif
new file mode 100644 (file)
index 0000000..bd9c619
Binary files /dev/null and b/doc/ja/images/start-class.gif differ
diff --git a/doc/ja/images/start-printer.gif b/doc/ja/images/start-printer.gif
new file mode 100644 (file)
index 0000000..222e457
Binary files /dev/null and b/doc/ja/images/start-printer.gif differ
diff --git a/doc/ja/images/stop-class.gif b/doc/ja/images/stop-class.gif
new file mode 100644 (file)
index 0000000..ee44b7c
Binary files /dev/null and b/doc/ja/images/stop-class.gif differ
diff --git a/doc/ja/images/stop-printer.gif b/doc/ja/images/stop-printer.gif
new file mode 100644 (file)
index 0000000..7912e9d
Binary files /dev/null and b/doc/ja/images/stop-printer.gif differ
diff --git a/doc/ja/images/unpublish-printer.gif b/doc/ja/images/unpublish-printer.gif
new file mode 100644 (file)
index 0000000..8ea47aa
Binary files /dev/null and b/doc/ja/images/unpublish-printer.gif differ
diff --git a/doc/ja/images/use-default-config.gif b/doc/ja/images/use-default-config.gif
new file mode 100644 (file)
index 0000000..ac7c16c
Binary files /dev/null and b/doc/ja/images/use-default-config.gif differ
diff --git a/doc/ja/images/view-access-log.gif b/doc/ja/images/view-access-log.gif
new file mode 100644 (file)
index 0000000..d6e06a9
Binary files /dev/null and b/doc/ja/images/view-access-log.gif differ
diff --git a/doc/ja/images/view-error-log.gif b/doc/ja/images/view-error-log.gif
new file mode 100644 (file)
index 0000000..e16274b
Binary files /dev/null and b/doc/ja/images/view-error-log.gif differ
diff --git a/doc/ja/images/view-page-log.gif b/doc/ja/images/view-page-log.gif
new file mode 100644 (file)
index 0000000..8416e2d
Binary files /dev/null and b/doc/ja/images/view-page-log.gif differ
index 5d0b511d71f2f60f2398c4d12013e107dd04ba87..431093eb45f4138860a57cdaacad786916603518 100644 (file)
@@ -28,6 +28,7 @@ include ../Makedefs
 # Template files...
 #
 
+LANGUAGES =    ja
 FILES  =       \
                add-class.tmpl \
                add-printer.tmpl \
@@ -114,6 +115,14 @@ install: all
        for file in $(FILES); do \
                $(INSTALL_DATA) $$file $(DATADIR)/templates; \
        done
+       for lang in $(LANGUAGES); do \
+               $(INSTALL_DIR) -m 755 $(DATADIR)/templates/$$lang; \
+               for file in $(FILES); do \
+                       if test -e $$lang/$$file; then \
+                               $(INSTALL_DATA) $$lang/$$file $(DATADIR)/templates/$$lang; \
+                       fi \
+               done \
+       done
 
 
 #
diff --git a/templates/ja/add-class.tmpl b/templates/ja/add-class.tmpl
new file mode 100644 (file)
index 0000000..8db1395
--- /dev/null
@@ -0,0 +1,33 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+
+<H2 CLASS="title">クラスの追加</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">名前:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_NAME" SIZE="40" MAXLENGTH="127"></TD>
+</TR>
+<TR>
+<TH CLASS="label">場所:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" SIZE="40" MAXLENGTH="127"></TD>
+</TR>
+<TR>
+<TH CLASS="label">説明:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" SIZE="40" MAXLENGTH="127"></TD>
+</TR>
+<TR>
+<TH CLASS="label">メンバー:</TH>
+<TD>
+<SELECT NAME="MEMBER_URIS" SIZE="10" MULTIPLE>
+{[member_uris]<OPTION VALUE="{member_uris}" {?member_selected}>{member_names}}
+</SELECT>
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/add-class.gif" ALT="クラスの追加"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/add-printer.tmpl b/templates/ja/add-printer.tmpl
new file mode 100644 (file)
index 0000000..65c09d6
--- /dev/null
@@ -0,0 +1,28 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+
+<H2 CLASS="title">新しいプリンタの追加</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">名前:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_NAME" SIZE="40" MAXLENGTH="127"><BR>
+<SMALL>("/"、"#"、空白を除く適当な表示可能文字を含めることができます)</SMALL></TD>
+</TR>
+<TR>
+<TH CLASS="label">場所:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" SIZE="40" MAXLENGTH="127"><BR>
+<SMALL>("Lab 1" のように人間が読みやすい場所)</SMALL></TD>
+</TR>
+<TR>
+<TH CLASS="label">説明:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" SIZE="40" MAXLENGTH="127"><BR>
+<SMALL>("HP LaserJet with Duplexer" のように人間が読みやすい説明)</SMALL></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/admin.tmpl b/templates/ja/admin.tmpl
new file mode 100644 (file)
index 0000000..8edfde6
--- /dev/null
@@ -0,0 +1,72 @@
+<TABLE CELLPADDING="0" CELLSPACING="0" CLASS="button" WIDTH="100%">
+<TR><TD VALIGN="TOP" NOWRAP>
+
+<H2 CLASS="title">プリンタ</H2>
+
+<P>
+<A HREF="/admin?op=add-printer"><IMG
+SRC="/images/add-printer.gif" ALT="プリンタの追加" CLASS="button"></A>
+<A HREF="/printers/"><IMG SRC="/images/manage-printers.gif"
+ALT="プリンタの管理" CLASS="button"></A>
+{have_samba?<A HREF="/admin/?op=export-samba"><IMG
+SRC="/images/export-samba.gif" ALT="プリンタをSambaにエキスポート"
+CLASS="button"></A>:}
+</P>
+
+{#device_uri=0?:<P><B>新しいプリンタが見つかりました:</B></P><UL>{[device_uri]
+<LI>{device_make_and_model} ({device_info})
+<A HREF="/admin?op=add-printer&amp;{device_options}"><IMG
+SRC="/images/add-this-printer.gif" ALT="このプリンタを追加" CLASS="button"
+ALIGN="MIDDLE"></A></LI>
+}</UL>}
+
+<H2 CLASS="title">クラス</H2>
+
+<P>
+<A HREF="/admin?op=add-class"><IMG SRC="/images/add-class.gif"
+ALT="クラスの追加" CLASS="button"></A>
+<A HREF="/classes/"><IMG SRC="/images/manage-classes.gif"
+ALT="クラスの管理" CLASS="button"></A>
+</P>
+
+<H2 CLASS="title">ジョブ</H2>
+
+<P>
+<A HREF="/jobs/"><IMG SRC="/images/manage-jobs.gif" ALT="ジョブの管理" CLASS="button"></A>
+</P>
+
+</TD><TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD><TD VALIGN="TOP">
+
+<H2 CLASS="title">サーバ</H2>
+
+<P>
+<A HREF="/admin?op=config-server"><IMG
+SRC="/images/edit-configuration-file.gif" ALT="設定ファイルの編集" CLASS="button"></A>
+<A HREF="/admin/log/access_log" TARGET="_blank"><IMG
+SRC="/images/view-access-log.gif" ALT="アクセスログの表示"
+CLASS="button"></A>
+<A HREF="/admin/log/error_log" TARGET="_blank"><IMG
+SRC="/images/view-error-log.gif" ALT="エラーログの表示"
+CLASS="button"></A>
+<A HREF="/admin/log/page_log" TARGET="_blank"><IMG
+SRC="/images/view-page-log.gif" ALT="ページログの表示"
+CLASS="button"></A>
+</P>
+
+<FORM METHOD="POST" ACTION="/admin">
+
+<P><B>基本サーバ設定:</B></P>
+
+<P><INPUT TYPE="HIDDEN" NAME="OP" VALUE="config-server">
+<INPUT TYPE="CHECKBOX" NAME="REMOTE_PRINTERS" {?remote_printers}> ほかのシステムで共有されているプリンタを表示<BR>
+<INPUT TYPE="CHECKBOX" NAME="SHARE_PRINTERS" {?share_printers}> このシステムに接続されている公開済みプリンタを共有<BR>
+<INPUT TYPE="CHECKBOX" NAME="REMOTE_ADMIN" {?remote_admin}> リモート管理を許可<BR>
+<INPUT TYPE="CHECKBOX" NAME="USER_CANCEL_ANY" {?user_cancel_any}> どのジョブであってもキャンセルすることを (たとえ所有者でなくても) ユーザに許可<BR>
+<INPUT TYPE="CHECKBOX" NAME="DEBUG_LOGGING" {?debug_logging}> トラブルシューティングのためにデバッグ情報を保存</P>
+
+<P><INPUT TYPE="IMAGE" SRC="/images/change-settings.gif" ALT="設定の変更"></P>
+
+</FORM>
+
+</TD></TR>
+</TABLE>
diff --git a/templates/ja/choose-device.tmpl b/templates/ja/choose-device.tmpl
new file mode 100644 (file)
index 0000000..022ce5f
--- /dev/null
@@ -0,0 +1,26 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{?printer_location}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{?printer_info}">
+<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{?current_make_and_model}">
+
+<H2 CLASS="title">{printer_name} のデバイス</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">デバイス:</TH>
+<TD>
+<SELECT NAME="DEVICE_URI">
+{[device_uri]<OPTION VALUE="{device_uri}{?device_make_and_model!不明?|{device_make_and_model}:}" {?current_device_uri={device_uri}?SELECTED:{current_device_scheme={device_uri}?SELECTED:}}>
+{device_info} {?device_make_and_model!不明?({device_make_and_model}):}</OPTION>
+}</SELECT>
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/choose-make.tmpl b/templates/ja/choose-make.tmpl
new file mode 100644 (file)
index 0000000..4e60161
--- /dev/null
@@ -0,0 +1,42 @@
+<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{?printer_location}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{?printer_info}">
+<INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">
+<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
+<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
+<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
+<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
+
+<H2 CLASS="title">{printer_name} のメーカ/製造元</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">メーカ:</TH>
+<TD>
+<SELECT NAME="PPD_MAKE" SIZE="10">
+{[ppd_make]<OPTION VALUE="{ppd_make}" {?current_make={ppd_make}?SELECTED:}>{ppd_make}}
+</SELECT>
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD>&nbsp;</TD>
+</TR>
+<TR>
+<TH CLASS="label">または PPD ファイルを提供してください:</TH>
+<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
+TYPE="FILE" NAME="PPD_FILE"></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/{op}.gif" ALT="{op=add-printer?プリンタの追加:プリンタの変更}"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/choose-model.tmpl b/templates/ja/choose-model.tmpl
new file mode 100644 (file)
index 0000000..6bc2234
--- /dev/null
@@ -0,0 +1,34 @@
+<FORM METHOD="POST" ACTION="/admin" ENCTYPE="multipart/form-data">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{?printer_location}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{?printer_info}">
+<INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">
+<INPUT TYPE="HIDDEN" NAME="BAUDRATE" VALUE="{?baudrate}">
+<INPUT TYPE="HIDDEN" NAME="BITS" VALUE="{?bits}">
+<INPUT TYPE="HIDDEN" NAME="PARITY" VALUE="{?parity}">
+<INPUT TYPE="HIDDEN" NAME="FLOW" VALUE="{?flow}">
+
+<H2 CLASS="title">{printer_name} のモデル/ドライバ</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">モデル:</TH>
+<TD>
+<SELECT NAME="PPD_NAME" SIZE="10">
+{[ppd_name]<OPTION VALUE="{ppd_name}" {?current_make_and_model={ppd_make_and_model}?SELECTED:}>{ppd_make_and_model} ({ppd_natural_language})
+}</SELECT>
+</TD>
+</TR>
+<TR>
+<TH CLASS="label">または PPD ファイルを提供してください:</TH>
+<TD><INPUT TYPE="HIDDEN" NAME="MAX_FILE_SIZE" VALUE="262144"><INPUT
+TYPE="FILE" NAME="PPD_FILE"></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/{op}.gif" ALT="{op=add-printer?プリンタの追加:プリンタの変更}"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/choose-serial.tmpl b/templates/ja/choose-serial.tmpl
new file mode 100644 (file)
index 0000000..7917540
--- /dev/null
@@ -0,0 +1,47 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{?printer_location}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{?printer_info}">
+<INPUT TYPE="HIDDEN" NAME="DEVICE_URI" VALUE="{device_uri}">
+
+<H2 CLASS="title">{printer_name} のシリアルポートの設定</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">ボーレート:</TH>
+<TD><SELECT NAME="BAUDRATE">
+{[baudrates]<OPTION {?baudrate={baudrates}?SELECTED:}>{baudrates}}
+</SELECT></TD>
+</TR>
+<TR>
+<TH CLASS="label">パリティ:</TH>
+<TD><SELECT NAME="PARITY">
+<OPTION VALUE="none" {?parity=none?SELECTED:}>なし
+<OPTION VALUE="even" {?parity=even?SELECTED:}>偶数
+<OPTION VALUE="odd" {?parity=odd?SELECTED:}>奇数
+</SELECT></TD>
+</TR>
+<TR>
+<TH CLASS="label">データビット:</TH>
+<TD><SELECT NAME="BITS">
+<OPTION {?bits=8?SELECTED:}>8
+<OPTION {?bits=7?SELECTED:}>7
+</SELECT></TD>
+</TR>
+<TR>
+<TH CLASS="label">フロー制御:</TH>
+<TD><SELECT NAME="FLOW">
+<OPTION VALUE="none" {?flow=none?SELECTED:}>なし
+<OPTION VALUE="soft" {?flow=soft?SELECTED:}>XON/XOFF (ソフトウェア)
+<OPTION VALUE="hard" {?flow=hard?SELECTED:}>RTS/CTS (ハードウェア)
+<OPTION VALUE="dtrdsr" {?flow=dtrdsr?SELECTED:}>DTR/DSR (ハードウェア)
+</SELECT></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/choose-uri.tmpl b/templates/ja/choose-uri.tmpl
new file mode 100644 (file)
index 0000000..ca7fa04
--- /dev/null
@@ -0,0 +1,41 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_LOCATION" VALUE="{?printer_location}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_INFO" VALUE="{?printer_info}">
+<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{?current_make_and_model}">
+
+<H2 CLASS="title">{printer_name} のデバイス URI</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">デバイス URI:</TH>
+<TD><INPUT TYPE="TEXT" SIZE="60" MAXLENGTH="1024" NAME="DEVICE_URI" VALUE="{device_uri}"></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD>例:
+<PRE>
+    file:/path/to/filename.prn
+    http://hostname:631/ipp/
+    http://hostname:631/ipp/port1
+    ipp://hostname/ipp/
+    ipp://hostname/ipp/port1
+    lpd://hostname/queue
+    socket://hostname
+    socket://hostname:9100
+</PRE>
+
+<P>あなたのプリンタにふさわしい URI については、
+<A HREF="/help/network.html" TARGET="_blank">"ネットワーク
+プリンタ"</A> を参照してください。</P>
+
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/class-added.tmpl b/templates/ja/class-added.tmpl
new file mode 100644 (file)
index 0000000..ccda96d
--- /dev/null
@@ -0,0 +1 @@
+<P>クラス <A HREF="/classes/{printer_name}">{printer_name}</A> は正しく追加されました。
diff --git a/templates/ja/class-confirm.tmpl b/templates/ja/class-confirm.tmpl
new file mode 100644 (file)
index 0000000..f8eb454
--- /dev/null
@@ -0,0 +1,7 @@
+<P><B>警告:</B> 本当にクラス
+{printer_name} を削除してもよいですか?</P>
+
+<P ALIGN="CENTER"><A
+HREF="/admin?op=delete-class&printer_name={printer_name}&confirm=yes"><IMG
+SRC="/images/delete-class.gif" ALT="クラスの削除"
+CLASS="button"></A></P>
diff --git a/templates/ja/class-deleted.tmpl b/templates/ja/class-deleted.tmpl
new file mode 100644 (file)
index 0000000..7c76490
--- /dev/null
@@ -0,0 +1 @@
+<P>クラス {printer_name} は正しく削除されました。
diff --git a/templates/ja/class-jobs-header.tmpl b/templates/ja/class-jobs-header.tmpl
new file mode 100644 (file)
index 0000000..d12840e
--- /dev/null
@@ -0,0 +1 @@
+<H3 CLASS="title">ジョブ</H3>
diff --git a/templates/ja/class-modified.tmpl b/templates/ja/class-modified.tmpl
new file mode 100644 (file)
index 0000000..54e1f60
--- /dev/null
@@ -0,0 +1 @@
+<P>クラス <A HREF="/classes/{printer_name}">{printer_name}</A> は正しく変更されました。
diff --git a/templates/ja/classes-header.tmpl b/templates/ja/classes-header.tmpl
new file mode 100644 (file)
index 0000000..3dad28c
--- /dev/null
@@ -0,0 +1 @@
+<P ALIGN="CENTER">{total=0?クラスがありません:{total} 個のクラスのうち {#printer_name} 個を表示中}。</P>
diff --git a/templates/ja/classes.tmpl b/templates/ja/classes.tmpl
new file mode 100644 (file)
index 0000000..2eff787
--- /dev/null
@@ -0,0 +1,54 @@
+{#printer_name=0?:
+{[printer_name]
+<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>{default_name={printer_name}? (デフォルトプリンタ):}</H2>
+
+<TABLE WIDTH="100%" CLASS="button" CELLSPACING="0" CELLPADDING="0">
+<TR>
+<TD VALIGN=TOP><A HREF="{printer_uri_supported}">
+<IMG SRC="/images/classes.gif" CLASS="button" ALT=""></A></TD>
+<TD VALIGN=TOP><B>説明:</B> {printer_info}<BR>
+<B>場所:</B> {printer_location}<BR>
+<B>クラスの状態:</B> {printer_state=3?待機中:{printer_state=4?処理中:停止}},
+{printer_is_accepting_jobs=0?ジョブを拒否中:ジョブを受け付け中}, {printer_is_shared=0?not:} 公開。
+{?printer_state_message=?:<BR><I>"{printer_state_message}"</I>}
+{?member_uris=?:<BR>メンバー: {member_uris}}
+
+<P>
+<A HREF="{printer_uri_supported}?op=print-test-page">
+<IMG SRC="/images/print-test-page.gif" ALT="テストページの印刷" CLASS="button"></A>
+{printer_state=5?
+<A HREF="{admin_uri}?op=start-class&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/start-class.gif" ALT="クラスを開始" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=stop-class&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/stop-class.gif" ALT="クラスを停止" CLASS="button"></A>
+}
+{printer_is_accepting_jobs=0?
+<A HREF="{admin_uri}?op=accept-jobs&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/accept-jobs.gif" ALT="ジョブを受け付け" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=reject-jobs&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/reject-jobs.gif" ALT="ジョブを拒否" CLASS="button"></A>
+}
+<A HREF="{admin_uri}?op=purge-jobs&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/cancel-all-jobs.gif" ALT="すべてのジョブをキャンセル" CLASS="button"></A>
+{printer_is_shared=0?
+<A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=1&amp;is_class=Y">
+<IMG SRC="/images/publish-printer.gif" ALT="プリンタを公開" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=0&amp;is_class=Y">
+<IMG SRC="/images/unpublish-printer.gif" ALT="プリンタを非公開" CLASS="button"></A>
+}
+<A HREF="{admin_uri}?op=modify-class&amp;printer_name={printer_name}">
+<IMG SRC="/images/modify-class.gif" ALT="クラスの変更" CLASS="button"></A>
+<A HREF="{admin_uri}?op=delete-class&amp;printer_name={printer_name}">
+<IMG SRC="/images/delete-class.gif" ALT="クラスの削除" CLASS="button"></A>
+<A HREF="{admin_uri}?op=set-as-default&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/set-as-default.gif" ALT="デフォルトに設定" CLASS="button"></A>
+<A HREF="{admin_uri}?op=set-allowed-users&amp;printer_name={printer_name}&amp;is_class=Y">
+<IMG SRC="/images/set-allowed-users.gif" ALT="許可するユーザの設定" CLASS="button"></A>
+</P>
+</TD>
+</TR>
+</TABLE>
+}}
diff --git a/templates/ja/error-op.tmpl b/templates/ja/error-op.tmpl
new file mode 100644 (file)
index 0000000..08657ef
--- /dev/null
@@ -0,0 +1,3 @@
+<P>エラー:</P>
+
+<BLOCKQUOTE>"{op}" は未知の操作です!</BLOCKQUOTE>
diff --git a/templates/ja/error.tmpl b/templates/ja/error.tmpl
new file mode 100644 (file)
index 0000000..c4ae91e
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{?message?{message}:エラー:}</P>
+
+<BLOCKQUOTE>{error}</BLOCKQUOTE>
diff --git a/templates/ja/header.tmpl.in b/templates/ja/header.tmpl.in
new file mode 100644 (file)
index 0000000..03653ed
--- /dev/null
@@ -0,0 +1,63 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<HTML>
+<HEAD>
+       <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
+       <TITLE>{title} - CUPS @CUPS_VERSION@</TITLE>
+       <!-- Prevent caching of CGI content -->
+       <META HTTP-EQUIV="Expires" CONTENT="now">
+       <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> 
+       {refresh_page?<META HTTP-EQUIV="Refresh" CONTENT="{refresh_page}">:}
+       <LINK REL="STYLESHEET" TYPE="text/css" HREF="/cups.css">
+       <LINK REL="SHORTCUT ICON" HREF="/favicon.ico" TYPE="image/x-icon">
+</HEAD>
+<BODY>
+<TABLE WIDTH="100%" STYLE="height: 100%;" BORDER="0" CELLSPACING="0" CELLPADDING="0" SUMMARY="{title}">
+<TR CLASS="HEADER">
+<TD VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG SRC="/images/top-left.gif" WIDTH="15" HEIGHT="80" ALT=""></TD>
+<TD VALIGN="TOP" WIDTH="55" ROWSPAN="2"><IMG SRC="/images/top-middle.gif" WIDTH="55" HEIGHT="80" ALT=""></TD>
+<TD WIDTH="100%" HEIGHT="60"><H1>{title}</H1></TD>
+<TD ALIGN="RIGHT" VALIGN="TOP" WIDTH="15" ROWSPAN="2"><IMG
+SRC="/images/top-right.gif" WIDTH="15" HEIGHT="15" ALT=""></TD>
+</TR>
+<TR CLASS="HEADER"><TD WIDTH="100%" VALIGN="BOTTOM" NOWRAP>
+
+<A CLASS="unsel" HREF="/"><IMG SRC="/images/tab-left.gif"
+WIDTH="4" HEIGHT="4" ALIGN="TOP" BORDER="0"
+ALT="">&nbsp;&nbsp;ホーム&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+&nbsp;<A CLASS="{SECTION=admin?:un}sel" HREF="/admin"><IMG
+SRC="/images/tab-left.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT="">&nbsp;&nbsp;管理&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+&nbsp;<A CLASS="{SECTION=classes?:un}sel" HREF="/classes/"><IMG
+SRC="/images/tab-left.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT="">&nbsp;&nbsp;クラス&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+&nbsp;<A CLASS="{SECTION=help?:un}sel" HREF="/help/"><IMG
+SRC="/images/tab-left.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT="">&nbsp;&nbsp;ドキュメント/ヘルプ&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+&nbsp;<A CLASS="{SECTION=jobs?:un}sel" HREF="/jobs/"><IMG
+SRC="/images/tab-left.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT="">&nbsp;&nbsp;ジョブ&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+&nbsp;<A CLASS="{SECTION=printers?:un}sel" HREF="/printers/"><IMG
+SRC="/images/tab-left.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT="">&nbsp;&nbsp;プリンタ&nbsp;&nbsp;<IMG
+SRC="/images/tab-right.gif" WIDTH="4" HEIGHT="4" ALIGN="TOP"
+BORDER="0" ALT=""></A>
+
+</TD></TR>
+<TR CLASS="page">
+<TD WIDTH="15">&nbsp;</TD>
+<TD COLSPAN="2" WIDTH="100%" STYLE="height: 100%;" VALIGN="TOP" CLASS="page">
diff --git a/templates/ja/help-header.tmpl b/templates/ja/help-header.tmpl
new file mode 100644 (file)
index 0000000..24d67e2
--- /dev/null
@@ -0,0 +1,28 @@
+<FORM ACTION="/help/{?HELPFILE}" METHOD="GET">
+{TOPIC?<INPUT TYPE="HIDDEN" NAME="TOPIC" VALUE="{TOPIC}">:}
+
+<P ALIGN="CENTER"><B>
+{HELPTITLE?{HELPTITLE}:{TOPIC?{TOPIC}:すべてのドキュメント}} 内を検索:</B> <INPUT
+TYPE="TEXT" NAME="QUERY" VALUE="{?QUERY}" SIZE="60"> <INPUT
+TYPE="IMAGE" SRC="/images/search.gif" ALT="検索"></P>
+
+</FORM>
+
+<!-- Bookmarks -->
+<DIV CLASS="sidebar">
+<H3 CLASS="title">オンラインヘルプドキュメント</H3>
+
+<P CLASS="l0"><A HREF="/help{QUERY??QUERY={QUERY}:}">すべてのドキュメント</A></P>
+<HR>
+
+{[BMTEXT]<P CLASS="l{BMINDENT}"><A HREF="{BMLINK}">{BMTEXT}</A></P>
+}
+</DIV>
+
+{QUERY?<P>{HELPFILE?{HELPTITLE}:{TOPIC?{TOPIC}:すべてのドキュメント}} の検索結果\:</P>
+{QTEXT?<UL>
+{[QTEXT]<LI><A HREF="{QLINK}">{QTEXT}</A>{QPTEXT? (<I><A HREF="{QPLINK}">{QPTEXT}</A></I>内):}</LI>}
+{QTEXT?</UL>:}
+:<P>マッチするものはありませんでした。</P>}
+{HELPTITLE?<HR NOSHADE>:}:}
+{HELPTITLE?<H1>{HELPTITLE}</H1>:}
diff --git a/templates/ja/job-cancel.tmpl b/templates/ja/job-cancel.tmpl
new file mode 100644 (file)
index 0000000..4ee7d1f
--- /dev/null
@@ -0,0 +1,2 @@
+<P><A HREF="{job_printer_uri}">ジョブ {job_id}</A> はキャンセルされました。
+
diff --git a/templates/ja/job-hold.tmpl b/templates/ja/job-hold.tmpl
new file mode 100644 (file)
index 0000000..792c538
--- /dev/null
@@ -0,0 +1,2 @@
+<P><A HREF="{job_printer_uri}">ジョブ {job_id}</A> は印刷をホールドされました。
+
diff --git a/templates/ja/job-move.tmpl b/templates/ja/job-move.tmpl
new file mode 100644 (file)
index 0000000..601e3f9
--- /dev/null
@@ -0,0 +1,22 @@
+<FORM METHOD="POST" ACTION="/{SECTION}/{job_id?:{printer_name}}">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+{job_id?<INPUT TYPE="HIDDEN" NAME="JOB_ID" VALUE="{job_id}">:}
+
+<H2 CLASS="title">{job_id?ジョブ {job_id} の移動:すべてのジョブの移動}</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">新しい宛先:</TH>
+<TD>
+<SELECT NAME="JOB_PRINTER_URI" SIZE="10">
+{[job_printer_uri]<OPTION VALUE="{job_printer_uri}">{job_printer_name}}
+</SELECT>
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/move-job{job_id?:s}.gif" ALT="ジョブの移動"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/job-moved.tmpl b/templates/ja/job-moved.tmpl
new file mode 100644 (file)
index 0000000..e76a804
--- /dev/null
@@ -0,0 +1,2 @@
+<P>{job_id?<A HREF="/jobs/{job_id}">ジョブ {job_id}</A>:すべてのジョブ} は
+<A HREF="{job_printer_uri}">{job_printer_name}</A> に移動しました。</P>
diff --git a/templates/ja/job-release.tmpl b/templates/ja/job-release.tmpl
new file mode 100644 (file)
index 0000000..132f02b
--- /dev/null
@@ -0,0 +1,2 @@
+<P><A HREF="{job_printer_uri}">ジョブ {job_id}</A> は印刷から解放されました。
+
diff --git a/templates/ja/job-restart.tmpl b/templates/ja/job-restart.tmpl
new file mode 100644 (file)
index 0000000..b066827
--- /dev/null
@@ -0,0 +1 @@
+<P><A HREF="{job_printer_uri}">ジョブ {job_id}</A> は再印刷されました。
diff --git a/templates/ja/jobs-header.tmpl b/templates/ja/jobs-header.tmpl
new file mode 100644 (file)
index 0000000..1ed1049
--- /dev/null
@@ -0,0 +1,15 @@
+<P>{?which_jobs=?<A
+HREF="{?printer_name=?/jobs:{printer_uri_supported}}?which_jobs=completed"><IMG
+SRC="/images/show-completed.gif" CLASS="button" ALT="完了したジョブを表示"></A>
+<A HREF="{?printer_name=?/jobs:{printer_uri_supported}}?which_jobs=all"><IMG
+SRC="/images/show-all.gif" CLASS="button" ALT="すべてのジョブを表示">:{which_jobs=all?<A
+HREF="{?printer_name=?/jobs:{printer_uri_supported}}?which_jobs=completed"><IMG
+SRC="/images/show-completed.gif" CLASS="button" ALT="完了したジョブを表示"></A>
+<A HREF="{?printer_name=?/jobs:{printer_uri_supported}}"><IMG
+SRC="/images/show-active.gif" CLASS="button" ALT="アクティブなジョブを表示">:<A
+HREF="{?printer_name=?/jobs:{printer_uri_supported}}"><IMG
+SRC="/images/show-active.gif" CLASS="button" ALT="アクティブなジョブを表示"></A>
+<A HREF="{?printer_name=?/jobs:{printer_uri_supported}}?which_jobs=all"><IMG
+SRC="/images/show-all.gif" CLASS="button" ALT="すべてのジョブを表示">}}</A></P>
+
+<P ALIGN="CENTER">{total=0?ジョブはありません:{total} 個の{?which_jobs=?アクティブな:{which_jobs=all?:完了した}}ジョブのうち {#job_id} 個を表示中}。</P>
diff --git a/templates/ja/jobs.tmpl b/templates/ja/jobs.tmpl
new file mode 100644 (file)
index 0000000..52daf20
--- /dev/null
@@ -0,0 +1,42 @@
+{#job_id=0?:
+<TABLE CELLPADDING="0" CELLSPACING="0" CLASS="button" WIDTH="100%">
+<TR CLASS="data">
+<TH>ID&nbsp;</TH>
+<TH>名前&nbsp;</TH>
+<TH>ユーザ&nbsp;</TH>
+<TH>サイズ&nbsp;</TH>
+<TH>ページ&nbsp;</TH>
+<TH>状態&nbsp;</TH>
+<TH>制御&nbsp;</TH>
+</TR>
+
+{[job_id]
+<TR CLASS="data" VALIGN="TOP">
+<TD><A HREF="{job_printer_uri}">{job_printer_name}</A>-{job_id}&nbsp;</TD>
+<TD>{?job_name=?未知:{job_name}}&nbsp;</TD>
+<TD>{job_originating_user_name}&nbsp;</TD>
+<TD>{job_k_octets}k&nbsp;</TD>
+<TD>{job_media_sheets_completed=0?不明:{?job_media_sheets_completed}}</TD>
+<TD>{job_state=3?{time_at_creation}<BR>から保留中:{job_state=4?{time_at_creation}<BR>からホールド中:
+{job_state=5?{time_at_processing}<BR>から処理中:{job_state=6?{time_at_completed}<BR>に停止:
+{job_state=7?{time_at_completed}<BR>にキャンセル:{time_at_completed}<BR>{{job_state=8?に中断:に完了}}}}}}}&nbsp;</TD>
+<TD>
+{job_preserved>0?
+<A HREF="/jobs/?op=restart-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
+<IMG SRC="/images/restart-job.gif" ALT="ジョブの再印刷" CLASS="button"></A>:}
+{job_state=4?
+<A HREF="/jobs/?op=release-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
+<IMG SRC="/images/release-job.gif" ALT="ジョブを解放" CLASS="button"></A>:}
+{job_state=3?
+<A HREF="/jobs/?op=hold-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
+<IMG SRC="/images/hold-job.gif" ALT="ジョブをホールド" CLASS="button"></A>:}
+{job_state<7?
+<A HREF="/jobs/?op=cancel-job&amp;job_id={job_id}&amp;job_printer_uri={job_printer_uri}">
+<IMG SRC="/images/cancel-job.gif" ALT="ジョブをキャンセル" CLASS="button"></A>
+<A HREF="/jobs/?op=move-job&amp;job_id={job_id}"><IMG
+SRC="/images/move-job.gif" ALT="ジョブを移動" CLASS="button"></A>:}
+&nbsp;</TD>
+</TR>
+}
+</TABLE>
+}
diff --git a/templates/ja/modify-class.tmpl b/templates/ja/modify-class.tmpl
new file mode 100644 (file)
index 0000000..e3ff08d
--- /dev/null
@@ -0,0 +1,34 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+
+<H2 CLASS="title">クラス {printer_name} の変更</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">名前:</TH>
+<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+{printer_name}</TD>
+</TR>
+<TR>
+<TH CLASS="label">場所:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" VALUE="{?printer_location}" SIZE="40" MAXLENGTH="127"></TD>
+</TR>
+<TR>
+<TH CLASS="label">説明:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" VALUE="{?printer_info}" SIZE="40" MAXLENGTH="127"></TD>
+</TR>
+<TR>
+<TH CLASS="label">メンバー:</TH>
+<TD>
+<SELECT NAME="MEMBER_URIS" SIZE="10" MULTIPLE>
+{[member_uris]<OPTION VALUE="{member_uris}" {?member_selected}>{member_names}}
+</SELECT>
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/modify-class.gif" ALT="クラスの変更"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/modify-printer.tmpl b/templates/ja/modify-printer.tmpl
new file mode 100644 (file)
index 0000000..14bab68
--- /dev/null
@@ -0,0 +1,29 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{op}">
+{?device_uri=?:<INPUT TYPE="HIDDEN" NAME="CURRENT_DEVICE_URI" VALUE="{device_uri}">}
+{?printer_make_and_model=?:<INPUT TYPE="HIDDEN" NAME="CURRENT_MAKE_AND_MODEL" VALUE="{printer_make_and_model}">}
+
+<H2 CLASS="title">プリンタ {printer_name} の変更</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">名前:</TH>
+<TD><INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">{printer_name}</TD>
+</TR>
+<TR>
+<TH CLASS="label">場所:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_LOCATION" VALUE="{?printer_location}" SIZE="40" MAXLENGTH="127"><BR>
+<SMALL>("Lab 1" のように人間が読みやすい場所)</SMALL></TD>
+</TR>
+<TR>
+<TH CLASS="label">説明:</TH>
+<TD><INPUT TYPE="TEXT" NAME="PRINTER_INFO" VALUE="{?printer_info}" SIZE="40" MAXLENGTH="127"><BR>
+<SMALL>("HP LaserJet with Duplexer" のように人間が読みやすい説明)</SMALL></TD>
+</TR>
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/continue.gif" ALT="続ける"></TD>
+</TR>
+</TABLE>
+
+</FORM>
diff --git a/templates/ja/option-conflict.tmpl b/templates/ja/option-conflict.tmpl
new file mode 100644 (file)
index 0000000..c7d586b
--- /dev/null
@@ -0,0 +1,7 @@
+<P><B>エラー:</B> 以下のオプションは競合します:</P>
+
+<UL>
+{[ckeyword]<LI><A HREF="#{ckeyword}">{ckeytext}</A></LI>
+}</UL>
+
+<P>競合を解決するために、1つ以上のオプションを変更してください。</P>
diff --git a/templates/ja/option-trailer.tmpl b/templates/ja/option-trailer.tmpl
new file mode 100644 (file)
index 0000000..8256653
--- /dev/null
@@ -0,0 +1,5 @@
+<TR>
+<TD></TD>
+<TD><INPUT TYPE="IMAGE" SRC="/images/set-printer-options.gif" ALT="プリンタオプションの設定"></TD>
+</TR>
+</TABLE>
diff --git a/templates/ja/pager.tmpl b/templates/ja/pager.tmpl
new file mode 100644 (file)
index 0000000..a33e89d
--- /dev/null
@@ -0,0 +1,7 @@
+<TABLE WIDTH="100%" CLASS="pager">
+<TR>
+       <TD WIDTH="33%">{PREVURL?<A HREF="{PREVURL}"><IMG SRC="/images/show-previous.gif" ALT="前を表示" CLASS="button"></A>:&nbsp;}</TD>
+       <TD WIDTH="34%" ALIGN="CENTER">{ORDER=dec?<A HREF="{THISURL}&amp;ORDER=asc"><IMG SRC="/images/sort-ascending.gif" ALT="昇順にソート" CLASS="button"></A>:<A HREF="{THISURL}&amp;ORDER=dec"><IMG SRC="/images/sort-descending.gif" ALT="降順にソート" CLASS="button"></A>}</TD>
+       <TD WIDTH="33%" ALIGN="RIGHT">{NEXTURL?<A HREF="{NEXTURL}"><IMG SRC="/images/show-next.gif" ALT="次を表示" CLASS="button"></A>:&nbsp;}</TD>
+</TR>
+</TABLE>
diff --git a/templates/ja/printer-accept.tmpl b/templates/ja/printer-accept.tmpl
new file mode 100644 (file)
index 0000000..073d126
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+はジョブを受け付けるようになりました。</P>
diff --git a/templates/ja/printer-added.tmpl b/templates/ja/printer-added.tmpl
new file mode 100644 (file)
index 0000000..e01b437
--- /dev/null
@@ -0,0 +1 @@
+<P>プリンタ <A HREF="/printers/{printer_name}">{printer_name}</A> は正しく追加されました。
diff --git a/templates/ja/printer-configured.tmpl b/templates/ja/printer-configured.tmpl
new file mode 100644 (file)
index 0000000..1861afb
--- /dev/null
@@ -0,0 +1 @@
+<P>プリンタ <A HREF="/printers/{printer_name}">{printer_name}</A> は正しく設定されました。
diff --git a/templates/ja/printer-confirm.tmpl b/templates/ja/printer-confirm.tmpl
new file mode 100644 (file)
index 0000000..a4eb0e7
--- /dev/null
@@ -0,0 +1,7 @@
+<P><B>警告:</B> 本当にプリンタ
+{printer_name} を削除してもよいですか?</P>
+
+<P ALIGN="CENTER"><A
+HREF="/admin?op=delete-printer&printer_name={printer_name}&confirm=yes"><IMG
+SRC="/images/delete-printer.gif" ALT="プリンタの削除"
+CLASS="button"></A></P>
diff --git a/templates/ja/printer-default.tmpl b/templates/ja/printer-default.tmpl
new file mode 100644 (file)
index 0000000..c6290c9
--- /dev/null
@@ -0,0 +1,6 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+はサーバのデフォルトプリンタとなりました。</P>
+
+<BLOCKQUOTE><B>注意:</B> <TT>lpoptions</TT> コマンドで設定されたユーザのデフォルトは、このサーバのデフォルト設定を上書きします。
+</BLOCKQUOTE>
diff --git a/templates/ja/printer-deleted.tmpl b/templates/ja/printer-deleted.tmpl
new file mode 100644 (file)
index 0000000..7d48b8a
--- /dev/null
@@ -0,0 +1 @@
+<P>プリンタ {printer_name} は正しく削除されました。
diff --git a/templates/ja/printer-jobs-header.tmpl b/templates/ja/printer-jobs-header.tmpl
new file mode 100644 (file)
index 0000000..d12840e
--- /dev/null
@@ -0,0 +1 @@
+<H3 CLASS="title">ジョブ</H3>
diff --git a/templates/ja/printer-modified.tmpl b/templates/ja/printer-modified.tmpl
new file mode 100644 (file)
index 0000000..55d8aca
--- /dev/null
@@ -0,0 +1 @@
+<P>プリンタ <A HREF="/printers/{printer_name}">{printer_name}</A> は正しく変更されました。
diff --git a/templates/ja/printer-purge.tmpl b/templates/ja/printer-purge.tmpl
new file mode 100644 (file)
index 0000000..8057fef
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+はすべてのジョブを削除しました。</P>
diff --git a/templates/ja/printer-reject.tmpl b/templates/ja/printer-reject.tmpl
new file mode 100644 (file)
index 0000000..bb2c4a8
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+はもうジョブを受け付けません。</P>
diff --git a/templates/ja/printer-start.tmpl b/templates/ja/printer-start.tmpl
new file mode 100644 (file)
index 0000000..daa27e1
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+は開始しました。</P>
diff --git a/templates/ja/printer-stop.tmpl b/templates/ja/printer-stop.tmpl
new file mode 100644 (file)
index 0000000..494aae7
--- /dev/null
@@ -0,0 +1,3 @@
+<P>{is_class?クラス:プリンタ} <A
+HREF="/{is_class?classes:printers}/{printer_name}">{printer_name}</A>
+は停止しました。</P>
diff --git a/templates/ja/printers-header.tmpl b/templates/ja/printers-header.tmpl
new file mode 100644 (file)
index 0000000..f9c78f0
--- /dev/null
@@ -0,0 +1 @@
+<P ALIGN="CENTER">{total=0?プリンタがありません:{total} 個のプリンタのうち {#printer_name} 個を表示中}。</P>
diff --git a/templates/ja/printers.tmpl b/templates/ja/printers.tmpl
new file mode 100644 (file)
index 0000000..a23959c
--- /dev/null
@@ -0,0 +1,60 @@
+{#printer_name=0?:
+{[printer_name]
+<H2 CLASS="title"><A HREF="{printer_uri_supported}">{printer_name}</A>{default_name={printer_name}? (デフォルトプリンタ):}
+{?printer_state_message=?:<SPAN CLASS="message">"{printer_state_message}"</SPAN>}</H2>
+
+<TABLE WIDTH="100%" CLASS="button" CELLSPACING="0" CELLPADDING="0" SUMMARY="{printer_name}">
+<TR>
+<TD VALIGN="TOP"><A HREF="{printer_uri_supported}">
+<IMG SRC="/images/printer-{printer_state=3?idle:{printer_state=4?processing:stopped}}.gif" CLASS="button" ALT=""></A>
+</TD>
+<TD VALIGN="TOP"><B>説明:</B> {printer_info}<BR>
+<B>場所:</B> {printer_location}<BR>
+<B>メーカとモデル:</B> {printer_make_and_model}<BR>
+<B>プリンタの状態:</B> {printer_state=3?待機中:{printer_state=4?処理中:停止}},
+{printer_is_accepting_jobs=0?ジョブを拒否中:ジョブを受け付け中}, {printer_is_shared=0?not:} 公開。
+{?device_uri=?:<BR><B>デバイス URI:</B> {device_uri}}
+
+<P>
+<A HREF="{printer_uri_supported}?op=print-test-page">
+<IMG SRC="/images/print-test-page.gif" ALT="テストページの印刷" CLASS="button"></A>
+{printer_state=5?
+<A HREF="{admin_uri}?op=start-printer&amp;printer_name={printer_name}">
+<IMG SRC="/images/start-printer.gif" ALT="プリタを開始" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=stop-printer&amp;printer_name={printer_name}">
+<IMG SRC="/images/stop-printer.gif" ALT="プリンタを停止" CLASS="button"></A>
+}
+{printer_is_accepting_jobs=0?
+<A HREF="{admin_uri}?op=accept-jobs&amp;printer_name={printer_name}">
+<IMG SRC="/images/accept-jobs.gif" ALT="ジョブを受け付け" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=reject-jobs&amp;printer_name={printer_name}">
+<IMG SRC="/images/reject-jobs.gif" ALT="ジョブを拒否" CLASS="button"></A>
+}
+<A HREF="{printer_uri_supported}?op=move-jobs&amp;printer_name={printer_name}">
+<IMG SRC="/images/move-jobs.gif" ALT="すべてのジョブの移動" CLASS="button"></A>
+<A HREF="{admin_uri}?op=purge-jobs&amp;printer_name={printer_name}">
+<IMG SRC="/images/cancel-all-jobs.gif" ALT="すべてのジョブをキャンセル" CLASS="button"></A>
+{printer_is_shared=0?
+<A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=1">
+<IMG SRC="/images/publish-printer.gif" ALT="プリンタを公開" CLASS="button"></A>
+:
+<A HREF="{admin_uri}?op=set-sharing&amp;printer_name={printer_name}&amp;shared=0">
+<IMG SRC="/images/unpublish-printer.gif" ALT="プリンタを非公開" CLASS="button"></A>
+}
+<A HREF="{admin_uri}?op=modify-printer&amp;printer_name={printer_name}">
+<IMG SRC="/images/modify-printer.gif" ALT="プリンタの変更" CLASS="button"></A>
+<A HREF="{admin_uri}?op=set-printer-options&amp;printer_name={printer_name}">
+<IMG SRC="/images/set-printer-options.gif" ALT="プリンタオプションの設定" CLASS="button"></A>
+<A HREF="{admin_uri}?op=delete-printer&amp;printer_name={printer_name}">
+<IMG SRC="/images/delete-printer.gif" ALT="プリンタの削除" CLASS="button"></A>
+<A HREF="{admin_uri}?op=set-as-default&amp;printer_name={printer_name}">
+<IMG SRC="/images/set-as-default.gif" ALT="デフォルトに設定" CLASS="button"></A>
+<A HREF="{admin_uri}?op=set-allowed-users&amp;printer_name={printer_name}">
+<IMG SRC="/images/set-allowed-users.gif" ALT="許可するユーザの設定" CLASS="button"></A>
+</P>
+</TD>
+</TR>
+</TABLE>
+}}
diff --git a/templates/ja/restart.tmpl b/templates/ja/restart.tmpl
new file mode 100644 (file)
index 0000000..9801f51
--- /dev/null
@@ -0,0 +1 @@
+<p>サーバが再起動するあいだ、しばらくお待ちください...</p>
diff --git a/templates/ja/search.tmpl b/templates/ja/search.tmpl
new file mode 100644 (file)
index 0000000..04c8e17
--- /dev/null
@@ -0,0 +1,10 @@
+<FORM ACTION="/{SECTION}/{?SEARCH_DEST}" METHOD="GET">
+{WHICH_JOBS?<INPUT TYPE="HIDDEN" NAME="WHICH_JOBS" VALUE="{WHICH_JOBS}">:}
+{ORDER?<INPUT TYPE="HIDDEN" NAME="ORDER" VALUE="{ORDER}">:}
+
+<P ALIGN="CENTER"><B>
+{SEARCH_DEST?{SEARCH_DEST}:{SECTION=classes?クラス:{SECTION=jobs?ジョブ:プリンタ}}} 内を検索:</B>
+<INPUT TYPE="TEXT" NAME="QUERY" VALUE="{?QUERY}" SIZE="60"> <INPUT
+TYPE="IMAGE" SRC="/images/search.gif" ALT="検索"></P>
+
+</FORM>
diff --git a/templates/ja/test-page.tmpl b/templates/ja/test-page.tmpl
new file mode 100644 (file)
index 0000000..a4f42fa
--- /dev/null
@@ -0,0 +1,2 @@
+<P>テストページを送信しました; ジョブ ID は <A HREF="/{SECTION}/{printer_name}">
+{printer_name}-{job_id}</A> です。
diff --git a/templates/ja/users.tmpl b/templates/ja/users.tmpl
new file mode 100644 (file)
index 0000000..fb4e3dd
--- /dev/null
@@ -0,0 +1,26 @@
+<FORM METHOD="POST" ACTION="/admin">
+<INPUT TYPE="HIDDEN" NAME="OP" VALUE="{OP}">
+<INPUT TYPE="HIDDEN" NAME="PRINTER_NAME" VALUE="{printer_name}">
+{IS_CLASS?<INPUT TYPE="HIDDEN" NAME="IS_CLASS" VALUE="{IS_CLASS}">:}
+
+<H2 CLASS="title">{printer_name}に許可するユーザ</H2>
+
+<TABLE>
+<TR>
+<TH CLASS="label">ユーザ:</TH>
+<TD>
+<INPUT TYPE='TEXT' NAME='users' SIZE='60' VALUE='{?requesting_user_name_allowed}{?requesting_user_name_denied}'>
+<BR>
+<INPUT TYPE='RADIO' NAME='type' VALUE='requesting-user-name-allowed' {requesting_user_name_allowed?checked:}>これらのユーザの印刷を許可
+<INPUT TYPE='RADIO' NAME='type' VALUE='requesting-user-name-denied' {requesting_user_name_denied?checked:}>これらのユーザの印刷を禁止
+</TD>
+</TR>
+<TR>
+<TD></TD>
+<TD>
+<INPUT TYPE="IMAGE" SRC="/images/set-allowed-users.gif" ALT="許可するユーザの設定">
+</TD>
+</TR>
+</TABLE>
+
+</FORM>