X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/c79cea6dff23391d723b3c29dfc4f6ba07e47271..d18f45311a8290ae86dd4a120f02c9d35c29970b:/po/sv.po diff --git a/po/sv.po b/po/sv.po index 4e2d7886..6de9b801 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1,13 +1,13 @@ # Swedish messages for bison. -# Copyright © 2001 Free Software Foundation, Inc. -# Göran Uddeborg , 2001. +# Copyright © 2001, 2002 Free Software Foundation, Inc. +# Göran Uddeborg , 2001, 2002. # $Revision$ # msgid "" msgstr "" -"Project-Id-Version: bison 1.30c\n" -"POT-Creation-Date: 2001-12-05 10:46+0100\n" -"PO-Revision-Date: 2001-11-18 15:17+0100\n" +"Project-Id-Version: bison 1.75b\n" +"POT-Creation-Date: 2002-11-24 23:54-0800\n" +"PO-Revision-Date: 2002-11-23 14:19+0100\n" "Last-Translator: Göran Uddeborg \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" @@ -15,137 +15,105 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -#: src/LR0.c:189 -#, c-format -msgid "too many states (max %d)" -msgstr "för många tillstånd (max %d)" - -#: lib/error.c:128 lib/error.c:156 src/complain.c:96 +#: src/complain.c:78 lib/error.c:126 lib/error.c:154 msgid "Unknown system error" msgstr "Okänt systemfel" -#: src/complain.c:150 +#: src/complain.c:103 src/complain.c:120 msgid "warning: " msgstr "varning: " -#: src/complain.c:238 +#: src/complain.c:182 src/complain.c:200 msgid "fatal error: " msgstr "ödesdigert fel: " -#: src/conflicts.c:44 +#: src/conflicts.c:72 #, c-format -msgid "Conflict in state %d between rule %d and token %s resolved as %s.\n" -msgstr "" -"Konflikt i tillstånd %d mellan regel %d och element %s, löstes med %s.\n" - -#: src/conflicts.c:94 src/conflicts.c:119 -msgid "reduce" -msgstr "reducera" +msgid " Conflict between rule %d and token %s resolved as shift" +msgstr " Konflikt mellan regel %d och element %s löstes som skift" -#: src/conflicts.c:101 src/conflicts.c:115 -msgid "shift" -msgstr "skifta" +#: src/conflicts.c:80 +#, c-format +msgid " Conflict between rule %d and token %s resolved as reduce" +msgstr " Konflikt mellan regel %d och element %s löstes som reducera" -#: src/conflicts.c:123 -msgid "an error" -msgstr "ett fel" +#: src/conflicts.c:87 +#, c-format +msgid " Conflict between rule %d and token %s resolved as an error" +msgstr " Konflikt mellan regel %d och element %s löstes som ett fel" -#: src/conflicts.c:302 +#: src/conflicts.c:401 #, c-format msgid "%d shift/reduce conflict" msgid_plural "%d shift/reduce conflicts" msgstr[0] "%d skifta/reducerakonflikt" msgstr[1] "%d skifta/reducerakonflikter" -#: src/conflicts.c:309 +#: src/conflicts.c:408 msgid "and" msgstr "och" -#: src/conflicts.c:315 +#: src/conflicts.c:414 #, c-format msgid "%d reduce/reduce conflict" msgid_plural "%d reduce/reduce conflicts" msgstr[0] "%d reducera/reducerakonflikt" msgstr[1] "%d reducera/reducerakonflikter" -#: src/conflicts.c:340 -#, c-format -msgid "State %d contains " -msgstr "Tillstånd %d innehåller " - -#. If invoked with `--yacc', use the output format specified by -#. POSIX. -#: src/conflicts.c:387 +#: src/conflicts.c:434 msgid "conflicts: " msgstr "konflikter: " -#: src/conflicts.c:389 +#: src/conflicts.c:436 #, c-format msgid " %d shift/reduce" msgstr " %d skifta/reducera" -#: src/conflicts.c:393 +#: src/conflicts.c:440 #, c-format msgid " %d reduce/reduce" msgstr " %d reducera/reducera" -#: src/conflicts.c:398 src/reduce.c:508 +#: src/conflicts.c:459 #, c-format -msgid "%s contains " -msgstr "%s innehåller " +msgid "State %d contains " +msgstr "Tillstånd %d innehåller " -#: src/conflicts.c:405 -#, fuzzy, c-format -msgid "expected %d shift/reduce conflict\n" -msgid_plural "expected %d shift/reduce conflicts\n" +#: src/conflicts.c:536 +#, c-format +msgid "expected %d shift/reduce conflict" +msgid_plural "expected %d shift/reduce conflicts" msgstr[0] "förväntade %d skifta/reducerakonflikt" msgstr[1] "förväntade %d skifta/reducerakonflikter" -#: src/conflicts.c:457 src/conflicts.c:534 -#, c-format -msgid " %-4s\t[reduce using rule %d (%s)]\n" -msgstr " %-4s\t[reducera med regel %d (%s)]\n" - -#: src/conflicts.c:461 src/print.c:154 -#, c-format -msgid "" -" $default\treduce using rule %d (%s)\n" -"\n" -msgstr "" -" $standard\treducera med regel %d (%s)\n" -"\n" - -#: src/conflicts.c:515 src/conflicts.c:528 -#, c-format -msgid " %-4s\treduce using rule %d (%s)\n" -msgstr " %-4s\treducera med regel %d (%s)\n" - -#: src/conflicts.c:544 -#, c-format -msgid " $default\treduce using rule %d (%s)\n" -msgstr " $standard\treducera med regel %d (%s)\n" - -#: src/files.c:144 +#: src/files.c:111 #, c-format msgid "cannot open file `%s'" msgstr "kan inte öppna filen \"%s\"" -#: src/files.c:163 +#: src/files.c:127 +msgid "I/O error" +msgstr "I/O-fel" + +#: src/files.c:130 msgid "cannot close file" msgstr "kan inte stänga fil" -#. Some efforts were made to ease the translators' task, please -#. continue. -#: src/getargs.c:55 +#: src/getargs.c:167 +#, c-format +msgid "Try `%s --help' for more information.\n" +msgstr "Försök med \"%s --help\" för mer information.\n" + +#: src/getargs.c:173 msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n" -#: src/getargs.c:59 +#: src/getargs.c:177 #, c-format msgid "Usage: %s [OPTION]... FILE\n" msgstr "Användning: %s [FLAGGA]... FIL\n" -#: src/getargs.c:63 +#: src/getargs.c:181 msgid "" "If a long option shows an argument as mandatory, then it is mandatory\n" "for the equivalent short option also. Similarly for optional arguments.\n" @@ -154,7 +122,7 @@ msgstr "" "obligatoriskt för den motsvarande korta flaggan också. Motsvarande\n" "för valfria argument.\n" -#: src/getargs.c:69 +#: src/getargs.c:187 msgid "" "Operation modes:\n" " -h, --help display this help and exit\n" @@ -166,7 +134,7 @@ msgstr "" " -V, --version visa versionsinformation och avsluta\n" " -y, --yacc emulera POSIX-yacc\n" -#: src/getargs.c:76 +#: src/getargs.c:194 msgid "" "Parser:\n" " -S, --skeleton=FILE specify the skeleton to use\n" @@ -186,11 +154,12 @@ msgstr "" " -n, --no-parser generera endast tabellerna\n" " -k, --token-table inkludera en tabell över elementnamn\n" -#: src/getargs.c:88 +#: src/getargs.c:206 msgid "" "Output:\n" " -d, --defines also produce a header file\n" -" -v, --verbose also produce an explanation of the automaton\n" +" -r, --report=THINGS also produce details on the automaton\n" +" -v, --verbose same as `--report=state'\n" " -b, --file-prefix=PREFIX specify a PREFIX for output files\n" " -o, --output=FILE leave output to FILE\n" " -g, --graph also produce a VCG description of the " @@ -198,31 +167,51 @@ msgid "" msgstr "" "Utdata:\n" " -d, --defines skapa också en huvudfil\n" -" -v, --verbose skapa också en förklaring av automaten\n" +" -r, --report=SAKER skapa också detaljer om automaten\n" +" -v, --verbose samma som \"--report=state\"\n" " -b, --file-prefix=PREFIX ange ett PREFIX för utdatafiler\n" " -o, --output=FIL lägg utdata i FIL\n" " -g, --graph skapa också en VCG-beskrivning av automaten\n" -#: src/getargs.c:98 +#: src/getargs.c:217 +msgid "" +"THINGS is a list of comma separated words that can include:\n" +" `state' describe the states\n" +" `itemset' complete the core item sets with their closure\n" +" `lookahead' explicitly associate lookaheads to items\n" +" `solved' describe shift/reduce conflicts solving\n" +" `all' include all the above information\n" +" `none' disable the report\n" +msgstr "" +"SAKER är en lista med kommaseparerade ord som kan innehålla:\n" +" \"state\" beskriv tillstånden\n" +" \"itemset\" komplettera kärnobjektmängderna med sina höljen\n" +" \"lookahead\" koppla uttryckligen framåtblickar till objekt\n" +" \"solved\" beskriv lösningar av skifta/reducerakonflikter\n" +" \"all\" inkludera all ovanstående information\n" +" \"none\" avaktivera rapporten\n" + +#: src/getargs.c:228 msgid "Report bugs to .\n" msgstr "" "Rapportera fel till .\n" -"Rapportera anmärkningar på översättningen till .\n" +"Rapportera synpunkter på översättningen till .\n" -#. Some efforts were made to ease the translators' task, please -#. continue. -#: src/getargs.c:112 +#: src/getargs.c:245 #, c-format msgid "bison (GNU Bison) %s" msgstr "bison (GNU Bison) %s" -#: src/getargs.c:117 -msgid "" -"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n" -msgstr "" -"Copyright 1984, 1986, 1989, 1992, 2000, 2001 Free Software Foundation, Inc.\n" +#: src/getargs.c:247 +msgid "Written by Robert Corbett and Richard Stallman.\n" +msgstr "Skriven av Robert Corbett och Richard Stallman.\n" + +#: src/getargs.c:251 +#, c-format +msgid "Copyright (C) %d Free Software Foundation, Inc.\n" +msgstr "Copyright © %d Free Software Foundation, Inc.\n" -#: src/getargs.c:121 +#: src/getargs.c:253 msgid "" "This is free software; see the source for copying conditions. There is NO\n" "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n" @@ -231,587 +220,485 @@ msgstr "" "finns INGEN garanti, inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR ETT\n" "SPECIELLT ÄNDAMÅL.\n" -#: src/getargs.c:191 src/lex.c:665 -#, c-format -msgid "`%s' is no longer supported" -msgstr "\"%s\" stöds inte längre" - -#: src/getargs.c:215 -#, c-format -msgid "Try `%s --help' for more information.\n" -msgstr "Försök med \"%s --help\" för mer information.\n" - -#: src/getargs.c:223 -#, c-format -msgid "%s: no grammar file given\n" -msgstr "%s: ingen grammatikfil angiven\n" - -#: src/getargs.c:227 -#, c-format -msgid "%s: extra arguments ignored after `%s'\n" -msgstr "%s: extra argument ignorerade efter \"%s\"\n" - -#: src/lalr.c:256 -#, c-format -msgid "too many gotos (max %d)" -msgstr "för många goto (max %d)" - -#: src/lex.c:77 -msgid "unexpected `/' found and ignored" -msgstr "oväntat \"/\" hittat och ignorerat" - -#: src/lex.c:106 src/reader.c:304 -msgid "unterminated comment" -msgstr "oavslutad kommentar" - -#: src/lex.c:138 -msgid "unexpected end of file" -msgstr "oväntat filslut" - -#: src/lex.c:167 -msgid "unescaped newline in constant" -msgstr "oskyddat nyradstecken i konstant" - -#: src/lex.c:209 -#, c-format -msgid "octal value outside range 0...255: `\\%o'" -msgstr "oktalt värde utanför intervallet 0-255: \"\\%o\"" - -#: src/lex.c:234 +#: src/getargs.c:407 #, c-format -msgid "hexadecimal value above 255: `\\x%x'" -msgstr "hexadecimalt värde över 255: \"\\x%x\"" +msgid "missing operand after `%s'" +msgstr "saknad operand efter \"%s\"" -#: src/lex.c:246 +#: src/getargs.c:409 #, c-format -msgid "unknown escape sequence: `\\' followed by `%s'" -msgstr "okänd specialsekvens: \"\\\" följt av \"%s\"" +msgid "extra operand `%s'" +msgstr "extra operand \"%s\"" -#: src/lex.c:343 -msgid "unterminated type name at end of file" -msgstr "oavslutat typnamn vid filslut" - -#: src/lex.c:346 -msgid "unterminated type name" -msgstr "oavslutat typnamn" +#: src/gram.c:139 +msgid "empty" +msgstr "tom" -#: src/lex.c:439 -msgid "use \"...\" for multi-character literal tokens" -msgstr "använd \"...\" för bokstavliga element med mer än ett tecken" +#: src/gram.c:233 +msgid "Grammar" +msgstr "Grammatik" -#: src/lex.c:637 -#, c-format -msgid "`%s' supports no argument: %s" -msgstr "\"%s\" stödjer inga argument: %s" +#: src/gram.c:321 src/reduce.c:302 src/reduce.c:392 +msgid "warning" +msgstr "varning" -#: src/lex.c:654 -#, c-format -msgid "`%s' requires an argument" -msgstr "\"%s\" behöver ett argument" +#: src/main.c:120 +msgid "rule never reduced because of conflicts" +msgstr "regel aldrig reducerad på grund av konflikter" -#: src/output.c:760 -#, c-format -msgid "maximum table size (%d) exceeded" -msgstr "maximal tabellstorlek (%d) överskriden" +#: src/parse-gram.y:364 +msgid "POSIX forbids declarations in the grammar" +msgstr "POSIX förbjuder deklarationer i grammatiken" -#: src/print.c:39 +#: src/print.c:46 #, c-format msgid " type %d is %s\n" msgstr " typ %d är %s\n" -#: src/print.c:88 +#: src/print.c:162 #, c-format -msgid " (rule %d)" -msgstr " (regel %d)" - -#: src/print.c:108 -msgid " $default\taccept\n" -msgstr " $standard\tacceptera\n" +msgid "shift, and go to state %d\n" +msgstr "skifta, och gå till tillstånd %d\n" -#: src/print.c:110 -msgid " NO ACTIONS\n" -msgstr " INGA ÅTGÄRDER\n" - -#: src/print.c:124 +#: src/print.c:164 #, c-format -msgid " $ \tgo to state %d\n" -msgstr " $ \tgå till tillstånd %d\n" +msgid "go to state %d\n" +msgstr "gå till tillstånd %d\n" -#: src/print.c:127 -#, c-format -msgid " %-4s\tshift, and go to state %d\n" -msgstr " %-4s\tskifta, och gå till tillstånd %d\n" +#: src/print.c:201 +msgid "error (nonassociative)\n" +msgstr "fel (ickeassociativ)\n" -#: src/print.c:142 +#: src/print.c:290 #, c-format -msgid " %-4s\terror (nonassociative)\n" -msgstr " %-4s\tfel (ickeassociativ)\n" +msgid "reduce using rule %d (%s)" +msgstr "reducera med regel %d (%s)" -#: src/print.c:169 -#, c-format -msgid " %-4s\tgo to state %d\n" -msgstr " %-4s\tgå till tillstånd %d\n" +#: src/print.c:293 +msgid "accept" +msgstr "acceptera" -#: src/print.c:180 +#: src/print.c:324 src/print.c:390 +msgid "$default" +msgstr "$standard" + +#: src/print.c:419 #, c-format msgid "state %d" msgstr "tillstånd %d" -#. rule # : LHS -> RHS -#: src/print.c:211 -msgid "Grammar" -msgstr "Grammatik" - -#: src/print.c:212 -msgid "Number, Line, Rule" -msgstr "" - -#: src/print.c:217 -#, fuzzy, c-format -msgid " %3d %3d %s ->" -msgstr "regel %-4d %s ->" - -#: src/print.c:224 -msgid "empty" -msgstr "tom" - -#. TERMINAL (type #) : rule #s terminal is on RHS -#: src/print.c:231 +#: src/print.c:456 msgid "Terminals, with rules where they appear" msgstr "Terminaler, med regler där de förekommer" -#: src/print.c:256 +#: src/print.c:483 msgid "Nonterminals, with rules where they appear" msgstr "Icketerminaler, med regler där de förekommer" -#: src/print.c:282 +#: src/print.c:512 msgid " on left:" msgstr " till vänster:" -#: src/print.c:297 +#: src/print.c:527 msgid " on right:" msgstr " till höger:" -#. If something has been added in the NODE_OBSTACK after -#. the declaration of the label, then we need a `\n'. -#. if (obstack_object_size (node_obstack) > node_output_size) -#. obstack_sgrow (node_obstack, "\n"); -#. -#: src/print_graph.c:146 -#, c-format -msgid "%-4s\terror (nonassociative)" -msgstr "%-4s\tfel (ickeassociativ)" +#: src/print.c:555 +msgid "Rules never reduced" +msgstr "Aldrig reducerade regler" -#. -#. if (obstack_object_size (node_obstack) > node_output_size) -#. obstack_sgrow (node_obstack, "\n"); -#. -#: src/print_graph.c:161 +#: src/reader.c:51 #, c-format -msgid "$default\treduce using rule %d (%s)" -msgstr "$standard\treducera med regel %d (%s)" - -#: src/reader.c:91 -msgid " Skipping to next \\n" -msgstr " Hoppar över till nästa \\n" +msgid "multiple %s declarations" +msgstr "flera %s-deklarationer" -#: src/reader.c:93 +#: src/reader.c:137 #, c-format -msgid " Skipping to next %c" -msgstr " Hoppar över till nästa %c" +msgid "result type clash on merge function %s: <%s> != <%s>" +msgstr "resultattypskonflikt vid sammanslagningsfunktion %s: <%s> != <%s>" -#: src/reader.c:144 src/reader.c:156 -msgid "invalid $ value" -msgstr "felaktigt $-värde" +#: src/reader.c:235 +#, c-format +msgid "rule given for %s, which is a token" +msgstr "regel given för %s, som är ett element" -#: src/reader.c:183 src/reader.c:198 -msgid "unterminated string at end of file" -msgstr "oavslutad sträng vid filslut" +#: src/reader.c:264 +#, c-format +msgid "type clash on default action: <%s> != <%s>" +msgstr "typkonflikt för standardåtgärd: <%s> <%s>" -#: src/reader.c:186 -msgid "unterminated string" -msgstr "oavslutad sträng" +#: src/reader.c:270 +msgid "empty rule for typed nonterminal, and no action" +msgstr "tom regel för typad icketerminal, och ingen åtgärd" -#: src/reader.c:360 src/reader.c:424 +#: src/reader.c:340 src/reader.c:355 src/reader.c:368 #, c-format -msgid "%s is invalid" -msgstr "%s är felaktigt" +msgid "only one %s allowed per rule" +msgstr "endast en %s tillåts per regel" -#: src/reader.c:400 +#: src/reader.c:350 src/reader.c:366 #, c-format -msgid "$$ of `%s' has no declared type" -msgstr "$$ för \"%s\" har ingen deklarerad typ" +msgid "%s affects only GLR parsers" +msgstr "%s påverkar endast GLR-parsrar" -#: src/reader.c:417 +#: src/reader.c:353 #, c-format -msgid "$%d of `%s' has no declared type" -msgstr "$%d för \"%s\" har ingen deklarerad typ" - -#: src/reader.c:476 -msgid "unterminated `%{' definition" -msgstr "oavslutad \"%{\"-definition" +msgid "%s must be followed by positive number" +msgstr "%s måste följas av ett positivt tal" -#: src/reader.c:521 src/reader.c:636 src/reader.c:686 src/reader.c:956 -#, c-format -msgid "Premature EOF after %s" -msgstr "Förtida filslut efter %s" +#: src/reader.c:512 +msgid "no rules in the input grammar" +msgstr "inga regler i ingrammatiken" -#: src/reader.c:538 -#, c-format -msgid "symbol `%s' used more than once as a literal string" -msgstr "symbolen \"%s\" används mer än en gång som en bokstavlig sträng" +#: src/reduce.c:239 +msgid "useless rule" +msgstr "oanvändbar regel" -#: src/reader.c:541 -#, c-format -msgid "symbol `%s' given more than one literal string" -msgstr "symbolen \"%s\" har fått mer än en bokstavlig sträng" +#: src/reduce.c:302 +msgid "useless nonterminal" +msgstr "oanvändbar icketerminal" -#: src/reader.c:562 src/reader.c:705 -#, c-format -msgid "symbol %s redefined" -msgstr "symbolen %s omdefinierad" +#: src/reduce.c:349 +msgid "Useless nonterminals" +msgstr "Oanvändbara icketerminaler" -#: src/reader.c:572 src/reader.c:651 src/reader.c:712 src/reader.c:1374 -#, c-format -msgid "type redeclaration for %s" -msgstr "typen omdeklarerad för %s" +#: src/reduce.c:362 +msgid "Terminals which are not used" +msgstr "Terminaler som inte används" -#: src/reader.c:581 -#, c-format -msgid "`%s' is invalid in %s" -msgstr "\"%s\" är felaktig i %s" +#: src/reduce.c:371 +msgid "Useless rules" +msgstr "Oanvändbara regler" -#: src/reader.c:599 src/reader.c:765 +#: src/reduce.c:387 #, c-format -msgid "multiple %s declarations" -msgstr "flera %s-deklarationer" +msgid "%d rule never reduced\n" +msgid_plural "%d rules never reduced\n" +msgstr[0] "%d regel reduceras aldrig\n" +msgstr[1] "%d regler reduceras aldrig\n" -#: src/reader.c:601 src/reader.c:936 src/reader.c:951 src/reader.c:984 -#: src/reader.c:1003 src/reader.c:1352 +#: src/reduce.c:395 #, c-format -msgid "invalid %s declaration" -msgstr "felaktig %s-deklaration" +msgid "%d useless nonterminal" +msgid_plural "%d useless nonterminals" +msgstr[0] "%d oanvändbar icketerminal" +msgstr[1] "%d oanvändbara icketerminaler" -#: src/reader.c:621 -msgid "%type declaration has no " -msgstr "%type-deklaration har inget " +#: src/reduce.c:401 +msgid " and " +msgstr " och " -#: src/reader.c:656 +#: src/reduce.c:404 #, c-format -msgid "invalid %%type declaration due to item: %s" -msgstr "felaktig %%type-deklaration på grund av objekt: %s" +msgid "%d useless rule" +msgid_plural "%d useless rules" +msgstr[0] "%d oanvändbar regel" +msgstr[1] "%d oanvändbara regler" -#: src/reader.c:701 +#: src/reduce.c:435 #, c-format -msgid "redefining precedence of %s" -msgstr "omdefinition av precedens för %s" +msgid "start symbol %s does not derive any sentence" +msgstr "startsymbolen %s genererar inga meningar" -#: src/reader.c:724 +#: src/scan-gram.l:258 #, c-format -msgid "invalid text (%s) - number should be after identifier" -msgstr "felaktig text (%s) - tal skulle följa efter identifierare" +msgid "invalid directive: %s" +msgstr "ogiltigt direktiv: %s" -#: src/reader.c:734 +#: src/scan-gram.l:287 src/scan-gram.l:661 src/scan-gram.l:733 #, c-format -msgid "unexpected item: %s" -msgstr "oväntat objekt: %s" +msgid "integer out of range: %s" +msgstr "heltal utanför intervall: %s" -#: src/reader.c:809 src/reader.c:1191 src/reader.c:1263 +#: src/scan-gram.l:327 #, c-format -msgid "unmatched %s" -msgstr "ensam %s" +msgid "invalid character: %s" +msgstr "ogiltigt tecken: %s" -#: src/reader.c:843 +#: src/scan-gram.l:427 src/scan-gram.l:441 src/scan-gram.l:464 #, c-format -msgid "argument of %%expect is not an integer" -msgstr "argument till %%expect är inte ett heltal" +msgid "invalid escape sequence: %s" +msgstr "ogiltig specialsekvens: %s" -#: src/reader.c:889 +#: src/scan-gram.l:472 #, c-format -msgid "unrecognized item %s, expected an identifier" -msgstr "oväntat objekt %s, förväntade en identifierare" +msgid "unrecognized escape sequence: %s" +msgstr "okänd specialsekvens: %s" -#: src/reader.c:911 +#: src/scan-gram.l:632 #, c-format -msgid "expected string constant instead of %s" -msgstr "förväntade strängkonstant istället för %s" +msgid "$$ of `%s' has no declared type" +msgstr "$$ för \"%s\" har ingen deklarerad typ" -#: src/reader.c:1108 +#: src/scan-gram.l:652 #, c-format -msgid "unrecognized: %s" -msgstr "okänt: %s" - -#: src/reader.c:1113 -msgid "no input grammar" -msgstr "ingen ingrammatik" +msgid "$%d of `%s' has no declared type" +msgstr "$%d för \"%s\" har ingen deklarerad typ" -#: src/reader.c:1118 +#: src/scan-gram.l:678 src/scan-gram.l:750 #, c-format -msgid "unknown character: %s" -msgstr "okänt tecken: %s" +msgid "invalid value: %s" +msgstr "felaktigt värde: %s" -#: src/reader.c:1286 +#: src/scan-gram.l:861 #, c-format -msgid "unterminated %guard clause" -msgstr "oavlutad %guard-sats" - -#: src/reader.c:1439 -msgid "ill-formed rule: initial symbol not followed by colon" -msgstr "felskriven regel: första symbolen följs inte av ett kolon" +msgid "missing `%s' at end of file" +msgstr "saknat \"%s\" vid filslut" -#: src/reader.c:1446 -msgid "grammar starts with vertical bar" -msgstr "grammatiken startar med ett vertikalt streck" +#: src/symlist.c:97 src/symlist.c:109 +msgid "invalid $ value" +msgstr "felaktigt $-värde" -#: src/reader.c:1474 +#: src/symtab.c:82 #, c-format -msgid "rule given for %s, which is a token" -msgstr "regel given för %s, som är ett element" - -#: src/reader.c:1574 -msgid "two @prec's in a row" -msgstr "två @prec i rad" +msgid "type redeclaration for %s" +msgstr "typen omdeklarerad för %s" -#: src/reader.c:1582 +#: src/symtab.c:100 src/symtab.c:119 #, c-format -msgid "%%guard present but %%semantic_parser not specified" -msgstr "%%guard finns men %%semantic_parser är inte angiven" - -#: src/reader.c:1591 -msgid "two actions at end of one rule" -msgstr "två åtgärder vid slutet av en regel" +msgid "%s redeclaration for %s" +msgstr "%s-omdeklaration för %s" -#: src/reader.c:1605 +#: src/symtab.c:140 #, c-format -msgid "type clash (`%s' `%s') on default action" -msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd" - -#: src/reader.c:1611 -msgid "empty rule for typed nonterminal, and no action" -msgstr "tom regel för typad icketerminal, och ingen åtgärd" +msgid "redefining precedence of %s" +msgstr "omdefinition av precedens för %s" -#: src/reader.c:1655 +#: src/symtab.c:159 #, c-format -msgid "invalid input: %s" -msgstr "felaktig indata: %s" +msgid "symbol %s redefined" +msgstr "symbolen %s omdefinierad" -#: src/reader.c:1663 +#: src/symtab.c:183 #, c-format -msgid "too many symbols (tokens plus nonterminals); maximum %d" -msgstr "för många symboler (element plus icketerminaler); max %d" - -#: src/reader.c:1666 -msgid "no rules in the input grammar" -msgstr "inga regler i ingrammatiken" +msgid "redefining user token number of %s" +msgstr "omdefinition av elementnummer för %s" -#: src/reader.c:1674 +#: src/symtab.c:222 #, c-format msgid "symbol %s is used, but is not defined as a token and has no rules" msgstr "" "symbolen %s används, men är inte definierad som ett element och har inga " "regler" -#: src/reader.c:1783 +#: src/symtab.c:241 #, c-format -msgid "tokens %s and %s both assigned number %d" -msgstr "elementen %s och %s har båda fått nummer %d" +msgid "symbol `%s' used more than once as a literal string" +msgstr "symbolen \"%s\" används mer än en gång som en bokstavlig sträng" + +#: src/symtab.c:244 +#, c-format +msgid "symbol `%s' given more than one literal string" +msgstr "symbolen \"%s\" har fått mer än en bokstavlig sträng" -#: src/reader.c:1836 +#: src/symtab.c:279 #, c-format msgid "conflicting precedences for %s and %s" msgstr "motstridiga precedenser mellan %s och %s" -#: src/reader.c:1848 +#: src/symtab.c:291 #, c-format -msgid "conflicting assoc values for %s and %s" -msgstr "motstridiga assoc-värden mellan %s och %s" +msgid "conflicting associativities for %s (%s) and %s (%s)" +msgstr "motstridiga associativiteter för %s (%s) och %s (%s)" + +#: src/symtab.c:363 +#, c-format +msgid "tokens %s and %s both assigned number %d" +msgstr "elementen %s och %s har båda fått nummer %d" -#: src/reader.c:1884 +#: src/symtab.c:570 #, c-format msgid "the start symbol %s is undefined" msgstr "startsymbolen %s är odefinierad" -#: src/reader.c:1886 +#: src/symtab.c:574 #, c-format msgid "the start symbol %s is a token" msgstr "startsymbolen %s är ett element" -#: src/reduce.c:409 -msgid "Useless nonterminals:" -msgstr "Oanvändbara icketerminaler:" +#: lib/argmatch.c:129 +#, c-format +msgid "invalid argument %s for %s" +msgstr "ogiltigt argument %s till %s" -#: src/reduce.c:422 -msgid "Terminals which are not used:" -msgstr "Terminaler som inte används:" +#: lib/argmatch.c:130 +#, c-format +msgid "ambiguous argument %s for %s" +msgstr "tvetydigt argument %s till %s" -#: src/reduce.c:433 -msgid "Useless rules:" -msgstr "Oanvändbara regler:" +#: lib/argmatch.c:149 +msgid "Valid arguments are:" +msgstr "Giltiga argument är:" -#: src/reduce.c:503 -#, fuzzy, c-format -msgid "%d rule never reduced\n" -msgid_plural "%d rules never reduced\n" -msgstr[0] "%d regler reduceras aldrig\n" +#: lib/bitset_stats.c:178 +#, c-format +msgid "%u bitset_allocs, %u freed (%.2f%%).\n" +msgstr "%u bitmängdallokeringar, %u frianden (%.2f%%).\n" -# Jag har anmält att det är fel att anta att "s" är en universell pluraländelse. -# Jag föreslog också att de använder ngettext istället. -# "Vad göras skall är redan gjort." -#: src/reduce.c:511 -#, fuzzy, c-format -msgid "%d useless nonterminal" -msgid_plural "%d useless nonterminals" -msgstr[0] "%d oanvändbara icketerminaler%.0s" +#: lib/bitset_stats.c:181 +#, c-format +msgid "%u bitset_sets, %u cached (%.2f%%)\n" +msgstr "%u bitmängdmängder, %u cachade (%.2f%%)\n" -#: src/reduce.c:517 -msgid " and " -msgstr " och " +#: lib/bitset_stats.c:184 +#, c-format +msgid "%u bitset_resets, %u cached (%.2f%%)\n" +msgstr "%u bitmängdåterställanden, %u cachade (%.2f%%)\n" -#: src/reduce.c:520 -#, fuzzy, c-format -msgid "%d useless rule" -msgid_plural "%d useless rules" -msgstr[0] "%d oanvändbara regler%.0s" +#: lib/bitset_stats.c:187 +#, c-format +msgid "%u bitset_tests, %u cached (%.2f%%)\n" +msgstr "%u bitmängdtester, %u cachade (%.2f%%)\n" + +#: lib/bitset_stats.c:191 +#, c-format +msgid "%u bitset_lists\n" +msgstr "%u bitmängdlistor\n" + +#: lib/bitset_stats.c:193 +msgid "count log histogram\n" +msgstr "anropslogghistogram\n" + +#: lib/bitset_stats.c:196 +msgid "size log histogram\n" +msgstr "storlekslogghistogram\n" -#: src/reduce.c:551 +#: lib/bitset_stats.c:199 +msgid "density histogram\n" +msgstr "densitetshistogram\n" + +#: lib/bitset_stats.c:213 +msgid "" +"Bitset statistics:\n" +"\n" +msgstr "" +"Bitmängdsstatistik:\n" +"\n" + +#: lib/bitset_stats.c:216 #, c-format -msgid "Start symbol %s does not derive any sentence" -msgstr "Startsymbolen %s genererar inga meningar" +msgid "Accumulated runs = %u\n" +msgstr "Ackumulerade körningar = %u\n" + +#: lib/bitset_stats.c:260 lib/bitset_stats.c:265 +msgid "Could not read stats file." +msgstr "Kunde inte läsa statistikfil." -#: lib/getopt.c:694 +#: lib/bitset_stats.c:262 +msgid "Bad stats file size.\n" +msgstr "Dålig statistikfilstorlek.\n" + +#: lib/bitset_stats.c:288 lib/bitset_stats.c:290 +msgid "Could not write stats file." +msgstr "Kunde inte skriva statistikfil." + +#: lib/bitset_stats.c:293 +msgid "Could not open stats file for writing." +msgstr "Kunde inte öppna statistikfil för skrivning." + +#: lib/getopt.c:662 #, c-format msgid "%s: option `%s' is ambiguous\n" msgstr "%s: flaggan \"%s\" är tvetydig\n" -#: lib/getopt.c:719 +#: lib/getopt.c:687 #, c-format msgid "%s: option `--%s' doesn't allow an argument\n" msgstr "%s: flaggan \"--%s\" tar inget argument\n" -#: lib/getopt.c:724 +#: lib/getopt.c:692 #, c-format msgid "%s: option `%c%s' doesn't allow an argument\n" msgstr "%s: flaggan \"%c%s\" tar inget argument\n" -#: lib/getopt.c:742 lib/getopt.c:915 +#: lib/getopt.c:710 lib/getopt.c:883 #, c-format msgid "%s: option `%s' requires an argument\n" msgstr "%s: flaggan \"%s\" behöver ett argument\n" -#. --option -#: lib/getopt.c:771 +#: lib/getopt.c:739 #, c-format msgid "%s: unrecognized option `--%s'\n" msgstr "%s: okänd flagga \"--%s\"\n" -#. +option or -option -#: lib/getopt.c:775 +#: lib/getopt.c:743 #, c-format msgid "%s: unrecognized option `%c%s'\n" msgstr "%s: okänd flagga \"%c%s\"\n" -#. 1003.2 specifies the format of this message. -#: lib/getopt.c:801 +#: lib/getopt.c:769 #, c-format msgid "%s: illegal option -- %c\n" msgstr "%s: otillåten flagga -- %c\n" -#: lib/getopt.c:804 +#: lib/getopt.c:772 #, c-format msgid "%s: invalid option -- %c\n" msgstr "%s: ogiltig flagga --%c\n" -#. 1003.2 specifies the format of this message. -#: lib/getopt.c:834 lib/getopt.c:964 +#: lib/getopt.c:802 lib/getopt.c:932 #, c-format msgid "%s: option requires an argument -- %c\n" msgstr "%s: flaggan behöver ett argument -- %c\n" -#: lib/getopt.c:881 +#: lib/getopt.c:849 #, c-format msgid "%s: option `-W %s' is ambiguous\n" msgstr "%s: flaggan \"-W %s\" är tvetydig\n" -#: lib/getopt.c:899 +#: lib/getopt.c:867 #, c-format msgid "%s: option `-W %s' doesn't allow an argument\n" msgstr "%s: flaggan \"-W %s\" tar inget argument\n" -#. If XALLOC_FAIL_FUNC is NULL, or does return, display this message -#. before exiting when memory is exhausted. Goes through gettext. -#: lib/obstack.c:494 lib/obstack.c:497 lib/xmalloc.c:66 +#: lib/obstack.c:496 lib/obstack.c:499 lib/xmalloc.c:63 msgid "memory exhausted" msgstr "minnet slut" # När vi går över till Unicode mer allmänt kanske vi bör översätta båda dessa # med U+201D (RIGHT DOUBLE QUOTATION MARK) på svenska. Eller? # -#. Get translations for open and closing quotation marks. -#. -#. The message catalog should translate "`" to a left -#. quotation mark suitable for the locale, and similarly for -#. "'". If the catalog has no translation, -#. locale_quoting_style quotes `like this', and -#. clocale_quoting_style quotes "like this". -#. -#. For example, an American English Unicode locale should -#. translate "`" to U+201C (LEFT DOUBLE QUOTATION MARK), and -#. should translate "'" to U+201D (RIGHT DOUBLE QUOTATION -#. MARK). A British English Unicode locale should instead -#. translate these to U+2018 (LEFT SINGLE QUOTATION MARK) and -#. U+2019 (RIGHT SINGLE QUOTATION MARK), respectively. -#: lib/quotearg.c:274 +#: lib/quotearg.c:236 msgid "`" msgstr "\"" -#: lib/quotearg.c:275 +#: lib/quotearg.c:237 msgid "'" msgstr "\"" -#~ msgid "%s: internal error: %s\n" -#~ msgstr "%s: internt fel: %s\n" - -#~ msgid "" -#~ "Variables\n" -#~ "---------\n" -#~ "\n" -#~ msgstr "" -#~ "Variabler\n" -#~ "---------\n" -#~ "\n" - -#~ msgid "Value Sprec Sassoc Tag\n" -#~ msgstr "Värde Sprec Sassoc Tagg\n" - -#~ msgid "" -#~ "Rules\n" -#~ "-----\n" -#~ "\n" -#~ msgstr "" -#~ "Regler\n" -#~ "------\n" -#~ "\n" - -#~ msgid "" -#~ "Rules interpreted\n" -#~ "-----------------\n" -#~ "\n" -#~ msgstr "" -#~ "Tolkade regler\n" -#~ "--------------\n" -#~ "\n" - -#~ msgid "DERIVES" -#~ msgstr "HÄRLEDER" - -#~ msgid "%s derives" -#~ msgstr "%s härleder" - -#~ msgid "Entering set_nullable" -#~ msgstr "Påbörjar set_nullable" - -#~ msgid "" -#~ "reduced %s defines %d terminal%s, %d nonterminal%s, and %d production%s.\n" -#~ msgstr "" -#~ "reducerad %s definierar %d terminaler%.0s, %d icketerminaler%.0s och %d " -#~ "produktioner%.0s.\n" +#: lib/subpipe.c:187 +#, c-format +msgid "subsidiary program `%s' could not be invoked" +msgstr "underprogram \"%s\" kunde inte köras" + +#: lib/subpipe.c:189 +#, c-format +msgid "subsidiary program `%s' not found" +msgstr "underprogram \"%s\" hittades inte" + +#: lib/subpipe.c:191 +#, c-format +msgid "subsidiary program `%s' failed" +msgstr "underprogram \"%s\" misslyckades" + +#: lib/subpipe.c:192 +#, c-format +msgid "subsidiary program `%s' failed (exit status %d)" +msgstr "underprogram \"%s\" misslyckades (slutstatus %d)" + +#: lib/timevar.c:476 +msgid "" +"\n" +"Execution times (seconds)\n" +msgstr "" +"\n" +"Exekveringstider (sekunder)\n" + +#: lib/timevar.c:526 +msgid " TOTAL :" +msgstr " TOTALT :" + +#: lib/timevar.c:562 +#, c-format +msgid "time in %s: %ld.%06ld (%ld%%)\n" +msgstr "tid i %s: %ld.%06ld (%ld%%)\n"