X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/722c4bfec27f80609a197337ae42bf5d88c31322..73dbb6420eab62ad99ee99cf963cefad8922cf31:/po/sv.po diff --git a/po/sv.po b/po/sv.po index a4f77826..24ce456e 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-11-23 15:13+0100\n" -"PO-Revision-Date: 2001-11-18 15:17+0100\n" +"Project-Id-Version: bison 1.75a\n" +"POT-Creation-Date: 2002-11-13 00:28-0800\n" +"PO-Revision-Date: 2002-10-27 22:05+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:128 lib/error.c:156 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:279 +#: src/complain.c:182 src/complain.c:200 msgid "fatal error: " msgstr "ödesdigert fel: " -#: src/conflicts.c:45 +#: 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:111 src/conflicts.c:134 -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:117 src/conflicts.c:130 -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:138 -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:389 +#: src/conflicts.c:402 #, 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:396 +#: src/conflicts.c:409 msgid "and" msgstr "och" -#: src/conflicts.c:402 +#: src/conflicts.c:415 #, 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:426 -#, 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:460 +#: src/conflicts.c:435 msgid "conflicts: " msgstr "konflikter: " -#: src/conflicts.c:462 +#: src/conflicts.c:437 #, c-format msgid " %d shift/reduce" msgstr " %d skifta/reducera" -#: src/conflicts.c:466 +#: src/conflicts.c:441 #, c-format msgid " %d reduce/reduce" msgstr " %d reducera/reducera" -#: src/conflicts.c:471 src/reduce.c:493 +#: src/conflicts.c:460 #, c-format -msgid "%s contains " -msgstr "%s innehåller " +msgid "State %d contains " +msgstr "Tillstånd %d innehåller " -#: src/conflicts.c:480 -#, fuzzy, c-format -msgid "expected %d shift/reduce conflict\n" -msgid_plural "expected %d shift/reduce conflicts\n" +#: src/conflicts.c:537 +#, 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:567 src/conflicts.c:688 -#, c-format -msgid " %-4s\t[reduce using rule %d (%s)]\n" -msgstr " %-4s\t[reducera med regel %d (%s)]\n" - -#: src/conflicts.c:579 src/print.c:156 -#, c-format -msgid "" -" $default\treduce using rule %d (%s)\n" -"\n" -msgstr "" -" $standard\treducera med regel %d (%s)\n" -"\n" - -#: src/conflicts.c:668 src/conflicts.c:682 -#, c-format -msgid " %-4s\treduce using rule %d (%s)\n" -msgstr " %-4s\treducera med regel %d (%s)\n" - -#: src/conflicts.c:708 -#, c-format -msgid " $default\treduce using rule %d (%s)\n" -msgstr " $standard\treducera med regel %d (%s)\n" - -#: src/files.c:143 +#: src/files.c:111 #, c-format msgid "cannot open file `%s'" msgstr "kan inte öppna filen \"%s\"" -#: src/files.c:162 +#: src/files.c:127 +msgid "I/O error" +msgstr "" + +#: 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:54 +#: src/getargs.c:165 +#, 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:171 msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n" -#: src/getargs.c:58 +#: src/getargs.c:175 #, c-format msgid "Usage: %s [OPTION]... FILE\n" msgstr "Användning: %s [FLAGGA]... FIL\n" -#: src/getargs.c:62 +#: src/getargs.c:179 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:68 +#: src/getargs.c:185 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:75 +#: src/getargs.c:192 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:87 +#: src/getargs.c:204 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:97 +#: src/getargs.c:215 +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:226 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:111 +#: src/getargs.c:243 #, c-format msgid "bison (GNU Bison) %s" msgstr "bison (GNU Bison) %s" -#: src/getargs.c:116 -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:245 +msgid "Written by Robert Corbett and Richard Stallman.\n" +msgstr "Skriven av Robert Corbett och Richard Stallman.\n" + +#: src/getargs.c:249 +#, c-format +msgid "Copyright (C) %d Free Software Foundation, Inc.\n" +msgstr "Copyright © %d Free Software Foundation, Inc.\n" -#: src/getargs.c:120 +#: src/getargs.c:251 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,589 +220,512 @@ msgstr "" "finns INGEN garanti, inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR ETT\n" "SPECIELLT ÄNDAMÅL.\n" -#: src/getargs.c:186 src/lex.c:665 -#, c-format -msgid "`%s' is no longer supported" -msgstr "\"%s\" stöds inte längre" - -#: src/getargs.c:210 -#, 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:218 -#, c-format -msgid "%s: no grammar file given\n" -msgstr "%s: ingen grammatikfil angiven\n" - -#: src/getargs.c:222 -#, c-format -msgid "%s: extra arguments ignored after `%s'\n" -msgstr "%s: extra argument ignorerade efter \"%s\"\n" - -#: src/lalr.c:293 -#, 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 +#: src/getargs.c:405 #, c-format -msgid "octal value outside range 0...255: `\\%o'" -msgstr "oktalt värde utanför intervallet 0-255: \"\\%o\"" +msgid "missing operand after `%s'" +msgstr "saknad operand efter \"%s\"" -#: 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\"" - -#: src/lex.c:246 -#, c-format -msgid "unknown escape sequence: `\\' followed by `%s'" -msgstr "okänd specialsekvens: \"\\\" följt av \"%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" +msgid "extra operand `%s'" +msgstr "extra operand \"%s\"" -#: 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:139 +msgid "empty" +msgstr "tom" -#: src/lex.c:637 -#, c-format -msgid "`%s' supports no argument: %s" -msgstr "\"%s\" stödjer inga argument: %s" +#: src/gram.c:233 +msgid "Grammar" +msgstr "Grammatik" -#: src/lex.c:654 -#, c-format -msgid "`%s' requires an argument" -msgstr "\"%s\" behöver ett argument" +#: src/gram.c:321 src/reduce.c:302 src/reduce.c:392 +msgid "warning" +msgstr "varning" -#: src/main.c:130 -#, c-format -msgid "%s: internal error: %s\n" -msgstr "%s: internt fel: %s\n" +#: src/main.c:120 +msgid "rule never reduced because of conflicts" +msgstr "regel aldrig reducerad på grund av konflikter" -#: src/output.c:786 -#, c-format -msgid "maximum table size (%d) exceeded" -msgstr "maximal tabellstorlek (%d) överskriden" +#: src/parse-gram.y:358 +msgid "POSIX forbids declarations in the grammar" +msgstr "POSIX förbjuder deklarationer i grammatiken" -#: src/print.c:38 +#: src/print.c:46 #, c-format msgid " type %d is %s\n" msgstr " typ %d är %s\n" -#: src/print.c:78 +#: src/print.c:162 #, c-format -msgid " (rule %d)" -msgstr " (regel %d)" - -#: src/print.c:98 -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:100 -msgid " NO ACTIONS\n" -msgstr " INGA ÅTGÄRDER\n" - -#: src/print.c:120 +#: 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:123 -#, 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:144 +#: 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:173 -#, 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:324 src/print.c:390 +msgid "$default" +msgstr "$standard" -#: src/print.c:185 +#: src/print.c:419 #, c-format msgid "state %d" msgstr "tillstånd %d" -#. rule # : LHS -> RHS -#: src/print.c:215 -msgid "Grammar" -msgstr "Grammatik" - -#: src/print.c:216 -msgid "Number, Line, Rule" -msgstr "" - -#: src/print.c:221 -#, fuzzy, c-format -msgid " %3d %3d %s ->" -msgstr "regel %-4d %s ->" - -#: src/print.c:228 -msgid "empty" -msgstr "tom" - -#. TERMINAL (type #) : rule #s terminal is on RHS -#: src/print.c:233 +#: src/print.c:456 msgid "Terminals, with rules where they appear" msgstr "Terminaler, med regler där de förekommer" -#: src/print.c:257 +#: src/print.c:483 msgid "Nonterminals, with rules where they appear" msgstr "Icketerminaler, med regler där de förekommer" -#: src/print.c:283 +#: src/print.c:512 msgid " on left:" msgstr " till vänster:" -#: src/print.c:298 +#: 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:165 -#, 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:180 +#: src/reader.c:51 #, c-format -msgid "$default\treduce using rule %d (%s)" -msgstr "$standard\treducera med regel %d (%s)" +msgid "multiple %s declarations" +msgstr "flera %s-deklarationer" -#: src/reader.c:91 -msgid " Skipping to next \\n" -msgstr " Hoppar över till nästa \\n" +#: src/reader.c:137 +#, fuzzy, c-format +msgid "result type clash on merge function %s: <%s> != <%s>" +msgstr "resultattypskonflikt vid sammanslagningsfunktion %s: \"%s\" mot \"%s\"" -#: src/reader.c:93 +#: src/reader.c:235 #, c-format -msgid " Skipping to next %c" -msgstr " Hoppar över till nästa %c" - -#: src/reader.c:144 src/reader.c:156 -msgid "invalid $ value" -msgstr "felaktigt $-värde" +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 +#, fuzzy, c-format +msgid "type clash on default action: <%s> != <%s>" +msgstr "typkonflikt (\"%s\" \"%s\") för standardåtgärd" -#: 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:511 +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:1328 -#, 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:1306 +#: 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 -#, c-format -msgid "invalid text (%s) - number should be after identifier" -msgstr "felaktig text (%s) - tal skulle följa efter identifierare" +#: src/scan-gram.l:258 +#, fuzzy, c-format +msgid "invalid directive: %s" +msgstr ": ogiltig specialsekvens: %s\n" -#: 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 "" -#: src/reader.c:809 src/reader.c:1145 src/reader.c:1217 -#, c-format -msgid "unmatched %s" -msgstr "ensam %s" +#: src/scan-gram.l:327 +#, fuzzy, c-format +msgid "invalid character: %s" +msgstr ": ogiltigt tecken: \"%c\"\n" -#: src/reader.c:843 -#, c-format -msgid "argument of %%expect is not an integer" -msgstr "argument till %%expect är inte ett heltal" +#: src/scan-gram.l:427 src/scan-gram.l:441 src/scan-gram.l:464 +#, fuzzy, c-format +msgid "invalid escape sequence: %s" +msgstr ": ogiltig specialsekvens: %s\n" -#: src/reader.c:889 -#, c-format -msgid "unrecognized item %s, expected an identifier" -msgstr "oväntat objekt %s, förväntade en identifierare" +#: src/scan-gram.l:472 +#, fuzzy, c-format +msgid "unrecognized escape sequence: %s" +msgstr ": okänd specialsekvens: %s\n" -#: 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:1062 +#: src/scan-gram.l:652 #, c-format -msgid "unrecognized: %s" -msgstr "okänt: %s" - -#: src/reader.c:1067 -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:1072 -#, c-format -msgid "unknown character: %s" -msgstr "okänt tecken: %s" +#: src/scan-gram.l:678 src/scan-gram.l:750 +#, fuzzy, c-format +msgid "invalid value: %s" +msgstr "felaktigt värde: %s%d" -#: src/reader.c:1240 +#: src/scan-gram.l:861 #, c-format -msgid "unterminated %guard clause" -msgstr "oavlutad %guard-sats" - -#: src/reader.c:1393 -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 "" -#: src/reader.c:1400 -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:1428 +#: 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:1526 -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:1534 +#: 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:1543 -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:1557 +#: 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:1563 -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:1607 +#: 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:1615 +#: src/symtab.c:182 #, c-format -msgid "too many symbols (tokens plus nonterminals); maximum %d" -msgstr "för många symboler (element plus icketerminaler); max %d" +msgid "redefining user token number of %s" +msgstr "omdefinition av elementnummer för %s" -#: src/reader.c:1618 -msgid "no rules in the input grammar" -msgstr "inga regler i ingrammatiken" - -#: src/reader.c:1626 +#: src/symtab.c:221 #, 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:1735 +#: src/symtab.c:240 #, 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/reader.c:1788 +#: src/symtab.c:243 +#, c-format +msgid "symbol `%s' given more than one literal string" +msgstr "symbolen \"%s\" har fått mer än en bokstavlig sträng" + +#: src/symtab.c:277 #, c-format msgid "conflicting precedences for %s and %s" msgstr "motstridiga precedenser mellan %s och %s" -#: src/reader.c:1800 +#: src/symtab.c:289 +#, c-format +msgid "conflicting associativities for %s (%s) and %s (%s)" +msgstr "motstridiga associativiteter för %s (%s) och %s (%s)" + +#: src/symtab.c:359 #, c-format -msgid "conflicting assoc values for %s and %s" -msgstr "motstridiga assoc-värden mellan %s och %s" +msgid "tokens %s and %s both assigned number %d" +msgstr "elementen %s och %s har båda fått nummer %d" -#: src/reader.c:1836 +#: src/symtab.c:566 #, c-format msgid "the start symbol %s is undefined" msgstr "startsymbolen %s är odefinierad" -#: src/reader.c:1838 +#: src/symtab.c:570 #, c-format msgid "the start symbol %s is a token" msgstr "startsymbolen %s är ett element" -#: src/reduce.c:400 -msgid "Useless nonterminals:" -msgstr "Oanvändbara icketerminaler:" +#: lib/argmatch.c:161 +#, c-format +msgid "invalid argument %s for %s" +msgstr "ogiltigt argument %s till %s" -#: src/reduce.c:414 -msgid "Terminals which are not used:" -msgstr "Terminaler som inte används:" +#: lib/argmatch.c:162 +#, c-format +msgid "ambiguous argument %s for %s" +msgstr "tvetydigt argument %s till %s" -#: src/reduce.c:425 -msgid "Useless rules:" -msgstr "Oanvändbara regler:" +#: lib/argmatch.c:181 +msgid "Valid arguments are:" +msgstr "Giltiga argument är:" -#: src/reduce.c:451 -msgid "" -"Variables\n" -"---------\n" -"\n" -msgstr "" -"Variabler\n" -"---------\n" -"\n" +#: lib/bitset_stats.c:178 +#, c-format +msgid "%u bitset_allocs, %u freed (%.2f%%).\n" +msgstr "%u bitmängdallokeringar, %u frianden (%.2f%%).\n" -#: src/reduce.c:452 -msgid "Value Sprec Sassoc Tag\n" -msgstr "Värde Sprec Sassoc Tagg\n" +#: 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:456 -msgid "" -"Rules\n" -"-----\n" -"\n" -msgstr "" -"Regler\n" -"------\n" -"\n" +#: 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" + +#: 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:470 +#: lib/bitset_stats.c:199 +msgid "density histogram\n" +msgstr "densitetshistogram\n" + +#: lib/bitset_stats.c:213 msgid "" -"Rules interpreted\n" -"-----------------\n" +"Bitset statistics:\n" "\n" msgstr "" -"Tolkade regler\n" -"--------------\n" +"Bitmängdsstatistik:\n" "\n" -#: src/reduce.c:491 +#: lib/bitset_stats.c:216 #, c-format -msgid "%d rules never reduced\n" -msgstr "%d regler reduceras aldrig\n" +msgid "Accumulated runs = %u\n" +msgstr "Accumulerade körningar = %u\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:497 -#, c-format -msgid "%d useless nonterminal%s" -msgstr "%d oanvändbara icketerminaler%.0s" +#: lib/bitset_stats.c:260 lib/bitset_stats.c:265 +msgid "Could not read stats file." +msgstr "Kunde inte läsa statistikfil." -#: src/reduce.c:502 -msgid " and " -msgstr " och " +#: lib/bitset_stats.c:262 +msgid "Bad stats file size.\n" +msgstr "Dålig statistikfilstorlek.\n" -#: src/reduce.c:506 -#, c-format -msgid "%d useless rule%s" -msgstr "%d oanvändbara regler%.0s" +#: lib/bitset_stats.c:288 lib/bitset_stats.c:290 +msgid "Could not write stats file." +msgstr "Kunde inte skriva statistikfil." -#: src/reduce.c:536 -#, c-format -msgid "Start symbol %s does not derive any sentence" -msgstr "Startsymbolen %s genererar inga meningar" +#: lib/bitset_stats.c:293 +msgid "Could not open stats file for writing." +msgstr "Kunde inte öppna statistikfil för skrivning." -#: lib/getopt.c:694 +#: 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:66 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:268 +#: lib/quotearg.c:274 msgid "`" msgstr "\"" -#: lib/quotearg.c:269 +#: lib/quotearg.c:275 msgid "'" msgstr "\"" -#~ msgid "DERIVES" -#~ msgstr "HÄRLEDER" +#: 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" + +#~ msgid "too many gotos (max %d)" +#~ msgstr "för många goto (max %d)" + +#~ msgid "too many symbols (tokens plus nonterminals); maximum %d" +#~ msgstr "för många symboler (element plus icketerminaler); max %d" + +#~ msgid ": unexpected end of file in a comment\n" +#~ msgstr ": oväntat filslut i en kommentar\n" + +#~ msgid ": unexpected end of file in a string\n" +#~ msgstr ": oväntat filslut i en sträng\n" + +#~ msgid ": unexpected end of file in a character\n" +#~ msgstr ": oväntat filslut i ett tecken\n" + +#~ msgid ": unexpected end of file in a braced code\n" +#~ msgstr ": oväntat filslut i kod inom klamrar\n" -#~ msgid "%s derives" -#~ msgstr "%s härleder" +#~ msgid ": unexpected end of file in a prologue\n" +#~ msgstr ": oväntat filslut i en prolog\n" -#~ msgid "Entering set_nullable" -#~ msgstr "Påbörjar set_nullable" +#~ msgid "%s is invalid" +#~ msgstr "%s är felaktigt" -#~ 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" +#~ msgid "too many states (max %d)" +#~ msgstr "för många tillstånd (max %d)"