# SOME DESCRIPTIVE TITLE. # Copyright (C) Kovid Goyal # This file is distributed under the same license as the calibre package. # # Translators: # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018,2020 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2020 # Jonatan Nyberg, 2026 # Jonatan Nyberg, 2016-2017,2021-2024,2026 # Jonatan Nyberg, 2018-2021 # efef6ec5b435a041fce803c7f8af77d2_2341d43, 2018 # Jonatan Nyberg, 2026 # Merarom , 2014-2015 msgid "" msgstr "" "Project-Id-Version: calibre\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2026-09-16 15:05+0000\n" "PO-Revision-Date: 2014-06-17 08:37+0000\n" "Last-Translator: Jonatan Nyberg, 2026\n" "Language-Team: Swedish (http://app.transifex.com/calibre/calibre/language/sv/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: sv\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:4 msgid "Managing subgroups of books, for example \"genre\"" msgstr "Hantera undergrupper av böcker, till exempel \"genre\"" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:6 msgid "" "Some people wish to organize the books in their library into subgroups, " "similar to subfolders. The most commonly provided reason is to create genre " "hierarchies, but there are many others. One user asked for a way to organize" " textbooks by subject and course number. Another wanted to keep track of " "gifts by subject and recipient. This tutorial will use the genre example for" " the rest of this post." msgstr "Vissa personer vill organisera böckerna i sitt bibliotek i undergrupper, liknande undermappar. Den vanligaste anledningen är att skapa genrehierarkier, men det finns många andra. En användare bad om ett sätt att organisera läroböcker efter ämne och kursnummer. En annan ville hålla reda på gåvor efter ämne och mottagare. Den här handledningen kommer att använda genreexemplet för resten av det här inlägget." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:8 msgid "" "Before going on, please note that we are not talking about folders on the " "hard disk. Subgroups are not file folders. Books will not be copied " "anywhere. calibre's library file structure is not affected. Instead, we are " "presenting a way to organize and display subgroups of books within a calibre" " library." msgstr "Innan vi går vidare bör du observera att vi inte talar om mappar på hårddisken. Undergrupper är inte filmappar. Böcker kopieras inte någonstans. Filstrukturen i calibres bibliotek påverkas inte. I stället presenterar vi ett sätt att organisera och visa undergrupper av böcker inom ett calibre-bibliotek." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:18 msgid "The commonly-provided requirements for subgroups such as genres are:" msgstr "De vanligt förekommande kraven för undergrupper som genrer är:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:20 msgid "" "A subgroup (e.g., a genre) must contain (point to) books, not categories of " "books. This is what distinguishes subgroups from calibre user categories." msgstr "En undergrupp (t.ex. en genre) måste innehålla (hänvisa till) böcker, inte kategorier av böcker. Detta är vad som skiljer undergrupper från calibre-användarkategorier." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:21 msgid "" "A book can be in multiple subgroups (genres). This distinguishes subgroups " "from physical file folders." msgstr "En bok kan tillhöra flera undergrupper (genrer). Detta skiljer undergrupper från fysiska filmappar." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:22 msgid "" "Subgroups (genres) must form a hierarchy; subgroups can contain subgroups." msgstr "Undergrupper (genrer) måste bilda en hierarki; undergrupper kan innehålla undergrupper." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:24 msgid "" "Tags give you the first two. If you tag a book with the genre then you can " "use the Tag browser (or search) to find the books with that genre, giving " "you the first. Many books can have the same tag(s), giving you the second. " "The problem is that tags don't satisfy the third requirement. They don't " "provide a hierarchy." msgstr "Taggar ger dig de två första. Om du taggar en bok med genren kan du använda taggbläddraren (eller sök) för att hitta böckerna med den genren, vilket ger dig den första. Många böcker kan ha samma tagg eller taggar, vilket ger dig den andra. Problemet är att taggar inte uppfyller det tredje kravet. De ger ingen hierarki." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:26 msgid "" "|sgtree| The calibre hierarchy feature gives you the third -- the ability to" " see the genres in a 'tree' and the ability to easily search for books in " "genre or sub-genre. For example, assume that your genre structure is similar" " to the following::" msgstr "|sgtree| Hierarkifunktionen i calibre ger dig det tredje – möjligheten att se genrerna i ett träd och enkelt söka efter böcker i en genre eller undergenre. Anta till exempel att din genrestruktur liknar följande::" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:14 msgid "sgtree" msgstr "sgtree" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:45 msgid "" "By using the hierarchy feature, you can see these genres in the Tag browser " "in tree form, as shown in the screen image. In this example the outermost " "level (Genre) is a custom column that contains the genres. Genres containing" " sub-genres appear with a small triangle next to them. Clicking on that " "triangle will open the item and show the sub-genres, as you can see with " "History and Science Fiction." msgstr "Med hierarkifunktionen kan du visa genrerna som ett träd i taggbläddraren, vilket framgår av skärmbilden. I exemplet är den yttersta nivån (Genre) en anpassad kolumn som innehåller genrerna. Genrer med undergenrer visas med en liten triangel bredvid sig. Klicka på triangeln för att öppna posten och visa undergenrerna, som i exemplen Historia och Science fiction." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:47 msgid "" "Clicking on a genre can search for all books with that genre or children of " "that genre. For example, clicking on Science Fiction can give all three of " "the child genres, Alternate History, Military, and Space Opera. Clicking on " "Alternate History will give books in that genre, ignoring those in Military " "and Space Opera. Of course, a book can have multiple genres. If a book has " "both Space Opera and Military genres, then you will see that book if you " "click on either genre. Searching is discussed in more detail below." msgstr "Om du klickar på en genre kan du söka efter alla böcker i genren eller i dess undergenrer. Om du exempelvis klickar på Science Fiction visas böcker i de tre undergenrerna Alternate History, Military och Space Opera. Om du klickar på Alternate History visas böcker i den genren, men inte böcker i Military och Space Opera. En bok kan naturligtvis tillhöra flera genrer. Om en bok tillhör både Space Opera och Military visas den när du klickar på någon av genrerna. Sökning beskrivs mer ingående nedan." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:49 msgid "" "Another thing you can see from the image is that the genre Military appears " "twice, once under History and once under Science Fiction. Because the genres" " are in a hierarchy, these are two separate genres. A book can be in one, " "the other, or (doubtfully in this case) both. For example, the books in " "Winston Churchill's \"The Second World War\" could be in " "\"History.Military\". David Weber's Honor Harrington books could be in " "\"Science Fiction.Military\", and for that matter also in \"Science " "Fiction.Space Opera.\"" msgstr "En annan sak som framgår av bilden är att genren Military förekommer två gånger, en gång under History och en gång under Science Fiction. Eftersom genrerna ingår i en hierarki är detta två skilda genrer. En bok kan tillhöra den ena, den andra eller – vilket är tveksamt i just det här fallet – båda. Winston Churchills böcker i serien \"The Second World War\" skulle exempelvis kunna tillhöra \"History.Military\". David Webers böcker om Honor Harrington skulle kunna tillhöra \"Science Fiction.Military\" och även \"Science Fiction.Space Opera\"." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:51 msgid "" "Once a genre exists, that is at least one book has that genre, you can " "easily apply it to other books by dragging the books from the library view " "onto the genre you want the books to have. You can also apply genres in the " "metadata editors; more on this below." msgstr "När en genre finns, det vill säga när minst en bok har den genren, kan du enkelt tilldela den till andra böcker genom att dra dem från biblioteksvyn till önskad genre. Du kan också tilldela genrer i metadataredigerarna; mer om detta nedan." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:54 msgid "Setup" msgstr "Anpassa" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:56 msgid "" "By now, your question might be \"How was all of this set up?\" There are " "three steps: 1) create the custom column, 2) tell calibre that the new " "column is to be treated as a hierarchy, and 3) add genres." msgstr "Vid det här laget kanske din fråga är \"Hur konfigurerades allt detta?\" Det finns tre steg: 1) skapa den anpassade kolumnen, 2) ange för calibre att den nya kolumnen ska behandlas som en hierarki och 3) lägg till genrer." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:58 msgid "" "You create the custom column in the usual way, using Preferences -> Add your" " own columns. This example uses \"#genre\" as the lookup name and \"Genre\" " "as the column heading. It is important that the column type is set to " ":guilabel:`Comma-separated text, like tags, shown in the Tag browser`." msgstr "Du skapar den anpassade kolumnen på vanligt sätt, med hjälp av Inställningar -> Lägg till dina egna kolumner. Det här exemplet använder \"#genre\" som söknamn och \"Genre\" som kolumnrubrik. Det är viktigt att kolumntypen är inställd på :guilabel:`Kommaseparerad text, som taggar, som visas i taggbläddraren`." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:63 msgid "" "Then after restarting calibre, you must tell calibre that the column is to " "be treated as a hierarchy. Go to :guilabel:`Preferences -> Look & feel -> " "Tag browser -> Hierarchy and searching` and choose the new Genre column as " "having hierarchical items." msgstr "När du har startat om calibre måste du ange att kolumnen ska behandlas som en hierarki. Gå till :guilabel:`Inställningar -> Utseende och känsla -> Taggbläddrare -> Hierarki och sökning` och markera den nya kolumnen Genre som en kolumn med hierarkiska poster." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:67 msgid "" "At this point there are no genres in the column. We are left with the last " "step: how to apply a genre to a book. A genre does not exist in calibre " "until it appears on at least one book. To learn how to apply a genre for the" " first time, we must go into some detail about what a genre looks like in " "the metadata for a book." msgstr "Vid det här laget finns inga genrer i kolumnen. Vi har kvar det sista steget: hur man tillämpar en genre på en bok. En genre existerar inte i calibre förrän den förekommer i minst en bok. För att lära sig hur man tillämpar en genre för första gången måste vi gå in på detaljer om hur en genre ser ut i metadata för en bok." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:69 msgid "" "A hierarchy of 'things' is built by creating an item consisting of phrases " "separated by periods. Continuing the genre example, these items would " "\"History.Military\", \"Mysteries.Vampire\", \"Science Fiction.Space " "Opera\", etc. Thus to create a new genre, you pick a book that should have " "that genre, edit its metadata, and enter the new genre into the column you " "created. Continuing our example, if you want to assign a new genre " "\"Comics\" with a sub-genre \"Superheroes\" to a book, you would 'edit " "metadata' for that (comic) book, choose the Custom metadata tab, and then " "enter \"Comics.Superheroes\" as shown in the following (ignore the other " "custom columns):" msgstr "En hierarki byggs genom att skapa en post som består av fraser åtskilda av punkter. I genreexemplet skulle posterna vara \"History.Military\", \"Mysteries.Vampire\", \"Science Fiction.Space Opera\" och så vidare. För att skapa en ny genre väljer du en bok som ska ha den genren, redigerar dess metadata och anger den nya genren i kolumnen du skapade. Om du exempelvis vill tilldela en bok den nya genren \"Comics\" med undergenren \"Superheroes\", väljer du att redigera metadata för boken (serietidningen), öppnar fliken Anpassade metadata och anger \"Comics.Superheroes\" enligt följande bild (ignorera de andra anpassade kolumnerna):" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:74 msgid "After doing the above, you see in the Tag browser:" msgstr "Efter att ha gjort ovanstående, ser du i taggbläddraren:" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:79 msgid "" "From here on, to apply this new genre to a book (a comic book, presumably), " "you can either drag the book onto the genre, or add it to the book using " "edit metadata in exactly the same way as done above." msgstr "Från och med nu kan du antingen dra boken till genren eller lägga till den i boken med hjälp av redigera metadata på exakt samma sätt som gjorts ovan för att tillämpa den nya genren på en bok (en serietidning, förmodligen)." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:83 msgid "" "Hierarchical display only works if the Tag browser is set to sort items by " "name. This is the default and can be checked by clicking the " ":guilabel:`Configure` button at the bottom of the Tag browser." msgstr "Hierarkisk visning fungerar bara om taggbläddraren är inställd på att sortera poster efter namn. Detta är standardinställningen och kan kontrolleras genom att klicka på knappen :guilabel:`Anpassa` längst ner i taggbläddraren." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:88 msgid "Searching" msgstr "Söka" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:93 msgid "" "The easiest way to search for genres is using the Tag browser, clicking on " "the genre you wish to see. Clicking on a genre with children will show you " "books with that genre and all child genres. However, this might bring up a " "question. Just because a genre has children doesn't mean that it isn't a " "genre in its own right. For example, a book can have the genre \"History\" " "but not \"History.Military\". How do you search for books with only " "\"History\"?" msgstr "Det enklaste sättet att söka efter genrer är att klicka på önskad genre i taggbläddraren. Om du klickar på en genre med undergenrer kan du visa böcker i genren och alla dess undergenrer. Detta kan dock väcka en fråga: bara för att en genre har undergenrer betyder det inte att den saknar egna böcker. En bok kan till exempel ha genren \"History\" men inte \"History.Military\". Hur söker du efter böcker som bara har \"History\"?" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:95 msgid "" "The Tag browser search mechanism knows if an item has children. If it does, " "clicking on the item cycles through 5 searches instead of the normal three. " "The first is the normal green plus, which shows you books with that genre " "only (e.g., History). The second is a doubled plus (shown above), which " "shows you books with that genre and all sub-genres (e.g., History and " "History.Military). The third is the normal red minus, which shows you books " "without that exact genre. The fourth is a doubled minus, which shows you " "books without that genre or sub-genres. The fifth is back to the beginning, " "no mark, meaning no search." msgstr "Taggbläddrarens sökfunktion känner av om en post har underposter. I så fall växlar upprepade klick på posten mellan fem söklägen i stället för de vanliga tre. Det första är det vanliga gröna pluset, som bara visar böcker med exakt den genren (t.ex. History). Det andra är ett dubbelt plus (visas ovan), som visar böcker med genren och alla dess undergenrer (t.ex. History och History.Military). Det tredje är det vanliga röda minuset, som visar böcker utan exakt den genren. Det fjärde är ett dubbelt minus, som visar böcker utan vare sig genren eller dess undergenrer. Det femte återgår till utgångsläget utan markering, vilket innebär att ingen sökning görs." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:98 msgid "Restrictions" msgstr "Begränsningar" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:100 msgid "" "If you search for a genre then create a saved search for it, you can use the" " 'restrict to' box to create a Virtual library of books with that genre. " "This is useful if you want to do other searches within the genre or to " "manage/update metadata for books in the genre. Continuing our example, you " "can create a Saved search named 'History.Japanese' by first clicking on the " "genre Japanese in the Tag browser to get a search into the search field, " "entering History.Japanese into the saved search field, then pushing the " "\"Save search\" button (the green box with the white plus, on the right-hand" " side)." msgstr "Om du söker efter en genre och sedan sparar sökningen kan du använda rutan \"begränsa till\" för att skapa ett virtuellt bibliotek med böcker i den genren. Detta är användbart om du vill göra andra sökningar inom genren eller hantera och uppdatera metadata för dess böcker. I vårt exempel kan du skapa en sparad sökning med namnet \"History.Japanese\" genom att först klicka på genren Japanese i taggbläddraren så att sökningen visas i sökfältet. Ange sedan History.Japanese i fältet för sparade sökningar och klicka på knappen \"Spara sökning\" (den gröna rutan med det vita pluset på höger sida)." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:105 msgid "After creating the saved search, you can use it as a restriction." msgstr "När du har skapat den sparade sökningen kan du använda den som en begränsning." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:111 msgid "Useful template functions" msgstr "Användbara mallfunktioner" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:113 msgid "" "You might want to use the genre information in a template, such as with save" " to disk or send to device. The question might then be \"How do I get the " "outermost genre name or names?\" A calibre template function, subitems, is " "provided to make doing this easier." msgstr "Du kanske vill använda genreinformationen i en mall, till exempel för att spara till disk eller överföra till enhet. Frågan kan då vara: \"Hur får jag fram det yttersta genrenamnet eller de yttersta genrenamnen?\" Mallfunktionen subitems i calibre gör detta enklare." #: ../../../__w/calibre/calibre/manual/sub_groups.rst:115 msgid "" "For example, assume you want to add the outermost genre level to the save-" "to-disk template to make genre folders, as in \"History/The Gathering Storm " "- Churchill, Winston\". To do this, you must extract the first level of the " "hierarchy and add it to the front along with a slash to indicate that it " "should make a folder. The template below accomplishes this::" msgstr "Anta till exempel att du vill lägga till den yttersta genrenivån i mallen för att spara till disk och på så sätt skapa genremappar, som i \"Historia/The Gathering Storm - Churchill, Winston\". Då måste du hämta hierarkins första nivå och lägga den först, följd av ett snedstreck som anger att en mapp ska skapas. Mallen nedan gör detta::" #: ../../../__w/calibre/calibre/manual/sub_groups.rst:119 msgid "" "See :ref:`The template language ` for more information " "about templates and the :func:`subitems` function." msgstr "Se :ref:`mallspråket ` för mer information om mallar och funktionen :func:`subitems`."