1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * 23 * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. 24 * 25 * pmResources.java 26 * Localizable resource strings 27 */ 28 29package com.sun.admin.pm.client; 30 31import java.util.*; 32 33/* 34 * In accordance with the ResourceBundle pattern, 35 * each line in this file defines a tuple containing 36 * two strings: 37 * string 1 is the key used by the app -- DO NOT LOCALIZE 38 * string 2 is the string to be localized 39 * 40 * For example, in the tuple 41 * {"info_name", "Oracle Solaris Print Manager"} 42 * 43 * "info_name" is the resource key that must 44 * not be modified in any way 45 * 46 * "Oracle Solaris Print Manager" is the corresponding 47 * text to be localized 48 */ 49 50public class pmResources extends ListResourceBundle { 51 static final Object[][] pmBundlecontents = { 52 53 /* 54 * Descriptive strings used in the 'About' dialog 55 */ 56 {"info_name", "Oracle Solaris Print Manager"}, 57 {"info_version", "Version 1.0"}, 58 {"info_authors", "Authors: Wendy Phillips"}, 59 60 // Note: the copyright notice is displayed on two lines. 61 {"info_copyright1", "Copyright \251 "}, 62 /* JSTYLED */ 63 {"info_copyright2", " (c) Oracle and/or its affiliates. All rights reserved."}, 64 65 /* 66 * Main window title, the application name 67 */ 68 {"Solaris.Print.Manager", "Oracle Solaris Print Manager"}, 69 70 71 /* 72 * Main window column labels for printer list 73 */ 74 {"Printer.Name", "Printer Name"}, 75 {"Printer.Server", "Printer Server"}, 76 {"Description", "Description"}, 77 78 79 /* 80 * Main window menu titles and mnemonics 81 */ 82 {"Print.Manager", "Print Manager"}, 83 {"Print.Manager.mnemonic", "M"}, 84 85 {"Printer", "Printer" }, 86 {"Printer.mnemonic", "P"}, 87 88 {"Tools", "Tools" }, 89 {"Tools.mnemonic", "T"}, 90 91 {"Help", "Help"}, 92 {"Help.mnemonic", "H"}, 93 94 95 /* 96 * Main window data labels 97 */ 98 {"Default.Printer:", "Default Printer:"}, 99 {"Domain:", "Domain:"}, 100 {"Host:", "Host:"}, 101 102 103 /* 104 * 'Printer Manager' menu item labels and mnemonics 105 */ 106 {"Select.Naming.Service", "Select Naming Service..."}, 107 {"Select.Naming.Service.mnemonic", "N"}, 108 109 {"Show.Command-Line.Console", "Show Command-Line Console"}, 110 {"Show.Command-Line.Console.mnemonic", "L"}, 111 112 {"Confirm.All.Actions", "Confirm All Actions"}, 113 {"Confirm.All.Actions.mnemonic", "C"}, 114 115 {"Use.PPD.files", "Use PPD files"}, 116 {"Use.PPD.files.mnemonic", "F"}, 117 118 {"Use.localhost", "Use localhost for Printer Server"}, 119 {"Use.localhost.mnemonic", "U"}, 120 121 {"Exit", "Exit"}, 122 {"Exit.mnemonic", "X"}, 123 124 /* 125 * 'Printer' menu item labels and mnemonics 126 */ 127 {"Add.Access.to.Printer...", "Add Access to Printer..."}, 128 {"Add.Access.to.Printer.mnemonic", "A"}, 129 130 {"New.Attached.Printer...", "New Attached Printer..."}, 131 {"New.Attached.Printer.mnemonic", "T"}, 132 133 {"New.Network.Printer...", "New Network Printer..."}, 134 {"New.Network.Printer.mnemonic", "N"}, 135 136 {"Modify.Printer.Properties...", "Modify Printer Properties..."}, 137 {"Modify.Printer.Properties.mnemonic", "M"}, 138 139 {"Delete.Printer...", "Delete Printer..."}, 140 {"Delete.Printer.mnemonic", "D"}, 141 142 143 /* 144 * 'Tools' menu item labels 145 */ 146 {"Find.Printer", "Find Printer..."}, 147 {"Find.Printer.mnemonic", "F"}, 148 149 150 /* 151 * 'Help' menu item labels 152 */ 153 {"Overview", "Overview"}, 154 {"Overview.mnemonic", "O"}, 155 156 {"On.Help", "On Help"}, 157 {"On.Help.mnemonic", "H"}, 158 159 {"About.Print.Manager", "About Print Manager..."}, 160 {"About.Print.Manager.mnemonic", "A"}, 161 162 {"Print.Manager.Settings", "Print Manager Settings"}, 163 {"Print.Manager.Settings.mnemonic", "P"}, 164 165 166 /* 167 * 'Select Naming Service' dialog title 168 */ 169 {"SPM:Select.Naming.Service", 170 "Oracle Solaris Print Manager: Select Naming Service"}, 171 172 173 /* 174 * 'Command-Line Console' dialog title 175 */ 176 {"SPM:Command-Line.Console", 177 "Oracle Solaris Print Manager: Command-Line Console"}, 178 179 180 /* 181 * 'Delete Printer' confirmation dialog title 182 */ 183 {"SPM:Delete.Printer", "Oracle Solaris Print Manager: Delete Printer"}, 184 185 186 /* 187 * 'Add Access to Printer' dialog title 188 */ 189 {"SPM:Add.Access.To.Printer", 190 "Oracle Solaris Print Manager: Add Access to Printer"}, 191 192 193 /* 194 * 'Add Attached Printer' dialog title 195 */ 196 {"SPM:New.Attached.Printer", 197 "Oracle Solaris Print Manager: New Attached Printer"}, 198 199 200 /* 201 * 'Add Network Printer' dialog title 202 */ 203 {"SPM:New.Network.Printer", 204 "Oracle Solaris Print Manager: New Network Printer"}, 205 206 207 /* 208 * 'Modify Printer Properties' dialog title 209 */ 210 {"SPM:Modify.Printer.Properties", 211 "Oracle Solaris Print Manager: Modify Printer Properties"}, 212 213 214 /* 215 * 'Find Printer' dialog title 216 */ 217 {"SPM:Find.Printer", "Oracle Solaris Print Manager: Find Printer"}, 218 219 220 /* 221 * 'Help' dialog title 222 */ 223 {"SPM:Help", "Oracle Solaris Print Manager: Help"}, 224 225 226 /* 227 * 'About Print Manager' dialog title 228 */ 229 {"About.Solaris.Print.Manager", "About Oracle Solaris Print Manager"}, 230 231 232 /* 233 * 'User Input of Printer Port' dialog title 234 */ 235 {"SPM:Specify.Printer.Port", 236 "Oracle Solaris Print Manager: Specify Printer Port"}, 237 238 239 /* 240 * 'User Input of Printer Type' dialog title 241 */ 242 {"SPM:Specify.Printer.Type", 243 "Oracle Solaris Print Manager: Specify Printer Type"}, 244 245 246 /* 247 * 'NIS Authentication' dialog title 248 */ 249 {"NIS.Authentication", "NIS Authentication"}, 250 251 /* 252 * 'LDAP Authentication' dialog title 253 */ 254 {"LDAP.Authentication", "LDAP Authentication"}, 255 256 257 /* 258 * 'Action Confirmation' dialog title 259 */ 260 {"Action.Confirmation", "Action Confirmation"}, 261 262 263 /* 264 * Button labels and mnemonics 265 */ 266 {"Apply", "Apply"}, 267 {"Apply.mnemonic", "P"}, 268 269 {"Cancel", "Cancel"}, 270 {"Cancel.mnemonic", "C"}, 271 272 {"Clear", "Clear"}, 273 {"Clear.mnemonic", "L"}, 274 275 {"Dismiss", "Dismiss"}, 276 {"Dismiss.mnemonic", "D"}, 277 278 // {"Button Help", "Help"}, 279 // {"Button.Help.mnemonic", "H"}, 280 281 {"OK", "OK"}, 282 {"OK.mnemonic", "O"}, 283 284 {"Reset", "Reset"}, 285 {"Reset.mnemonic", "R"}, 286 287 {"Find", "Find"}, 288 {"Find.mnemonic", "F"}, 289 290 {"Show", "Show"}, 291 {"Show.mnemonic", "S"}, 292 293 {"Forward", "Forward"}, 294 {"Forward.mnemonic", "W"}, 295 296 {"Back", "Back"}, 297 {"Back.mnemonic", "B"}, 298 299 {"Add", "Add"}, 300 {"Add.mnemonic", "A"}, 301 302 {"Delete", "Delete"}, 303 {"Delete.mnemonic", "D"}, 304 305 306 /* 307 * Actions performed by the application 308 * as displayed in the Command-Line Console 309 */ 310 {"New.Attached.Printer", "New Attached Printer"}, 311 {"New.Network.Printer", "New Network Printer"}, 312 {"Modify.Printer.Properties", "Modify Printer Properties"}, 313 {"Delete.Printer", "Delete Printer"}, 314 {"Add.Access.To.Printer", "Add Access To Printer"}, 315 316 317 /* 318 * Prompts: messages to user describing required input. 319 */ 320 {"Enter.name.of.printer.to.find", 321 "Enter the name of a printer to find:"}, 322 {"Please.confirm.deletion.of.printer", 323 "Please confirm deletion of printer "}, 324 {"Enter.printer.type:", "Enter printer type:"}, 325 {"Enter.printer.port.or.file", "Enter printer port or file:"}, 326 327 328 /* 329 * 'Help' dialog tabbed-pane tab selection labels 330 */ 331 {"View", "View"}, 332 {"Index", "Index"}, 333 {"Search", "Search"}, 334 335 336 /* 337 * 'Help' dialog prompts, labels, and mnemonics 338 */ 339 {"Help.on:", "Help on:"}, 340 {"See.also:", "See also:"}, 341 342 {"Matching.entries:", "Matching entries:"}, 343 {"Matching.entries:.mnemonic", "M"}, 344 345 {"Search.help.index.for:", "Search help index for: "}, 346 {"Search.help.index.for:.mnemonic", "S"}, 347 348 {"Search.Results:", "Search Results:"}, 349 {"Search.Results:.mnemonic", "R"}, 350 351 {"Keywords:", "Keywords: "}, 352 {"Keywords:.mnemonic", "K"}, 353 354 355 /* 356 * 'Help' dialog descriptive messages to provide 357 * assistance in using the features. 358 */ 359 360 /* 361 * The following two labels create one message, displayed on 362 * two adjacent lines. 363 */ 364 {"To.search.the.index...", 365 "To search the index of help articles alphabetically,"}, 366 {"type.your.query.below...", 367 "type your query below then select the desired article."}, 368 369 /* 370 * The following two labels create one message, displayed on 371 * two adjacent lines. 372 */ 373 {"To.find.help.articles...", 374 "To find help articles about a particular topic,"}, 375 {"enter.keywords.below...", 376 "enter keywords below then press the Find button."}, 377 378 379 /* 380 * Prompts/labels on 'Install Printer' and 'Modify Printer' dialogs 381 */ 382 {"Printer.Name:", "Printer Name:"}, 383 {"Printer.Server:", "Printer Server:"}, 384 {"Description:", "Description:"}, 385 {"Printer.Port:", "Printer Port:"}, 386 {"Not.Selected", "Not Selected"}, 387 {"Printer.Type:", "Printer Type:"}, 388 {"Printer.Driver:", "Printer Driver:"}, 389 {"No.PPD.Files.Found", "No PPD files found"}, 390 {"Printer.Make:", "Printer Make:"}, 391 {"Printer.Model:", "Printer Model:"}, 392 {"No.Models.Found", "No Models Found"}, 393 {"File.Contents:", "File Contents:"}, 394 {"Fault.Notification:", "Fault Notification:"}, 395 {"Destination:", "Destination:"}, 396 {"Protocol:", "Protocol:"}, 397 {"Options:", "Options:"}, 398 {"Banner:", "Banner:"}, 399 {"Options.mnemonic", "O"}, 400 {"Option:", "Option:"}, 401 {"User.Access.List:", "User Access List:"}, 402 403 404 /* 405 * Combo item allowing custom 'Printer Port' selection 406 * See "Printer.Port:" above. 407 */ 408 {"Other...", "Other..."}, 409 410 411 /* 412 * Combo items specifying printer 'File Contents' 413 * See "File.Contents" above. 414 */ 415 {"PostScript", "PostScript"}, 416 {"ASCII", "ASCII"}, 417 {"None", "None"}, 418 {"Any", "Any"}, 419 {"Both.PostScript.and.ASCII", "Both PostScript and ASCII"}, 420 421 422 /* 423 * Combo items specifying 'Fault Notification' options. 424 * See "Fault.Notification" above. 425 */ 426 {"Write.to.Superuser", "Write to Superuser"}, 427 {"Mail.to.Superuser", "Mail to Superuser"}, 428 429 430 /* 431 * Labels for checkboxes used in 'Install Printer' and 432 * 'Modify Printer' dialogs 433 */ 434 {"Default.Printer", "Default Printer"}, 435 {"Always.Print.Banner", "Always Print Banner"}, 436 {"User.Selectable.Default.On", "User Selectable - Default=on"}, 437 {"Never.Print.Banner", "Never Print Banner"}, 438 439 440 /* 441 * Prompt for 'Select Naming Service' combo 442 */ 443 {"Naming.Service:", "Naming Service:"}, 444 445 446 /* 447 * Descriptive label for 'NIS Authentication' dialog 448 */ 449 {"Enter.NIS.authentication.data.", "Enter NIS authentication data."}, 450 451 /* 452 * Descriptive label for 'LDAP Authentication' dialog 453 */ 454 {"Enter.LDAP.authentication.data.", "Enter LDAP authentication data."}, 455 456 457 /* 458 * Prompts and mnemonics for 'NIS Authentication' dialog 459 */ 460 {"Hostname:", "Hostname:"}, 461 {"Hostname.mnemonic", "H"}, 462 463 {"Username:", "Username:"}, 464 {"Username.mnemonic", "U"}, 465 466 {"Password:", "Password:"}, 467 {"Password.mnemonic", "P"}, 468 469 /* 470 * Prompts for 'LDAP Authentication' dialog 471 */ 472 {"LDAP.Server:", "LDAP Server:"}, 473 {"Distinguished.Name:", "Distinguished Name:"}, 474 {"Password:", "Password:"}, 475 476 477 /* 478 * Error dialog titles 479 */ 480 {"Application.Error", "Application Error"}, 481 {"Unknown.Application.Error", "Unknown Application Error"}, 482 {"Command.Failed.Error", "Command Failed Error"}, 483 {"Error", "Error"}, 484 {"Warning", "Warning"}, 485 486 487 /* 488 * Error messages displayed to user 489 */ 490 {"Item.not.found:", "Item not found: "}, 491 {"No.information.available.", "No information available."}, 492 {"Unable.to.find.printer", "Unable to find printer "}, 493 {"Printer.delete.operation.failed.", 494 "Printer delete operation failed."}, 495 {"Invalid.printer.type.", "Invalid printer type."}, 496 {"Device.missing.or.not.writeable.", 497 "Device missing or not writeable."}, 498 {"Printer.name.required.", "Printer name required."}, 499 {"Printer.Port.Selection.required", "Printer Port Selection required."}, 500 {"Printer.Make.Selection.required", "Printer Make Selection required."}, 501 {"Printer.name.invalid.", "Printer name invalid."}, 502 {"Server.name.required.", "Server name required."}, 503 {"Server.name.invalid.", "Server name invalid."}, 504 {"User.Cancelled.Login", "User Cancelled Login"}, 505 {"Destination.required.", "Destination required."}, 506 {"User.Cancelled.Login", "User Cancelled Login"}, 507 {"Destination.invalid.", "Destination invalid."}, 508 {"Operation.Cancelled", "Operation Cancelled"}, 509 {"Login.Failure", "Login Failure"}, 510 {"Required.login.failed.", "Required login failed."}, 511 {"Login.Authorization.Failed", "Login Authorization Failed"}, 512 {"Cannot.modify.this.queue;ppdcache.file.missing.", 513 "Cannot modify this queue; ppdcache file missing."}, 514 {"Cannot.modify.this.queue;PPD.file.not.in.ppdcache.", 515 "Cannot modify this queue; PPD file not in ppdcache."}, 516 {"Request.cannot.be.completed.", "Request cannot be completed."}, 517 {"Could.not.get.local.hostname", "Could not get local hostname"}, 518 {"The.specified.printer.already.exists.", 519 "The specified printer already exists."}, 520 {"The.server.must.be.a.remote.server.", 521 "The server must be a remote server."}, 522 {"Required.login.failed.", "Required login failed."}, 523 {"Invalid.printer.type.", "Invalid printer type."}, 524 {"Invalid.username", "Invalid username"}, 525 {"Device.missing.or.not.writeable.", 526 "Device missing or not writeable."}, 527 {"User.cancelled.login.", "User cancelled login."}, 528 {"Nothing.matched.", "Nothing matched."}, 529 {"The.specified.printer.already.exists.", 530 "The specified printer already exists."}, 531 {"The.selected.printer.does.not.exist.", 532 "The selected printer does not exist."}, 533 {"User.not.authorized.to.modify.this.namespace.", 534 "User not authorized to modify this namespace."}, 535 {"Cannot.get.list.of.printers.Exiting.", 536 "Cannot get list of printers. Exiting."}, 537 {"LDAP.server.name.required.", 538 "LDAP Server Name required."}, 539 {"LDAP.Distinguished.name.required.", 540 "LDAP Distinguished Name required."}, 541 {"LDAP.Password.required.", 542 "LDAP Password required."}, 543 544 545 /* 546 * Prompts for 'Confirm Action' dialogs 547 */ 548 {"Continue.action.for.this.printer?", 549 "Continue action for this printer?"}, 550 {"Continue.creating.access.for.this.printer?", 551 "Continue creating access for this printer?"}, 552 553 554 /* 555 * The help subsystem builds a database of searchable 556 * keywords based in part on the title of each help 557 * article. In order to avoid excessive false hits, the 558 * following words are ignored when adding title words 559 * to the searchable keyword list. 560 * 561 * If this list is left empty, all the words in the title of 562 * each help article will be added to the keywords database. 563 */ 564 {"help.ignore.words", "to an a of if the and or"}, 565 566 567 568 /* 569 * Title for the authorization dialog which is invoked by 570 * the printmgr executable. 571 */ 572 {"Authentication.required", "Authentication Required"}, 573 574 /* 575 * Prompt for the printmgr authorization dialog. 576 * This is displayed with line breaks. 577 */ 578 /* JSTYLED */ 579 {"Root.access.is.required", "Root access is required for full functionality.\nYou may authenticate as root or continue\nwith limited functionality."}, 580 581 /* 582 * Buttons for the authorization dialog. 583 */ 584 {"Authenticate", "Authenticate"}, 585 {"Authenticate.mnemonic", "A"}, 586 587 {"Continue", "Continue"}, 588 {"Continue.mnemonic", "N"}, 589 590 /* 591 * Title for the root password request dialog invoked by printmgr. 592 */ 593 {"Root.authentication", "Root Authentication"}, 594 595 /* 596 * Prompt for the root password request dialog. 597 */ 598 {"Enter.root.password", "Enter root password"}, 599 600 /* 601 * Prompt for the root password request dialog. 602 */ 603 {"Invalid.password", "Invalid password entered. Retry?"}, 604 605 /* 606 * Just a placeholder, never used. 607 */ 608 {"dummy", ""} 609 }; 610 611 public Object[][] getContents() { 612 return pmBundlecontents; 613 } 614} 615