X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/05d18c249342b25135c505907eb992707f5e0d65..226dcab0280a80341aa56b36118c6563a34aaef4:/po/sv.po diff --git a/po/sv.po b/po/sv.po index 3857b94b..fe322472 100644 --- a/po/sv.po +++ b/po/sv.po @@ -1,13 +1,14 @@ # Swedish messages for bison. -# Copyright © 2001, 2002 Free Software Foundation, Inc. -# Göran Uddeborg , 2001, 2002. +# Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. +# Göran Uddeborg , 2001, 2002, 2003. # $Revision$ # msgid "" msgstr "" -"Project-Id-Version: bison 1.75b\n" -"POT-Creation-Date: 2002-12-13 03:47-0800\n" -"PO-Revision-Date: 2002-11-23 14:19+0100\n" +"Project-Id-Version: bison 1.875\n" +"Report-Msgid-Bugs-To: bug-bison@gnu.org\n" +"POT-Creation-Date: 2003-06-17 01:38-0700\n" +"PO-Revision-Date: 2003-01-01 23:03+0100\n" "Last-Translator: Göran Uddeborg \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" @@ -19,11 +20,11 @@ msgstr "" msgid "Unknown system error" msgstr "Okänt systemfel" -#: src/complain.c:80 src/complain.c:97 +#: src/complain.c:79 src/complain.c:94 msgid "warning: " msgstr "varning: " -#: src/complain.c:159 src/complain.c:177 +#: src/complain.c:150 src/complain.c:166 msgid "fatal error: " msgstr "ödesdigert fel: " @@ -42,78 +43,70 @@ msgstr " Konflikt mellan regel %d och element %s l 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:403 -#, 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:410 -msgid "and" -msgstr "och" - -#: src/conflicts.c:416 +#: src/conflicts.c:398 #, 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:436 -msgid "conflicts: " -msgstr "konflikter: " +msgid "conflicts: %d shift/reduce, %d reduce/reduce\n" +msgstr "konflikter: %d skifta/reducera, %d reducera/reducera\n" -#: src/conflicts.c:438 +#: src/conflicts.c:401 #, c-format -msgid " %d shift/reduce" -msgstr " %d skifta/reducera" +msgid "conflicts: %d shift/reduce\n" +msgstr "konflikter: %d skifta/reducera\n" -#: src/conflicts.c:442 +#: src/conflicts.c:403 #, c-format -msgid " %d reduce/reduce" -msgstr " %d reducera/reducera" +msgid "conflicts: %d reduce/reduce\n" +msgstr "konflikter: %d reducera/reducera\n" -#: src/conflicts.c:461 +#: src/conflicts.c:421 #, c-format -msgid "State %d contains " -msgstr "Tillstånd %d innehåller " +msgid "State %d " +msgstr "Tillstånd %d " -#: src/conflicts.c:538 +#: src/conflicts.c:498 #, 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/files.c:98 +#: src/conflicts.c:503 +msgid "expected 0 reduce/reduce conflicts" +msgstr "förväntade 0 reducera/reducerakonflikter" + +#: src/files.c:99 #, c-format msgid "cannot open file `%s'" msgstr "kan inte öppna filen \"%s\"" -#: src/files.c:114 +#: src/files.c:115 msgid "I/O error" msgstr "I/O-fel" -#: src/files.c:117 +#: src/files.c:118 msgid "cannot close file" msgstr "kan inte stänga fil" -#: src/getargs.c:182 +#: src/files.c:336 +#, c-format +msgid "conflicting outputs to file %s" +msgstr "motstridiga utmatningar till filen %s" + +#: src/getargs.c:186 #, 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:188 +#: src/getargs.c:192 msgid "GNU bison generates parsers for LALR(1) grammars.\n" msgstr "GNU bison genererar parsrar för LALR(1)-grammatiker.\n" -#: src/getargs.c:192 +#: src/getargs.c:196 #, c-format msgid "Usage: %s [OPTION]... FILE\n" msgstr "Användning: %s [FLAGGA]... FIL\n" -#: src/getargs.c:196 +#: src/getargs.c:200 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" @@ -122,7 +115,7 @@ msgstr "" "obligatoriskt för den motsvarande korta flaggan också. Motsvarande\n" "för valfria argument.\n" -#: src/getargs.c:202 +#: src/getargs.c:206 msgid "" "Operation modes:\n" " -h, --help display this help and exit\n" @@ -134,7 +127,7 @@ msgstr "" " -V, --version visa versionsinformation och avsluta\n" " -y, --yacc emulera POSIX-yacc\n" -#: src/getargs.c:209 +#: src/getargs.c:213 msgid "" "Parser:\n" " -S, --skeleton=FILE specify the skeleton to use\n" @@ -154,7 +147,7 @@ msgstr "" " -n, --no-parser generera endast tabellerna\n" " -k, --token-table inkludera en tabell över elementnamn\n" -#: src/getargs.c:221 +#: src/getargs.c:225 msgid "" "Output:\n" " -d, --defines also produce a header file\n" @@ -173,7 +166,7 @@ msgstr "" " -o, --output=FIL lägg utdata i FIL\n" " -g, --graph skapa också en VCG-beskrivning av automaten\n" -#: src/getargs.c:232 +#: src/getargs.c:236 msgid "" "THINGS is a list of comma separated words that can include:\n" " `state' describe the states\n" @@ -191,27 +184,27 @@ msgstr "" " \"all\" inkludera all ovanstående information\n" " \"none\" avaktivera rapporten\n" -#: src/getargs.c:243 +#: src/getargs.c:247 msgid "Report bugs to .\n" msgstr "" "Rapportera fel till .\n" "Rapportera synpunkter på översättningen till .\n" -#: src/getargs.c:260 +#: src/getargs.c:264 #, c-format msgid "bison (GNU Bison) %s" msgstr "bison (GNU Bison) %s" -#: src/getargs.c:262 +#: src/getargs.c:266 msgid "Written by Robert Corbett and Richard Stallman.\n" msgstr "Skriven av Robert Corbett och Richard Stallman.\n" -#: src/getargs.c:266 +#: src/getargs.c:270 #, c-format msgid "Copyright (C) %d Free Software Foundation, Inc.\n" msgstr "Copyright © %d Free Software Foundation, Inc.\n" -#: src/getargs.c:268 +#: src/getargs.c:272 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" @@ -220,25 +213,25 @@ msgstr "" "finns INGEN garanti, inte ens för SÄLJBARHET eller LÄMPLIGHET FÖR ETT\n" "SPECIELLT ÄNDAMÅL.\n" -#: src/getargs.c:423 +#: src/getargs.c:438 #, c-format msgid "missing operand after `%s'" msgstr "saknad operand efter \"%s\"" -#: src/getargs.c:425 +#: src/getargs.c:440 #, c-format msgid "extra operand `%s'" msgstr "extra operand \"%s\"" -#: src/gram.c:142 +#: src/gram.c:139 msgid "empty" msgstr "tom" -#: src/gram.c:236 +#: src/gram.c:233 msgid "Grammar" msgstr "Grammatik" -#: src/gram.c:324 src/reduce.c:393 +#: src/gram.c:321 src/reduce.c:394 msgid "warning" msgstr "varning" @@ -246,68 +239,68 @@ msgstr "varning" msgid "rule never reduced because of conflicts" msgstr "regel aldrig reducerad på grund av konflikter" -#: src/parse-gram.y:336 +#: src/parse-gram.y:338 msgid "POSIX forbids declarations in the grammar" msgstr "POSIX förbjuder deklarationer i grammatiken" -#: src/parse-gram.y:468 +#: src/parse-gram.y:461 msgid "missing identifier in parameter declaration" -msgstr "" +msgstr "identiferare saknas i parameterdeklaration" -#: src/print.c:48 +#: src/print.c:49 #, c-format msgid " type %d is %s\n" msgstr " typ %d är %s\n" -#: src/print.c:164 +#: src/print.c:165 #, c-format msgid "shift, and go to state %d\n" msgstr "skifta, och gå till tillstånd %d\n" -#: src/print.c:166 +#: src/print.c:167 #, c-format msgid "go to state %d\n" msgstr "gå till tillstånd %d\n" -#: src/print.c:203 +#: src/print.c:204 msgid "error (nonassociative)\n" msgstr "fel (ickeassociativ)\n" -#: src/print.c:291 +#: src/print.c:292 #, c-format msgid "reduce using rule %d (%s)" msgstr "reducera med regel %d (%s)" -#: src/print.c:293 +#: src/print.c:294 msgid "accept" msgstr "acceptera" -#: src/print.c:324 src/print.c:390 +#: src/print.c:325 src/print.c:391 msgid "$default" msgstr "$standard" -#: src/print.c:419 +#: src/print.c:420 #, c-format msgid "state %d" msgstr "tillstånd %d" -#: src/print.c:455 +#: src/print.c:456 msgid "Terminals, with rules where they appear" msgstr "Terminaler, med regler där de förekommer" -#: src/print.c:482 +#: src/print.c:483 msgid "Nonterminals, with rules where they appear" msgstr "Icketerminaler, med regler där de förekommer" -#: src/print.c:511 +#: src/print.c:512 msgid " on left:" msgstr " till vänster:" -#: src/print.c:526 +#: src/print.c:527 msgid " on right:" msgstr " till höger:" -#: src/print.c:554 +#: src/print.c:555 msgid "Rules never reduced" msgstr "Aldrig reducerade regler" @@ -354,46 +347,46 @@ msgstr "%s m msgid "no rules in the input grammar" msgstr "inga regler i ingrammatiken" -#: src/reduce.c:241 +#: src/reduce.c:242 msgid "useless rule" msgstr "oanvändbar regel" -#: src/reduce.c:302 -#, fuzzy, c-format +#: src/reduce.c:303 +#, c-format msgid "useless nonterminal: %s" -msgstr "oanvändbar icketerminal" +msgstr "oanvändbar icketerminal: %s" -#: src/reduce.c:350 +#: src/reduce.c:351 msgid "Useless nonterminals" msgstr "Oanvändbara icketerminaler" -#: src/reduce.c:363 +#: src/reduce.c:364 msgid "Terminals which are not used" msgstr "Terminaler som inte används" -#: src/reduce.c:372 +#: src/reduce.c:373 msgid "Useless rules" msgstr "Oanvändbara regler" -#: src/reduce.c:388 +#: src/reduce.c:389 #, c-format 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/reduce.c:396 +#: src/reduce.c:397 #, c-format msgid "%d useless nonterminal" msgid_plural "%d useless nonterminals" msgstr[0] "%d oanvändbar icketerminal" msgstr[1] "%d oanvändbara icketerminaler" -#: src/reduce.c:402 +#: src/reduce.c:403 msgid " and " msgstr " och " -#: src/reduce.c:405 +#: src/reduce.c:406 #, c-format msgid "%d useless rule" msgid_plural "%d useless rules" @@ -405,51 +398,56 @@ msgstr[1] "%d oanv msgid "start symbol %s does not derive any sentence" msgstr "startsymbolen %s genererar inga meningar" -#: src/scan-gram.l:208 +#: src/scan-gram.l:160 +msgid "stray `,' treated as white space" +msgstr "vilsekommet \",\" hanterat som blank" + +#: src/scan-gram.l:220 #, c-format msgid "invalid directive: %s" msgstr "ogiltigt direktiv: %s" -#: src/scan-gram.l:216 -msgid "stray `,' treated as white space" -msgstr "" - -#: src/scan-gram.l:232 src/scan-gram.l:727 src/scan-gram.l:798 +#: src/scan-gram.l:240 src/scan-gram.l:803 src/scan-gram.l:871 #, c-format msgid "integer out of range: %s" msgstr "heltal utanför intervall: %s" -#: src/scan-gram.l:276 +#: src/scan-gram.l:282 #, c-format msgid "invalid character: %s" msgstr "ogiltigt tecken: %s" -#: src/scan-gram.l:400 src/scan-gram.l:410 src/scan-gram.l:429 +#: src/scan-gram.l:411 src/scan-gram.l:421 src/scan-gram.l:440 #, c-format msgid "invalid escape sequence: %s" msgstr "ogiltig specialsekvens: %s" -#: src/scan-gram.l:434 +#: src/scan-gram.l:445 #, c-format msgid "unrecognized escape sequence: %s" msgstr "okänd specialsekvens: %s" -#: src/scan-gram.l:699 +#: src/scan-gram.l:533 +#, c-format +msgid "missing `{' in `%s'" +msgstr "saknad \"{\" i \"%s\"" + +#: src/scan-gram.l:773 #, c-format msgid "$$ of `%s' has no declared type" msgstr "$$ för \"%s\" har ingen deklarerad typ" -#: src/scan-gram.l:718 +#: src/scan-gram.l:794 #, c-format msgid "$%d of `%s' has no declared type" msgstr "$%d för \"%s\" har ingen deklarerad typ" -#: src/scan-gram.l:744 src/scan-gram.l:815 +#: src/scan-gram.l:838 src/scan-gram.l:905 #, c-format msgid "invalid value: %s" msgstr "felaktigt värde: %s" -#: src/scan-gram.l:928 +#: src/scan-gram.l:993 #, c-format msgid "missing `%s' at end of file" msgstr "saknat \"%s\" vid filslut" @@ -500,83 +498,83 @@ msgstr "symbolen \"%s\" anv msgid "symbol `%s' given more than one literal string" msgstr "symbolen \"%s\" har fått mer än en bokstavlig sträng" -#: src/symtab.c:269 +#: src/symtab.c:270 #, c-format msgid "conflicting precedences for %s and %s" msgstr "motstridiga precedenser mellan %s och %s" -#: src/symtab.c:281 +#: src/symtab.c:282 #, c-format msgid "conflicting associativities for %s (%s) and %s (%s)" msgstr "motstridiga associativiteter för %s (%s) och %s (%s)" -#: src/symtab.c:366 +#: src/symtab.c:367 #, c-format msgid "tokens %s and %s both assigned number %d" msgstr "elementen %s och %s har båda fått nummer %d" -#: src/symtab.c:589 +#: src/symtab.c:590 #, c-format msgid "the start symbol %s is undefined" msgstr "startsymbolen %s är odefinierad" -#: src/symtab.c:593 +#: src/symtab.c:594 #, c-format msgid "the start symbol %s is a token" msgstr "startsymbolen %s är ett element" -#: lib/argmatch.c:129 +#: lib/argmatch.c:135 #, c-format msgid "invalid argument %s for %s" msgstr "ogiltigt argument %s till %s" -#: lib/argmatch.c:130 +#: lib/argmatch.c:136 #, c-format msgid "ambiguous argument %s for %s" msgstr "tvetydigt argument %s till %s" -#: lib/argmatch.c:149 +#: lib/argmatch.c:155 msgid "Valid arguments are:" msgstr "Giltiga argument är:" -#: lib/bitset_stats.c:178 +#: lib/bitset_stats.c:179 #, c-format msgid "%u bitset_allocs, %u freed (%.2f%%).\n" msgstr "%u bitmängdallokeringar, %u frianden (%.2f%%).\n" -#: lib/bitset_stats.c:181 +#: lib/bitset_stats.c:182 #, c-format msgid "%u bitset_sets, %u cached (%.2f%%)\n" msgstr "%u bitmängdmängder, %u cachade (%.2f%%)\n" -#: lib/bitset_stats.c:184 +#: lib/bitset_stats.c:185 #, 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 +#: lib/bitset_stats.c:188 #, c-format msgid "%u bitset_tests, %u cached (%.2f%%)\n" msgstr "%u bitmängdtester, %u cachade (%.2f%%)\n" -#: lib/bitset_stats.c:191 +#: lib/bitset_stats.c:192 #, c-format msgid "%u bitset_lists\n" msgstr "%u bitmängdlistor\n" -#: lib/bitset_stats.c:193 +#: lib/bitset_stats.c:194 msgid "count log histogram\n" msgstr "anropslogghistogram\n" -#: lib/bitset_stats.c:196 +#: lib/bitset_stats.c:197 msgid "size log histogram\n" msgstr "storlekslogghistogram\n" -#: lib/bitset_stats.c:199 +#: lib/bitset_stats.c:200 msgid "density histogram\n" msgstr "densitetshistogram\n" -#: lib/bitset_stats.c:213 +#: lib/bitset_stats.c:214 msgid "" "Bitset statistics:\n" "\n" @@ -584,24 +582,24 @@ msgstr "" "Bitmängdsstatistik:\n" "\n" -#: lib/bitset_stats.c:216 +#: lib/bitset_stats.c:217 #, c-format msgid "Accumulated runs = %u\n" msgstr "Ackumulerade körningar = %u\n" -#: lib/bitset_stats.c:260 lib/bitset_stats.c:265 +#: lib/bitset_stats.c:261 lib/bitset_stats.c:266 msgid "Could not read stats file." msgstr "Kunde inte läsa statistikfil." -#: lib/bitset_stats.c:262 +#: lib/bitset_stats.c:263 msgid "Bad stats file size.\n" msgstr "Dålig statistikfilstorlek.\n" -#: lib/bitset_stats.c:288 lib/bitset_stats.c:290 +#: lib/bitset_stats.c:289 lib/bitset_stats.c:291 msgid "Could not write stats file." msgstr "Kunde inte skriva statistikfil." -#: lib/bitset_stats.c:293 +#: lib/bitset_stats.c:294 msgid "Could not open stats file for writing." msgstr "Kunde inte öppna statistikfil för skrivning."