- dbprintf(("Number of configurations: %d\n",chg.number_of_configs));
- dbprintf(("Tapes need eject: %s\n",(chg.eject>0?"Yes":"No")));
- dbprintf (("\traw: %d\n",chg.eject));
- dbprintf(("Inv. auto update: %s\n",(chg.autoinv>0?"Yes":"No")));
- dbprintf (("\traw: %d\n",chg.autoinv));
- dbprintf(("barcode reader : %s\n",(chg.havebarcode>0?"Yes":"No")));
- dbprintf (("\traw: %d\n",chg.havebarcode));
- dbprintf(("Emulate Barcode : %s\n",(chg.emubarcode>0?"Yes":"No")));
- dbprintf (("\traw: %d\n",chg.emubarcode));
- if (chg.debuglevel != NULL)
- dbprintf(("debug level : %s\n", chg.debuglevel));
- dbprintf(("Tapes need sleep: %d seconds\n",chg.sleep));
- dbprintf(("Cleancycles : %d\n",chg.cleanmax));
- dbprintf(("Changerdevice : %s\n",chg.device));
- if (chg.labelfile != NULL)
- dbprintf(("Labelfile : %s\n", chg.labelfile));
- for (i=0; i<chg.number_of_configs; i++){
- dbprintf(("Tapeconfig Nr: %d\n",i));
- dbprintf((" Drivenumber : %d\n",chg.conf[i].drivenum));
- dbprintf((" Startslot : %d\n",chg.conf[i].start));
- dbprintf((" Endslot : %d\n",chg.conf[i].end));
- dbprintf((" Cleanslot : %d\n",chg.conf[i].cleanslot));
-
- if (chg.conf[i].device != NULL)
- dbprintf((" Devicename : %s\n",chg.conf[i].device));
+ dbprintf(_("Number of configurations: %d\n"), chg->number_of_configs);
+ dbprintf(_("Tapes need eject: %s\n"), (chg->eject>0 ? _("Yes") : _("No")));
+ dbprintf (_("\traw: %d\n"),chg->eject);
+ dbprintf(_("Inv. auto update: %s\n"), (chg->autoinv>0 ? _("Yes") : _("No")));
+ dbprintf (_("\traw: %d\n"),chg->autoinv);
+ dbprintf(_("barcode reader : %s\n"), (chg->havebarcode>0 ? _("Yes") : _("No")));
+ dbprintf (_("\traw: %d\n"),chg->havebarcode);
+ dbprintf(_("Emulate Barcode : %s\n"), (chg->emubarcode>0 ? _("Yes") : _("No")));
+ dbprintf (_("\traw: %d\n"),chg->emubarcode);
+ if (chg->debuglevel != NULL)
+ dbprintf(_("debug level : %s\n"), chg->debuglevel);
+ dbprintf(_("Tapes need sleep: %ld seconds\n"), (long int)chg->sleep);
+ dbprintf(_("Clean cycles : %d\n"), chg->cleanmax);
+ dbprintf(_("Changer device : %s\n"), chg->device);
+ if (chg->labelfile != NULL)
+ dbprintf(_("Label file : %s\n"), chg->labelfile);
+ for (i=0; i<chg->number_of_configs; i++){
+ dbprintf(_("Tape config Nr: %d\n"), i);
+ dbprintf(_(" Drive number : %d\n"), chg->conf[i].drivenum);
+ dbprintf(_(" Start slot : %d\n"), chg->conf[i].start);
+ dbprintf(_(" End slot : %d\n"), chg->conf[i].end);
+ dbprintf(_(" Clean slot : %d\n"), chg->conf[i].cleanslot);
+
+ if (chg->conf[i].device != NULL)
+ dbprintf(_(" Device name : %s\n"), chg->conf[i].device);