Författare: Christian Rose (menthos_at_menthos.com)
Datum: 2003-02-21 16:28:27
Här är uppdateringen av printconf. Ta gärna en titt. Filen finns även på http://www.menthos.com/po/redhat/printconf.sv.po. Christian # Swedish messages for printconf. # Copyright (C) 2001, 2002, 2003 Christian Rose <menthos@menthos.com>. # # $Id: sv.po,v 1.45 2003/01/23 10:39:23 menthos Exp $ # msgid "" msgstr "" "Project-Id-Version: printconf\n" G "POT-Creation-Date: 2001-09-05 15:03-0400\n" G "PO-Revision-Date: 2002-05-21 01:27+0200\n" N "POT-Creation-Date: 2003-01-21 11:35+0000\n" N "PO-Revision-Date: 2003-01-23 11:49+0100\n" "Last-Translator: Christian Rose <menthos@menthos.com>\n" "Language-Team: Swedish <sv@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../util/printconf_tui.py:1617 ../util/printconf_tui.py:1657 N msgid "Value must be a number" N msgstr "Värdet måste vara ett tal" N #: ../util/printconf_tui.py:1641 #, python-format #: ../util/printconf_tui.py:1976 N msgid "Importing CUPS queues ..." N msgstr "Importerar CUPS-köer..." N #. set up snack #. 4 top, 4 bottom #. 6 sides #. run the queue list form #. tear down snack #. tear down snack #. ===================================================================================================================== #. Import and Export #. ----------------- #: ../util/printconf_tui.py:2020 #, python-format #. ===================================================================================================================== #: ../util/printconf_tui.py:2071 #, python-format N msgid "\"%s\" is not a valid queue name." N msgstr "\"%s\" är inte ett giltigt könamn." N #. Examine the command line. #: ../util/printconf_tui.py:2101 ../util/printconf_tui.py:2253 N msgid "Need device, make and model.\n" N msgstr "Behöver enhet, tillverkare och modell.\n" N #. Examine the current state of affairs. #. Not valid. #. Not a local queue. #. Not a queue for the specified device node. #. Not an mfomatic queue. #. Not a queue for this printer model. #. Nothing to do. #. Check that the provided name, if there is one, is unique. #: ../util/printconf_tui.py:2145 #, python-format N msgid "add-local: queue name '%s' not unique\n" N msgstr "add-local: könamnet \"%s\" inte unikt\n" N #. Generate a name. #. Is it unique? #: ../util/printconf_tui.py:2167 N msgid "add-local: no suitable name available\n" N msgstr "add-local: inget lämpligt namn tillgängligt\n" N #: ../util/printconf_tui.py:2177 #, python-format N msgid "add-local: No information available about %s %s\n" N msgstr "add-local: Ingen information tillgänglig om %s %s\n" N #. Build the queue information. #. If there is a recommended driver, try that first. Otherwise #. take the first one that's available. #. Actually construct the queue. #: ../util/printconf_tui.py:2234 ../util/printconf_tui.py:2310 N msgid "Now run printconf-backend (or restart lpd service)." N msgstr "Kör nu printconf-backend (eller starta om lpd-tjänsten)." N #. ===================================================================================================================== #: ../util/printconf_tui.py:2318 G msgid "Red Hat, Inc" G msgstr "Red Hat, Inc" G G msgid "\"The Trees! The Trees!\" -Thoreau" G msgstr "\"Träden! Träden!\" -Thoreau" G G msgid "Thanks to everyone involved at http://www.linuxprinting.org!" G msgstr "Tack till alla inblandade på http://www.linuxprinting.org!" #. ===================================================================================================================== #. Main #. ---- #. !/usr/bin/python #. # redhat-config-printer #. # Queue tree window implementation #. # Copyright (C) 2001-2003 Red Hat, Inc. #. # Copyright (C) 2002-2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #: ../util/queueTree.py:38 N msgid "You must be root to run this program.\n" N msgstr "Du måste vara root för att köra detta program.\n" N #. GUI imports #. Other modules #. Hack to work around bug #74365 #. Initializing foomatic is expensive, so just do it on demand. #: ../util/queueTree.py:100 #, python-format N msgid "Printer configuration - %s" N msgstr "Skrivarkonfiguration - %s" N #. Widgets. #. Grey out these buttons until a queue is chosen. #. Signals. #. TreeView columns. #: ../util/queueTree.py:186 ../gui/redhat-config-printer.glade.str:45 #: ../gui/redhat-config-printer.glade.str:109 N msgid "Queue name" N msgstr "Könamn" #. Queue status pixbufs #. Other modules. #. Find out what print spooler is currently active, so that #. we can warn if the user is changing an option that has #. no effect. #. Put the queues in the tree view. #. Whether we need to run the backend. #. Let GTK take over. #. -------------------------------- #. Handle the window being deleted #. -------------------------------- #: ../util/queueTree.py:254 msgid "" G "You have made changes, would you like to save them?\n" G "If you say no, your changes will be lost." N "Do you want to save the changes\n" N "you made to your printer configuration?" msgstr "" G "Du har gjort ändringar, vill du spara dem?\n" G "Om du svarar nej kommer dina ändringar att gå förlorade." N "Vill du spara de ändringar du\n" N "gjort i skrivarkonfigurationen?" G msgid "lpd restart succeeded." G msgstr "Omstart av lpd lyckades." G G msgid "lpd restart failed." G msgstr "Omstart av lpd misslyckades." G G msgid "You must specify the port of the JetDirect printer." G msgstr "Du måste ange porten på JetDirect-skrivaren." G G msgid "You must select a driver." G msgstr "Du måste välja en drivrutin." G G msgid "Queue:" G msgstr "Kö:" #: ../util/queueTree.py:256 N msgid "_Don't save" N msgstr "Spara _inte" N N msgid "Don't save" N msgstr "Spara inte" N #: ../util/queueTree.py:257 N msgid "_Cancel" N msgstr "_Avbryt" N #: ../util/queueTree.py:258 N msgid "_Save" N msgstr "_Spara" N N msgid "Save" N msgstr "Spara" N #. ---------------------------- #. Populate the queue treeview #. ---------------------------- #: ../util/queueTree.py:347 N msgid "Browsed queues" N msgstr "Bläddrade frågor" N #. ---------------------------- #. Greying-out the main window #. ---------------------------- #. ------------------------------------- #. Helper functions used by this module #. ------------------------------------- #: ../util/queueTree.py:385 N msgid "" N "Loading printer information.\n" N "Please wait..." N msgstr "" N "Läser in skrivarinformation.\n" N "Var vänlig vänta..." G msgid "Host:" G msgstr "Värd:" G G msgid "Ip:" G msgstr "Ip:" #. ------------------- #. Create a new queue #. ------------------- #. ------------- #. Edit a queue #. ------------- #. --------------------- #. Double-click handler #. --------------------- #. Double-clicking on a browsed queue could bring #. up a box with information about it in I suppose. #. --------------------------- #. Set a queue as the default #. --------------------------- #. Nothing to do. #. --------------------- #. Queue sharing dialog #. --------------------- #. --------------- #. Delete a queue #. --------------- #. If it was an override queue, put in the non-editable queue. #. Since the selected queue is deleted, nothing is selected now. #. Grey out the buttons that act on an existing queue. #. --------------------------------------- #. Helper functions used by other modules #. --------------------------------------- #: ../util/queueTree.py:624 N msgid "Notes from the Linux Printing Database" N msgstr "Anteckningar från Linux Printing Database" N #: ../util/queueTree.py:626 N msgid "Printer notes:" N msgstr "Skrivaranteckningar:" N #: ../util/queueTree.py:631 N msgid "Driver notes:" N msgstr "Drivrutinsanteckningar:" N #. Put in alphanumeric order, except for Generic which should #. come first. #: ../util/queueTree.py:687 N msgid "Generic (click to select manufacturer)" N msgstr "Allmän (klicka för att välja tillverkare)" G msgid "Alias" G msgstr "Alias" #: ../util/queueTree.py:779 #, python-format N msgid "" N "You are changing an option\n" N "that has no effect in the print\n" N "spooler you are using (%s)." N msgstr "" N "Du ändrar ett alternativ som\n" N "inte har någon effekt på den\n" N "utskriftsspooler du använder (%s)." N #. -------------- #. Apply changes #. -------------- #: ../util/queueTree.py:797 N msgid "" N "Applying changes.\n" N "Please wait..." N msgstr "" N "Verkställer ändringar.\n" N "Var vänlig vänta..." N #: ../util/queueTree.py:814 N msgid "Failed to write queues." N msgstr "Misslyckades med att skriva köer." N #. ----------- #. Run a test #. ----------- #: ../util/queueTree.py:856 #, python-format N msgid "" N "There was a problem sending %s\n" N "to '%s' queue:\n" N "\n" N msgstr "" N "Det uppstod ett problem vid skickande av %s\n" N "till kön \"%s\":\n" N "\n" G msgid "Please choose a name of the form [a-zA-Z][a-zA-Z0-9_-]*." G msgstr "Välj ett namn på formen [a-zA-Z][a-zA-Z0-9_-]*." G G msgid "Can't autoselect for this printer device." G msgstr "Kan inte välja automatiskt för denna skrivarenhet." #: ../util/queueTree.py:864 #, python-format N msgid "" N "Sent %s\n" N "to '%s' queue. Please check the result." N msgstr "" N "Skickade %s\n" N "till kön \"%s\". Kontrollera resultatet." G msgid "There are no options available for this driver." G msgstr "Det finns inga alternativ tillgängliga för denna skrivare." #: ../util/addQueue.py:124 N msgid "Comment" N msgstr "Kommentar" N #. Storage for the printer list. #. Printer list columns. #: ../util/addQueue.py:133 ../util/editQueue.py:199 N msgid "Model" N msgstr "Modell" N #. Printer select function. #. Signals. #. ------------------------------- #. Handle the window being deleted #. ------------------------------- #. --------------------------- #. Greying-out the main window #. --------------------------- #. ----------------------------- #. Make up a name to start with #. ----------------------------- #. ---------------- #. Start the druid #. ---------------- #. Set the druid page to the start. #. Context help tracking. #. Set up the name page. #. Set up the type page. #. Local printer device tab #. IPP tab #. LPD tab #. SMB tab #. If samba isn't installed, but the user wants to proceed anyway, #. smb_forced is set. #. NCP tab #. JetDirect tab #. Set up the printer model page. #. Run the druid. #. ---------- #. Show help #. ---------- #. ----------- #. Start page #. ----------- #. ---------- #. Name page #. ---------- #. Is the name valid at all? #: ../util/addQueue.py:317 ../util/editQueue.py:1037 N msgid "Invalid name" N msgstr "Ogiltigt namn" N #. Is there already a queue (or alias) of that name? #: ../util/addQueue.py:325 ../util/editQueue.py:1046 N msgid "There is already a queue with that name." N msgstr "Det finns redan en kö med det namnet." N #: ../util/addQueue.py:331 ../util/editQueue.py:1053 N msgid "An existing queue has an alias of that name." N msgstr "En befintlig kö har ett alias med det namnet." N #. ---------- #. Type page #. ---------- #: ../util/addQueue.py:362 ../util/editQueue.py:565 #, python-format N msgid "'%s' does not exist, or is not writable." N msgstr "\"%s\" finns inte eller är inte skrivbar." N #. Printer select function #. Signals. #. ------------------------------- #. Handle the window being deleted #. ------------------------------- #. --------------------------- #. Greying-out the main window #. --------------------------- #. --------------- #. Run the dialog #. --------------- #. Set main notebook to first page. #. Fill in the name page. #. Fill in the type page. #. Local device tab #. IPP tab defaults #. LPD tab defaults #. SMB tab defaults #. NCP tab defaults #. JetDirect tab defaults #. Set type values from configuration #. If it's a currently visible device we've already selected it #. (in rescan_devices). So we just need to deal with devices #. that we didn't already see. #. This is a device we don't know about. #: ../util/addQueue.py:367 ../util/editQueue.py:331 ../util/editQueue.py:570 #: ../gui/redhat-config-printer.glade.str:119 #: ../gui/redhat-config-printer.glade.str:207 N msgid "Custom device" N msgstr "Anpassad enhet" #. We can only see one printer; that might be the one the #. user wants. Select it. #. This is a local printer. If it has an IEEE 1284 Device ID, #. see if we can find the right printer driver. #. Found it. So choose the right manufacturer, select the #. right model, and scroll the treeview to it. #. Shouldn't be needed. #: ../util/addQueue.py:513 ../util/editQueue.py:1109 N msgid "You must select a device." N msgstr "Du måste välja en enhet." N #: ../util/addQueue.py:533 ../util/editQueue.py:1130 N msgid "You must specify a path." N msgstr "Du måste ange en sökväg." N #: ../util/addQueue.py:554 ../util/editQueue.py:1153 N msgid "You must specify a queue." N msgstr "Du måste ange en kö." N #: ../util/addQueue.py:570 N msgid "You must choose an SMB share to print to." N msgstr "Du måste välja en SMB-utdelning att skriva ut till." N #: ../util/addQueue.py:576 N msgid "You must choose a share, not a host." N msgstr "Du måste välja en utdelning, inte en värd." N #: ../util/addQueue.py:584 ../util/editQueue.py:1174 N msgid "You must specify an SMB share to print to." N msgstr "Du måste ange en SMB-utdelning att skriva ut till." N #: ../util/addQueue.py:680 ../util/editQueue.py:1203 N msgid "You must specify a queue on the NCP server." N msgstr "Du måste ange en kö på NCP-servern." N #: ../util/addQueue.py:698 ../util/editQueue.py:1221 N msgid "You must specify a JetDirect printer to print to." N msgstr "Du måste ange en JetDirect-skrivare att skriva ut till." N #: ../util/addQueue.py:705 ../util/editQueue.py:1229 N msgid "You must specify an IP port number." N msgstr "Du måste ange ett IP-portnummer." N #. ------------- #. SMB browsing #. ------------- #. This is a share, not a host. #. Add it to the tree view. #: ../util/addQueue.py:847 N msgid "(Specified)" N msgstr "(Angiven)" N #. ----------- #. Model page #. ----------- #: ../util/addQueue.py:869 ../gui/redhat-config-printer.glade.str:95 N msgid "Select the printer manufacturer and model." N msgstr "Välj skrivartillverkare och skrivarmodell." N #: ../util/addQueue.py:874 msgid "" G "Sorry,\n" G "there are no notes available for this printer." N "Select the printer manufacturer and model. Depending on how the remote queue " N "is configured, you may need to select the generic PostScript option here." msgstr "" G "Tyvärr,\n" G "det finns inga anteckningar tillgängliga för denna skrivare." N "Välj skrivartillverkare och skrivarmodell. Beroende på hur fjärrkön är " N "konfigurerad kan du behöva välja det allmänna PostScript-alternativet här." #: ../util/addQueue.py:932 N msgid "You must select a printer model." N msgstr "Du måste välja en skrivarmodell." N #. ------------ #. Finish page #. ------------ #: ../util/addQueue.py:970 msgid "" G "Notes from the Linux Printing Database\n" G "http://www.linuxprinting.org\n" N "About to create the following queue:\n" "\n" msgstr "" G "Anteckningar från Linux Printing Database\n" G "http://www.linuxprinting.org\n" N "Kommer att skapa följande kö:\n" "\n" G msgid "Invalid Printer Record." G msgstr "Ogiltig skrivarpost." #: ../util/addQueue.py:971 N msgid "Type: " N msgstr "Typ: " G msgid "You must select a printer queue to override." G msgstr "Du måste välja en skrivarkö att åsidosätta." #: ../util/addQueue.py:1028 N msgid "Printer: " N msgstr "Skrivare: " G msgid "You cannot override a locally defined printer." G msgstr "Du kan inte åsidosätta en lokalt definierad skrivare." #: ../util/addQueue.py:1049 N msgid "Device: " N msgstr "Enhet: " G msgid "You must select a printer queue to send a test page to." G msgstr "Du måste välja en skrivarkö att skicka en testsida till." #: ../util/addQueue.py:1067 ../util/addQueue.py:1095 N msgid "Queue: " N msgstr "Kö: " G msgid "The printer's format is not understood, and can not be edited." G msgstr "Skrivarens format förstås inte och kan inte redigeras." #: ../util/addQueue.py:1086 N msgid "Share: " N msgstr "Utdelning: " N #: ../util/addQueue.py:1102 N msgid "Port: " N msgstr "Port: " N #. ---------------------- #. Finish button pressed #. ---------------------- #: ../util/addQueue.py:1143 N msgid "" N "Would you like to print a test page?\n" N "Answering 'yes' will apply all changes\n" N "and print a test page to this printer." N msgstr "" N "Vill du skriva ut en testsida?\n" N "Att svara \"ja\" kommer att verkställa\n" N "alla ändringar och skriva ut en\n" N "testsida på denna skrivare." N #. Give the print spooler a moment to sort itself out. #. FIXME: This should be done in the initscript instead. #. Local Variables: #. py-indent-offset: 4 #. End: #. !/usr/bin/python #. # redhat-config-printer #. # Edit Queue dialog implementation #. # Copyright (C) 2001-2003 Red Hat, Inc. #. # Copyright (C) 2002-2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #: ../util/editQueue.py:63 N msgid "Number of columns on a page" N msgstr "Antal kolumner på en sida" N #: ../util/editQueue.py:64 N msgid "Characters per inch" N msgstr "Tecken per tum" N #: ../util/editQueue.py:65 N msgid "Billing label" N msgstr "Fakturaetikett" N #: ../util/editQueue.py:66 #, python-format N msgid "" N "HH:MM:SS or '%s'.\n" N "Use GMT." N msgstr "" N "HH:MM:SS eller \"%s\".\n" N "Använd UTC." #: ../util/editQueue.py:68 #, python-format msgid "" G "You must select a printer queue\n" G " to make the default." N "Banner pages (start,end):\n" N "for example, '%s'" msgstr "" G "Du måste välja att göra en\n" G " skrivarkö till standardval." N "Bannersidor (start,slut):\n" N "till exempel \"%s\"" G msgid "You must run printconf-gui as root." G msgstr "Du måste köra printconf-gui som root." #: ../util/editQueue.py:70 #, python-format N msgid "Landscape (%s or %s)" N msgstr "Liggande (%s eller %s)" N #: ../util/editQueue.py:72 N msgid "Lines per inch" N msgstr "Rader per tum" #: ../util/editQueue.py:73 msgid "" G "This driver requires Hewlett Packard's hpijs driver package, which does not " G "appear to be installed." N "Number of document pages per\n" N "printed page: 1, 2, 4, 6, 9, or 16" msgstr "" G "Denna skrivare kräver Hewlett Packards hpijs-drivrutinspaket, som inte " G "verkar vara installerat." N "Antal dokumentsidor per utskriven\n" N "sida: 1, 2, 4, 6, 9 eller 16" #: ../util/editQueue.py:75 N msgid "Top margin in pt (1/72 in)" N msgstr "Överkant i pt (1/72 tum)" N #: ../util/editQueue.py:76 N msgid "Left margin in pt (1/72 in)" N msgstr "Vänstermarginal i pt (1/72 tum)" N #: ../util/editQueue.py:77 N msgid "Right margin in pt (1/72 in)" N msgstr "Högermarginal i pt (1/72 tum)" N #: ../util/editQueue.py:78 N msgid "Bottom margin in pt (1/72 in)" N msgstr "Nederkant i pt (1/72 tum)" N #: ../util/editQueue.py:79 #, python-format msgid "" G "RPMS are available from the project's sourceforge site: http://hpinkjet." G "sourceforge.net" N "'%s', '%s', '%s'\n" N "'%s' or '%s'" msgstr "" G "RPM:er är tillgängliga från projektets hemsida på SourceForge: http://" G "hpinkjet.sourceforge.net" N "\"%s\", \"%s\", \"%s\"\n" N "\"%s\" eller \"%s\"" N #: ../util/editQueue.py:85 N msgid "Page label" N msgstr "Pappersetikett" N #: ../util/editQueue.py:86 #, python-format N msgid "Pretty-print text (%s or %s)" N msgstr "Finskriv text (%s eller %s)" N #: ../util/editQueue.py:88 N msgid "Scaling (percentage)" N msgstr "Skalning (procent)" N #: ../util/editQueue.py:89 #, python-format N msgid "Word-wrapping (%s or %s)" N msgstr "Radbrytning (%s eller %s)" N #. Storage for the queue options list. #. Queue options list columns. #: ../util/editQueue.py:181 ../gui/redhat-config-printer.glade.str:251 N msgid "Option name" N msgstr "Alternativnamn" N #: ../util/editQueue.py:187 ../gui/redhat-config-printer.glade.str:250 N msgid "Value" N msgstr "Värde" N #: ../util/editQueue.py:585 N msgid "Can't determine the printer model attached to this device." N msgstr "Kan inte avgöra skrivarmodellen som är ansluten vid denna enhet." N #: ../util/editQueue.py:592 N msgid "I don't know enough about this printer model to choose a driver." N msgstr "" N "Jag vet inte tillräckligt om denna skrivare för att välja en drivrutin." N #. ------------------- #. Queue options page #. ------------------- #: ../util/editQueue.py:643 N msgid "Edit queue option" N msgstr "Redigera köalternativ" N #: ../util/editQueue.py:648 N msgid "Add queue option" N msgstr "Lägg till köalternativ" N #. Validate #: ../util/editQueue.py:663 N msgid "Invalid option name" N msgstr "Ogiltigt aternativnamn" N #: ../util/editQueue.py:672 N msgid "Invalid value" N msgstr "Ogiltigt värde" N #. Check for duplicates and remove if necessary #. Add the new option #: ../util/editQueue.py:744 N msgid "Value for this option" N msgstr "Värde för detta alternativ" N #. -------------------------- #. Printer model/driver page #. -------------------------- #: ../util/editQueue.py:835 N msgid "None" N msgstr "Ingen" G msgid "Red Hat is unable to ship these drivers due to license restrictions." #: ../util/editQueue.py:847 N msgid "" N "(this is the\n" N "recommended driver)" msgstr "" G "Red Hat kan inte distribuera dessa drivrutiner på grund av restriktioner i " G "licensen." N "(detta är den rekommenderade\n" N "drivrutinen)" N #: ../util/editQueue.py:850 #, python-format N msgid "" N "(recommended\n" N "driver is %s)" N msgstr "" N "(rekommenderad\n" N "drivrutin är %s)" N #. Update self.driver_namespace to reflect the current settings. #. Driver options need redoing now. #. -------------------- #. Driver options page #. -------------------- #. Clear out the current options. #. Need to beautify this. #: ../util/editQueue.py:958 N msgid "There are no options available for this driver." N msgstr "Det finns inga alternativ tillgängliga för denna skrivare." #. Actually validation was already done when options were added #. or edited. So just pull. #. banner pages #. imageable area margins #. filter options #. Check the blacklist. #. Local Variables: #. py-indent-offset: 4 #. End: #. !/usr/bin/python #. # printconf-conf #. # Copyright (C) 2000, 2002, 2003 Red Hat, Inc. #. # Copyright (C) 2000 Crutcher Dunnavant <crutcher@redhat.com>, #. # Copyright (C) 2002, 2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. ================================================================================================= #. Purpose #. ------- #. This program provides the display independent portions of printconf's configuration tools. It is #. meant to be included in printconf-gui and printconf-tui, and performs initialization of its data #. at include time. It is not meant as a generalized library for printconf access, and the author #. will be surprised he hears of any monkeys doing this successfully. #. ================================================================================================= #. Python Convinince #. ----------------- #. Stuff to tame this screwy language #. ================================================================================================= #. Conf Space #. ---------- #. Save State #. ---------- #. Here we keep track of the state of the program. #. ================================================================================================= #. Libs #. ---- #. General Modules #. --------------- #. #. It is difficult to write anything useful in python that does not use these modules, and there is #. no simple way to justify them, so we just import them. Strings must be munged, and files must be #. pathed. #. Used for parsing foomatic and printer test files #. ================================================================================================= #. Debugging Functions #. ------------------- #. Debug State #. ----------- #. #. Some features and behaviours of this program are not meant for general use, but exist solely to #. aid in actually working upon the program. Python uses the special variable '__debug__' to #. regulate some debuging behaviour, and we can hang the figurative hat of the rest of our debuging #. behaviours upon the same variable. If the python interpreter is set to generate optimized code, #. all blocks of the form: #. #. if __debug__: #. ... block ... #. #. will be thrown away at /parse time/. This means that if the command line option -O is used on the #. shebang line above, they will never be executed, no matter __debug__'s value. It's value is set #. to 1 by default, and 0 by the optimize switch, and we set it here to be 'sure', but we can never #. turn debugging back on, if it was turned off by the shebang line. #. __debug__ = 0 #. Through out the program, it is useful to print some status information to the terminal if we are #. in debug mode. This function makes that a simple call. #. This function is a wrapper to make it easier to print out the names of internal function calls. #. This function is a bitcher, that makes sure I fix things #. ================================================================================================= #. I18N Setup #. ---------- #. #. Before we begin with the program proper, we must set up I18N translation functions, so that #. string constants will be auto-translated by gettext. Import the 'gettext' module, #. In the foomatic database, floats always have radix '.'. Here is a function #. to convert those strings to floats, regardless of the current locale. #. Convert a floating point number expressed as a string that #. uses '.' as the radix char into a float. #. ================================================================================================= #. Ya, Special Cases! #. ------------------ #: ../util/printconf_conf.py:152 N msgid "" N "This driver requires Hewlett Packard's hpijs driver (available in the hpijs " N "package) which does not appear to be installed." N msgstr "" N "Denna drivrutin kräver Hewlett Packards hpijs-drivrutinspaket (som finns i " N "paketet hpijs) som inte verkar vara installerat." N #: ../util/printconf_conf.py:153 ../util/printconf_conf.py:164 #: ../util/printconf_conf.py:180 msgid "Do you wish to use it anyway?" G msgstr "VIll du använda dem ändå?" N msgstr "Vill du använda den ändå?" N #: ../util/printconf_conf.py:163 N msgid "" N "This driver requires the Omni Print Driver System, which does not appear to " N "be installed." N msgstr "" N "Denna drivrutin kräver utskriftsdrivrutinssystemet Omni, som inte verkar " N "vara installerat." N #: ../util/printconf_conf.py:179 N msgid "" N "This driver requires the oki4drv daemon to be running, and it does not " N "appear to be." N msgstr "" N "Denna drivrutin kräver att oki4drv-demonen kör, och den verkar inte göra " N "detta." #: ../util/printconf_conf.py:237 N msgid "IPP Print Queue" N msgstr "IPP-utskriftskö" N #: ../util/printconf_conf.py:245 G msgid "Add A New Print Queue" G msgstr "Lägg till en ny utskriftskö" #: ../util/printconf_conf.py:602 #, python-format N msgid "ERROR: box \"%s\" is not a writable interface." N msgstr "FEL: boxen \"%s\" är inte ett skrivbart gränssnitt." N #. ================================================================================================= #. LPD Control Section (qed) #. #. attempt to restart the lpd service #. Find out which print spooler is active. #. ================================================================================================= #. Printer Tests #. ------------- #. print a postscript testpage #. print a postscript testpage #. ================================================================================================= #. Overrides #. --------- #. ================================================================================================= #. Scan Local Printer Devices #. -------------------------- #. This being a printing system, it's probably a good idea to go and see if there are any printers #. attached locally. #. Scan Parallel Port Printers #. Scan USB Printers #. # Scan IR Printers? #. for i in range(4): #. dev = '/dev/ir%d' % i #. #. try: os.close (os.open (dev, os.O_WRONLY | os.O_NONBLOCK)) #. except: continue #. #. local_printer_devices.device_dict[dev] = {'device':dev} #. local_printer_devices.device_dict[dev].update(autodetect_ir_printer(dev, i)) #. Class = "CLASS:??;\n", hence [6:-2] #. Model = "MODEL:??;\n", hence [6:-2] #. Model = "MANUFACTURER:??;\n", hence [13:-2] #. Model = "DESCRIPTION:??;\n", hence [12:-2] #. Model = "COMMAND SET:??;\n", hence [12:-2] #. We have no real ability to co-relate USB printers with the device they use, #. so we just return the first USB printer we find, if we find one. #. Ignore inactive interfaces, and ones that are not printers #. ================================================================================================= #. Queue Validation #. ---------------- #. #. Queue validation is a simple boolean check. If any of the things we would expect to find are not #. in a queue, then it is 'INVALID', we return None, and this means that the program is not smart #. enough to edit that particular queue. #. IMPORTANT: #. We are ignoring the old-style option_default entries. #. Foomatic's options have changed underneath us, making it #. dificult to index by the old values. #. Checks the validity of a printer name (The strictness is an artifact of our encoding method.) #. ================================================================================================= #. Foomatic #. -------- #. Here we talk to the www.linuxprinting.org foomatic printing system #. We don't care about printers with no drivers #. Watch for inconsistant enums values #. Paranoia! #. ================================================================================================= #. Everyone gets this option, except it doesn't work. #. option_list.append(( #. "bool", #. "print_header_page", #. _("Print Header Page"), #. driver_namespace.misc_filter_options, #. 0, #. None #. )) #. Enable 'Rerender Postscript' and 'Assume Data is Text' #. if LANG begins with 'zh' or 'ko' #. All MAGICFILTER types get send_EOT and send_FF #: ../util/printconf_conf.py:1703 N msgid "Send Form-Feed (FF)" N msgstr "Skicka pappersmatning (FF)" N #: ../util/printconf_conf.py:1712 N msgid "Send End-of-Transmission (EOT)" N msgstr "Skicka slut på överföring (EOT)" G msgid "Alias List" G msgstr "Aliaslista" #: ../util/printconf_conf.py:1721 N msgid "Assume Unknown Data is Text" N msgstr "Anta att okänd data är text" G msgid "Apply" G msgstr "Verkställ" #: ../util/printconf_conf.py:1731 N msgid "Prerender Postscript" N msgstr "Förrendera Postscript" G msgid "Autoselect Driver" G msgstr "Välj drivrutin automatiskt" #: ../util/printconf_conf.py:1740 N msgid "Convert Text to Postscript" N msgstr "Konvertera text till Postscript" G msgid "Bar" G msgstr "Kaka" G G msgid "Baz" G msgstr "Apa" G G msgid "Bob" G msgstr "Olle" G G msgid "Command:" G msgstr "Kommando:" G G msgid "Configure a Delivery Command" G msgstr "Konfigurera ett leveranskommando" G G msgid "Configure a Jetdirect Printer" G msgstr "Konfigurera en Jetdirect-skrivare" G G msgid "Configure a Local Printer" G msgstr "Konfigurera en lokal skrivare" G G msgid "Configure a Novell Print Queue" G msgstr "Konfigurera en Novell-utskriftskö" G G msgid "Configure a Unix Print Queue" G msgstr "Konfigurera en Unix-utskriftskö" G G msgid "Configure a Windows Print Queue" G msgstr "Konfigurera en Windows-utskriftskö" G G msgid "Configure the SMB share of your remote printer." G msgstr "Konfigurera SMB-utdelningen av din fjärrskrivare." G G msgid "Configure the remote server and queue of your NCP printer." G msgstr "Konfigurera fjärrservern och -kön till din NCP-skrivare." G G msgid "" G "Configure the server and queue of your remote lpd server. If no queue is " G "specified, you will use the default queue on the remote server. Select " G "strict RFC1179 compliance if you are having problems connecting to an older " G "lpd server." G msgstr "" G "Konfigurera servern och kön till din fjärr-lpd-server. Om ingen kö anges " G "kommer du att använda standardkön på fjärrservern. Välj strikt RFC1179-" G "kompatibilitet om du har problem med en äldre lpd-server." G G msgid "Create a New Print Queue" G msgstr "Skapa en ny utskriftskö" G G msgid "Delete a Print Queue" G msgstr "Ta bort en utskriftskö" G G msgid "Driver Options" G msgstr "Drivrutinsalternativ" #: ../util/printconf_conf.py:1754 N msgid "Page Size" N msgstr "Pappersstorlek" G msgid "Edit a Print Queue" G msgstr "Redigera en utskriftskö" #: ../util/printconf_conf.py:1763 N msgid "Effective Filter Locale" N msgstr "Effektiv filterlokal" G msgid "" G "Enter the Command you want to run for delivery.\n" G "The printjob will be sent to this command on standard input.\n" G "You must give full paths to programs, there is no guaranteed path set." G msgstr "" G "Ange kommandot som du vill använda för leverans.\n" G "Utskriftsjobbet kommer att skickas till detta kommando på standard in.\n" G "Du måste ange fullständiga sökvägar till program, det finns ingen garanterad " G "sökväg." G G msgid "" G "Enter the IP address of the JetDirect printer.\n" G "Use the default port of 9100 unless you know the printer is using a " G "different port." G msgstr "" G "Ange IP-adressen till JetDirect-skrivaren.\n" G "Använd standardporten 9100 såvida du inte vet om att skrivaren använder en " G "annan port." G G msgid "" G "Enter the Queue's name, and select the Queue's Type.\n" G "Valid names can contain the characters \"a-z\", \"A-Z\", \"0-9\", \"-\", and " G "\"__\".\n" G "They must begin with letters." G msgstr "" G "Ange namnet på kön och välj kötypen.\n" G "Giltiga namn kan innehålla tecknen \"a-z\", \"A-Z\", \"0-9\", \"-\" och \"__" G "\".\n" G "De måste börja med bokstäver." G G msgid "Finish, and Create the New Print Queue" G msgstr "Slutför och skapa den nya utskriftskön" #: ../util/printconf_conf.py:1774 N msgid "Couldn't load driver information." N msgstr "Kunde inte läsa in drivrutinsinformation." G msgid "Foo" G msgstr "Groda" G G msgid "Host IP:" G msgstr "Värd-IP:" G G msgid "JETDIRECT" G msgstr "JETDIRECT" G G msgid "JetDirect Printer" G msgstr "JetDirect-skrivare" G G msgid "LOCAL" G msgstr "LOKAL" G G msgid "LPD" G msgstr "LPD" G G msgid "Local Printer" G msgstr "Lokal skrivare" #. !/usr/bin/python #. # printconf-backend #. # Copyright (C) 2001, 2002 Red Hat, Inc. #. # Copyright (C) 2001 Crutcher Dunnavant <crutcher@redhat.com>, #. # Copyright (C) 2002 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. ===================================================================================================================== #. Libs #. ---- #. printconf #. --------- #. import the general parts of printconf #. ===================================================================================================================== #. Is the user root? #: ../util/printconf_backend.py:36 N msgid "You must run printconf-backend as root." N msgstr "Du måste köra printconf-backend som root." N #. ===================================================================================================================== #. Program Data Paths #. ------------------ #. #. We need to know where some variable things are. #. ===================================================================================================================== #. File Headers #. ------------ #. #. The volatile file is a marker left in a spool directory saying, in effect, 'I was created by printconf'. If #. printconf finds this file in a directory it cannot account for, it will destroy the directory. #. ===================================================================================================================== #. printcap.local #. -------------- #. #. /etc/printcap is generated; /etc/printcap.local is not, though it is imported by /etc/printcap. We make sure that #. /etc/printcap.local exists, but otherwise ignore it. #. To Rebuild, or Not #. ------------------ #. #. Rebuilding the printing system can be expensive, and we want to avoid frivolus rebuilds. On the other hand, taking #. the time to confirm that the existing configuration is valid is also expensive, so we do not rescan the directories #. if the configuration looks current. To check, we look for some force flags, and then examine the switchboard. #. Parse options #. Obviously rebuild if the printcap file is not there. #. Rebuild if the printcap.local file is newer than the printcap file #. rebuild if the namespace is dirty #. Scan printcap #. ------------- #. #. In the scenario that we are not forced to rebuild, we need to know if the existing printcap files have a printer #. defined. This is a tricky task, and we can't take the time to fully validate them. We just itterate through the #. databases, and take note if we ever find something that looks like a printer. #. get the next printcap file to scan #. address the issue of relative paths. #. the printcap file in question does not exist, and attempting to start the server would fail. #. However, if we fail here, we effectively swallow the error message that the print server will #. throw (and will be more informative). So we just skip this file. #. We've found an include file directive #. We've found a valid printcap entry, return true. #. If we are not rebuilding, then the appropriate return value is dependent upon whatever scan_printcap_files finds. #. Rebuilding ... #. -------------- #. #. After the early exit case above, from this point on we know that we need to rebuild the print queues, and will no #. longer check the status of the rebuild variable. #. The alchemist context #. --------------------- #. #. To get the current configuration, we do a pull from the alchemist, and mark ourselves current. If it fails, #. we scan the printcap files, and exit on the return value returned. #. Now that we've got the context, extract the print queue list from it, and reorder for the default printer, if one is #. defined and available. #. First, get a list of all the queue names #. Next, scan each queue's alias list, add new aliases to the name list and zap pre-defined aliases #. and strip out all conflicting aliases, to minimize the impact of alias merges from multiple sources. #. The 'lp' user and group #. ----------------------- #. #. Printer spools and files are owned by the 'lp' user and the 'lp' group. Since we will be creating these files, it is #. appropriate if we know the respective uid and gid of those groups. The pwd module is perfect for this lookup. #. Paranoid File Writes #. -------------------- #. #. At a number of places in the program, it becomes necessary to write out a file that must be secure from the moment of #. creation. Since this is a bit annoying to do in python, I've got this nice little helper function for exactly this #. task. #. Magicfilter Configuration #. ------------------------- #. #. Because most of our magicfilter cases are handled by mfomatic at this point, all magicfilter configuration gets #. passed on to a seccond stage perl script, which has the capability to read the foomatic files that mfomatic uses. #. This function builds the control structure that the second stage evals as it's input. #. This function builds a control structure to pass to a perl script #. which can easily override the foomatic data file's options. #. #. Maybe if you don't think about it, it wont disturb you ;) #. Universal values #. Read the flags list #. We start with the assumption of 'Letter' as the page size. If we find something to override this, we change. #. mfomatic values #. Might as well look for pagesize #. Select Page Sizes #. ----------------- #. #. Yes! Standards Are Fun! Here we take the size we are given, and try to match it to mpage and ghostscript page sizes. #. Could be smarter (and not annoy europe and asia) #. Dump header #. Build Print Queue #. ----------------- #. #. This function takes a queue, and rebuilds it on the system. It should be rewritten as a series of co-functions for #. the different queue and filter types available in the future. #. build the appropriate queue directory, if it does not exist #. build the name list for the printcap entry #. start building the options list #. Extract the real info #. header page handling (YES, it is a filtration option) #. Handle the queue cases #. This is a local printer #. This is a lpd network queue #. This is a SMB network share #. This is a NCP network printer #. This is a Jet Direct printer on the network #. What queue type is this? Nevermind, I'll just skip it. #. Handle the filtration cases #. We are not filtering at all #. We are using the magicfilter filter set #. What kind of filter is this? Hmm, I'll skip it. #. Rebuild Queues #. -------------- #. #. We are now ready to iterate over the list of remaining queues, and rebuild each one. This function does this, and #. returns the number of active queues that if found. It also destroys obsolete spool directories which it made in the #. past. #. Rebuild each print queue, append their returned printcap entries to the printcap_entry_list #. Quietly swallow a failed queue build, and continue. #. backup the old printcap, you know, cause we are about to zap it, and people like backups. #. Write out the printcap string #. This scans the spool directory, and distroys any directory marked volatile that does not have a current #. valid configuration. #. Yeah, I could do this in python, but it would suck #. We now try to rebuild. If that fails, we scan the printcap files for our return value. #. #. * Translatable strings file generated by Glade. #. * Add this file to your project's POTFILES.in. #. * DO NOT compile it as part of your application. #. #: ../gui/redhat-config-printer.glade.str:7 N msgid "Printer configuration" N msgstr "Skrivarkonfiguration" N #: ../gui/redhat-config-printer.glade.str:8 N msgid "_Action" N msgstr "_Åtgärd" N #: ../gui/redhat-config-printer.glade.str:9 N msgid "_New queue" N msgstr "_Ny kö" N #: ../gui/redhat-config-printer.glade.str:10 N msgid "_Edit queue" N msgstr "_Redigera kö" N #: ../gui/redhat-config-printer.glade.str:11 N msgid "_Delete queue" N msgstr "_Ta bort kö" N #: ../gui/redhat-config-printer.glade.str:12 N msgid "Set as de_fault" N msgstr "Ställ in som _standard" N #: ../gui/redhat-config-printer.glade.str:13 N msgid "_Apply" N msgstr "_Verkställ" N #: ../gui/redhat-config-printer.glade.str:14 #: ../gui/redhat-config-printer.glade.str:215 N msgid "_Sharing..." N msgstr "_Delar ut..." G msgid "Model" G msgstr "Modell" #: ../gui/redhat-config-printer.glade.str:15 N msgid "_Test" N msgstr "_Testa" N #: ../gui/redhat-config-printer.glade.str:16 N msgid "_CUPS test page" N msgstr "_CUPS-testsida" N #: ../gui/redhat-config-printer.glade.str:17 N msgid "_US Letter PostScript test page" N msgstr "PostScript-testsida i _US Letter-format" N #: ../gui/redhat-config-printer.glade.str:18 N msgid "_A4 PostScript test page" N msgstr "PostScript-testsida i _A4-format" N #: ../gui/redhat-config-printer.glade.str:19 N msgid "ASC_II text test page" N msgstr "Testsida med ASC_II-text" N #: ../gui/redhat-config-printer.glade.str:20 N msgid "Japanese _EUC text test page" N msgstr "Testsida med japansk _EUC-text" N #: ../gui/redhat-config-printer.glade.str:21 N msgid "Japanese _JIS text test page" N msgstr "Testsida med japansk _JIS-text" N #: ../gui/redhat-config-printer.glade.str:22 N msgid "Japanese _SJIS text test page" N msgstr "Testsida med japansk _SJIS-text" N #: ../gui/redhat-config-printer.glade.str:23 N msgid "Japanese EUC PostScript test page" N msgstr "Testsida med japansk EUC-PostScript" N #: ../gui/redhat-config-printer.glade.str:24 N msgid "Japanese JIS PostScript test page" N msgstr "Testsida med japansk JIS-PostScript" N #: ../gui/redhat-config-printer.glade.str:25 N msgid "Japanese SJIS PostScript test page" N msgstr "Testsida med japansk SJIS-PostScript" N #: ../gui/redhat-config-printer.glade.str:26 N msgid "_Duplex test" N msgstr "_Duplextest" N #: ../gui/redhat-config-printer.glade.str:27 N msgid "JPE_G test" N msgstr "JPE_G-test" N #: ../gui/redhat-config-printer.glade.str:28 N msgid "_Help" N msgstr "_Hjälp" N #: ../gui/redhat-config-printer.glade.str:29 N msgid "_Contents" N msgstr "_Innehåll" N #: ../gui/redhat-config-printer.glade.str:30 N msgid "Add a new queue" N msgstr "Lägg till en ny kö" N #: ../gui/redhat-config-printer.glade.str:32 N msgid "Edit the selected queue" N msgstr "Redigera den markerade kön" N #: ../gui/redhat-config-printer.glade.str:34 N msgid "Delete the selected queue" N msgstr "Ta bort den markerade kön" N #: ../gui/redhat-config-printer.glade.str:36 N msgid "Set as default queue" N msgstr "Ställ in som standardkö" N #: ../gui/redhat-config-printer.glade.str:38 N msgid "Apply changes" N msgstr "Verkställ ändringar" G msgid "NCP" G msgstr "NCP" G G msgid "Name and Aliases" G msgstr "Namn och alias" G G msgid "Novell Printer" G msgstr "Novell-skrivare" G G msgid "Novell Printer (NCP Queue)" G msgstr "Novell-skrivare (NCP-kö)" #: ../gui/redhat-config-printer.glade.str:39 N msgid "Apply" N msgstr "Verkställ" #: ../gui/redhat-config-printer.glade.str:40 #: ../gui/redhat-config-printer.glade.str:41 N msgid "Add a new print queue" N msgstr "Lägg till en ny utskriftskö" N #: ../gui/redhat-config-printer.glade.str:42 msgid "" G "On the following screens, you will be asked to provide\n" G "information for adding a new print queue.\n" N "On the following screens, you will be asked to provide basic information for " N "adding a new print queue. You will be able to edit the more advanced " N "options afterwards.\n" "\n" G "Nothing will be done to your settings until you hit \"Apply\"\n" G "on the last screen." N "Nothing will be done to your settings until you hit \"Apply\" on the last " N "screen." msgstr "" G "På följande skärmar kommer du att frågas om information\n" G "för att lägga till en ny utskriftskö.\n" N "På följande skärmar kommer du att frågas om information för att lägga till " N "en ny utskriftskö. Du kommer att kunna redigera de mer avancerade " N "inställningarna senare.\n" "\n" G "Ingenting kommer att utföras förrän du trycker \"Verkställ\" \n" G "på den sista skärmen." N "Ingenting kommer att utföras förrän du trycker \"Verkställ\" på den sista " N "skärmen." N #: ../gui/redhat-config-printer.glade.str:46 N msgid "" N "Please enter a name for this queue. Choose a short name that begins with a " N "letter and contains no spaces." N msgstr "" N "Ange ett namn för denna kö. Välj ett kort namn som börjar med en bokstav och " N "inte innehåller några blanksteg." N #: ../gui/redhat-config-printer.glade.str:49 N msgid "" N "If you like, you can enter a description of the printer to help you identify " N "it more easily." N msgstr "" N "Om du vill kan du ange en beskrivning för skrivaren för att hjälpa dig " N "identifiera den lättare." N #: ../gui/redhat-config-printer.glade.str:50 N msgid "Short description: " N msgstr "Kort beskrivning: " N #: ../gui/redhat-config-printer.glade.str:52 #: ../gui/redhat-config-printer.glade.str:108 N msgid "About" N msgstr "Om" N #: ../gui/redhat-config-printer.glade.str:53 #: ../gui/redhat-config-printer.glade.str:161 N msgid "Queue type" N msgstr "Kötyp" N #: ../gui/redhat-config-printer.glade.str:54 N msgid "Select a queue type:" N msgstr "Välj en kötyp:" N #: ../gui/redhat-config-printer.glade.str:55 N msgid "Choose the type of queue you want to use" N msgstr "Välj den typ av kö du vill använda" N #: ../gui/redhat-config-printer.glade.str:56 #: ../gui/redhat-config-printer.glade.str:112 N msgid "_Locally-connected" N msgstr "_Lokalt ansluten" N #: ../gui/redhat-config-printer.glade.str:57 #: ../gui/redhat-config-printer.glade.str:113 N msgid "Networked CUPS (_IPP)" N msgstr "Nätverksansluten CUPS (_IPP)" N #: ../gui/redhat-config-printer.glade.str:58 #: ../gui/redhat-config-printer.glade.str:114 N msgid "Networked _UNIX (LPD)" N msgstr "Nätverksansluten _UNIX (LPD)" N #: ../gui/redhat-config-printer.glade.str:59 #: ../gui/redhat-config-printer.glade.str:115 N msgid "Networked _Windows (SMB)" N msgstr "Nätverksansluten _Windows (SMB)" N #: ../gui/redhat-config-printer.glade.str:60 #: ../gui/redhat-config-printer.glade.str:116 N msgid "Networked _Novell (NCP)" N msgstr "Nätverksansluten _Novell (NCP)" N #: ../gui/redhat-config-printer.glade.str:61 #: ../gui/redhat-config-printer.glade.str:117 N msgid "Networked _JetDirect" N msgstr "Nätverksansluten _JetDirect" N #: ../gui/redhat-config-printer.glade.str:62 N msgid "_Rescan devices" N msgstr "_Genomsök enheter igen" N #: ../gui/redhat-config-printer.glade.str:63 N msgid "_Custom device" N msgstr "_Anpassad enhet" N #: ../gui/redhat-config-printer.glade.str:64 #: ../gui/redhat-config-printer.glade.str:121 N msgid "local" N msgstr "lokal" N #: ../gui/redhat-config-printer.glade.str:67 #: ../gui/redhat-config-printer.glade.str:124 N msgid "Path:" N msgstr "Sökväg:" N #: ../gui/redhat-config-printer.glade.str:69 #: ../gui/redhat-config-printer.glade.str:126 N msgid "ipp" N msgstr "ipp" N #: ../gui/redhat-config-printer.glade.str:72 #: ../gui/redhat-config-printer.glade.str:80 #: ../gui/redhat-config-printer.glade.str:129 #: ../gui/redhat-config-printer.glade.str:149 N msgid "Queue:" N msgstr "Kö:" N #: ../gui/redhat-config-printer.glade.str:74 #: ../gui/redhat-config-printer.glade.str:132 N msgid "lpd" N msgstr "lpd" N #: ../gui/redhat-config-printer.glade.str:75 N msgid "Type in the share name" N msgstr "Ange namnet på utdelningen" N #: ../gui/redhat-config-printer.glade.str:76 N msgid "Specify..." N msgstr "Ange..." N #: ../gui/redhat-config-printer.glade.str:77 #: ../gui/redhat-config-printer.glade.str:144 N msgid "smb" N msgstr "smb" G msgid "Printer" G msgstr "Skrivare" G G msgid "Printer IP:" G msgstr "Skrivar-IP:" G G msgid "Printer Notes" G msgstr "Skrivaranteckningar" G G msgid "Printer Notes..." G msgstr "Skrivaranteckningar..." G G msgid "Qux" G msgstr "Kaka" G G msgid "Rescan Devices" #: ../gui/redhat-config-printer.glade.str:86 #: ../gui/redhat-config-printer.glade.str:153 N msgid "ncp" N msgstr "ncp" N #: ../gui/redhat-config-printer.glade.str:87 #: ../gui/redhat-config-printer.glade.str:154 N msgid "IP port number (often 9100)" N msgstr "IP-portnummer (ofta 9100)" N #: ../gui/redhat-config-printer.glade.str:90 #: ../gui/redhat-config-printer.glade.str:156 N msgid "Printer hostname or IP address" N msgstr "Skrivarvärdnamn eller -ip-adress" N #: ../gui/redhat-config-printer.glade.str:92 #: ../gui/redhat-config-printer.glade.str:159 N msgid "Printer:" N msgstr "Skrivare:" N #: ../gui/redhat-config-printer.glade.str:93 #: ../gui/redhat-config-printer.glade.str:160 N msgid "jetdirect" N msgstr "jetdirect" N #: ../gui/redhat-config-printer.glade.str:94 N msgid "Printer model" N msgstr "Skrivarmodell" N #: ../gui/redhat-config-printer.glade.str:96 N msgid "_Notes..." N msgstr "_Anteckningar..." N #: ../gui/redhat-config-printer.glade.str:97 #: ../gui/redhat-config-printer.glade.str:200 N msgid "Choose the manufacturer" N msgstr "Välj tillverkare" N #: ../gui/redhat-config-printer.glade.str:98 #: ../gui/redhat-config-printer.glade.str:201 N msgid "Generic" N msgstr "Allmän" N #: ../gui/redhat-config-printer.glade.str:99 #: ../gui/redhat-config-printer.glade.str:202 N msgid "Use control-F to search" N msgstr "Använd Control-F för att söka" N #: ../gui/redhat-config-printer.glade.str:100 N msgid "Finish, and create the new print queue" N msgstr "Slutför och skapa den nya utskriftskön" N #: ../gui/redhat-config-printer.glade.str:101 N msgid "Edit a print queue" N msgstr "Redigera en utskriftskö" N #: ../gui/redhat-config-printer.glade.str:102 N msgid "" N "This is the name of the queue. It must begin with a letter and contain no " N "spaces." N msgstr "" N "Detta är namnet på kön. Det måste börja med en bokstav och får inte " N "innehålla några blanksteg." N #: ../gui/redhat-config-printer.glade.str:105 N msgid "This is the description of the printer." N msgstr "Detta är beskrivningen av skrivaren." N #: ../gui/redhat-config-printer.glade.str:106 N msgid "Short description:" N msgstr "Kort beskrivning:" N #: ../gui/redhat-config-printer.glade.str:110 N msgid "Queue type:" N msgstr "Kötyp:" N #: ../gui/redhat-config-printer.glade.str:111 N msgid "Choose the queue type" N msgstr "Välj kötypen" N #: ../gui/redhat-config-printer.glade.str:118 N msgid "Rescan devices" msgstr "Genomsök enheter igen" G msgid "SMB" G msgstr "SMB" G G msgid "Select a Print Driver" G msgstr "Välj en utskriftsdrivrutin" G G msgid "Select a print driver for your printer." G msgstr "Välj en utskriftsdrivrutin för din skrivare." G G msgid "Select the Queue Type" G msgstr "Välj kötyp" G G msgid "" G "Select the printer device to use, or use the custom option if it is not " G "listed." G msgstr "" G "Välj den skrivarenhet som ska användas, eller använd alternativet Anpassad " G "om denna inte finns med i listan." G G msgid "Set the Default Printer" G msgstr "Ställ in standardskrivaren" G G msgid "Set the Print Queue Name and Type" G msgstr "Ställ in namnet och typen på utskriftskön" G G msgid "Strict RFC1179 Compliance" #: ../gui/redhat-config-printer.glade.str:120 N msgid "Autoselect driver" N msgstr "Välj drivrutin automatiskt" N #: ../gui/redhat-config-printer.glade.str:131 N msgid "Strict RFC1179 compliance" msgstr "Strikt kompatibilitet med RFC1179" G msgid "Translate \\n => \\r\\n" G msgstr "Översätt \\n => \\r\\n" G G msgid "UNIX Printer (lpd Queue)" G msgstr "UNIX-skrivare (lpd-kö)" G G msgid "Unix Printer" G msgstr "Unix-skrivare" G G msgid "Windows Printer" G msgstr "Windows-skrivare" G G msgid "Windows Printer (SMB Share)" G msgstr "Windows-skrivare (SMB-utdelning)" #: ../gui/redhat-config-printer.glade.str:135 N msgid "Server hostname or IP address:" N msgstr "Servervärdnamn eller -ip-adress:" N #: ../gui/redhat-config-printer.glade.str:143 N msgid "Linefeed translation" N msgstr "Radmatningsöversättning" N #: ../gui/redhat-config-printer.glade.str:162 N msgid "At start of job:" N msgstr "Vid början av jobb:" N #: ../gui/redhat-config-printer.glade.str:163 #: ../gui/redhat-config-printer.glade.str:171 N msgid "_none" N msgstr "_ingen" N #: ../gui/redhat-config-printer.glade.str:164 #: ../gui/redhat-config-printer.glade.str:172 N msgid "_standard" N msgstr "_standard" N #: ../gui/redhat-config-printer.glade.str:165 #: ../gui/redhat-config-printer.glade.str:173 N msgid "_classified" N msgstr "_klassifierad" N #: ../gui/redhat-config-printer.glade.str:166 #: ../gui/redhat-config-printer.glade.str:174 N msgid "c_onfidential" N msgstr "k_onfidentiell" N #: ../gui/redhat-config-printer.glade.str:167 #: ../gui/redhat-config-printer.glade.str:175 N msgid "_secret" N msgstr "_hemlig" N #: ../gui/redhat-config-printer.glade.str:168 #: ../gui/redhat-config-printer.glade.str:176 N msgid "_topsecret" N msgstr "_topphemlig" N #: ../gui/redhat-config-printer.glade.str:169 #: ../gui/redhat-config-printer.glade.str:177 N msgid "_unclassified" N msgstr "_oklassifierad" N #: ../gui/redhat-config-printer.glade.str:170 N msgid "At end of job:" N msgstr "Vid slut av jobb:" N #: ../gui/redhat-config-printer.glade.str:178 N msgid "Banner pages" N msgstr "Omslagssidor" N #: ../gui/redhat-config-printer.glade.str:179 N msgid "Top margin (pt):" N msgstr "Överkant (pt):" N #: ../gui/redhat-config-printer.glade.str:180 #: ../gui/redhat-config-printer.glade.str:184 #: ../gui/redhat-config-printer.glade.str:185 #: ../gui/redhat-config-printer.glade.str:186 N msgid "72pt per inch" N msgstr "72 pt per tum" N #: ../gui/redhat-config-printer.glade.str:181 N msgid "Right margin (pt):" N msgstr "Högermarginal (pt):" N #: ../gui/redhat-config-printer.glade.str:182 N msgid "Left margin (pt):" N msgstr "Vänstermarginal (pt):" N #: ../gui/redhat-config-printer.glade.str:183 N msgid "Bottom margin (pt):" N msgstr "Nederkant (pt):" N # Osäker #: ../gui/redhat-config-printer.glade.str:187 N msgid "Imageable Area" N msgstr "Bildbart område" N #: ../gui/redhat-config-printer.glade.str:188 N msgid "Add a new option" N msgstr "Lägg till ett nytt alternativ" G msgid "_Browse Help" G msgstr "_Bläddra i hjälp" #: ../gui/redhat-config-printer.glade.str:190 N msgid "Edit this option" N msgstr "Redigera detta alternativ" N #: ../gui/redhat-config-printer.glade.str:191 #: ../gui/redhat-config-printer.glade.str:213 #: ../gui/redhat-config-printer.glade.str:222 N msgid "_Edit..." N msgstr "_Redigera..." N #: ../gui/redhat-config-printer.glade.str:192 N msgid "Remove this option" N msgstr "Ta bort detta alternativ" N #: ../gui/redhat-config-printer.glade.str:193 #: ../gui/redhat-config-printer.glade.str:224 N msgid "_Remove" N msgstr "_Ta bort" N #: ../gui/redhat-config-printer.glade.str:194 N msgid "Reset to the default options" N msgstr "Återställ till standardalternativen" N #: ../gui/redhat-config-printer.glade.str:195 N msgid "_Defaults" N msgstr "_Standardalternativ" N #: ../gui/redhat-config-printer.glade.str:196 N msgid "Filter options" N msgstr "Filteralternativ" N #: ../gui/redhat-config-printer.glade.str:197 N msgid "Queue options" N msgstr "Köalternativ" N #: ../gui/redhat-config-printer.glade.str:198 N msgid "Select the appropriate printer manufacturer and model." N msgstr "Välj lämplig skrivartillverkare och skrivarmodell." N #: ../gui/redhat-config-printer.glade.str:199 N msgid "Printer/driver _notes..." N msgstr "Skrivar-/drivrutins_anteckningar..." N #: ../gui/redhat-config-printer.glade.str:203 N msgid "Available drivers:" N msgstr "Tillgängliga drivrutiner:" N #: ../gui/redhat-config-printer.glade.str:204 N msgid "none" N msgstr "ingen" N #: ../gui/redhat-config-printer.glade.str:205 N msgid "Printer driver" N msgstr "Skrivardrivrutin" N #: ../gui/redhat-config-printer.glade.str:206 N msgid "Driver options" N msgstr "Drivrutinsalternativ" #: ../gui/redhat-config-printer.glade.str:208 N msgid "Enter the device you would like to use." N msgstr "Ange enheten som du vill använda." N #: ../gui/redhat-config-printer.glade.str:210 N msgid "For example: /dev/lp0" N msgstr "Till exempel: /dev/lp0" N #: ../gui/redhat-config-printer.glade.str:212 N msgid "Patience" N msgstr "Lugn" N #: ../gui/redhat-config-printer.glade.str:214 N msgid "Set as _default" N msgstr "Ställ in som _standardalternativ" N #: ../gui/redhat-config-printer.glade.str:216 G msgid "_Edit..." G msgstr "R_edigera..." #: ../gui/redhat-config-printer.glade.str:217 N msgid "Sharing properties" N msgstr "Utdelningsegenskaper" N #: ../gui/redhat-config-printer.glade.str:218 N msgid "_This queue is available to other computers" N msgstr "_Denna kö är tillgänglig för andra datorer" N #: ../gui/redhat-config-printer.glade.str:219 N msgid "Add an allowed host" N msgstr "Lägg till en tillåten värd" N #: ../gui/redhat-config-printer.glade.str:221 N msgid "Edit this host" N msgstr "Redigera denna värd" N #: ../gui/redhat-config-printer.glade.str:223 N msgid "Remove this host from the list" N msgstr "Ta bort denna värd från listan" N #: ../gui/redhat-config-printer.glade.str:225 #: ../gui/redhat-config-printer.glade.str:233 N msgid "Allowed hosts" N msgstr "Tillåtna värdar" N #: ../gui/redhat-config-printer.glade.str:227 N msgid "These settings are system-wide." N msgstr "Dessa inställningar är globala." N #: ../gui/redhat-config-printer.glade.str:228 N msgid "This enables CUPS IPP browsing" N msgstr "Detta aktiverar CUPS IPP-bläddring" N #: ../gui/redhat-config-printer.glade.str:229 N msgid "_Automatically find remote shared queues" N msgstr "_Hitta automatiskt utdelade fjärrköer" N #: ../gui/redhat-config-printer.glade.str:230 N msgid "This allows older systems to print to this machine" N msgstr "Detta möjliggör för äldre system att skriva ut till denna maskin" N #: ../gui/redhat-config-printer.glade.str:231 N msgid "Enable _LPD protocol" N msgstr "Aktivera _LPD-protokollet" N #: ../gui/redhat-config-printer.glade.str:232 N msgid "General" N msgstr "Allmänt" N #: ../gui/redhat-config-printer.glade.str:234 N msgid "Choose which other computers may use this queue." N msgstr "Välj vilka andra datorer som kan använda denna kö." N #: ../gui/redhat-config-printer.glade.str:235 N msgid "_All hosts" N msgstr "_Alla värdar" N #: ../gui/redhat-config-printer.glade.str:236 N msgid "Network _devices" N msgstr "Nätverks_enheter" N #: ../gui/redhat-config-printer.glade.str:237 N msgid "_Network address" N msgstr "_Nätverksadress" N #: ../gui/redhat-config-printer.glade.str:238 #: ../gui/redhat-config-printer.glade.str:244 N msgid "Type in an IP address" N msgstr "Ange en IP-adress" N #: ../gui/redhat-config-printer.glade.str:241 N msgid "Type in the netmask, or the CIDR mask length" N msgstr "Ange nätmasken eller CIDR-masklängden" N #: ../gui/redhat-config-printer.glade.str:243 N msgid "Single _IP address" N msgstr "Ensam _IP-adress" N #: ../gui/redhat-config-printer.glade.str:246 N msgid "Add/edit queue option" N msgstr "Lägg till/redigera köalternativ" N #: ../gui/redhat-config-printer.glade.str:252 N msgid "Authentication" N msgstr "Autentisering" N #: ../gui/redhat-config-printer.glade.str:255 N msgid "User name:" N msgstr "Användarnamn:" G msgid "smb" G msgstr "smb" #~ msgid "Action" #~ msgstr "Åtgärd" N #~ msgid "New queue" #~ msgstr "Ny kö" # Swedish messages for printconf. # Copyright (C) 2001, 2002, 2003 Christian Rose <menthos@menthos.com>. # # $Id: sv.po,v 1.45 2003/01/23 10:39:23 menthos Exp $ # msgid "" msgstr "" "Project-Id-Version: printconf\n" "POT-Creation-Date: 2003-01-21 11:35+0000\n" "PO-Revision-Date: 2003-01-23 11:49+0100\n" "Last-Translator: Christian Rose <menthos@menthos.com>\n" "Language-Team: Swedish <sv@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. !/usr/bin/python #. # printconf_tui.py #. # Copyright (C) 2001, 2002 Red Hat, Inc. #. # Copyright (C) 2001 Crutcher Dunnavant <crutcher@redhat.com>, #. # Copyright (C) 2002 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. ===================================================================================================================== #. Style #. ----- #. This program was written in vim, using python highlighting, and 132 collumn display. #. If a 132 column display is unavailable, please return to the 1970s, with your hardware. #. ===================================================================================================================== #. Purpose #. ------- #. This program provides the text mode components to printconfs front-end. #. ===================================================================================================================== #. Libs #. ---- #. printconf #. --------- #. import the general parts of printconf #. snack #. ----- #. import snack, to provide our user interface #. ===================================================================================================================== #. Generic Message Dialogs #: ../util/printconf_tui.py:68 ../util/printconf_tui.py:1795 #: ../util/printconf_tui.py:1799 msgid "Error" msgstr "Fel" #. Button bar #: ../util/printconf_tui.py:69 ../util/printconf_tui.py:75 #: ../util/printconf_tui.py:1398 ../util/printconf_tui.py:1567 msgid "Ok" msgstr "OK" #: ../util/printconf_tui.py:74 msgid "Info" msgstr "Info" #: ../util/printconf_tui.py:80 ../util/printconf_tui.py:106 #: ../util/printconf_tui.py:1732 msgid "Yes" msgstr "Ja" #: ../util/printconf_tui.py:80 ../util/printconf_tui.py:106 #: ../util/printconf_tui.py:1732 msgid "No" msgstr "Nej" #. ===================================================================================================================== #. Save and Restart Status Dialog #. ------------------------------ #. ===================================================================================================================== #. Exit Check Dialog #. ----------------- #: ../util/printconf_tui.py:104 ../util/printconf_tui.py:1824 msgid "Exit" msgstr "Avsluta" #: ../util/printconf_tui.py:105 msgid "" "You have made changes, would you like to save them? If you say no, your " "changes will be lost." msgstr "" "Du har gjort ändringar, vill du spara dem? Om du svarar nej kommer dina " "ändringar att gå förlorade." #: ../util/printconf_tui.py:106 ../util/printconf_tui.py:213 #: ../util/printconf_tui.py:314 ../util/printconf_tui.py:401 #: ../util/printconf_tui.py:409 ../util/printconf_tui.py:741 #: ../util/printconf_tui.py:856 ../util/printconf_tui.py:1398 #: ../util/printconf_tui.py:1747 msgid "Cancel" msgstr "Avbryt" #. ===================================================================================================================== #. New Queue Dialog #. ---------------- #: ../util/printconf_tui.py:132 msgid "Create a New Queue" msgstr "Skapa en ny kö" #. name and type #. type specific data #. driver selection #: ../util/printconf_tui.py:211 msgid "Finish Making New Queue" msgstr "Slutför skapandet av ny kö" #: ../util/printconf_tui.py:212 msgid "About to create the following queue:" msgstr "Kommer att skapa följande kö:" #: ../util/printconf_tui.py:213 msgid "Finish" msgstr "Slutför" #: ../util/printconf_tui.py:213 ../util/printconf_tui.py:401 #: ../util/printconf_tui.py:409 ../util/printconf_tui.py:741 msgid "Back" msgstr "Tillbaka" #. We do not validate type information here. It would be too complex. #. We instead trust that the stages which come before here have validated their info, #. if they have not, we fix them. #. init the form #. 3 for each side #. Instructions #. The summary #: ../util/printconf_tui.py:238 ../util/printconf_tui.py:936 msgid "Type:" msgstr "Typ:" #: ../util/printconf_tui.py:241 ../gui/redhat-config-printer.glade.str:209 msgid "Device:" msgstr "Enhet:" #: ../util/printconf_tui.py:244 ../util/printconf_tui.py:254 #: ../util/printconf_tui.py:942 ../util/printconf_tui.py:952 #: ../gui/redhat-config-printer.glade.str:66 #: ../gui/redhat-config-printer.glade.str:71 #: ../gui/redhat-config-printer.glade.str:78 #: ../gui/redhat-config-printer.glade.str:123 #: ../gui/redhat-config-printer.glade.str:128 #: ../gui/redhat-config-printer.glade.str:145 #: ../gui/redhat-config-printer.glade.str:259 msgid "Server:" msgstr "Server:" #: ../util/printconf_tui.py:245 ../util/printconf_tui.py:255 #: ../util/printconf_tui.py:943 ../util/printconf_tui.py:953 msgid "Lpd Queue:" msgstr "Lpd-kö:" #: ../util/printconf_tui.py:248 ../util/printconf_tui.py:946 #: ../gui/redhat-config-printer.glade.str:133 #: ../gui/redhat-config-printer.glade.str:257 msgid "Share:" msgstr "Utdelning:" #: ../util/printconf_tui.py:249 ../util/printconf_tui.py:259 #: ../util/printconf_tui.py:947 ../util/printconf_tui.py:957 msgid "IP:" msgstr "IP:" #: ../util/printconf_tui.py:250 ../util/printconf_tui.py:948 #: ../gui/redhat-config-printer.glade.str:137 #: ../gui/redhat-config-printer.glade.str:260 msgid "Workgroup:" msgstr "Arbetsgrupp:" #: ../util/printconf_tui.py:251 ../util/printconf_tui.py:256 #: ../util/printconf_tui.py:949 ../util/printconf_tui.py:954 #: ../gui/redhat-config-printer.glade.str:79 #: ../gui/redhat-config-printer.glade.str:134 #: ../gui/redhat-config-printer.glade.str:146 msgid "User:" msgstr "Användare:" #: ../util/printconf_tui.py:260 ../util/printconf_tui.py:958 #: ../gui/redhat-config-printer.glade.str:89 #: ../gui/redhat-config-printer.glade.str:158 msgid "Port:" msgstr "Port:" #. Driver #: ../util/printconf_tui.py:268 ../util/printconf_tui.py:961 msgid "Driver:" msgstr "Drivrutin:" #. The buttons #: ../util/printconf_tui.py:287 ../util/printconf_tui.py:293 #: ../util/printconf_tui.py:383 ../util/printconf_tui.py:779 #: ../util/printconf_tui.py:895 ../util/printconf_tui.py:1428 #: ../util/printconf_tui.py:1492 msgid "Warning" msgstr "Varning" #: ../util/printconf_tui.py:313 msgid "Name and Type" msgstr "Namn och typ" #: ../util/printconf_tui.py:314 ../util/printconf_tui.py:401 #: ../util/printconf_tui.py:409 ../util/printconf_tui.py:741 msgid "Next" msgstr "Nästa" #: ../util/printconf_tui.py:315 msgid "Queue Name" msgstr "Könamn" #: ../util/printconf_tui.py:316 msgid "Queue Type" msgstr "Kötyp" #: ../util/printconf_tui.py:318 ../util/printconf_tui.py:987 #, python-format msgid "" "The name \"%s\" is bad. Please choose a name of the form [a-zA-Z][a-zA-Z0-" "9_-]*." msgstr "" "Namnet \"%s\" är olämpligt. Välj ett namn på formen [a-zA-Z][a-zA-Z0-9_-]*." #: ../util/printconf_tui.py:319 ../util/printconf_tui.py:988 #, python-format msgid "The name \"%s\" is already in use. Please choose a different name." msgstr "Namnet \"%s\" används redan. Välj ett annat namn." #. init the form #. the instructions #. the device clistbox #: ../util/printconf_tui.py:409 ../util/printconf_tui.py:462 #: ../util/printconf_tui.py:1117 ../util/printconf_tui.py:1158 msgid "Custom" msgstr "Anpassad" #: ../util/printconf_tui.py:410 msgid "Setting Up" msgstr "Konfigurerar" #: ../util/printconf_tui.py:411 msgid "Printer Device" msgstr "Skrivarenhet" #: ../util/printconf_tui.py:412 msgid "" "Pick the printer device from the list, or enter it using \"Custom\" below." msgstr "" "Välj skrivarenheten från listan, eller ange den med hjälp av \"Anpassad\" " "nedan." #: ../util/printconf_tui.py:413 msgid "Specify Device:" msgstr "Ange enhet:" #. ------------ #. Browse help #. ------------ #. ------------ #. Pop-up menu #. ------------ #. Right-click? #. Local Variables: #. py-indent-offset: 4 #. End: #. !/usr/bin/python #. # redhat-config-printer #. # Add Queue druid implementation #. # Copyright (C) 2001-2003 Red Hat, Inc. #. # Copyright (C) 2002-2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. Widgets. #. Storage for the device list. #. Device list columns. #: ../util/printconf_tui.py:414 ../util/addQueue.py:96 #: ../util/editQueue.py:164 msgid "Device" msgstr "Enhet" #: ../util/printconf_tui.py:414 ../util/queueTree.py:196 #: ../util/addQueue.py:102 ../util/editQueue.py:170 msgid "Description" msgstr "Beskrivning" #: ../util/printconf_tui.py:416 ../util/printconf_tui.py:1121 msgid "Custom Device" msgstr "Anpassad enhet" #: ../util/printconf_tui.py:417 ../util/printconf_tui.py:1122 msgid "Specify the device to use." msgstr "Ange den enhet som ska användas." #: ../util/printconf_tui.py:418 ../util/printconf_tui.py:1123 msgid "Device File" msgstr "Enhetsfil" #. the button bar #. find the selected button #. find the selected type #: ../util/printconf_tui.py:482 ../util/printconf_tui.py:499 #: ../util/printconf_tui.py:1177 ../util/printconf_tui.py:1190 msgid "You must specify a device." msgstr "Du måste ange en enhet." #. Use the recommended driver. #: ../util/printconf_tui.py:529 ../util/printconf_tui.py:1201 msgid "Enter the LPD server and queue to use." msgstr "Ange LPD-servern och -kön som ska användas." #: ../util/printconf_tui.py:530 ../util/printconf_tui.py:1202 msgid "Server" msgstr "Server" #. ===================================================================================================================== #. Queue List Dialog #. ----------------- #. This section provides the queue list form interface, where users can pick a queue to edit, create a new one, test #. a queue, and delete a queue. #. No sense calling gettext every time, so we set the main form text up here #: ../util/printconf_tui.py:530 ../util/printconf_tui.py:633 #: ../util/printconf_tui.py:1202 ../util/printconf_tui.py:1307 #: ../util/printconf_tui.py:1822 ../gui/redhat-config-printer.glade.str:226 msgid "Queue" msgstr "Kö" #: ../util/printconf_tui.py:531 ../util/printconf_tui.py:1203 msgid "LPD Data" msgstr "LPD-data" #. What do you expect to happen, after typing in a server, and then using Back->Next ? #: ../util/printconf_tui.py:557 ../util/printconf_tui.py:1239 #: ../util/addQueue.py:528 ../util/addQueue.py:549 ../util/editQueue.py:1124 #: ../util/editQueue.py:1147 msgid "You must specify a server." msgstr "Du måste ange en server." #. elif queue == "": # This is legal, not overlooked #. tui_error(_("You must specify a queue.")) #: ../util/printconf_tui.py:574 ../util/printconf_tui.py:1247 msgid "Enter the SMB share to use." msgstr "Ange SMB-utdelningen som ska användas." #. Storage for the SMB list. #. host or share #. comment #. host dict #. username #. password) #. SMB list columns. #: ../util/printconf_tui.py:575 ../util/printconf_tui.py:633 #: ../util/printconf_tui.py:1248 ../util/printconf_tui.py:1307 #: ../util/addQueue.py:118 msgid "Share" msgstr "Utdelning" #: ../util/printconf_tui.py:575 ../util/printconf_tui.py:1248 msgid "Host IP" msgstr "Värd-IP" #: ../util/printconf_tui.py:575 ../util/printconf_tui.py:1248 msgid "Workgroup" msgstr "Arbetsgrupp" #: ../util/printconf_tui.py:575 ../util/printconf_tui.py:633 #: ../util/printconf_tui.py:1248 ../util/printconf_tui.py:1307 msgid "User" msgstr "Användare" #: ../util/printconf_tui.py:575 ../util/printconf_tui.py:633 #: ../util/printconf_tui.py:1248 ../util/printconf_tui.py:1307 msgid "Passwd" msgstr "Lösenord" #: ../util/printconf_tui.py:576 ../util/printconf_tui.py:1249 msgid "Windows Printer (SMB) Data" msgstr "Windows-skrivardata (SMB)" #. What do you expect to happen, after typing in a server, and then using Back->Next ? #: ../util/printconf_tui.py:617 ../util/printconf_tui.py:1300 msgid "You must specify a SMB share to print to." msgstr "Du måste ange en SMB-utdelning att skriva ut till." #: ../util/printconf_tui.py:632 ../util/printconf_tui.py:1306 msgid "Enter the NCP server and queue to use." msgstr "Ange NCP-servern och -kön som ska användas." #: ../util/printconf_tui.py:634 ../util/printconf_tui.py:1308 msgid "Novell Netware Printer (NCP) Data" msgstr "Novell Netware-skrivardata (NCP)" #. What do you expect to happen, after typing in a server, and then using Back->Next ? #: ../util/printconf_tui.py:670 ../util/printconf_tui.py:1345 #: ../util/addQueue.py:674 ../util/editQueue.py:1196 msgid "You must specify an NCP server to print to." msgstr "Du måste ange en NCP-server att skriva ut till." #: ../util/printconf_tui.py:672 ../util/printconf_tui.py:1347 msgid "You must specify a queue on the NCP server to print to." msgstr "Du måste ange en kö på NCP-servern att skriva ut till." #: ../util/printconf_tui.py:688 ../util/printconf_tui.py:1353 msgid "Enter the Jetdirect ip and port to use." msgstr "Ange Jetdirect-ip:t och -porten som ska användas." #: ../util/printconf_tui.py:689 ../util/printconf_tui.py:1354 msgid "Ip" msgstr "Ip" #: ../util/printconf_tui.py:689 ../util/printconf_tui.py:1354 msgid "Port" msgstr "Port" #: ../util/printconf_tui.py:690 ../util/printconf_tui.py:1355 msgid "Jetdirect (JETDIRECT) Data" msgstr "Jetdirect-data (JETDIRECT)" #. What do you expect to happen, after typing in a server, and then using Back->Next ? #: ../util/printconf_tui.py:718 ../util/printconf_tui.py:1384 msgid "You must specify the ip address of a JetDirect printer." msgstr "Du måste ange ip-adressen på en JetDirect-skrivare." #: ../util/printconf_tui.py:739 msgid "Queue Driver" msgstr "Ködrivrutin" #: ../util/printconf_tui.py:740 msgid "Select the Driver to use with this Queue." msgstr "Ange drivrutinen som ska användas med denna kö." #. init the form #. Instructions #. Driver Tree #. 1 Instructions, 3 buttons #. #. Buttons #. find the selected button #. find the selected type #: ../util/printconf_tui.py:774 ../util/printconf_tui.py:1496 msgid "You must specify a driver." msgstr "Du måste ange en drivrutin." #. ===================================================================================================================== #. driver_tree_checkboxtree #. ------------------------ #. #. I need this exact widget in two places, better to hide its constructor, than have two slightly different versions. #. This tree is indexed by tuples of the form (foomatic_printer_overview, driver) #. Special Cases #. ===================================================================================================================== #. Queue Edit Dialog #. ----------------- #: ../util/printconf_tui.py:854 msgid "Edit Queue" msgstr "Redigera kö" #: ../util/printconf_tui.py:855 msgid "Names" msgstr "Namn" #: ../util/printconf_tui.py:855 ../util/printconf_tui.py:1822 msgid "Type" msgstr "Typ" #: ../util/printconf_tui.py:856 msgid "Driver" msgstr "Drivrutin" #: ../util/printconf_tui.py:856 ../util/printconf_tui.py:981 #: ../util/printconf_tui.py:1103 ../util/printconf_tui.py:1442 #: ../util/printconf_tui.py:1525 msgid "Done" msgstr "Färdig" #. Type #: ../util/printconf_tui.py:932 ../gui/redhat-config-printer.glade.str:47 #: ../gui/redhat-config-printer.glade.str:103 msgid "Name:" msgstr "Namn:" #: ../util/printconf_tui.py:933 ../util/printconf_tui.py:934 msgid "Aliases:" msgstr "Alias:" #: ../util/printconf_tui.py:939 msgid "Printer Device:" msgstr "Skrivarenhet:" #. Button bar #: ../util/printconf_tui.py:978 msgid "Edit Name and Aliases" msgstr "Redigera namn och alias" #: ../util/printconf_tui.py:979 msgid "Name" msgstr "Namn" #: ../util/printconf_tui.py:980 ../util/printconf_tui.py:983 msgid "Add Alias" msgstr "Lägg till alias" #: ../util/printconf_tui.py:980 ../util/printconf_tui.py:985 msgid "Edit Alias" msgstr "Redigera alias" #: ../util/printconf_tui.py:981 msgid "Delete Alias" msgstr "Ta bort alias" #: ../util/printconf_tui.py:982 msgid "Alias:" msgstr "Alias:" #: ../util/printconf_tui.py:984 msgid "Add an Alias" msgstr "Lägg till ett alias" #: ../util/printconf_tui.py:986 msgid "Edit the alias" msgstr "Redigera aliaset" #. 4 top, 4 bottom #. 6 sides #. Name Box #. Alias List #. 1 Name box, 3 buttons #. Button Bar #. find the selected button #: ../util/printconf_tui.py:1065 msgid "You must select an alias to edit." msgstr "Du måste välja ett alias att redigera." #: ../util/printconf_tui.py:1089 msgid "You must select an alias to delete." msgstr "Du måste välja ett alias att ta bort." #: ../util/printconf_tui.py:1103 msgid "Change Type" msgstr "Ändra typ" #: ../util/printconf_tui.py:1119 msgid "Edit Local Printer" msgstr "Redigera lokal skrivare" #: ../util/printconf_tui.py:1202 msgid "Strict RFC1179" msgstr "Strikt RFC1179" #: ../util/printconf_tui.py:1248 msgid "Translate \\n->\\r\\n" msgstr "Översätt \\n->\\r\\n" #: ../util/printconf_tui.py:1441 msgid "Edit Driver" msgstr "Redigera drivrutin" #: ../util/printconf_tui.py:1442 ../util/printconf_tui.py:1524 msgid "Edit Driver Options" msgstr "Redigera drivrutinsalternativ" #: ../util/printconf_tui.py:1525 ../util/printconf_tui.py:1823 #: ../gui/redhat-config-printer.glade.str:33 msgid "Edit" msgstr "Redigera" #: ../util/printconf_tui.py:1568 #, python-format msgid "Edit %s" msgstr "Redigera %s" #: ../util/printconf_tui.py:1601 #, python-format msgid "Integer: Min %s | Max %s" msgstr "Heltal: Min %s | Max %s" #: ../util/printconf_tui.py:1617 ../util/printconf_tui.py:1657 msgid "Value must be a number" msgstr "Värdet måste vara ett tal" #: ../util/printconf_tui.py:1641 #, python-format msgid "Float: Min %s | Max %s" msgstr "Flyttal: Min %s | Max %s" #. ================================================================================================= #: ../util/printconf_tui.py:1699 ../util/printconf_conf.py:377 msgid "US Letter" msgstr "US Letter" #: ../util/printconf_tui.py:1700 ../util/printconf_conf.py:378 msgid "Tabloid" msgstr "Tabloid" #: ../util/printconf_tui.py:1701 ../util/printconf_conf.py:379 msgid "Ledger" msgstr "Ledger" #: ../util/printconf_tui.py:1702 ../util/printconf_conf.py:380 msgid "Legal" msgstr "Legal" #: ../util/printconf_tui.py:1703 ../util/printconf_conf.py:381 msgid "Statement" msgstr "Statement" #: ../util/printconf_tui.py:1704 ../util/printconf_conf.py:382 msgid "Executive" msgstr "Executive" #: ../util/printconf_tui.py:1705 ../util/printconf_conf.py:383 msgid "A3" msgstr "A3" #: ../util/printconf_tui.py:1706 ../util/printconf_conf.py:384 msgid "A4" msgstr "A4" #: ../util/printconf_tui.py:1707 ../util/printconf_conf.py:385 msgid "A5" msgstr "A5" #: ../util/printconf_tui.py:1708 ../util/printconf_conf.py:386 msgid "B4" msgstr "B4" #: ../util/printconf_tui.py:1709 ../util/printconf_conf.py:387 msgid "B5" msgstr "B5" #: ../util/printconf_tui.py:1710 ../util/printconf_conf.py:388 msgid "Folio" msgstr "Folio" #: ../util/printconf_tui.py:1711 ../util/printconf_conf.py:389 msgid "Quatro" msgstr "Quatro" #: ../util/printconf_tui.py:1712 ../util/printconf_conf.py:390 msgid "10x14" msgstr "10×14" #. ===================================================================================================================== #. Test check dialog #. ----------------- #: ../util/printconf_tui.py:1730 #, python-format msgid "Test %s" msgstr "Testa %s" #: ../util/printconf_tui.py:1731 msgid "" "You have made changes, would you like to save them?\n" "If you say no, you will not be able to print test pages." msgstr "" "Du har gjort ändringar, vill du spara dem?\n" "Om du svarar nej kommer du inte att kunna skriva ut testsidor." #: ../util/printconf_tui.py:1747 ../util/printconf_tui.py:1824 msgid "Test" msgstr "Testa" #: ../util/printconf_tui.py:1776 #, python-format msgid "Sent %s to \"%s\"." msgstr "Skickade %s till \"%s\"." #: ../util/printconf_tui.py:1778 msgid "There was an error trying to print the test page." msgstr "Det inträffade ett fel vid försöket att skriva ut testsidan." #: ../util/printconf_tui.py:1795 msgid "You must select a printer queue to delete." msgstr "Du måste välja en skrivarkö att ta bort." #: ../util/printconf_tui.py:1799 msgid "You cannot delete an imported printer." msgstr "Du kan inte ta bort en importerad skrivare." #: ../util/printconf_tui.py:1802 msgid "Confirm Delete" msgstr "Bekräfta borttagning" #: ../util/printconf_tui.py:1803 #, python-format msgid "Really delete \"%s\"?" msgstr "Ska \"%s\" verkligen tas bort?" #: ../util/printconf_tui.py:1822 msgid "Aliases" msgstr "Alias" #: ../util/printconf_tui.py:1822 msgid "Details" msgstr "Detaljer" #: ../util/printconf_tui.py:1823 ../gui/redhat-config-printer.glade.str:31 msgid "New" msgstr "Ny" #: ../util/printconf_tui.py:1823 ../gui/redhat-config-printer.glade.str:35 msgid "Delete" msgstr "Ta bort" #: ../util/printconf_tui.py:1824 ../util/queueTree.py:192 #: ../gui/redhat-config-printer.glade.str:37 msgid "Default" msgstr "Standard" #. find the selected queue #. build the main form. This will grab the existing printers #. reset the selected quene name, so we know it only gets used once #. all of the handlers return true IF they have done something that invalidates the qld #. current state, in which case we need to break. #: ../util/printconf_tui.py:1862 msgid "You must select a printer queue to edit." msgstr "Du måste välja en skrivarkö att redigera." #: ../util/printconf_tui.py:1868 msgid "This imported printer is protected from overrides. You can not edit it." msgstr "" "Denna importerade skrivare är skyddad från åsidosättningar. Du kan inte " "redigera den." #: ../util/printconf_tui.py:1871 msgid "Override?" msgstr "Åsidosätt?" #. Should get a thread to repaint this? #: ../util/printconf_tui.py:1872 ../util/queueTree.py:433 msgid "This is an imported printer. Do you want to create a local override?" msgstr "" "Det här är en importerad skrivare. Vill du skapa en lokal åsidosättning?" #: ../util/printconf_tui.py:1896 msgid "You must select a queue to print to." msgstr "Du måste välja en kö att skriva till." #. clean off the main window #. create the form #. set up the queue list #. calc the column widths, yes, it is ugly #. 4 padding, 3 scrollbar, 6 screen edge, 2 state, 10 name, 9 type #. 3 top, 9 bottom #. set up the widget #. populate the queue list #. This is programatic type info, and mustnt be translated. #. set the selected queue, if necessary #. Set up the button bar #. ===================================================================================================================== #. set up the edit environment #: ../util/printconf_tui.py:1968 msgid "Initializing alchemist edit environment ..." msgstr "Initierar alchemist-redigeringsmiljön..." #. set up the foomatic environment #: ../util/printconf_tui.py:1972 msgid "Initializing linux printing database ..." msgstr "Initierar linux-utskriftsdatabasen..." #: ../util/printconf_tui.py:1976 msgid "Importing CUPS queues ..." msgstr "Importerar CUPS-köer..." #. set up snack #. 4 top, 4 bottom #. 6 sides #. run the queue list form #. tear down snack #. tear down snack #. ===================================================================================================================== #. Import and Export #. ----------------- #: ../util/printconf_tui.py:2020 #, python-format msgid "" "Failed to parse alchemist context: \n" "%s" msgstr "" "Misslyckades med att tolka alchemist-sammanhanget: \n" "%s" #: ../util/printconf_tui.py:2024 msgid "Invalid printconf context" msgstr "Ogiltigt printconf-sammanhang" #. ===================================================================================================================== #: ../util/printconf_tui.py:2071 #, python-format msgid "\"%s\" is not a valid queue name." msgstr "\"%s\" är inte ett giltigt könamn." #. Examine the command line. #: ../util/printconf_tui.py:2101 ../util/printconf_tui.py:2253 msgid "Need device, make and model.\n" msgstr "Behöver enhet, tillverkare och modell.\n" #. Examine the current state of affairs. #. Not valid. #. Not a local queue. #. Not a queue for the specified device node. #. Not an mfomatic queue. #. Not a queue for this printer model. #. Nothing to do. #. Check that the provided name, if there is one, is unique. #: ../util/printconf_tui.py:2145 #, python-format msgid "add-local: queue name '%s' not unique\n" msgstr "add-local: könamnet \"%s\" inte unikt\n" #. Generate a name. #. Is it unique? #: ../util/printconf_tui.py:2167 msgid "add-local: no suitable name available\n" msgstr "add-local: inget lämpligt namn tillgängligt\n" #: ../util/printconf_tui.py:2177 #, python-format msgid "add-local: No information available about %s %s\n" msgstr "add-local: Ingen information tillgänglig om %s %s\n" #. Build the queue information. #. If there is a recommended driver, try that first. Otherwise #. take the first one that's available. #. Actually construct the queue. #: ../util/printconf_tui.py:2234 ../util/printconf_tui.py:2310 msgid "Now run printconf-backend (or restart lpd service)." msgstr "Kör nu printconf-backend (eller starta om lpd-tjänsten)." #. ===================================================================================================================== #: ../util/printconf_tui.py:2318 msgid "You must run printconf-tui as root." msgstr "Du måste köra printconf-tui som root." #. Look for commands #: ../util/printconf_tui.py:2335 #, python-format msgid "Conflicting commands: %s and %s" msgstr "Kommandon i konflikt: %s och %s" #: ../util/printconf_tui.py:2345 msgid "No handler for command: " msgstr "Ingen hanterare för kommandot: " #. ===================================================================================================================== #. Main #. ---- #. !/usr/bin/python #. # redhat-config-printer #. # Queue tree window implementation #. # Copyright (C) 2001-2003 Red Hat, Inc. #. # Copyright (C) 2002-2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #: ../util/queueTree.py:38 msgid "You must be root to run this program.\n" msgstr "Du måste vara root för att köra detta program.\n" #. GUI imports #. Other modules #. Hack to work around bug #74365 #. Initializing foomatic is expensive, so just do it on demand. #: ../util/queueTree.py:100 #, python-format msgid "Printer configuration - %s" msgstr "Skrivarkonfiguration - %s" #. Widgets. #. Grey out these buttons until a queue is chosen. #. Signals. #. TreeView columns. #: ../util/queueTree.py:186 ../gui/redhat-config-printer.glade.str:45 #: ../gui/redhat-config-printer.glade.str:109 msgid "Queue name" msgstr "Könamn" #. Queue status pixbufs #. Other modules. #. Find out what print spooler is currently active, so that #. we can warn if the user is changing an option that has #. no effect. #. Put the queues in the tree view. #. Whether we need to run the backend. #. Let GTK take over. #. -------------------------------- #. Handle the window being deleted #. -------------------------------- #: ../util/queueTree.py:254 msgid "" "Do you want to save the changes\n" "you made to your printer configuration?" msgstr "" "Vill du spara de ändringar du\n" "gjort i skrivarkonfigurationen?" #: ../util/queueTree.py:256 msgid "_Don't save" msgstr "Spara _inte" msgid "Don't save" msgstr "Spara inte" #: ../util/queueTree.py:257 msgid "_Cancel" msgstr "_Avbryt" #: ../util/queueTree.py:258 msgid "_Save" msgstr "_Spara" msgid "Save" msgstr "Spara" #. ---------------------------- #. Populate the queue treeview #. ---------------------------- #: ../util/queueTree.py:347 msgid "Browsed queues" msgstr "Bläddrade frågor" #. ---------------------------- #. Greying-out the main window #. ---------------------------- #. ------------------------------------- #. Helper functions used by this module #. ------------------------------------- #: ../util/queueTree.py:385 msgid "" "Loading printer information.\n" "Please wait..." msgstr "" "Läser in skrivarinformation.\n" "Var vänlig vänta..." #. ------------------- #. Create a new queue #. ------------------- #. ------------- #. Edit a queue #. ------------- #. --------------------- #. Double-click handler #. --------------------- #. Double-clicking on a browsed queue could bring #. up a box with information about it in I suppose. #. --------------------------- #. Set a queue as the default #. --------------------------- #. Nothing to do. #. --------------------- #. Queue sharing dialog #. --------------------- #. --------------- #. Delete a queue #. --------------- #. If it was an override queue, put in the non-editable queue. #. Since the selected queue is deleted, nothing is selected now. #. Grey out the buttons that act on an existing queue. #. --------------------------------------- #. Helper functions used by other modules #. --------------------------------------- #: ../util/queueTree.py:624 msgid "Notes from the Linux Printing Database" msgstr "Anteckningar från Linux Printing Database" #: ../util/queueTree.py:626 msgid "Printer notes:" msgstr "Skrivaranteckningar:" #: ../util/queueTree.py:631 msgid "Driver notes:" msgstr "Drivrutinsanteckningar:" #. Put in alphanumeric order, except for Generic which should #. come first. #: ../util/queueTree.py:687 msgid "Generic (click to select manufacturer)" msgstr "Allmän (klicka för att välja tillverkare)" #: ../util/queueTree.py:779 #, python-format msgid "" "You are changing an option\n" "that has no effect in the print\n" "spooler you are using (%s)." msgstr "" "Du ändrar ett alternativ som\n" "inte har någon effekt på den\n" "utskriftsspooler du använder (%s)." #. -------------- #. Apply changes #. -------------- #: ../util/queueTree.py:797 msgid "" "Applying changes.\n" "Please wait..." msgstr "" "Verkställer ändringar.\n" "Var vänlig vänta..." #: ../util/queueTree.py:814 msgid "Failed to write queues." msgstr "Misslyckades med att skriva köer." #. ----------- #. Run a test #. ----------- #: ../util/queueTree.py:856 #, python-format msgid "" "There was a problem sending %s\n" "to '%s' queue:\n" "\n" msgstr "" "Det uppstod ett problem vid skickande av %s\n" "till kön \"%s\":\n" "\n" #: ../util/queueTree.py:864 #, python-format msgid "" "Sent %s\n" "to '%s' queue. Please check the result." msgstr "" "Skickade %s\n" "till kön \"%s\". Kontrollera resultatet." #: ../util/addQueue.py:124 msgid "Comment" msgstr "Kommentar" #. Storage for the printer list. #. Printer list columns. #: ../util/addQueue.py:133 ../util/editQueue.py:199 msgid "Model" msgstr "Modell" #. Printer select function. #. Signals. #. ------------------------------- #. Handle the window being deleted #. ------------------------------- #. --------------------------- #. Greying-out the main window #. --------------------------- #. ----------------------------- #. Make up a name to start with #. ----------------------------- #. ---------------- #. Start the druid #. ---------------- #. Set the druid page to the start. #. Context help tracking. #. Set up the name page. #. Set up the type page. #. Local printer device tab #. IPP tab #. LPD tab #. SMB tab #. If samba isn't installed, but the user wants to proceed anyway, #. smb_forced is set. #. NCP tab #. JetDirect tab #. Set up the printer model page. #. Run the druid. #. ---------- #. Show help #. ---------- #. ----------- #. Start page #. ----------- #. ---------- #. Name page #. ---------- #. Is the name valid at all? #: ../util/addQueue.py:317 ../util/editQueue.py:1037 msgid "Invalid name" msgstr "Ogiltigt namn" #. Is there already a queue (or alias) of that name? #: ../util/addQueue.py:325 ../util/editQueue.py:1046 msgid "There is already a queue with that name." msgstr "Det finns redan en kö med det namnet." #: ../util/addQueue.py:331 ../util/editQueue.py:1053 msgid "An existing queue has an alias of that name." msgstr "En befintlig kö har ett alias med det namnet." #. ---------- #. Type page #. ---------- #: ../util/addQueue.py:362 ../util/editQueue.py:565 #, python-format msgid "'%s' does not exist, or is not writable." msgstr "\"%s\" finns inte eller är inte skrivbar." #. Printer select function #. Signals. #. ------------------------------- #. Handle the window being deleted #. ------------------------------- #. --------------------------- #. Greying-out the main window #. --------------------------- #. --------------- #. Run the dialog #. --------------- #. Set main notebook to first page. #. Fill in the name page. #. Fill in the type page. #. Local device tab #. IPP tab defaults #. LPD tab defaults #. SMB tab defaults #. NCP tab defaults #. JetDirect tab defaults #. Set type values from configuration #. If it's a currently visible device we've already selected it #. (in rescan_devices). So we just need to deal with devices #. that we didn't already see. #. This is a device we don't know about. #: ../util/addQueue.py:367 ../util/editQueue.py:331 ../util/editQueue.py:570 #: ../gui/redhat-config-printer.glade.str:119 #: ../gui/redhat-config-printer.glade.str:207 msgid "Custom device" msgstr "Anpassad enhet" #. We can only see one printer; that might be the one the #. user wants. Select it. #. This is a local printer. If it has an IEEE 1284 Device ID, #. see if we can find the right printer driver. #. Found it. So choose the right manufacturer, select the #. right model, and scroll the treeview to it. #. Shouldn't be needed. #: ../util/addQueue.py:513 ../util/editQueue.py:1109 msgid "You must select a device." msgstr "Du måste välja en enhet." #: ../util/addQueue.py:533 ../util/editQueue.py:1130 msgid "You must specify a path." msgstr "Du måste ange en sökväg." #: ../util/addQueue.py:554 ../util/editQueue.py:1153 msgid "You must specify a queue." msgstr "Du måste ange en kö." #: ../util/addQueue.py:570 msgid "You must choose an SMB share to print to." msgstr "Du måste välja en SMB-utdelning att skriva ut till." #: ../util/addQueue.py:576 msgid "You must choose a share, not a host." msgstr "Du måste välja en utdelning, inte en värd." #: ../util/addQueue.py:584 ../util/editQueue.py:1174 msgid "You must specify an SMB share to print to." msgstr "Du måste ange en SMB-utdelning att skriva ut till." #: ../util/addQueue.py:680 ../util/editQueue.py:1203 msgid "You must specify a queue on the NCP server." msgstr "Du måste ange en kö på NCP-servern." #: ../util/addQueue.py:698 ../util/editQueue.py:1221 msgid "You must specify a JetDirect printer to print to." msgstr "Du måste ange en JetDirect-skrivare att skriva ut till." #: ../util/addQueue.py:705 ../util/editQueue.py:1229 msgid "You must specify an IP port number." msgstr "Du måste ange ett IP-portnummer." #. ------------- #. SMB browsing #. ------------- #. This is a share, not a host. #. Add it to the tree view. #: ../util/addQueue.py:847 msgid "(Specified)" msgstr "(Angiven)" #. ----------- #. Model page #. ----------- #: ../util/addQueue.py:869 ../gui/redhat-config-printer.glade.str:95 msgid "Select the printer manufacturer and model." msgstr "Välj skrivartillverkare och skrivarmodell." #: ../util/addQueue.py:874 msgid "" "Select the printer manufacturer and model. Depending on how the remote queue " "is configured, you may need to select the generic PostScript option here." msgstr "" "Välj skrivartillverkare och skrivarmodell. Beroende på hur fjärrkön är " "konfigurerad kan du behöva välja det allmänna PostScript-alternativet här." #: ../util/addQueue.py:932 msgid "You must select a printer model." msgstr "Du måste välja en skrivarmodell." #. ------------ #. Finish page #. ------------ #: ../util/addQueue.py:970 msgid "" "About to create the following queue:\n" "\n" msgstr "" "Kommer att skapa följande kö:\n" "\n" #: ../util/addQueue.py:971 msgid "Type: " msgstr "Typ: " #: ../util/addQueue.py:1028 msgid "Printer: " msgstr "Skrivare: " #: ../util/addQueue.py:1049 msgid "Device: " msgstr "Enhet: " #: ../util/addQueue.py:1067 ../util/addQueue.py:1095 msgid "Queue: " msgstr "Kö: " #: ../util/addQueue.py:1086 msgid "Share: " msgstr "Utdelning: " #: ../util/addQueue.py:1102 msgid "Port: " msgstr "Port: " #. ---------------------- #. Finish button pressed #. ---------------------- #: ../util/addQueue.py:1143 msgid "" "Would you like to print a test page?\n" "Answering 'yes' will apply all changes\n" "and print a test page to this printer." msgstr "" "Vill du skriva ut en testsida?\n" "Att svara \"ja\" kommer att verkställa\n" "alla ändringar och skriva ut en\n" "testsida på denna skrivare." #. Give the print spooler a moment to sort itself out. #. FIXME: This should be done in the initscript instead. #. Local Variables: #. py-indent-offset: 4 #. End: #. !/usr/bin/python #. # redhat-config-printer #. # Edit Queue dialog implementation #. # Copyright (C) 2001-2003 Red Hat, Inc. #. # Copyright (C) 2002-2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #: ../util/editQueue.py:63 msgid "Number of columns on a page" msgstr "Antal kolumner på en sida" #: ../util/editQueue.py:64 msgid "Characters per inch" msgstr "Tecken per tum" #: ../util/editQueue.py:65 msgid "Billing label" msgstr "Fakturaetikett" #: ../util/editQueue.py:66 #, python-format msgid "" "HH:MM:SS or '%s'.\n" "Use GMT." msgstr "" "HH:MM:SS eller \"%s\".\n" "Använd UTC." #: ../util/editQueue.py:68 #, python-format msgid "" "Banner pages (start,end):\n" "for example, '%s'" msgstr "" "Bannersidor (start,slut):\n" "till exempel \"%s\"" #: ../util/editQueue.py:70 #, python-format msgid "Landscape (%s or %s)" msgstr "Liggande (%s eller %s)" #: ../util/editQueue.py:72 msgid "Lines per inch" msgstr "Rader per tum" #: ../util/editQueue.py:73 msgid "" "Number of document pages per\n" "printed page: 1, 2, 4, 6, 9, or 16" msgstr "" "Antal dokumentsidor per utskriven\n" "sida: 1, 2, 4, 6, 9 eller 16" #: ../util/editQueue.py:75 msgid "Top margin in pt (1/72 in)" msgstr "Överkant i pt (1/72 tum)" #: ../util/editQueue.py:76 msgid "Left margin in pt (1/72 in)" msgstr "Vänstermarginal i pt (1/72 tum)" #: ../util/editQueue.py:77 msgid "Right margin in pt (1/72 in)" msgstr "Högermarginal i pt (1/72 tum)" #: ../util/editQueue.py:78 msgid "Bottom margin in pt (1/72 in)" msgstr "Nederkant i pt (1/72 tum)" #: ../util/editQueue.py:79 #, python-format msgid "" "'%s', '%s', '%s'\n" "'%s' or '%s'" msgstr "" "\"%s\", \"%s\", \"%s\"\n" "\"%s\" eller \"%s\"" #: ../util/editQueue.py:85 msgid "Page label" msgstr "Pappersetikett" #: ../util/editQueue.py:86 #, python-format msgid "Pretty-print text (%s or %s)" msgstr "Finskriv text (%s eller %s)" #: ../util/editQueue.py:88 msgid "Scaling (percentage)" msgstr "Skalning (procent)" #: ../util/editQueue.py:89 #, python-format msgid "Word-wrapping (%s or %s)" msgstr "Radbrytning (%s eller %s)" #. Storage for the queue options list. #. Queue options list columns. #: ../util/editQueue.py:181 ../gui/redhat-config-printer.glade.str:251 msgid "Option name" msgstr "Alternativnamn" #: ../util/editQueue.py:187 ../gui/redhat-config-printer.glade.str:250 msgid "Value" msgstr "Värde" #: ../util/editQueue.py:585 msgid "Can't determine the printer model attached to this device." msgstr "Kan inte avgöra skrivarmodellen som är ansluten vid denna enhet." #: ../util/editQueue.py:592 msgid "I don't know enough about this printer model to choose a driver." msgstr "" "Jag vet inte tillräckligt om denna skrivare för att välja en drivrutin." #. ------------------- #. Queue options page #. ------------------- #: ../util/editQueue.py:643 msgid "Edit queue option" msgstr "Redigera köalternativ" #: ../util/editQueue.py:648 msgid "Add queue option" msgstr "Lägg till köalternativ" #. Validate #: ../util/editQueue.py:663 msgid "Invalid option name" msgstr "Ogiltigt aternativnamn" #: ../util/editQueue.py:672 msgid "Invalid value" msgstr "Ogiltigt värde" #. Check for duplicates and remove if necessary #. Add the new option #: ../util/editQueue.py:744 msgid "Value for this option" msgstr "Värde för detta alternativ" #. -------------------------- #. Printer model/driver page #. -------------------------- #: ../util/editQueue.py:835 msgid "None" msgstr "Ingen" #: ../util/editQueue.py:847 msgid "" "(this is the\n" "recommended driver)" msgstr "" "(detta är den rekommenderade\n" "drivrutinen)" #: ../util/editQueue.py:850 #, python-format msgid "" "(recommended\n" "driver is %s)" msgstr "" "(rekommenderad\n" "drivrutin är %s)" #. Update self.driver_namespace to reflect the current settings. #. Driver options need redoing now. #. -------------------- #. Driver options page #. -------------------- #. Clear out the current options. #. Need to beautify this. #: ../util/editQueue.py:958 msgid "There are no options available for this driver." msgstr "Det finns inga alternativ tillgängliga för denna skrivare." #. Actually validation was already done when options were added #. or edited. So just pull. #. banner pages #. imageable area margins #. filter options #. Check the blacklist. #. Local Variables: #. py-indent-offset: 4 #. End: #. !/usr/bin/python #. # printconf-conf #. # Copyright (C) 2000, 2002, 2003 Red Hat, Inc. #. # Copyright (C) 2000 Crutcher Dunnavant <crutcher@redhat.com>, #. # Copyright (C) 2002, 2003 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. ================================================================================================= #. Purpose #. ------- #. This program provides the display independent portions of printconf's configuration tools. It is #. meant to be included in printconf-gui and printconf-tui, and performs initialization of its data #. at include time. It is not meant as a generalized library for printconf access, and the author #. will be surprised he hears of any monkeys doing this successfully. #. ================================================================================================= #. Python Convinince #. ----------------- #. Stuff to tame this screwy language #. ================================================================================================= #. Conf Space #. ---------- #. Save State #. ---------- #. Here we keep track of the state of the program. #. ================================================================================================= #. Libs #. ---- #. General Modules #. --------------- #. #. It is difficult to write anything useful in python that does not use these modules, and there is #. no simple way to justify them, so we just import them. Strings must be munged, and files must be #. pathed. #. Used for parsing foomatic and printer test files #. ================================================================================================= #. Debugging Functions #. ------------------- #. Debug State #. ----------- #. #. Some features and behaviours of this program are not meant for general use, but exist solely to #. aid in actually working upon the program. Python uses the special variable '__debug__' to #. regulate some debuging behaviour, and we can hang the figurative hat of the rest of our debuging #. behaviours upon the same variable. If the python interpreter is set to generate optimized code, #. all blocks of the form: #. #. if __debug__: #. ... block ... #. #. will be thrown away at /parse time/. This means that if the command line option -O is used on the #. shebang line above, they will never be executed, no matter __debug__'s value. It's value is set #. to 1 by default, and 0 by the optimize switch, and we set it here to be 'sure', but we can never #. turn debugging back on, if it was turned off by the shebang line. #. __debug__ = 0 #. Through out the program, it is useful to print some status information to the terminal if we are #. in debug mode. This function makes that a simple call. #. This function is a wrapper to make it easier to print out the names of internal function calls. #. This function is a bitcher, that makes sure I fix things #. ================================================================================================= #. I18N Setup #. ---------- #. #. Before we begin with the program proper, we must set up I18N translation functions, so that #. string constants will be auto-translated by gettext. Import the 'gettext' module, #. In the foomatic database, floats always have radix '.'. Here is a function #. to convert those strings to floats, regardless of the current locale. #. Convert a floating point number expressed as a string that #. uses '.' as the radix char into a float. #. ================================================================================================= #. Ya, Special Cases! #. ------------------ #: ../util/printconf_conf.py:152 msgid "" "This driver requires Hewlett Packard's hpijs driver (available in the hpijs " "package) which does not appear to be installed." msgstr "" "Denna drivrutin kräver Hewlett Packards hpijs-drivrutinspaket (som finns i " "paketet hpijs) som inte verkar vara installerat." #: ../util/printconf_conf.py:153 ../util/printconf_conf.py:164 #: ../util/printconf_conf.py:180 msgid "Do you wish to use it anyway?" msgstr "Vill du använda den ändå?" #: ../util/printconf_conf.py:163 msgid "" "This driver requires the Omni Print Driver System, which does not appear to " "be installed." msgstr "" "Denna drivrutin kräver utskriftsdrivrutinssystemet Omni, som inte verkar " "vara installerat." #: ../util/printconf_conf.py:179 msgid "" "This driver requires the oki4drv daemon to be running, and it does not " "appear to be." msgstr "" "Denna drivrutin kräver att oki4drv-demonen kör, och den verkar inte göra " "detta." #. ================================================================================================= #. Program Data Paths #. ------------------ #. #. This being a configuration tool, and a user interface, we need to know where things are. #. The printconf system resides at this location on the file system: #. printconf-gui keeps its private image data and helper programs in this location #. ================================ #. Default options for new queues. #. ================================ #. ================================================================================================= #. Queue Types Namespace #. --------------------- #: ../util/printconf_conf.py:229 msgid "Local Printer Device" msgstr "Lokal skrivarenhet" #: ../util/printconf_conf.py:237 msgid "IPP Print Queue" msgstr "IPP-utskriftskö" #: ../util/printconf_conf.py:245 msgid "Unix Print Queue" msgstr "Unix-utskriftskö" #: ../util/printconf_conf.py:253 msgid "Windows Print Queue" msgstr "Windows-utskriftskö" #: ../util/printconf_conf.py:256 msgid "" "SMB print queues require the \"smbclient\" program, which does not appear to " "be installed." msgstr "" "SMB-utskriftsköer kräver programmet \"smbclient\", men detta verkar inte " "vara installerat." #: ../util/printconf_conf.py:257 msgid "It is part of the \"samba-client\" package, as distributed by Red Hat." msgstr "" "Det är en del av paketet \"samba-client\", som distribueras av Red Hat." #: ../util/printconf_conf.py:258 ../util/printconf_conf.py:271 msgid "Do you wish to enable it anyway?" msgstr "Vill du aktivera det ändå?" #: ../util/printconf_conf.py:266 msgid "Novell Print Queue" msgstr "Novell-utskriftskö" #: ../util/printconf_conf.py:269 msgid "" "NCP print queues require the \"nprint\" program, which does not appear to be " "installed." msgstr "" "NCP-utskriftsköer kräver programmet \"nprint\", men detta verkar inte vara " "installerat." #: ../util/printconf_conf.py:270 msgid "It is part of the \"ncpfs\" package, as distributed by Red Hat." msgstr "Det är en del av paketet \"ncpfs\", som distribueras av Red Hat." #: ../util/printconf_conf.py:279 msgid "Jetdirect Printer" msgstr "Jetdirect-skrivare" #: ../util/printconf_conf.py:287 msgid "Custom Command" msgstr "Anpassat kommando" #. We cannot count on this being present, it is a new value. #. Dont save trivial or illegal values #. Convert it to C locale #. ================================================================================================= #: ../util/printconf_conf.py:552 ../util/printconf_conf.py:972 msgid "Postscript Printer" msgstr "Postscript-skrivare" #: ../util/printconf_conf.py:557 ../util/printconf_conf.py:969 msgid "Text Only Printer" msgstr "Textskrivare" #. returns a tuple: #. element 1, a dict of dicts indexed by name #. element 2, a dict of dicts indexed by alias #. both with: #. queue #. editable - can i edit this queue? #. override - does this queue mask another queue? #. ================================================================================================= #. Default Queues #. -------------- #. The default queue is either the first one after the merge, #. or the one specified by default_queue, if it exists. #. THis little song-and-dance predicts the default after a merge. #. first, see if the current context has an explicit default #. next, if we have a static context, see if it has an explicit default #. hmm, if we have any queues in the dynamic context, use the first one #. well, does the static context have queues? #. if we get here, there are no queues #. We cant just zap printers that we delete, we have to fixup the default entry #. if it is no longer valid. This checks to see if it is valid #. ================================================================================================= #. Try to find a roughly sensible default page size, based on LANG. #. Hmm, LC_PAPER doesn't seem to be standard. #. The foomatic default is okay. #. For everyone _else_ in the world, A4 is in general a better #. default. If there is a PageSize enum with an A4 shortname #. value, use it. #. ================================================================================================= #. Queue Constructor #. ----------------- #. Default lpoptions #. defaults to false #. defaults to false #. Hmm, LC_PAPER doesn't seem to be standard. #. ================================================================================================= #. Description #. ----------- #. #. Given a queue, this function comes up with a little blurb to describe the queue. It is all #. special cases, and any additional types or subtypes will just have to be hacked in. #. extract the types and data lists from the queue's object #: ../util/printconf_conf.py:562 ../util/printconf_conf.py:965 msgid "Raw Print Queue" msgstr "Rå utskriftskö" #: ../util/printconf_conf.py:566 msgid "Custom Filter" msgstr "Anpassat filter" #. ================================================================================================= #. Alchemist #. --------- #. #. Alchemist interaction code #: ../util/printconf_conf.py:598 #, python-format msgid "ERROR: No box named \"%s\" found." msgstr "FEL: Ingen box med namnet \"%s\" hittades." #: ../util/printconf_conf.py:602 #, python-format msgid "ERROR: box \"%s\" is not a writable interface." msgstr "FEL: boxen \"%s\" är inte ett skrivbart gränssnitt." #. ================================================================================================= #. LPD Control Section (qed) #. #. attempt to restart the lpd service #. Find out which print spooler is active. #. ================================================================================================= #. Printer Tests #. ------------- #. print a postscript testpage #. print a postscript testpage #. ================================================================================================= #. Overrides #. --------- #. ================================================================================================= #. Scan Local Printer Devices #. -------------------------- #. This being a printing system, it's probably a good idea to go and see if there are any printers #. attached locally. #. Scan Parallel Port Printers #. Scan USB Printers #. # Scan IR Printers? #. for i in range(4): #. dev = '/dev/ir%d' % i #. #. try: os.close (os.open (dev, os.O_WRONLY | os.O_NONBLOCK)) #. except: continue #. #. local_printer_devices.device_dict[dev] = {'device':dev} #. local_printer_devices.device_dict[dev].update(autodetect_ir_printer(dev, i)) #. Class = "CLASS:??;\n", hence [6:-2] #. Model = "MODEL:??;\n", hence [6:-2] #. Model = "MANUFACTURER:??;\n", hence [13:-2] #. Model = "DESCRIPTION:??;\n", hence [12:-2] #. Model = "COMMAND SET:??;\n", hence [12:-2] #. We have no real ability to co-relate USB printers with the device they use, #. so we just return the first USB printer we find, if we find one. #. Ignore inactive interfaces, and ones that are not printers #. ================================================================================================= #. Queue Validation #. ---------------- #. #. Queue validation is a simple boolean check. If any of the things we would expect to find are not #. in a queue, then it is 'INVALID', we return None, and this means that the program is not smart #. enough to edit that particular queue. #. IMPORTANT: #. We are ignoring the old-style option_default entries. #. Foomatic's options have changed underneath us, making it #. dificult to index by the old values. #. Checks the validity of a printer name (The strictness is an artifact of our encoding method.) #. ================================================================================================= #. Foomatic #. -------- #. Here we talk to the www.linuxprinting.org foomatic printing system #. We don't care about printers with no drivers #. Watch for inconsistant enums values #. Paranoia! #. ================================================================================================= #. Everyone gets this option, except it doesn't work. #. option_list.append(( #. "bool", #. "print_header_page", #. _("Print Header Page"), #. driver_namespace.misc_filter_options, #. 0, #. None #. )) #. Enable 'Rerender Postscript' and 'Assume Data is Text' #. if LANG begins with 'zh' or 'ko' #. All MAGICFILTER types get send_EOT and send_FF #: ../util/printconf_conf.py:1703 msgid "Send Form-Feed (FF)" msgstr "Skicka pappersmatning (FF)" #: ../util/printconf_conf.py:1712 msgid "Send End-of-Transmission (EOT)" msgstr "Skicka slut på överföring (EOT)" #: ../util/printconf_conf.py:1721 msgid "Assume Unknown Data is Text" msgstr "Anta att okänd data är text" #: ../util/printconf_conf.py:1731 msgid "Prerender Postscript" msgstr "Förrendera Postscript" #: ../util/printconf_conf.py:1740 msgid "Convert Text to Postscript" msgstr "Konvertera text till Postscript" #: ../util/printconf_conf.py:1754 msgid "Page Size" msgstr "Pappersstorlek" #: ../util/printconf_conf.py:1763 msgid "Effective Filter Locale" msgstr "Effektiv filterlokal" #: ../util/printconf_conf.py:1774 msgid "Couldn't load driver information." msgstr "Kunde inte läsa in drivrutinsinformation." #. !/usr/bin/python #. # printconf-backend #. # Copyright (C) 2001, 2002 Red Hat, Inc. #. # Copyright (C) 2001 Crutcher Dunnavant <crutcher@redhat.com>, #. # Copyright (C) 2002 Tim Waugh <twaugh@redhat.com> #. # This program is free software; you can redistribute it and/or modify #. # it under the terms of the GNU General Public License as published by #. # the Free Software Foundation; either version 2 of the License, or #. # (at your option) any later version. #. # This program is distributed in the hope that it will be useful, #. # but WITHOUT ANY WARRANTY; without even the implied warranty of #. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #. # GNU General Public License for more details. #. # You should have received a copy of the GNU General Public License #. # along with this program; if not, write to the Free Software #. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. #. ===================================================================================================================== #. Libs #. ---- #. printconf #. --------- #. import the general parts of printconf #. ===================================================================================================================== #. Is the user root? #: ../util/printconf_backend.py:36 msgid "You must run printconf-backend as root." msgstr "Du måste köra printconf-backend som root." #. ===================================================================================================================== #. Program Data Paths #. ------------------ #. #. We need to know where some variable things are. #. ===================================================================================================================== #. File Headers #. ------------ #. #. The volatile file is a marker left in a spool directory saying, in effect, 'I was created by printconf'. If #. printconf finds this file in a directory it cannot account for, it will destroy the directory. #. ===================================================================================================================== #. printcap.local #. -------------- #. #. /etc/printcap is generated; /etc/printcap.local is not, though it is imported by /etc/printcap. We make sure that #. /etc/printcap.local exists, but otherwise ignore it. #. To Rebuild, or Not #. ------------------ #. #. Rebuilding the printing system can be expensive, and we want to avoid frivolus rebuilds. On the other hand, taking #. the time to confirm that the existing configuration is valid is also expensive, so we do not rescan the directories #. if the configuration looks current. To check, we look for some force flags, and then examine the switchboard. #. Parse options #. Obviously rebuild if the printcap file is not there. #. Rebuild if the printcap.local file is newer than the printcap file #. rebuild if the namespace is dirty #. Scan printcap #. ------------- #. #. In the scenario that we are not forced to rebuild, we need to know if the existing printcap files have a printer #. defined. This is a tricky task, and we can't take the time to fully validate them. We just itterate through the #. databases, and take note if we ever find something that looks like a printer. #. get the next printcap file to scan #. address the issue of relative paths. #. the printcap file in question does not exist, and attempting to start the server would fail. #. However, if we fail here, we effectively swallow the error message that the print server will #. throw (and will be more informative). So we just skip this file. #. We've found an include file directive #. We've found a valid printcap entry, return true. #. If we are not rebuilding, then the appropriate return value is dependent upon whatever scan_printcap_files finds. #. Rebuilding ... #. -------------- #. #. After the early exit case above, from this point on we know that we need to rebuild the print queues, and will no #. longer check the status of the rebuild variable. #. The alchemist context #. --------------------- #. #. To get the current configuration, we do a pull from the alchemist, and mark ourselves current. If it fails, #. we scan the printcap files, and exit on the return value returned. #. Now that we've got the context, extract the print queue list from it, and reorder for the default printer, if one is #. defined and available. #. First, get a list of all the queue names #. Next, scan each queue's alias list, add new aliases to the name list and zap pre-defined aliases #. and strip out all conflicting aliases, to minimize the impact of alias merges from multiple sources. #. The 'lp' user and group #. ----------------------- #. #. Printer spools and files are owned by the 'lp' user and the 'lp' group. Since we will be creating these files, it is #. appropriate if we know the respective uid and gid of those groups. The pwd module is perfect for this lookup. #. Paranoid File Writes #. -------------------- #. #. At a number of places in the program, it becomes necessary to write out a file that must be secure from the moment of #. creation. Since this is a bit annoying to do in python, I've got this nice little helper function for exactly this #. task. #. Magicfilter Configuration #. ------------------------- #. #. Because most of our magicfilter cases are handled by mfomatic at this point, all magicfilter configuration gets #. passed on to a seccond stage perl script, which has the capability to read the foomatic files that mfomatic uses. #. This function builds the control structure that the second stage evals as it's input. #. This function builds a control structure to pass to a perl script #. which can easily override the foomatic data file's options. #. #. Maybe if you don't think about it, it wont disturb you ;) #. Universal values #. Read the flags list #. We start with the assumption of 'Letter' as the page size. If we find something to override this, we change. #. mfomatic values #. Might as well look for pagesize #. Select Page Sizes #. ----------------- #. #. Yes! Standards Are Fun! Here we take the size we are given, and try to match it to mpage and ghostscript page sizes. #. Could be smarter (and not annoy europe and asia) #. Dump header #. Build Print Queue #. ----------------- #. #. This function takes a queue, and rebuilds it on the system. It should be rewritten as a series of co-functions for #. the different queue and filter types available in the future. #. build the appropriate queue directory, if it does not exist #. build the name list for the printcap entry #. start building the options list #. Extract the real info #. header page handling (YES, it is a filtration option) #. Handle the queue cases #. This is a local printer #. This is a lpd network queue #. This is a SMB network share #. This is a NCP network printer #. This is a Jet Direct printer on the network #. What queue type is this? Nevermind, I'll just skip it. #. Handle the filtration cases #. We are not filtering at all #. We are using the magicfilter filter set #. What kind of filter is this? Hmm, I'll skip it. #. Rebuild Queues #. -------------- #. #. We are now ready to iterate over the list of remaining queues, and rebuild each one. This function does this, and #. returns the number of active queues that if found. It also destroys obsolete spool directories which it made in the #. past. #. Rebuild each print queue, append their returned printcap entries to the printcap_entry_list #. Quietly swallow a failed queue build, and continue. #. backup the old printcap, you know, cause we are about to zap it, and people like backups. #. Write out the printcap string #. This scans the spool directory, and distroys any directory marked volatile that does not have a current #. valid configuration. #. Yeah, I could do this in python, but it would suck #. We now try to rebuild. If that fails, we scan the printcap files for our return value. #. #. * Translatable strings file generated by Glade. #. * Add this file to your project's POTFILES.in. #. * DO NOT compile it as part of your application. #. #: ../gui/redhat-config-printer.glade.str:7 msgid "Printer configuration" msgstr "Skrivarkonfiguration" #: ../gui/redhat-config-printer.glade.str:8 msgid "_Action" msgstr "_Åtgärd" #: ../gui/redhat-config-printer.glade.str:9 msgid "_New queue" msgstr "_Ny kö" #: ../gui/redhat-config-printer.glade.str:10 msgid "_Edit queue" msgstr "_Redigera kö" #: ../gui/redhat-config-printer.glade.str:11 msgid "_Delete queue" msgstr "_Ta bort kö" #: ../gui/redhat-config-printer.glade.str:12 msgid "Set as de_fault" msgstr "Ställ in som _standard" #: ../gui/redhat-config-printer.glade.str:13 msgid "_Apply" msgstr "_Verkställ" #: ../gui/redhat-config-printer.glade.str:14 #: ../gui/redhat-config-printer.glade.str:215 msgid "_Sharing..." msgstr "_Delar ut..." #: ../gui/redhat-config-printer.glade.str:15 msgid "_Test" msgstr "_Testa" #: ../gui/redhat-config-printer.glade.str:16 msgid "_CUPS test page" msgstr "_CUPS-testsida" #: ../gui/redhat-config-printer.glade.str:17 msgid "_US Letter PostScript test page" msgstr "PostScript-testsida i _US Letter-format" #: ../gui/redhat-config-printer.glade.str:18 msgid "_A4 PostScript test page" msgstr "PostScript-testsida i _A4-format" #: ../gui/redhat-config-printer.glade.str:19 msgid "ASC_II text test page" msgstr "Testsida med ASC_II-text" #: ../gui/redhat-config-printer.glade.str:20 msgid "Japanese _EUC text test page" msgstr "Testsida med japansk _EUC-text" #: ../gui/redhat-config-printer.glade.str:21 msgid "Japanese _JIS text test page" msgstr "Testsida med japansk _JIS-text" #: ../gui/redhat-config-printer.glade.str:22 msgid "Japanese _SJIS text test page" msgstr "Testsida med japansk _SJIS-text" #: ../gui/redhat-config-printer.glade.str:23 msgid "Japanese EUC PostScript test page" msgstr "Testsida med japansk EUC-PostScript" #: ../gui/redhat-config-printer.glade.str:24 msgid "Japanese JIS PostScript test page" msgstr "Testsida med japansk JIS-PostScript" #: ../gui/redhat-config-printer.glade.str:25 msgid "Japanese SJIS PostScript test page" msgstr "Testsida med japansk SJIS-PostScript" #: ../gui/redhat-config-printer.glade.str:26 msgid "_Duplex test" msgstr "_Duplextest" #: ../gui/redhat-config-printer.glade.str:27 msgid "JPE_G test" msgstr "JPE_G-test" #: ../gui/redhat-config-printer.glade.str:28 msgid "_Help" msgstr "_Hjälp" #: ../gui/redhat-config-printer.glade.str:29 msgid "_Contents" msgstr "_Innehåll" #: ../gui/redhat-config-printer.glade.str:30 msgid "Add a new queue" msgstr "Lägg till en ny kö" #: ../gui/redhat-config-printer.glade.str:32 msgid "Edit the selected queue" msgstr "Redigera den markerade kön" #: ../gui/redhat-config-printer.glade.str:34 msgid "Delete the selected queue" msgstr "Ta bort den markerade kön" #: ../gui/redhat-config-printer.glade.str:36 msgid "Set as default queue" msgstr "Ställ in som standardkö" #: ../gui/redhat-config-printer.glade.str:38 msgid "Apply changes" msgstr "Verkställ ändringar" #: ../gui/redhat-config-printer.glade.str:39 msgid "Apply" msgstr "Verkställ" #: ../gui/redhat-config-printer.glade.str:40 #: ../gui/redhat-config-printer.glade.str:41 msgid "Add a new print queue" msgstr "Lägg till en ny utskriftskö" #: ../gui/redhat-config-printer.glade.str:42 msgid "" "On the following screens, you will be asked to provide basic information for " "adding a new print queue. You will be able to edit the more advanced " "options afterwards.\n" "\n" "Nothing will be done to your settings until you hit \"Apply\" on the last " "screen." msgstr "" "På följande skärmar kommer du att frågas om information för att lägga till " "en ny utskriftskö. Du kommer att kunna redigera de mer avancerade " "inställningarna senare.\n" "\n" "Ingenting kommer att utföras förrän du trycker \"Verkställ\" på den sista " "skärmen." #: ../gui/redhat-config-printer.glade.str:46 msgid "" "Please enter a name for this queue. Choose a short name that begins with a " "letter and contains no spaces." msgstr "" "Ange ett namn för denna kö. Välj ett kort namn som börjar med en bokstav och " "inte innehåller några blanksteg." #: ../gui/redhat-config-printer.glade.str:49 msgid "" "If you like, you can enter a description of the printer to help you identify " "it more easily." msgstr "" "Om du vill kan du ange en beskrivning för skrivaren för att hjälpa dig " "identifiera den lättare." #: ../gui/redhat-config-printer.glade.str:50 msgid "Short description: " msgstr "Kort beskrivning: " #: ../gui/redhat-config-printer.glade.str:52 #: ../gui/redhat-config-printer.glade.str:108 msgid "About" msgstr "Om" #: ../gui/redhat-config-printer.glade.str:53 #: ../gui/redhat-config-printer.glade.str:161 msgid "Queue type" msgstr "Kötyp" #: ../gui/redhat-config-printer.glade.str:54 msgid "Select a queue type:" msgstr "Välj en kötyp:" #: ../gui/redhat-config-printer.glade.str:55 msgid "Choose the type of queue you want to use" msgstr "Välj den typ av kö du vill använda" #: ../gui/redhat-config-printer.glade.str:56 #: ../gui/redhat-config-printer.glade.str:112 msgid "_Locally-connected" msgstr "_Lokalt ansluten" #: ../gui/redhat-config-printer.glade.str:57 #: ../gui/redhat-config-printer.glade.str:113 msgid "Networked CUPS (_IPP)" msgstr "Nätverksansluten CUPS (_IPP)" #: ../gui/redhat-config-printer.glade.str:58 #: ../gui/redhat-config-printer.glade.str:114 msgid "Networked _UNIX (LPD)" msgstr "Nätverksansluten _UNIX (LPD)" #: ../gui/redhat-config-printer.glade.str:59 #: ../gui/redhat-config-printer.glade.str:115 msgid "Networked _Windows (SMB)" msgstr "Nätverksansluten _Windows (SMB)" #: ../gui/redhat-config-printer.glade.str:60 #: ../gui/redhat-config-printer.glade.str:116 msgid "Networked _Novell (NCP)" msgstr "Nätverksansluten _Novell (NCP)" #: ../gui/redhat-config-printer.glade.str:61 #: ../gui/redhat-config-printer.glade.str:117 msgid "Networked _JetDirect" msgstr "Nätverksansluten _JetDirect" #: ../gui/redhat-config-printer.glade.str:62 msgid "_Rescan devices" msgstr "_Genomsök enheter igen" #: ../gui/redhat-config-printer.glade.str:63 msgid "_Custom device" msgstr "_Anpassad enhet" #: ../gui/redhat-config-printer.glade.str:64 #: ../gui/redhat-config-printer.glade.str:121 msgid "local" msgstr "lokal" #: ../gui/redhat-config-printer.glade.str:67 #: ../gui/redhat-config-printer.glade.str:124 msgid "Path:" msgstr "Sökväg:" #: ../gui/redhat-config-printer.glade.str:69 #: ../gui/redhat-config-printer.glade.str:126 msgid "ipp" msgstr "ipp" #: ../gui/redhat-config-printer.glade.str:72 #: ../gui/redhat-config-printer.glade.str:80 #: ../gui/redhat-config-printer.glade.str:129 #: ../gui/redhat-config-printer.glade.str:149 msgid "Queue:" msgstr "Kö:" #: ../gui/redhat-config-printer.glade.str:74 #: ../gui/redhat-config-printer.glade.str:132 msgid "lpd" msgstr "lpd" #: ../gui/redhat-config-printer.glade.str:75 msgid "Type in the share name" msgstr "Ange namnet på utdelningen" #: ../gui/redhat-config-printer.glade.str:76 msgid "Specify..." msgstr "Ange..." #: ../gui/redhat-config-printer.glade.str:77 #: ../gui/redhat-config-printer.glade.str:144 msgid "smb" msgstr "smb" #: ../gui/redhat-config-printer.glade.str:81 #: ../gui/redhat-config-printer.glade.str:136 #: ../gui/redhat-config-printer.glade.str:150 #: ../gui/redhat-config-printer.glade.str:254 msgid "Password:" msgstr "Lösenord:" #: ../gui/redhat-config-printer.glade.str:86 #: ../gui/redhat-config-printer.glade.str:153 msgid "ncp" msgstr "ncp" #: ../gui/redhat-config-printer.glade.str:87 #: ../gui/redhat-config-printer.glade.str:154 msgid "IP port number (often 9100)" msgstr "IP-portnummer (ofta 9100)" #: ../gui/redhat-config-printer.glade.str:90 #: ../gui/redhat-config-printer.glade.str:156 msgid "Printer hostname or IP address" msgstr "Skrivarvärdnamn eller -ip-adress" #: ../gui/redhat-config-printer.glade.str:92 #: ../gui/redhat-config-printer.glade.str:159 msgid "Printer:" msgstr "Skrivare:" #: ../gui/redhat-config-printer.glade.str:93 #: ../gui/redhat-config-printer.glade.str:160 msgid "jetdirect" msgstr "jetdirect" #: ../gui/redhat-config-printer.glade.str:94 msgid "Printer model" msgstr "Skrivarmodell" #: ../gui/redhat-config-printer.glade.str:96 msgid "_Notes..." msgstr "_Anteckningar..." #: ../gui/redhat-config-printer.glade.str:97 #: ../gui/redhat-config-printer.glade.str:200 msgid "Choose the manufacturer" msgstr "Välj tillverkare" #: ../gui/redhat-config-printer.glade.str:98 #: ../gui/redhat-config-printer.glade.str:201 msgid "Generic" msgstr "Allmän" #: ../gui/redhat-config-printer.glade.str:99 #: ../gui/redhat-config-printer.glade.str:202 msgid "Use control-F to search" msgstr "Använd Control-F för att söka" #: ../gui/redhat-config-printer.glade.str:100 msgid "Finish, and create the new print queue" msgstr "Slutför och skapa den nya utskriftskön" #: ../gui/redhat-config-printer.glade.str:101 msgid "Edit a print queue" msgstr "Redigera en utskriftskö" #: ../gui/redhat-config-printer.glade.str:102 msgid "" "This is the name of the queue. It must begin with a letter and contain no " "spaces." msgstr "" "Detta är namnet på kön. Det måste börja med en bokstav och får inte " "innehålla några blanksteg." #: ../gui/redhat-config-printer.glade.str:105 msgid "This is the description of the printer." msgstr "Detta är beskrivningen av skrivaren." #: ../gui/redhat-config-printer.glade.str:106 msgid "Short description:" msgstr "Kort beskrivning:" #: ../gui/redhat-config-printer.glade.str:110 msgid "Queue type:" msgstr "Kötyp:" #: ../gui/redhat-config-printer.glade.str:111 msgid "Choose the queue type" msgstr "Välj kötypen" #: ../gui/redhat-config-printer.glade.str:118 msgid "Rescan devices" msgstr "Genomsök enheter igen" #: ../gui/redhat-config-printer.glade.str:120 msgid "Autoselect driver" msgstr "Välj drivrutin automatiskt" #: ../gui/redhat-config-printer.glade.str:131 msgid "Strict RFC1179 compliance" msgstr "Strikt kompatibilitet med RFC1179" #: ../gui/redhat-config-printer.glade.str:135 msgid "Server hostname or IP address:" msgstr "Servervärdnamn eller -ip-adress:" #: ../gui/redhat-config-printer.glade.str:143 msgid "Linefeed translation" msgstr "Radmatningsöversättning" #: ../gui/redhat-config-printer.glade.str:162 msgid "At start of job:" msgstr "Vid början av jobb:" #: ../gui/redhat-config-printer.glade.str:163 #: ../gui/redhat-config-printer.glade.str:171 msgid "_none" msgstr "_ingen" #: ../gui/redhat-config-printer.glade.str:164 #: ../gui/redhat-config-printer.glade.str:172 msgid "_standard" msgstr "_standard" #: ../gui/redhat-config-printer.glade.str:165 #: ../gui/redhat-config-printer.glade.str:173 msgid "_classified" msgstr "_klassifierad" #: ../gui/redhat-config-printer.glade.str:166 #: ../gui/redhat-config-printer.glade.str:174 msgid "c_onfidential" msgstr "k_onfidentiell" #: ../gui/redhat-config-printer.glade.str:167 #: ../gui/redhat-config-printer.glade.str:175 msgid "_secret" msgstr "_hemlig" #: ../gui/redhat-config-printer.glade.str:168 #: ../gui/redhat-config-printer.glade.str:176 msgid "_topsecret" msgstr "_topphemlig" #: ../gui/redhat-config-printer.glade.str:169 #: ../gui/redhat-config-printer.glade.str:177 msgid "_unclassified" msgstr "_oklassifierad" #: ../gui/redhat-config-printer.glade.str:170 msgid "At end of job:" msgstr "Vid slut av jobb:" #: ../gui/redhat-config-printer.glade.str:178 msgid "Banner pages" msgstr "Omslagssidor" #: ../gui/redhat-config-printer.glade.str:179 msgid "Top margin (pt):" msgstr "Överkant (pt):" #: ../gui/redhat-config-printer.glade.str:180 #: ../gui/redhat-config-printer.glade.str:184 #: ../gui/redhat-config-printer.glade.str:185 #: ../gui/redhat-config-printer.glade.str:186 msgid "72pt per inch" msgstr "72 pt per tum" #: ../gui/redhat-config-printer.glade.str:181 msgid "Right margin (pt):" msgstr "Högermarginal (pt):" #: ../gui/redhat-config-printer.glade.str:182 msgid "Left margin (pt):" msgstr "Vänstermarginal (pt):" #: ../gui/redhat-config-printer.glade.str:183 msgid "Bottom margin (pt):" msgstr "Nederkant (pt):" # Osäker #: ../gui/redhat-config-printer.glade.str:187 msgid "Imageable Area" msgstr "Bildbart område" #: ../gui/redhat-config-printer.glade.str:188 msgid "Add a new option" msgstr "Lägg till ett nytt alternativ" #: ../gui/redhat-config-printer.glade.str:189 #: ../gui/redhat-config-printer.glade.str:220 msgid "_Add..." msgstr "_Lägg till..." #: ../gui/redhat-config-printer.glade.str:190 msgid "Edit this option" msgstr "Redigera detta alternativ" #: ../gui/redhat-config-printer.glade.str:191 #: ../gui/redhat-config-printer.glade.str:213 #: ../gui/redhat-config-printer.glade.str:222 msgid "_Edit..." msgstr "_Redigera..." #: ../gui/redhat-config-printer.glade.str:192 msgid "Remove this option" msgstr "Ta bort detta alternativ" #: ../gui/redhat-config-printer.glade.str:193 #: ../gui/redhat-config-printer.glade.str:224 msgid "_Remove" msgstr "_Ta bort" #: ../gui/redhat-config-printer.glade.str:194 msgid "Reset to the default options" msgstr "Återställ till standardalternativen" #: ../gui/redhat-config-printer.glade.str:195 msgid "_Defaults" msgstr "_Standardalternativ" #: ../gui/redhat-config-printer.glade.str:196 msgid "Filter options" msgstr "Filteralternativ" #: ../gui/redhat-config-printer.glade.str:197 msgid "Queue options" msgstr "Köalternativ" #: ../gui/redhat-config-printer.glade.str:198 msgid "Select the appropriate printer manufacturer and model." msgstr "Välj lämplig skrivartillverkare och skrivarmodell." #: ../gui/redhat-config-printer.glade.str:199 msgid "Printer/driver _notes..." msgstr "Skrivar-/drivrutins_anteckningar..." #: ../gui/redhat-config-printer.glade.str:203 msgid "Available drivers:" msgstr "Tillgängliga drivrutiner:" #: ../gui/redhat-config-printer.glade.str:204 msgid "none" msgstr "ingen" #: ../gui/redhat-config-printer.glade.str:205 msgid "Printer driver" msgstr "Skrivardrivrutin" #: ../gui/redhat-config-printer.glade.str:206 msgid "Driver options" msgstr "Drivrutinsalternativ" #: ../gui/redhat-config-printer.glade.str:208 msgid "Enter the device you would like to use." msgstr "Ange enheten som du vill använda." #: ../gui/redhat-config-printer.glade.str:210 msgid "For example: /dev/lp0" msgstr "Till exempel: /dev/lp0" #: ../gui/redhat-config-printer.glade.str:212 msgid "Patience" msgstr "Lugn" #: ../gui/redhat-config-printer.glade.str:214 msgid "Set as _default" msgstr "Ställ in som _standardalternativ" #: ../gui/redhat-config-printer.glade.str:216 msgid "_Delete" msgstr "Ta _bort" #: ../gui/redhat-config-printer.glade.str:217 msgid "Sharing properties" msgstr "Utdelningsegenskaper" #: ../gui/redhat-config-printer.glade.str:218 msgid "_This queue is available to other computers" msgstr "_Denna kö är tillgänglig för andra datorer" #: ../gui/redhat-config-printer.glade.str:219 msgid "Add an allowed host" msgstr "Lägg till en tillåten värd" #: ../gui/redhat-config-printer.glade.str:221 msgid "Edit this host" msgstr "Redigera denna värd" #: ../gui/redhat-config-printer.glade.str:223 msgid "Remove this host from the list" msgstr "Ta bort denna värd från listan" #: ../gui/redhat-config-printer.glade.str:225 #: ../gui/redhat-config-printer.glade.str:233 msgid "Allowed hosts" msgstr "Tillåtna värdar" #: ../gui/redhat-config-printer.glade.str:227 msgid "These settings are system-wide." msgstr "Dessa inställningar är globala." #: ../gui/redhat-config-printer.glade.str:228 msgid "This enables CUPS IPP browsing" msgstr "Detta aktiverar CUPS IPP-bläddring" #: ../gui/redhat-config-printer.glade.str:229 msgid "_Automatically find remote shared queues" msgstr "_Hitta automatiskt utdelade fjärrköer" #: ../gui/redhat-config-printer.glade.str:230 msgid "This allows older systems to print to this machine" msgstr "Detta möjliggör för äldre system att skriva ut till denna maskin" #: ../gui/redhat-config-printer.glade.str:231 msgid "Enable _LPD protocol" msgstr "Aktivera _LPD-protokollet" #: ../gui/redhat-config-printer.glade.str:232 msgid "General" msgstr "Allmänt" #: ../gui/redhat-config-printer.glade.str:234 msgid "Choose which other computers may use this queue." msgstr "Välj vilka andra datorer som kan använda denna kö." #: ../gui/redhat-config-printer.glade.str:235 msgid "_All hosts" msgstr "_Alla värdar" #: ../gui/redhat-config-printer.glade.str:236 msgid "Network _devices" msgstr "Nätverks_enheter" #: ../gui/redhat-config-printer.glade.str:237 msgid "_Network address" msgstr "_Nätverksadress" #: ../gui/redhat-config-printer.glade.str:238 #: ../gui/redhat-config-printer.glade.str:244 msgid "Type in an IP address" msgstr "Ange en IP-adress" #: ../gui/redhat-config-printer.glade.str:241 msgid "Type in the netmask, or the CIDR mask length" msgstr "Ange nätmasken eller CIDR-masklängden" #: ../gui/redhat-config-printer.glade.str:243 msgid "Single _IP address" msgstr "Ensam _IP-adress" #: ../gui/redhat-config-printer.glade.str:246 msgid "Add/edit queue option" msgstr "Lägg till/redigera köalternativ" #: ../gui/redhat-config-printer.glade.str:252 msgid "Authentication" msgstr "Autentisering" #: ../gui/redhat-config-printer.glade.str:255 msgid "User name:" msgstr "Användarnamn:" #~ msgid "" #~ "Would you like to save your changes?\n" #~ "If you say no, your changes will be lost." #~ msgstr "" #~ "Vill du spara dina ändringar?\n" #~ "Om du svarar nej kommer dina ändringar att gå förlorade." #~ msgid "Driver Options" #~ msgstr "Drivrutinsalternativ" #~ msgid "All hosts" #~ msgstr "Alla värdar" #~ msgid "Network devices" #~ msgstr "Nätverksenheter" #~ msgid "Network _device" #~ msgstr "Nätverks_enhet" #~ msgid "Network device" #~ msgstr "Nätverksenhet" #~ msgid "Network address" #~ msgstr "Nätverksadress" #~ msgid "Action" #~ msgstr "Åtgärd" #~ msgid "New queue" #~ msgstr "Ny kö" #~ msgid "Edit queue" #~ msgstr "Redigera kö" #~ msgid "Delete queue" #~ msgstr "Ta bort kö" #~ msgid "Set as default" #~ msgstr "Ställ in som standard" #~ msgid "Sharing..." #~ msgstr "Delar ut..." #~ msgid "CUPS test page" #~ msgstr "CUPS-testsida" #~ msgid "US Letter PostScript test page" #~ msgstr "PostScript-testsida i US Letter-format" #~ msgid "A4 PostScript test page" #~ msgstr "PostScript-testsida i A4-format" #~ msgid "ASCII text test page" #~ msgstr "Testsida med ASCII-text" #~ msgid "Japanese EUC text test page" #~ msgstr "Testsida med japansk EUC-text" #~ msgid "Japanese JIS text test page" #~ msgstr "Testsida med japansk JIS-text" #~ msgid "Japanese SJIS text test page" #~ msgstr "Testsida med japansk SJIS-text" #~ msgid "Japanese EUC PS test page" #~ msgstr "Testsida med japansk EUC-PS" #~ msgid "Japanese JIS PS test page" #~ msgstr "Testsida med japansk JIS-PS" #~ msgid "Japanese SJIS PS test page" #~ msgstr "Testsida med japansk JIS-PostScript" #~ msgid "Help" #~ msgstr "Hjälp" #~ msgid "Contents" #~ msgstr "Innehåll" #~ msgid "_About" #~ msgstr "_Om" #~ msgid "_Locally connected" #~ msgstr "_Lokalt ansluten" #~ msgid "Locally-connected" #~ msgstr "Lokalt ansluten" #~ msgid "Locally connected" #~ msgstr "Lokalt ansluten" #~ msgid "Choose manufacturer" #~ msgstr "Välj tillverkare" #~ msgid "Choose queue type" #~ msgstr "Välj kötyp" #~ msgid "" #~ "HH:MM:SS or '%s'.\n" #~ "Use UTC." #~ msgstr "" #~ "HH:MM:SS eller \"%s\".\n" #~ "Använd UTC." #~ msgid "Landscape orientation (true or false)" #~ msgstr "Liggande orientering (sant eller falskt)" #~ msgid "No help yet!" #~ msgstr "Ingen hjälp än!" #~ msgid "OK" #~ msgstr "OK" #~ msgid "No options are available for this driver." #~ msgstr "Det finns inga alternativ tillgängliga för denna drivrutin." #~ msgid "Send FF" #~ msgstr "Skicka FF" #~ msgid "Send EOT" #~ msgstr "Skicka EOT" #~ msgid "Red Hat, Inc" #~ msgstr "Red Hat, Inc" #~ msgid "\"The Trees! The Trees!\" -Thoreau" #~ msgstr "\"Träden! Träden!\" -Thoreau" #~ msgid "Thanks to everyone involved at http://www.linuxprinting.org!" #~ msgstr "Tack till alla inblandade på http://www.linuxprinting.org!" #~ msgid "lpd restart succeeded." #~ msgstr "Omstart av lpd lyckades." #~ msgid "lpd restart failed." #~ msgstr "Omstart av lpd misslyckades." #~ msgid "You must specify the port of the JetDirect printer." #~ msgstr "Du måste ange porten på JetDirect-skrivaren." #~ msgid "Host:" #~ msgstr "Värd:" #~ msgid "Ip:" #~ msgstr "Ip:" #~ msgid "Alias" #~ msgstr "Alias" #~ msgid "Please choose a name of the form [a-zA-Z][a-zA-Z0-9_-]*." #~ msgstr "Välj ett namn på formen [a-zA-Z][a-zA-Z0-9_-]*." #~ msgid "Can't autoselect for this printer device." #~ msgstr "Kan inte välja automatiskt för denna skrivarenhet." #~ msgid "" #~ "Sorry,\n" #~ "there are no notes available for this printer." #~ msgstr "" #~ "Tyvärr,\n" #~ "det finns inga anteckningar tillgängliga för denna skrivare." #~ msgid "Invalid Printer Record." #~ msgstr "Ogiltig skrivarpost." #~ msgid "You must select a printer queue to override." #~ msgstr "Du måste välja en skrivarkö att åsidosätta." #~ msgid "You cannot override a locally defined printer." #~ msgstr "Du kan inte åsidosätta en lokalt definierad skrivare." #~ msgid "You must select a printer queue to send a test page to." #~ msgstr "Du måste välja en skrivarkö att skicka en testsida till." #~ msgid "The printer's format is not understood, and can not be edited." #~ msgstr "Skrivarens format förstås inte och kan inte redigeras." #~ msgid "" #~ "You must select a printer queue\n" #~ " to make the default." #~ msgstr "" #~ "Du måste välja att göra en\n" #~ " skrivarkö till standardval." #~ msgid "You must run printconf-gui as root." #~ msgstr "Du måste köra printconf-gui som root." #~ msgid "" #~ "RPMS are available from the project's sourceforge site: http://hpinkjet." #~ "sourceforge.net" #~ msgstr "" #~ "RPM:er är tillgängliga från projektets hemsida på SourceForge: http://" #~ "hpinkjet.sourceforge.net" #~ msgid "Red Hat is unable to ship these drivers due to license restrictions." #~ msgstr "" #~ "Red Hat kan inte distribuera dessa drivrutiner på grund av restriktioner " #~ "i licensen." #~ msgid "Alias List" #~ msgstr "Aliaslista" #~ msgid "Bar" #~ msgstr "Kaka" #~ msgid "Baz" #~ msgstr "Apa" #~ msgid "Bob" #~ msgstr "Olle" #~ msgid "Configure a Delivery Command" #~ msgstr "Konfigurera ett leveranskommando" #~ msgid "Configure a Jetdirect Printer" #~ msgstr "Konfigurera en Jetdirect-skrivare" #~ msgid "Configure a Local Printer" #~ msgstr "Konfigurera en lokal skrivare" #~ msgid "Configure a Novell Print Queue" #~ msgstr "Konfigurera en Novell-utskriftskö" #~ msgid "Configure a Unix Print Queue" #~ msgstr "Konfigurera en Unix-utskriftskö" #~ msgid "Configure a Windows Print Queue" #~ msgstr "Konfigurera en Windows-utskriftskö" #~ msgid "Configure the SMB share of your remote printer." #~ msgstr "Konfigurera SMB-utdelningen av din fjärrskrivare." #~ msgid "Configure the remote server and queue of your NCP printer." #~ msgstr "Konfigurera fjärrservern och -kön till din NCP-skrivare." #~ msgid "" #~ "Configure the server and queue of your remote lpd server. If no queue is " #~ "specified, you will use the default queue on the remote server. Select " #~ "strict RFC1179 compliance if you are having problems connecting to an " #~ "older lpd server." #~ msgstr "" #~ "Konfigurera servern och kön till din fjärr-lpd-server. Om ingen kö anges " #~ "kommer du att använda standardkön på fjärrservern. Välj strikt RFC1179-" #~ "kompatibilitet om du har problem med en äldre lpd-server." #~ msgid "Create a New Print Queue" #~ msgstr "Skapa en ny utskriftskö" #~ msgid "" #~ "Enter the Command you want to run for delivery.\n" #~ "The printjob will be sent to this command on standard input.\n" #~ "You must give full paths to programs, there is no guaranteed path set." #~ msgstr "" #~ "Ange kommandot som du vill använda för leverans.\n" #~ "Utskriftsjobbet kommer att skickas till detta kommando på standard in.\n" #~ "Du måste ange fullständiga sökvägar till program, det finns ingen " #~ "garanterad sökväg." #~ msgid "" #~ "Enter the IP address of the JetDirect printer.\n" #~ "Use the default port of 9100 unless you know the printer is using a " #~ "different port." #~ msgstr "" #~ "Ange IP-adressen till JetDirect-skrivaren.\n" #~ "Använd standardporten 9100 såvida du inte vet om att skrivaren använder " #~ "en annan port." #~ msgid "" #~ "Enter the Queue's name, and select the Queue's Type.\n" #~ "Valid names can contain the characters \"a-z\", \"A-Z\", \"0-9\", \"-\", " #~ "and \"__\".\n" #~ "They must begin with letters." #~ msgstr "" #~ "Ange namnet på kön och välj kötypen.\n" #~ "Giltiga namn kan innehålla tecknen \"a-z\", \"A-Z\", \"0-9\", \"-\" och " #~ "\"__\".\n" #~ "De måste börja med bokstäver." #~ msgid "Foo" #~ msgstr "Groda" #~ msgid "Host IP:" #~ msgstr "Värd-IP:" #~ msgid "JETDIRECT" #~ msgstr "JETDIRECT" #~ msgid "JetDirect Printer" #~ msgstr "JetDirect-skrivare" #~ msgid "LOCAL" #~ msgstr "LOKAL" #~ msgid "LPD" #~ msgstr "LPD" #~ msgid "Local Printer" #~ msgstr "Lokal skrivare" #~ msgid "NCP" #~ msgstr "NCP" #~ msgid "Name and Aliases" #~ msgstr "Namn och alias" #~ msgid "Novell Printer" #~ msgstr "Novell-skrivare" #~ msgid "Novell Printer (NCP Queue)" #~ msgstr "Novell-skrivare (NCP-kö)" #~ msgid "Printer IP:" #~ msgstr "Skrivar-IP:" #~ msgid "Qux" #~ msgstr "Kaka" #~ msgid "SMB" #~ msgstr "SMB" #~ msgid "Select a Print Driver" #~ msgstr "Välj en utskriftsdrivrutin" #~ msgid "Select a print driver for your printer." #~ msgstr "Välj en utskriftsdrivrutin för din skrivare." #~ msgid "" #~ "Select the printer device to use, or use the custom option if it is not " #~ "listed." #~ msgstr "" #~ "Välj den skrivarenhet som ska användas, eller använd alternativet " #~ "Anpassad om denna inte finns med i listan." #~ msgid "Set the Print Queue Name and Type" #~ msgstr "Ställ in namnet och typen på utskriftskön" #~ msgid "Translate \\n => \\r\\n" #~ msgstr "Översätt \\n => \\r\\n" #~ msgid "UNIX Printer (lpd Queue)" #~ msgstr "UNIX-skrivare (lpd-kö)" #~ msgid "Unix Printer" #~ msgstr "Unix-skrivare" #~ msgid "Windows Printer" #~ msgstr "Windows-skrivare" #~ msgid "Windows Printer (SMB Share)" #~ msgstr "Windows-skrivare (SMB-utdelning)" #~ msgid "_Override Queue" #~ msgstr "_Åsidosätt kö" #~ msgid "_Queue Name:" #~ msgstr "_Könamn:" #~ msgid "_Restart lpd" #~ msgstr "Starta _om lpd" #~ msgid "_Save Changes" #~ msgstr "_Spara ändringar" #~ msgid "printconf-gui" #~ msgstr "printconf-gui" #~ msgid "printconf-gui: Add a New Print Queue" #~ msgstr "printconf-gui: Lägg till en ny utskriftskö" #~ msgid "replace me." #~ msgstr "ersätt mig." #~ msgid "window1" #~ msgstr "window1" #~ msgid "Sent a US Letter PostScript test page to \"%s\"." #~ msgstr "Skickade en PostScript-testsida i US Letter-format till \"%s\"." #~ msgid "Sent an A4 PostScript test page to \"%s\"." #~ msgstr "Skickade en PostScript-testsida i A4-format till \"%s\"." #~ msgid "Ascii Test Page" #~ msgstr "Ascii-testsida" #~ msgid ", " #~ msgstr ", " #~ msgid ", and " #~ msgstr " och " #~ msgid "" #~ ".\n" #~ "They must begin with letters." #~ msgstr "" #~ ".\n" #~ "De måste börja med bokstäver." #~ msgid "" #~ "\n" #~ "on the last screen." #~ msgstr "" #~ "\n" #~ "på den sista skärmen." #~ msgid "Print A_4 Postscript Test Page" #~ msgstr "Skriv ut Postscript-testsida i A_4-format" #~ msgid "Print US _Letter Postscript Test Page" #~ msgstr "Skriv ut Postscript-testsida i US _Letter-format" #~ msgid "" #~ "Translate \n" #~ " => \r\n" #~ msgstr "" #~ "Översätt \n" #~ " => \r\n" #~ msgid "You cannot edit an imported printer." #~ msgstr "Du kan inte redigera en importerad skrivare." #~ msgid "Apply Changes and Restart LPD" #~ msgstr "Verkställ ändringar och starta om LPD" #~ msgid "Raw" #~ msgstr "Rå" #~ msgid "%s %s" #~ msgstr "%s %s" #~ msgid "Unknown" #~ msgstr "Okänd" #~ msgid "%s queue on local device %s" #~ msgstr "%s-kö på lokala enheten %s" #~ msgid "%s lpd queue %s@%s" #~ msgstr "%s-lpd-kö %s@%s" #~ msgid "%s SMB queue on share %s" #~ msgstr "%s-SMB-kö på utdelningen %s" #~ msgid "%s Novell queue %s on server %s" #~ msgstr "%s-Novell-kö %s på servern %s" #~ msgid "%s JetDirect queue %s:%s" #~ msgstr "%s-JetDirect-kö %s:%s" #~ msgid "%s unknown queue type %s" #~ msgstr "%s okänd kötyp %s" #~ msgid "" #~ "This queue is in an unknown format.\n" #~ "Cannot Edit." #~ msgstr "" #~ "Denna kö är i ett okänt format.\n" #~ "Kan inte redigera." #~ msgid "" #~ "You must select a valid name.\n" #~ "Use only the characters -,a-z,A-Z,0-9,_ please." #~ msgstr "" #~ "Du måste ange ett giltigt namn.\n" #~ "Använd endast tecknen -,a-z,A-Z,0-9,_ är du snäll." #~ msgid "Another print queue is already using \"%s\" as a name." #~ msgstr "En annan utskriftskö använder redan \"%s\" som namn." #~ msgid "You must select a valid name for an alias.\n" #~ msgstr "Du måste välja ett giltigt namn på ett alias.\n" #~ msgid "" #~ "You do not seem to have the samba client installed.\n" #~ "You will not be able to print to SMB servers.\n" #~ "Consider installing the 'samba-client' rpm." #~ msgstr "" #~ "Du verkar inte ha samba-klienten installerad.\n" #~ "Du kommer inte att kunna skriva ut till SMB-servrar.\n" #~ "Överväg att installera rpm-paketet \"samba-client\"." #~ msgid "" #~ "You do not seem to have the nprint program installed.\n" #~ "You will not be able to print to NCP servers.\n" #~ "Consider installing the 'ncpfs' rpm." #~ msgstr "" #~ "Du verkar inte ha programmet nprint installerat.\n" #~ "Du kommer inte att kunna skriva ut till NCP-servrar.\n" #~ "Överväg att installera rpm-paketet \"ncpfs\"." #~ msgid "" #~ "Exiting will discard your unsaved changes.\n" #~ "Continue?" #~ msgstr "" #~ "Att avsluta kommer att förkasta alla osparade ändringar.\n" #~ "Fortsätta?" #~ msgid "Are you sure you want to delete '%s'?" #~ msgstr "Är du säker på att du vill ta bort \"%s\"?" #~ msgid "Unknown printer" #~ msgstr "Okänd skrivare" #~ msgid "" #~ "FIXME:%s\n" #~ "This feature is incomplete, and under development." #~ msgstr "" #~ "FIXME:%s\n" #~ "Denna finess är ofullständig och under utveckling."
Arkiv genererat av hypermail 2.1.6.