From 6de9413ac31b3b50d712308129e9bfb55d122ff5 Mon Sep 17 00:00:00 2001 From: Martin Geisler Date: Tue, 28 Nov 2023 19:45:24 +0100 Subject: [PATCH] da: translate a number of tiny/trivial messages (#1489) --- po/da.po | 779 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 440 insertions(+), 339 deletions(-) diff --git a/po/da.po b/po/da.po index 35d5dee7..58fdaa4d 100644 --- a/po/da.po +++ b/po/da.po @@ -2068,7 +2068,7 @@ msgstr "" #: src/hello-world/small-example.md:8 src/traits/impl-trait.md:15 msgid "\"{x}\"" -msgstr "" +msgstr "\"{x}\"" #: src/hello-world/small-example.md:8 msgid "// Macro for printing, like printf\n" @@ -2084,7 +2084,7 @@ msgstr "" #: src/hello-world/small-example.md:15 msgid "\" -> {x}\"" -msgstr "" +msgstr "\" -> {x}\"" #: src/hello-world/small-example.md:23 msgid "" @@ -3126,7 +3126,7 @@ msgstr "" #: src/exercises/day-1/for-loops.md:27 msgid "\" {n}\"" -msgstr "" +msgstr "\" {n}\"" #: src/exercises/day-1/for-loops.md:31 msgid "\"Iterating over range:\"" @@ -3134,7 +3134,7 @@ msgstr "" #: src/exercises/day-1/for-loops.md:33 msgid "\" {}\"" -msgstr "" +msgstr "\" {}\"" #: src/exercises/day-1/for-loops.md:39 msgid "" @@ -3170,12 +3170,12 @@ msgstr "" #: src/exercises/day-1/for-loops.md:73 #: src/exercises/day-1/solutions-morning.md:49 msgid "\"matrix:\"" -msgstr "" +msgstr "\"matrix:\"" #: src/exercises/day-1/for-loops.md:77 #: src/exercises/day-1/solutions-morning.md:53 msgid "\"transposed:\"" -msgstr "" +msgstr "\"transponeret:\"" #: src/exercises/day-1/for-loops.md:82 msgid "Bonus Question" @@ -3479,11 +3479,11 @@ msgstr "" #: src/basic-syntax/static-and-const.md:39 msgid "\"Welcome to RustOS 3.14\"" -msgstr "" +msgstr "\"Velkommen til RustOS 3.14\"" #: src/basic-syntax/static-and-const.md:42 msgid "\"{BANNER}\"" -msgstr "" +msgstr "\"{BANNER}\"" #: src/basic-syntax/static-and-const.md:46 msgid "" @@ -3537,30 +3537,30 @@ msgstr "" #: src/basic-syntax/static-and-const.md:66 msgid "Property" -msgstr "" +msgstr "Egenskab" #: src/basic-syntax/static-and-const.md:66 msgid "Static" -msgstr "" +msgstr "Statisk" #: src/basic-syntax/static-and-const.md:66 msgid "Constant" -msgstr "" +msgstr "Konstant" #: src/basic-syntax/static-and-const.md:68 msgid "Has an address in memory" -msgstr "" +msgstr "Har en adresse i hukommelsen" #: src/basic-syntax/static-and-const.md:68 #: src/basic-syntax/static-and-const.md:69 #: src/basic-syntax/static-and-const.md:71 #: src/basic-syntax/static-and-const.md:72 msgid "Yes" -msgstr "" +msgstr "Ja" #: src/basic-syntax/static-and-const.md:68 msgid "No (inlined)" -msgstr "" +msgstr "Nej (inlinet)" #: src/basic-syntax/static-and-const.md:69 msgid "Lives for the entire duration of the program" @@ -3570,7 +3570,7 @@ msgstr "" #: src/basic-syntax/static-and-const.md:70 #: src/basic-syntax/static-and-const.md:72 msgid "No" -msgstr "" +msgstr "Nej" #: src/basic-syntax/static-and-const.md:70 msgid "Can be mutable" @@ -3578,15 +3578,15 @@ msgstr "" #: src/basic-syntax/static-and-const.md:70 msgid "Yes (unsafe)" -msgstr "" +msgstr "Ja (_unsafe_)" #: src/basic-syntax/static-and-const.md:71 msgid "Evaluated at compile time" -msgstr "" +msgstr "Evalueret ved kompileringstid" #: src/basic-syntax/static-and-const.md:71 msgid "Yes (initialised at compile time)" -msgstr "" +msgstr "Ja (initialiseret ved kompileringstid)" #: src/basic-syntax/static-and-const.md:72 msgid "Inlined wherever it is used" @@ -3600,24 +3600,24 @@ msgstr "" #: src/basic-syntax/scopes-shadowing.md:9 msgid "\"before: {a}\"" -msgstr "" +msgstr "\"før: {a}\"" #: src/basic-syntax/scopes-shadowing.md:12 src/traits/from-into.md:7 #: src/traits/from-into.md:19 msgid "\"hello\"" -msgstr "" +msgstr "\"hallo\"" #: src/basic-syntax/scopes-shadowing.md:13 msgid "\"inner scope: {a}\"" -msgstr "" +msgstr "\"indre blok: {a}\"" #: src/basic-syntax/scopes-shadowing.md:16 msgid "\"shadowed in inner scope: {a}\"" -msgstr "" +msgstr "\"overskygget i indre blok: {a}\"" #: src/basic-syntax/scopes-shadowing.md:19 msgid "\"after: {a}\"" -msgstr "" +msgstr "\"efter: {a}\"" #: src/basic-syntax/scopes-shadowing.md:25 msgid "" @@ -3724,7 +3724,7 @@ msgstr "" #: src/enums/variant-payloads.md:24 src/pattern-matching.md:10 msgid "'x'" -msgstr "" +msgstr "'x'" #: src/enums/variant-payloads.md:35 msgid "" @@ -3871,15 +3871,15 @@ msgstr "" #: src/control-flow/novel.md:6 src/control-flow/if-let-expressions.md:1 msgid "`if let` expressions" -msgstr "" +msgstr "`if let`-udtryk" #: src/control-flow/novel.md:7 msgid "`while let` expressions" -msgstr "`while let`\\-udtryk" +msgstr "`while let`-udtryk" #: src/control-flow/novel.md:8 src/control-flow/match-expressions.md:1 msgid "`match` expressions" -msgstr "" +msgstr "`match`-udtryk" #: src/control-flow/if-let-expressions.md:3 msgid "" @@ -3929,7 +3929,7 @@ msgstr "" #: src/control-flow/while-let-expressions.md:1 msgid "`while let` loops" -msgstr "" +msgstr "`while let`-lykker" #: src/control-flow/while-let-expressions.md:3 msgid "" @@ -3968,7 +3968,7 @@ msgstr "" #: src/control-flow/match-expressions.md:10 msgid "\"cat\"" -msgstr "" +msgstr "\"cat\"" #: src/control-flow/match-expressions.md:10 msgid "\"Will do cat things\"" @@ -3976,7 +3976,7 @@ msgstr "" #: src/control-flow/match-expressions.md:11 msgid "\"ls\"" -msgstr "" +msgstr "\"ls\"" #: src/control-flow/match-expressions.md:11 msgid "\"Will ls some files\"" @@ -3984,7 +3984,7 @@ msgstr "" #: src/control-flow/match-expressions.md:12 msgid "\"mv\"" -msgstr "" +msgstr "\"mv\"" #: src/control-flow/match-expressions.md:12 msgid "\"Let's move some files\"" @@ -3992,7 +3992,7 @@ msgstr "" #: src/control-flow/match-expressions.md:13 msgid "\"rm\"" -msgstr "" +msgstr "\"rm\"" #: src/control-flow/match-expressions.md:13 msgid "\"Uh, dangerous!\"" @@ -4049,7 +4049,7 @@ msgstr "" #: src/pattern-matching.md:13 msgid "'q'" -msgstr "" +msgstr "'q'" #: src/pattern-matching.md:13 msgid "\"Quitting\"" @@ -4057,19 +4057,19 @@ msgstr "" #: src/pattern-matching.md:14 msgid "'a'" -msgstr "" +msgstr "'a'" #: src/pattern-matching.md:14 msgid "'s'" -msgstr "" +msgstr "'s'" #: src/pattern-matching.md:14 msgid "'w'" -msgstr "" +msgstr "'w'" #: src/pattern-matching.md:14 msgid "'d'" -msgstr "" +msgstr "'d'" #: src/pattern-matching.md:14 msgid "\"Moving around\"" @@ -4077,11 +4077,11 @@ msgstr "" #: src/pattern-matching.md:15 msgid "'0'" -msgstr "" +msgstr "'0'" #: src/pattern-matching.md:15 msgid "'9'" -msgstr "" +msgstr "'9'" #: src/pattern-matching.md:15 msgid "\"Number input\"" @@ -4178,15 +4178,15 @@ msgstr "" #: src/pattern-matching/destructuring-structs.md:15 msgid "\"x.0 = 1, b = {b}, y = {y}\"" -msgstr "" +msgstr "\"x.0 = 1, b = {b}, y = {y}\"" #: src/pattern-matching/destructuring-structs.md:16 msgid "\"y = 2, x = {i:?}\"" -msgstr "" +msgstr "\"y = 2, x = {i:?}\"" #: src/pattern-matching/destructuring-structs.md:17 msgid "\"y = {y}, other fields were ignored\"" -msgstr "" +msgstr "\"y = {y}, andre felter blev ignoreret\"" #: src/pattern-matching/destructuring-structs.md:23 msgid "Change the literal values in `foo` to match with the other patterns." @@ -4210,7 +4210,7 @@ msgstr "" #: src/pattern-matching/destructuring-arrays.md:9 msgid "\"Tell me about {triple:?}\"" -msgstr "" +msgstr "\"Fortæl mig om {triple:?}\"" #: src/pattern-matching/destructuring-arrays.md:11 #: src/pattern-matching/destructuring-arrays.md:34 @@ -4235,7 +4235,7 @@ msgstr "" #: src/pattern-matching/destructuring-arrays.md:32 msgid "\"Tell me about {slice:?}\"" -msgstr "" +msgstr "\"Fortæl mig om {slice:?}\"" #: src/pattern-matching/destructuring-arrays.md:41 msgid "Create a new pattern using `_` to represent an element. " @@ -4267,7 +4267,7 @@ msgstr "" #: src/pattern-matching/match-guards.md:12 msgid "\"These are twins\"" -msgstr "" +msgstr "\"Disse er tvillinger\"" #: src/pattern-matching/match-guards.md:13 msgid "\"Antimatter, kaboom!\"" @@ -4525,7 +4525,7 @@ msgstr "" #: src/welcome-day-2.md:1 msgid "Welcome to Day 2" -msgstr "" +msgstr "Velkommen til Dag 2" #: src/welcome-day-2.md:3 msgid "Now that we have seen a fair amount of Rust, we will continue with:" @@ -4970,7 +4970,7 @@ msgstr "" #: src/ownership/double-free-modern-cpp.md:6 msgid "\"Cpp\"" -msgstr "" +msgstr "\"Cpp\"" #: src/ownership/double-free-modern-cpp.md:7 msgid "// Duplicate the data in s1.\n" @@ -5310,7 +5310,7 @@ msgstr "" #: src/ownership/lifetimes-data-structures.md:10 msgid "\"Bye {text}!\"" -msgstr "" +msgstr "\"Farvel {text}!\"" #: src/ownership/lifetimes-data-structures.md:14 msgid "\"The quick brown fox jumps over the lazy dog.\"" @@ -5318,15 +5318,15 @@ msgstr "" #: src/ownership/lifetimes-data-structures.md:17 msgid "// erase(text);\n" -msgstr "" +msgstr "// erase(text);\n" #: src/ownership/lifetimes-data-structures.md:18 msgid "\"{fox:?}\"" -msgstr "" +msgstr "\"{fox:?}\"" #: src/ownership/lifetimes-data-structures.md:19 msgid "\"{dog:?}\"" -msgstr "" +msgstr "\"{dog:?}\"" #: src/ownership/lifetimes-data-structures.md:25 msgid "" @@ -5375,7 +5375,7 @@ msgstr "" #: src/structs.md:22 msgid "\"Jackie\"" -msgstr "" +msgstr "\"Jackie\"" #: src/structs.md:33 msgid "Structs work like in C or C++." @@ -5427,7 +5427,7 @@ msgstr "" #: src/structs/tuple-structs.md:10 msgid "\"({}, {})\"" -msgstr "" +msgstr "\"({}, {})\"" #: src/structs/tuple-structs.md:14 msgid "This is often used for single-field wrappers (called newtypes):" @@ -5489,7 +5489,7 @@ msgstr "" #: src/structs/field-shorthand.md:21 msgid "\"{peter:?}\"" -msgstr "" +msgstr "\"{peter:?}\"" #: src/structs/field-shorthand.md:27 msgid "" @@ -5505,11 +5505,11 @@ msgstr "" #: src/structs/field-shorthand.md:52 msgid "\"Bot\"" -msgstr "" +msgstr "\"Bot\"" #: src/structs/field-shorthand.md:62 msgid "\"Sam\"" -msgstr "" +msgstr "\"Sam\"" #: src/structs/field-shorthand.md:68 msgid "Methods are defined in the `impl` block." @@ -5534,7 +5534,7 @@ msgstr "" #: src/methods.md:15 msgid "\"Hello, my name is {}\"" -msgstr "" +msgstr "\"Hej, mit navn er {}\"" #: src/methods.md:31 msgid "It can be helpful to introduce methods by comparing them to functions." @@ -5666,11 +5666,11 @@ msgstr "" #: src/methods/example.md:33 msgid "\"Monaco Grand Prix\"" -msgstr "" +msgstr "\"Monacos Grand Prix\"" #: src/methods/example.md:40 msgid "// race.add_lap(42);\n" -msgstr "" +msgstr "// race.add_lap(42);\n" #: src/methods/example.md:47 msgid "All four methods here use a different method receiver." @@ -5725,11 +5725,11 @@ msgstr "" #: src/exercises/day-2/book-library.md:11 msgid "\"middle value: {}\"" -msgstr "" +msgstr "\"midterste værdi: {}\"" #: src/exercises/day-2/book-library.md:13 msgid "\"item: {item}\"" -msgstr "" +msgstr "\"item: {item}\"" #: src/exercises/day-2/book-library.md:18 msgid "" @@ -5791,7 +5791,7 @@ msgstr "" #: src/exercises/day-2/solutions-morning.md:137 #: src/exercises/day-2/solutions-morning.md:140 msgid "\"Lord of the Rings\"" -msgstr "" +msgstr "\"Ringenes Herre\"" #: src/exercises/day-2/book-library.md:83 #: src/exercises/day-2/solutions-morning.md:83 @@ -5800,7 +5800,7 @@ msgstr "" #: src/exercises/day-2/solutions-morning.md:143 #: src/exercises/day-2/solutions-morning.md:146 msgid "\"Alice's Adventures in Wonderland\"" -msgstr "" +msgstr "\"Alice i Eventyrland\"" #: src/exercises/day-2/book-library.md:86 #: src/exercises/day-2/solutions-morning.md:86 @@ -5887,7 +5887,7 @@ msgstr "" #: src/exercises/day-2/solutions-morning.md:253 #: src/exercises/day-2/solutions-morning.md:259 msgid "\"Bob\"" -msgstr "" +msgstr "\"Bob\"" #: src/exercises/day-2/health-statistics.md:73 #: src/exercises/day-2/solutions-morning.md:234 @@ -5960,7 +5960,7 @@ msgstr "" #: src/std/option-result.md:1 msgid "`Option` and `Result`" -msgstr "" +msgstr "`Option` og `Result`" #: src/std/option-result.md:3 msgid "The types represent optional data:" @@ -6011,23 +6011,23 @@ msgstr "" #: src/std/string.md:9 msgid "\"s1: len = {}, capacity = {}\"" -msgstr "" +msgstr "\"s1: len = {}, capacity = {}\"" #: src/std/string.md:13 msgid "'!'" -msgstr "" +msgstr "'!'" #: src/std/string.md:14 msgid "\"s2: len = {}, capacity = {}\"" -msgstr "" +msgstr "\"s2: len = {}, capacity = {}\"" #: src/std/string.md:16 msgid "\"🇨🇭\"" -msgstr "" +msgstr "\"🇨🇭\"" #: src/std/string.md:17 msgid "\"s3: len = {}, number of chars = {}\"" -msgstr "" +msgstr "\"s3: len = {}, antal tegn = {}\"" #: src/std/string.md:22 msgid "" @@ -6103,7 +6103,7 @@ msgstr "" #: src/std/vec.md:1 msgid "`Vec`" -msgstr "" +msgstr "`Vec`" #: src/std/vec.md:3 msgid "" @@ -6113,11 +6113,11 @@ msgstr "" #: src/std/vec.md:9 msgid "\"v1: len = {}, capacity = {}\"" -msgstr "" +msgstr "\"v1: len = {}, capacity = {}\"" #: src/std/vec.md:14 msgid "\"v2: len = {}, capacity = {}\"" -msgstr "" +msgstr "\"v2: len = {}, capacity = {}\"" #: src/std/vec.md:16 msgid "// Canonical macro to initialize a vector with elements.\n" @@ -6129,7 +6129,7 @@ msgstr "" #: src/std/vec.md:21 src/std/vec.md:25 msgid "\"{v3:?}\"" -msgstr "" +msgstr "\"{v3:?}\"" #: src/std/vec.md:23 msgid "// Remove consecutive duplicates.\n" @@ -6177,7 +6177,7 @@ msgstr "" #: src/std/hashmap.md:1 src/bare-metal/no_std.md:46 msgid "`HashMap`" -msgstr "" +msgstr "`HashMap`" #: src/std/hashmap.md:3 msgid "Standard hash map with protection against HashDoS attacks:" @@ -6185,19 +6185,19 @@ msgstr "" #: src/std/hashmap.md:10 msgid "\"Adventures of Huckleberry Finn\"" -msgstr "" +msgstr "\"Huckleberry Finn\"" #: src/std/hashmap.md:11 msgid "\"Grimms' Fairy Tales\"" -msgstr "" +msgstr "\"Grimms eventyr\"" #: src/std/hashmap.md:12 src/std/hashmap.md:19 src/std/hashmap.md:27 msgid "\"Pride and Prejudice\"" -msgstr "" +msgstr "\"Stolthed og fordom\"" #: src/std/hashmap.md:14 msgid "\"Les Misérables\"" -msgstr "" +msgstr "\"De Elendige\"" #: src/std/hashmap.md:15 msgid "\"We know about {} books, but not Les Misérables.\"" @@ -6205,15 +6205,15 @@ msgstr "" #: src/std/hashmap.md:19 src/std/hashmap.md:27 msgid "\"Alice's Adventure in Wonderland\"" -msgstr "" +msgstr "\"Alice i Eventyrland\"" #: src/std/hashmap.md:21 msgid "\"{book}: {count} pages\"" -msgstr "" +msgstr "\"{book}: {count} sider\"" #: src/std/hashmap.md:22 msgid "\"{book} is unknown.\"" -msgstr "" +msgstr "\"{book} er ukendt.\"" #: src/std/hashmap.md:26 msgid "// Use the .entry() method to insert a value if nothing is found.\n" @@ -6221,7 +6221,7 @@ msgstr "" #: src/std/hashmap.md:32 msgid "\"{page_counts:#?}\"" -msgstr "" +msgstr "\"{page_counts:#?}\"" #: src/std/hashmap.md:38 msgid "" @@ -6237,11 +6237,11 @@ msgstr "" #: src/std/hashmap.md:43 msgid "\"Harry Potter and the Sorcerer's Stone \"" -msgstr "" +msgstr "\"Harry Potter og De Vises Sten\"" #: src/std/hashmap.md:46 src/std/hashmap.md:55 msgid "\"The Hunger Games\"" -msgstr "" +msgstr "\"Dødsspillet\"" #: src/std/hashmap.md:49 msgid "Unlike `vec!`, there is unfortunately no standard `hashmap!` macro." @@ -6288,7 +6288,7 @@ msgstr "" #: src/std/box.md:1 msgid "`Box`" -msgstr "" +msgstr "`Box`" #: src/std/box.md:3 msgid "" @@ -6298,7 +6298,7 @@ msgstr "" #: src/std/box.md:8 msgid "\"five: {}\"" -msgstr "" +msgstr "\"five: {}\"" #: src/std/box.md:26 msgid "" @@ -6347,7 +6347,7 @@ msgstr "" #: src/std/box-recursive.md:14 src/std/box-niche.md:12 msgid "\"{list:?}\"" -msgstr "" +msgstr "\"{list:?}\"" #: src/std/box-recursive.md:18 msgid "" @@ -6457,7 +6457,7 @@ msgstr "" #: src/std/rc.md:1 msgid "`Rc`" -msgstr "" +msgstr "`Rc`" #: src/std/rc.md:3 msgid "" @@ -6468,11 +6468,11 @@ msgstr "" #: src/std/rc.md:13 msgid "\"a: {a}\"" -msgstr "" +msgstr "\"a: {a}\"" #: src/std/rc.md:14 msgid "\"b: {b}\"" -msgstr "" +msgstr "\"b: {b}\"" #: src/std/rc.md:18 msgid "" @@ -6523,7 +6523,7 @@ msgstr "" #: src/std/cell.md:1 msgid "`Cell` and `RefCell`" -msgstr "" +msgstr "`Cell` og `RefCell`" #: src/std/cell.md:3 msgid "" @@ -6820,15 +6820,15 @@ msgstr "" #: src/exercises/day-2/iterators-and-ownership.md:27 msgid "\"v[0]: {:?}\"" -msgstr "" +msgstr "\"v[0]: {:?}\"" #: src/exercises/day-2/iterators-and-ownership.md:28 msgid "\"v[1]: {:?}\"" -msgstr "" +msgstr "\"v[1]: {:?}\"" #: src/exercises/day-2/iterators-and-ownership.md:29 msgid "\"v[2]: {:?}\"" -msgstr "" +msgstr "\"v[2]: {:?}\"" #: src/exercises/day-2/iterators-and-ownership.md:30 msgid "\"No more items: {:?}\"" @@ -6841,7 +6841,7 @@ msgstr "" #: src/exercises/day-2/iterators-and-ownership.md:42 #: src/exercises/day-2/iterators-and-ownership.md:79 msgid "\"v0: {v0:?}\"" -msgstr "" +msgstr "\"v0: {v0:?}\"" #: src/exercises/day-2/iterators-and-ownership.md:46 msgid "Why is this type used?" @@ -6886,7 +6886,7 @@ msgstr "" #: src/exercises/day-2/iterators-and-ownership.md:91 #: src/testing/test-modules.md:21 msgid "\"bar\"" -msgstr "" +msgstr "\"bar\"" #: src/exercises/day-2/iterators-and-ownership.md:83 msgid "`for` Loops" @@ -6902,7 +6902,7 @@ msgstr "" #: src/exercises/day-2/iterators-and-ownership.md:94 #: src/exercises/day-2/iterators-and-ownership.md:98 msgid "\"word: {word}\"" -msgstr "" +msgstr "\"word: {word}\"" #: src/exercises/day-2/iterators-and-ownership.md:103 msgid "What is the type of `word` in each loop?" @@ -6946,32 +6946,32 @@ msgstr "" #: src/exercises/day-2/solutions-afternoon.md:38 #: src/exercises/day-2/solutions-afternoon.md:56 msgid "\"/v1/publishers\"" -msgstr "" +msgstr "\"/v1/publishers\"" #: src/exercises/day-2/strings-iterators.md:23 #: src/exercises/day-2/solutions-afternoon.md:33 msgid "\"/v1/publishers/abc-123\"" -msgstr "" +msgstr "\"/v1/publishers/abc-123\"" #: src/exercises/day-2/strings-iterators.md:24 #: src/exercises/day-2/solutions-afternoon.md:34 msgid "\"/v1/publishers/abc/books\"" -msgstr "" +msgstr "\"/v1/publishers/abc/books\"" #: src/exercises/day-2/strings-iterators.md:26 #: src/exercises/day-2/solutions-afternoon.md:36 msgid "\"/v1\"" -msgstr "" +msgstr "\"/v1\"" #: src/exercises/day-2/strings-iterators.md:27 #: src/exercises/day-2/solutions-afternoon.md:37 msgid "\"/v1/publishersBooks\"" -msgstr "" +msgstr "\"/v1/publishersBooks\"" #: src/exercises/day-2/strings-iterators.md:28 #: src/exercises/day-2/solutions-afternoon.md:38 msgid "\"/v1/parent/publishers\"" -msgstr "" +msgstr "\"/v1/parent/publishers\"" #: src/exercises/day-2/strings-iterators.md:34 #: src/exercises/day-2/strings-iterators.md:38 @@ -6984,31 +6984,31 @@ msgstr "" #: src/exercises/day-2/solutions-afternoon.md:56 #: src/exercises/day-2/solutions-afternoon.md:58 msgid "\"/v1/publishers/*/books\"" -msgstr "" +msgstr "\"/v1/publishers/*/books\"" #: src/exercises/day-2/strings-iterators.md:35 #: src/exercises/day-2/solutions-afternoon.md:45 msgid "\"/v1/publishers/foo/books\"" -msgstr "" +msgstr "\"/v1/publishers/foo/books\"" #: src/exercises/day-2/strings-iterators.md:39 #: src/exercises/day-2/solutions-afternoon.md:49 msgid "\"/v1/publishers/bar/books\"" -msgstr "" +msgstr "\"/v1/publishers/bar/books\"" #: src/exercises/day-2/strings-iterators.md:43 #: src/exercises/day-2/solutions-afternoon.md:53 msgid "\"/v1/publishers/foo/books/book1\"" -msgstr "" +msgstr "\"/v1/publishers/foo/books/book1\"" #: src/exercises/day-2/strings-iterators.md:49 #: src/exercises/day-2/solutions-afternoon.md:59 msgid "\"/v1/publishers/foo/booksByAuthor\"" -msgstr "" +msgstr "\"/v1/publishers/foo/booksByAuthor\"" #: src/welcome-day-3.md:1 msgid "Welcome to Day 3" -msgstr "" +msgstr "Velkommen til Dag 3" #: src/welcome-day-3.md:3 msgid "Today, we will cover some more advanced topics of Rust:" @@ -7052,7 +7052,7 @@ msgstr "" #: src/generics/data-types.md:15 msgid "\"{integer:?} and {float:?}\"" -msgstr "" +msgstr "\"{integer:?} og {float:?}\"" #: src/generics/data-types.md:21 msgid "Try declaring a new variable `let p = Point { x: 5, y: 10.0 };`." @@ -7068,15 +7068,15 @@ msgstr "" #: src/generics/methods.md:11 msgid "// + 10\n" -msgstr "" +msgstr "// + 10\n" #: src/generics/methods.md:14 msgid "// fn set_x(&mut self, x: T)\n" -msgstr "" +msgstr "// fn set_x(&mut self, x: T)\n" #: src/generics/methods.md:19 msgid "\"p.x = {}\"" -msgstr "" +msgstr "\"p.x = {}\"" #: src/generics/methods.md:25 msgid "" @@ -7137,7 +7137,7 @@ msgstr "" #: src/traits.md:33 src/traits/trait-objects.md:31 msgid "\"Fido\"" -msgstr "" +msgstr "\"Fido\"" #: src/traits/trait-objects.md:3 msgid "" @@ -7147,7 +7147,7 @@ msgstr "" #: src/traits/trait-objects.md:34 msgid "\"Hello {}!\"" -msgstr "" +msgstr "\"Hallo {}!\"" #: src/traits/trait-objects.md:40 msgid "Memory layout after allocating `pets`:" @@ -7280,14 +7280,14 @@ msgstr "" #: src/traits/trait-objects.md:77 src/traits/trait-objects.md:78 #: src/traits/closures.md:54 msgid "\"{} {}\"" -msgstr "" +msgstr "\"{} {}\"" #: src/traits/trait-objects.md:79 src/traits/trait-objects.md:80 #: src/testing/test-modules.md:12 src/android/build-rules/library.md:44 #: src/async/pitfalls/cancellation.md:59 #: src/exercises/day-3/solutions-morning.md:130 msgid "\"{}\"" -msgstr "" +msgstr "\"{}\"" #: src/traits/deriving-traits.md:3 msgid "" @@ -7319,11 +7319,11 @@ msgstr "" #: src/traits/default-methods.md:25 msgid "\"{a:?} equals {b:?}: {}\"" -msgstr "" +msgstr "\"{a:?} er lig {b:?}: {}\"" #: src/traits/default-methods.md:26 msgid "\"{a:?} not_equals {b:?}: {}\"" -msgstr "" +msgstr "\"{a:?} er ikke lig {b:?}: {}\"" #: src/traits/default-methods.md:32 msgid "" @@ -7368,19 +7368,19 @@ msgstr "" #: src/traits/trait-bounds.md:18 msgid "// struct NotClonable;\n" -msgstr "" +msgstr "// struct NotClonable;\n" #: src/traits/trait-bounds.md:24 msgid "\"{pair:?}\"" -msgstr "" +msgstr "\"{pair:?}\"" #: src/traits/trait-bounds.md:27 msgid "\"{many}\"" -msgstr "" +msgstr "\"{many}\"" #: src/traits/trait-bounds.md:29 msgid "\"{many_more}\"" -msgstr "" +msgstr "\"{many_more}\"" #: src/traits/trait-bounds.md:35 msgid "Show a `where` clause, students will encounter it when reading code." @@ -7402,7 +7402,7 @@ msgstr "" #: src/traits/impl-trait.md:1 msgid "`impl Trait`" -msgstr "" +msgstr "`impl Trait`" #: src/traits/impl-trait.md:3 msgid "" @@ -7500,7 +7500,7 @@ msgstr "" #: src/traits/iterator.md:1 msgid "Iterators" -msgstr "" +msgstr "Iteratorer" #: src/traits/iterator.md:3 msgid "" @@ -7510,7 +7510,7 @@ msgstr "" #: src/traits/iterator.md:25 msgid "\"fib({i}): {n}\"" -msgstr "" +msgstr "\"fib({i}): {n}\"" #: src/traits/iterator.md:32 msgid "" @@ -7550,7 +7550,7 @@ msgstr "" #: src/traits/from-into.md:1 msgid "`From` and `Into`" -msgstr "" +msgstr "`From` og `Into`" #: src/traits/from-into.md:3 msgid "" @@ -7561,7 +7561,7 @@ msgstr "" #: src/traits/from-into.md:11 src/traits/from-into.md:23 msgid "\"{s}, {addr}, {one}, {bigger}\"" -msgstr "" +msgstr "\"{s}, {addr}, {one}, {bigger}\"" #: src/traits/from-into.md:15 msgid "" @@ -7586,7 +7586,7 @@ msgstr "" #: src/traits/read-write.md:1 msgid "`Read` and `Write`" -msgstr "" +msgstr "`Read` og `Write`" #: src/traits/read-write.md:3 msgid "" @@ -7597,15 +7597,15 @@ msgstr "" #: src/traits/read-write.md:14 msgid "b\"foo\\nbar\\nbaz\\n\"" -msgstr "" +msgstr "b\"foo\\nbar\\nbaz\\n\"" #: src/traits/read-write.md:15 msgid "\"lines in slice: {}\"" -msgstr "" +msgstr "\"linjer i slice: {}\"" #: src/traits/read-write.md:18 msgid "\"lines in file: {}\"" -msgstr "" +msgstr "\"linjer i file: {}\"" #: src/traits/read-write.md:23 msgid "" @@ -7615,7 +7615,7 @@ msgstr "" #: src/traits/read-write.md:30 msgid "\"\\n\"" -msgstr "" +msgstr "\"\\n\"" #: src/traits/read-write.md:37 msgid "\"Logged: {:?}\"" @@ -7633,25 +7633,25 @@ msgstr "" #: src/traits/drop.md:12 msgid "\"Dropping {}\"" -msgstr "" +msgstr "\"Dropper {}\"" #: src/traits/drop.md:17 src/exercises/concurrency/link-checker.md:92 #: src/exercises/day-1/solutions-morning.md:86 #: src/exercises/concurrency/solutions-morning.md:123 msgid "\"a\"" -msgstr "" +msgstr "\"a\"" #: src/traits/drop.md:19 src/exercises/day-1/solutions-morning.md:86 msgid "\"b\"" -msgstr "" +msgstr "\"b\"" #: src/traits/drop.md:21 src/exercises/day-1/solutions-morning.md:86 msgid "\"c\"" -msgstr "" +msgstr "\"c\"" #: src/traits/drop.md:22 src/exercises/day-1/solutions-morning.md:86 msgid "\"d\"" -msgstr "" +msgstr "\"d\"" #: src/traits/drop.md:23 msgid "\"Exiting block B\"" @@ -7728,15 +7728,15 @@ msgstr "" #: src/traits/default.md:18 msgid "\"John Smith\"" -msgstr "" +msgstr "\"John Smith\"" #: src/traits/default.md:24 msgid "\"{default_struct:#?}\"" -msgstr "" +msgstr "\"{default_struct:#?}\"" #: src/traits/default.md:27 msgid "\"Y is set!\"" -msgstr "" +msgstr "\"Y er sat!\"" #: src/traits/default.md:30 msgid "\"{almost_default_struct:#?}\"" @@ -7744,7 +7744,7 @@ msgstr "" #: src/traits/default.md:33 msgid "\"{:#?}\"" -msgstr "" +msgstr "\"{:#?}\"" #: src/traits/default.md:40 msgid "" @@ -7786,7 +7786,7 @@ msgstr "" #: src/traits/operators.md:1 msgid "`Add`, `Mul`, ..." -msgstr "" +msgstr "`Add`, `Mul`, ..." #: src/traits/operators.md:3 msgid "" @@ -7796,7 +7796,7 @@ msgstr "" #: src/traits/operators.md:20 msgid "\"{:?} + {:?} = {:?}\"" -msgstr "" +msgstr "\"{:?} + {:?} = {:?}\"" #: src/traits/operators.md:28 msgid "" @@ -7847,15 +7847,15 @@ msgstr "" #: src/traits/closures.md:16 src/traits/closures.md:17 msgid "\"add_3: {}\"" -msgstr "" +msgstr "\"add_3: {}\"" #: src/traits/closures.md:24 src/traits/closures.md:25 msgid "\"accumulate: {}\"" -msgstr "" +msgstr "\"accumulate: {}\"" #: src/traits/closures.md:28 msgid "\"multiply_sum: {}\"" -msgstr "" +msgstr "\"multiply_sum: {}\"" #: src/traits/closures.md:34 msgid "" @@ -7897,11 +7897,11 @@ msgstr "" #: src/traits/closures.md:58 msgid "\"Hi\"" -msgstr "" +msgstr "\"Hej\"" #: src/traits/closures.md:59 msgid "\"there\"" -msgstr "" +msgstr "\"der\"" #: src/exercises/day-3/morning.md:1 msgid "Day 3: Morning Exercises" @@ -7969,7 +7969,7 @@ msgstr "" #: src/exercises/day-3/simple-gui.md:33 #: src/exercises/day-3/solutions-morning.md:19 msgid "\"{buffer}\"" -msgstr "" +msgstr "\"{buffer}\"" #: src/exercises/day-3/simple-gui.md:120 #: src/exercises/day-3/solutions-morning.md:135 @@ -8084,7 +8084,7 @@ msgstr "" #: src/error-handling/panics.md:8 msgid "\"v[100]: {}\"" -msgstr "" +msgstr "\"v[100]: {}\"" #: src/error-handling/panics.md:12 msgid "Panics are for unrecoverable and unexpected errors." @@ -8111,11 +8111,11 @@ msgstr "" #: src/error-handling/panic-unwind.md:10 msgid "\"hello!\"" -msgstr "" +msgstr "\"hallo!\"" #: src/error-handling/panic-unwind.md:15 msgid "\"oh no!\"" -msgstr "" +msgstr "\"åh nej!\"" #: src/error-handling/panic-unwind.md:21 msgid "" @@ -8139,11 +8139,11 @@ msgstr "" #: src/error-handling/result.md:11 msgid "\"diary.txt\"" -msgstr "" +msgstr "\"dagbog.txt\"" #: src/error-handling/result.md:16 msgid "\"Dear diary: {contents}\"" -msgstr "" +msgstr "\"Kære dagbog: {contents}\"" #: src/error-handling/result.md:19 msgid "\"The diary could not be opened: {err}\"" @@ -8184,7 +8184,7 @@ msgstr "" #: src/error-handling/try-operator.md:40 msgid "//fs::write(\"config.dat\", \"alice\").unwrap();\n" -msgstr "" +msgstr "//fs::write(\"config.dat\", \"alice\").unwrap();\n" #: src/error-handling/try-operator.md:41 #: src/error-handling/converting-error-types-example.md:43 @@ -8192,7 +8192,7 @@ msgstr "" #: src/error-handling/dynamic-errors.md:27 #: src/error-handling/error-contexts.md:26 msgid "\"config.dat\"" -msgstr "" +msgstr "\"config.dat\"" #: src/error-handling/try-operator.md:42 #: src/error-handling/converting-error-types-example.md:44 @@ -8247,7 +8247,7 @@ msgstr "" #: src/error-handling/converting-error-types-example.md:20 msgid "\"IO error: {e}\"" -msgstr "" +msgstr "\"IO-fejl: {e}\"" #: src/error-handling/converting-error-types-example.md:21 msgid "\"Found no username in {filename}\"" @@ -8258,7 +8258,7 @@ msgstr "" #: src/error-handling/dynamic-errors.md:26 #: src/error-handling/error-contexts.md:25 msgid "//fs::write(\"config.dat\", \"\").unwrap();\n" -msgstr "" +msgstr "//fs::write(\"config.dat\", \"\").unwrap();\n" #: src/error-handling/converting-error-types-example.md:55 msgid "" @@ -8299,7 +8299,7 @@ msgstr "" #: src/error-handling/deriving-error-enums.md:32 #: src/error-handling/dynamic-errors.md:29 msgid "\"Error: {err}\"" -msgstr "" +msgstr "\"Fejl: {err}\"" #: src/error-handling/deriving-error-enums.md:39 msgid "" @@ -8349,7 +8349,7 @@ msgstr "" #: src/error-handling/error-contexts.md:28 msgid "\"Error: {err:?}\"" -msgstr "" +msgstr "\"Fejl: {err:?}\"" #: src/error-handling/error-contexts.md:35 msgid "`anyhow::Result` is a type alias for `Result`." @@ -8392,7 +8392,7 @@ msgstr "" #: src/testing/unit-tests.md:25 msgid "\"Hello World\"" -msgstr "" +msgstr "\"Hej verden\"" #: src/testing/unit-tests.md:29 msgid "Use `cargo test` to find and run the unit tests." @@ -8406,11 +8406,11 @@ msgstr "" #: src/testing/test-modules.md:8 msgid "\"{a} {b}\"" -msgstr "" +msgstr "\"{a} {b}\"" #: src/testing/test-modules.md:21 msgid "\"foo bar\"" -msgstr "" +msgstr "\"foo bar\"" #: src/testing/test-modules.md:26 msgid "This lets you unit test private helpers." @@ -8570,11 +8570,11 @@ msgstr "" #: src/unsafe/raw-pointers.md:18 msgid "\"r1 is: {}\"" -msgstr "" +msgstr "\"r1 er: {}\"" #: src/unsafe/raw-pointers.md:20 msgid "\"r2 is: {}\"" -msgstr "" +msgstr "\"r2 er: {}\"" #: src/unsafe/raw-pointers.md:27 msgid "" @@ -8623,11 +8623,11 @@ msgstr "" #: src/unsafe/mutable-static-variables.md:6 msgid "\"Hello, world!\"" -msgstr "" +msgstr "\"Hej verden!\"" #: src/unsafe/mutable-static-variables.md:9 msgid "\"HELLO_WORLD: {HELLO_WORLD}\"" -msgstr "" +msgstr "\"HELLO_WORLD: {HELLO_WORLD}\"" #: src/unsafe/mutable-static-variables.md:13 msgid "" @@ -8642,7 +8642,7 @@ msgstr "" #: src/unsafe/mutable-static-variables.md:26 msgid "\"COUNTER: {COUNTER}\"" -msgstr "" +msgstr "\"COUNTER: {COUNTER}\"" #: src/unsafe/mutable-static-variables.md:32 msgid "" @@ -8657,11 +8657,11 @@ msgstr "" #: src/unsafe/unions.md:14 msgid "\"int: {}\"" -msgstr "" +msgstr "\"int: {}\"" #: src/unsafe/unions.md:15 msgid "\"bool: {}\"" -msgstr "" +msgstr "\"bool: {}\"" #: src/unsafe/unions.md:15 msgid "// Undefined behavior!\n" @@ -8689,7 +8689,7 @@ msgstr "" #: src/unsafe/calling-unsafe-functions.md:8 msgid "\"🗻∈🌏\"" -msgstr "" +msgstr "\"🗻∈🌏\"" #: src/unsafe/calling-unsafe-functions.md:10 msgid "" @@ -8701,7 +8701,7 @@ msgstr "" #: src/unsafe/calling-unsafe-functions.md:14 #: src/unsafe/calling-unsafe-functions.md:15 msgid "\"emoji: {}\"" -msgstr "" +msgstr "\"emoji: {}\"" #: src/unsafe/calling-unsafe-functions.md:18 msgid "\"char count: {}\"" @@ -8913,7 +8913,7 @@ msgstr "" #: src/exercises/day-3/safe-ffi-wrapper.md:18 msgid "UTF-8" -msgstr "" +msgstr "UTF-8" #: src/exercises/day-3/safe-ffi-wrapper.md:18 msgid "Text processing in Rust" @@ -9008,7 +9008,7 @@ msgstr "" #: src/exercises/day-3/solutions-afternoon.md:48 #: src/exercises/day-3/solutions-afternoon.md:56 msgid "\"macos\"" -msgstr "" +msgstr "\"macos\"" #: src/exercises/day-3/safe-ffi-wrapper.md:57 #: src/exercises/day-3/solutions-afternoon.md:13 @@ -9033,7 +9033,7 @@ msgstr "" #: src/exercises/day-3/solutions-afternoon.md:48 #: src/exercises/day-3/solutions-afternoon.md:56 msgid "\"x86_64\"" -msgstr "" +msgstr "\"x86_64\"" #: src/exercises/day-3/safe-ffi-wrapper.md:95 #: src/exercises/day-3/solutions-afternoon.md:51 @@ -9050,7 +9050,7 @@ msgstr "" #: src/exercises/day-3/safe-ffi-wrapper.md:101 #: src/exercises/day-3/solutions-afternoon.md:57 msgid "\"readdir$INODE64\"" -msgstr "" +msgstr "\"readdir$INODE64\"" #: src/exercises/day-3/safe-ffi-wrapper.md:119 #: src/exercises/day-3/solutions-afternoon.md:75 @@ -9074,7 +9074,7 @@ msgstr "" #: src/exercises/day-3/solutions-afternoon.md:143 #: src/exercises/day-3/solutions-afternoon.md:158 msgid "\".\"" -msgstr "" +msgstr "\".\"" #: src/exercises/day-3/safe-ffi-wrapper.md:142 #: src/exercises/day-3/solutions-afternoon.md:120 @@ -9126,7 +9126,7 @@ msgstr "" #: src/android/build-rules.md:7 msgid "`rust_binary`" -msgstr "" +msgstr "`rust_binary`" #: src/android/build-rules.md:7 msgid "Produces a Rust binary." @@ -9134,7 +9134,7 @@ msgstr "" #: src/android/build-rules.md:8 msgid "`rust_library`" -msgstr "" +msgstr "`rust_library`" #: src/android/build-rules.md:8 msgid "Produces a Rust library, and provides both `rlib` and `dylib` variants." @@ -9142,7 +9142,7 @@ msgstr "" #: src/android/build-rules.md:9 msgid "`rust_ffi`" -msgstr "" +msgstr "`rust_ffi`" #: src/android/build-rules.md:9 msgid "" @@ -9152,7 +9152,7 @@ msgstr "" #: src/android/build-rules.md:10 msgid "`rust_proc_macro`" -msgstr "" +msgstr "`rust_proc_macro`" #: src/android/build-rules.md:10 msgid "" @@ -9162,7 +9162,7 @@ msgstr "" #: src/android/build-rules.md:11 msgid "`rust_test`" -msgstr "" +msgstr "`rust_test`" #: src/android/build-rules.md:11 msgid "Produces a Rust test binary that uses the standard Rust test harness." @@ -9170,7 +9170,7 @@ msgstr "" #: src/android/build-rules.md:12 msgid "`rust_fuzz`" -msgstr "" +msgstr "`rust_fuzz`" #: src/android/build-rules.md:12 msgid "Produces a Rust fuzz binary leveraging `libfuzzer`." @@ -9178,7 +9178,7 @@ msgstr "" #: src/android/build-rules.md:13 msgid "`rust_protobuf`" -msgstr "" +msgstr "`rust_protobuf`" #: src/android/build-rules.md:13 msgid "" @@ -9188,7 +9188,7 @@ msgstr "" #: src/android/build-rules.md:14 msgid "`rust_bindgen`" -msgstr "" +msgstr "`rust_bindgen`" #: src/android/build-rules.md:14 msgid "" @@ -9212,20 +9212,20 @@ msgstr "" #: src/android/build-rules/binary.md:6 src/android/build-rules/library.md:13 msgid "_hello_rust/Android.bp_:" -msgstr "" +msgstr "_hello_rust/Android.bp_:" #: src/android/build-rules/binary.md:10 src/android/build-rules/binary.md:11 msgid "\"hello_rust\"" -msgstr "" +msgstr "\"hello_rust\"" #: src/android/build-rules/binary.md:12 src/android/build-rules/library.md:19 #: src/android/logging.md:12 msgid "\"src/main.rs\"" -msgstr "" +msgstr "\"src/main.rs\"" #: src/android/build-rules/binary.md:16 src/android/build-rules/library.md:34 msgid "_hello_rust/src/main.rs_:" -msgstr "" +msgstr "_hello_rust/src/main.rs_:" #: src/android/build-rules/binary.md:19 src/android/build-rules/library.md:37 msgid "//! Rust demo.\n" @@ -9251,6 +9251,11 @@ msgid "" "adb shell /data/local/tmp/hello_rust\n" "```" msgstr "" +"```shell\n" +"m hello_rust\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/hello_rust /data/local/tmp\"\n" +"adb shell /data/local/tmp/hello_rust\n" +"```" #: src/android/build-rules/library.md:1 msgid "Rust Libraries" @@ -9277,28 +9282,28 @@ msgstr "" #: src/android/build-rules/library.md:17 src/android/build-rules/library.md:18 msgid "\"hello_rust_with_dep\"" -msgstr "" +msgstr "\"hello_rust_with_dep\"" #: src/android/build-rules/library.md:21 src/android/build-rules/library.md:28 msgid "\"libgreetings\"" -msgstr "" +msgstr "\"libgreetings\"" #: src/android/build-rules/library.md:22 msgid "\"libtextwrap\"" -msgstr "" +msgstr "\"libtextwrap\"" #: src/android/build-rules/library.md:29 msgid "\"greetings\"" -msgstr "" +msgstr "\"greetings\"" #: src/android/build-rules/library.md:30 src/android/aidl/implementation.md:31 #: src/android/interoperability/java.md:38 msgid "\"src/lib.rs\"" -msgstr "" +msgstr "\"src/lib.rs\"" #: src/android/build-rules/library.md:48 msgid "_hello_rust/src/lib.rs_:" -msgstr "" +msgstr "_hello_rust/src/lib.rs_:" #: src/android/build-rules/library.md:51 msgid "//! Greeting library.\n" @@ -9325,6 +9330,12 @@ msgid "" "adb shell /data/local/tmp/hello_rust_with_dep\n" "```" msgstr "" +"```shell\n" +"m hello_rust_with_dep\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/hello_rust_with_dep /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/hello_rust_with_dep\n" +"```" #: src/android/aidl.md:3 msgid "" @@ -9352,18 +9363,19 @@ msgstr "" msgid "" "_birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:" msgstr "" +"_birthday_service/aidl/com/example/birthdayservice/IBirthdayService.aidl_:" #: src/android/aidl/interface.md:17 msgid "_birthday_service/aidl/Android.bp_:" -msgstr "" +msgstr "_birthday_service/aidl/Android.bp_:" #: src/android/aidl/interface.md:21 msgid "\"com.example.birthdayservice\"" -msgstr "" +msgstr "\"com.example.birthdayservice\"" #: src/android/aidl/interface.md:22 msgid "\"com/example/birthdayservice/*.aidl\"" -msgstr "" +msgstr "\"com/example/birthdayservice/*.aidl\"" #: src/android/aidl/interface.md:25 msgid "// Rust is not enabled by default\n" @@ -9385,7 +9397,7 @@ msgstr "" #: src/android/aidl/implementation.md:5 msgid "_birthday_service/src/lib.rs_:" -msgstr "" +msgstr "_birthday_service/src/lib.rs_:" #: src/android/aidl/implementation.md:8 msgid "//! Implementation of the `IBirthdayService` AIDL interface.\n" @@ -9402,26 +9414,26 @@ msgstr "" #: src/android/aidl/implementation.md:26 src/android/aidl/server.md:28 #: src/android/aidl/client.md:37 msgid "_birthday_service/Android.bp_:" -msgstr "" +msgstr "_birthday_service/Android.bp_:" #: src/android/aidl/implementation.md:30 src/android/aidl/server.md:38 msgid "\"libbirthdayservice\"" -msgstr "" +msgstr "\"libbirthdayservice\"" #: src/android/aidl/implementation.md:32 src/android/aidl/server.md:13 #: src/android/aidl/client.md:12 msgid "\"birthdayservice\"" -msgstr "" +msgstr "\"birthdayservice\"" #: src/android/aidl/implementation.md:34 src/android/aidl/server.md:36 #: src/android/aidl/client.md:45 msgid "\"com.example.birthdayservice-rust\"" -msgstr "" +msgstr "\"com.example.birthdayservice-rust\"" #: src/android/aidl/implementation.md:35 src/android/aidl/server.md:37 #: src/android/aidl/client.md:46 msgid "\"libbinder_rs\"" -msgstr "" +msgstr "\"libbinder_rs\"" #: src/android/aidl/server.md:1 msgid "AIDL Server" @@ -9433,7 +9445,7 @@ msgstr "" #: src/android/aidl/server.md:5 msgid "_birthday_service/src/server.rs_:" -msgstr "" +msgstr "_birthday_service/src/server.rs_:" #: src/android/aidl/server.md:8 src/android/aidl/client.md:8 msgid "//! Birthday service.\n" @@ -9449,11 +9461,11 @@ msgstr "" #: src/android/aidl/server.md:32 src/android/aidl/server.md:33 msgid "\"birthday_server\"" -msgstr "" +msgstr "\"birthday_server\"" #: src/android/aidl/server.md:34 msgid "\"src/server.rs\"" -msgstr "" +msgstr "\"src/server.rs\"" #: src/android/aidl/deploy.md:3 msgid "We can now build, push, and start the service:" @@ -9468,6 +9480,12 @@ msgid "" "adb shell /data/local/tmp/birthday_server\n" "```" msgstr "" +"```shell\n" +"m birthday_server\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/birthday_server /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/birthday_server\n" +"```" #: src/android/aidl/deploy.md:11 msgid "In another terminal, check that the service runs:" @@ -9487,7 +9505,7 @@ msgstr "" #: src/android/aidl/client.md:5 msgid "_birthday_service/src/client.rs_:" -msgstr "" +msgstr "_birthday_service/src/client.rs_:" #: src/android/aidl/client.md:13 msgid "/// Connect to the BirthdayService.\n" @@ -9503,15 +9521,15 @@ msgstr "" #: src/android/aidl/client.md:32 msgid "\"{msg}\"" -msgstr "" +msgstr "\"{msg}\"" #: src/android/aidl/client.md:41 src/android/aidl/client.md:42 msgid "\"birthday_client\"" -msgstr "" +msgstr "\"birthday_client\"" #: src/android/aidl/client.md:43 msgid "\"src/client.rs\"" -msgstr "" +msgstr "\"src/client.rs\"" #: src/android/aidl/client.md:52 msgid "Notice that the client does not depend on `libbirthdayservice`." @@ -9530,6 +9548,12 @@ msgid "" "adb shell /data/local/tmp/birthday_client Charlie 60\n" "```" msgstr "" +"```shell\n" +"m birthday_client\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/birthday_client /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/birthday_client Charlie 60\n" +"```" #: src/android/aidl/changing.md:3 msgid "" @@ -9545,23 +9569,23 @@ msgstr "" #: src/android/logging.md:6 msgid "_hello_rust_logs/Android.bp_:" -msgstr "" +msgstr "_hello_rust_logs/Android.bp_:" #: src/android/logging.md:10 src/android/logging.md:11 msgid "\"hello_rust_logs\"" -msgstr "" +msgstr "\"hello_rust_logs\"" #: src/android/logging.md:14 msgid "\"liblog_rust\"" -msgstr "" +msgstr "\"liblog_rust\"" #: src/android/logging.md:15 msgid "\"liblogger\"" -msgstr "" +msgstr "\"liblogger\"" #: src/android/logging.md:22 msgid "_hello_rust_logs/src/main.rs_:" -msgstr "" +msgstr "_hello_rust_logs/src/main.rs_:" #: src/android/logging.md:25 msgid "//! Rust logging demo.\n" @@ -9573,7 +9597,7 @@ msgstr "" #: src/android/logging.md:33 msgid "\"rust\"" -msgstr "" +msgstr "\"rust\"" #: src/android/logging.md:36 msgid "\"Starting program.\"" @@ -9601,6 +9625,12 @@ msgid "" "adb shell /data/local/tmp/hello_rust_logs\n" "```" msgstr "" +"```shell\n" +"m hello_rust_logs\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/hello_rust_logs /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/hello_rust_logs\n" +"```" #: src/android/logging.md:50 msgid "The logs show up in `adb logcat`:" @@ -9676,25 +9706,25 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:8 msgid "_interoperability/bindgen/libbirthday.h_:" -msgstr "" +msgstr "_interoperability/bindgen/libbirthday.h_:" #: src/android/interoperability/with-c/bindgen.md:19 msgid "_interoperability/bindgen/libbirthday.c_:" -msgstr "" +msgstr "_interoperability/bindgen/libbirthday.c_:" #: src/android/interoperability/with-c/bindgen.md:22 msgid "" -msgstr "" +msgstr "" #: src/android/interoperability/with-c/bindgen.md:23 #: src/android/interoperability/with-c/bindgen.md:50 msgid "\"libbirthday.h\"" -msgstr "" +msgstr "\"libbirthday.h\"" #: src/android/interoperability/with-c/bindgen.md:26 #: src/android/interoperability/with-c/bindgen.md:29 msgid "\"+--------------\\n\"" -msgstr "" +msgstr "\"+--------------\\n\"" #: src/android/interoperability/with-c/bindgen.md:27 msgid "\"| Happy Birthday %s!\\n\"" @@ -9713,16 +9743,16 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:69 #: src/android/interoperability/with-c/bindgen.md:108 msgid "_interoperability/bindgen/Android.bp_:" -msgstr "" +msgstr "_interoperability/bindgen/Android.bp_:" #: src/android/interoperability/with-c/bindgen.md:39 #: src/android/interoperability/with-c/bindgen.md:63 msgid "\"libbirthday\"" -msgstr "" +msgstr "\"libbirthday\"" #: src/android/interoperability/with-c/bindgen.md:40 msgid "\"libbirthday.c\"" -msgstr "" +msgstr "\"libbirthday.c\"" #: src/android/interoperability/with-c/bindgen.md:44 msgid "" @@ -9732,7 +9762,7 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:47 msgid "_interoperability/bindgen/libbirthday_wrapper.h_:" -msgstr "" +msgstr "_interoperability/bindgen/libbirthday_wrapper.h_:" #: src/android/interoperability/with-c/bindgen.md:53 msgid "You can now auto-generate the bindings:" @@ -9741,19 +9771,19 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:59 #: src/android/interoperability/with-c/bindgen.md:75 msgid "\"libbirthday_bindgen\"" -msgstr "" +msgstr "\"libbirthday_bindgen\"" #: src/android/interoperability/with-c/bindgen.md:60 msgid "\"birthday_bindgen\"" -msgstr "" +msgstr "\"birthday_bindgen\"" #: src/android/interoperability/with-c/bindgen.md:61 msgid "\"libbirthday_wrapper.h\"" -msgstr "" +msgstr "\"libbirthday_wrapper.h\"" #: src/android/interoperability/with-c/bindgen.md:62 msgid "\"bindings\"" -msgstr "" +msgstr "\"bindings\"" #: src/android/interoperability/with-c/bindgen.md:67 msgid "Finally, we can use the bindings in our Rust program:" @@ -9761,19 +9791,19 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:73 msgid "\"print_birthday_card\"" -msgstr "" +msgstr "\"print_birthday_card\"" #: src/android/interoperability/with-c/bindgen.md:74 msgid "\"main.rs\"" -msgstr "" +msgstr "\"main.rs\"" #: src/android/interoperability/with-c/bindgen.md:79 msgid "_interoperability/bindgen/main.rs_:" -msgstr "" +msgstr "_interoperability/bindgen/main.rs_:" #: src/android/interoperability/with-c/bindgen.md:82 msgid "//! Bindgen demo.\n" -msgstr "//! Bindgen demo.\n" +msgstr "//! Bindgen-demo.\n" #: src/android/interoperability/with-c/bindgen.md:100 msgid "" @@ -9784,6 +9814,12 @@ msgid "" "adb shell /data/local/tmp/print_birthday_card\n" "```" msgstr "" +"```shell\n" +"m print_birthday_card\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/print_birthday_card /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/print_birthday_card\n" +"```" #: src/android/interoperability/with-c/bindgen.md:106 msgid "Finally, we can run auto-generated tests to ensure the bindings work:" @@ -9792,20 +9828,20 @@ msgstr "" #: src/android/interoperability/with-c/bindgen.md:112 #: src/android/interoperability/with-c/bindgen.md:114 msgid "\"libbirthday_bindgen_test\"" -msgstr "" +msgstr "\"libbirthday_bindgen_test\"" #: src/android/interoperability/with-c/bindgen.md:113 msgid "\":libbirthday_bindgen\"" -msgstr "" +msgstr "\":libbirthday_bindgen\"" #: src/android/interoperability/with-c/bindgen.md:115 msgid "\"general-tests\"" -msgstr "" +msgstr "\"general-tests\"" #: src/android/interoperability/with-c/bindgen.md:117 #: src/android/interoperability/with-c/bindgen.md:118 msgid "\"none\"" -msgstr "" +msgstr "\"none\"" #: src/android/interoperability/with-c/bindgen.md:117 msgid "// Generated file, skip linting\n" @@ -9821,11 +9857,11 @@ msgstr "" #: src/android/interoperability/with-c/rust.md:5 msgid "_interoperability/rust/libanalyze/analyze.rs_" -msgstr "" +msgstr "_interoperability/rust/libanalyze/analyze.rs_" #: src/android/interoperability/with-c/rust.md:8 msgid "//! Rust FFI demo.\n" -msgstr "//! Rust FFI demo.\n" +msgstr "//! Rust FFI-demo.\n" #: src/android/interoperability/with-c/rust.md:12 msgid "/// Analyze the numbers.\n" @@ -9841,24 +9877,24 @@ msgstr "\"y ({y}) er muligvis større end x ({x})\"" #: src/android/interoperability/with-c/rust.md:24 msgid "_interoperability/rust/libanalyze/analyze.h_" -msgstr "" +msgstr "_interoperability/rust/libanalyze/analyze.h_" #: src/android/interoperability/with-c/rust.md:37 msgid "_interoperability/rust/libanalyze/Android.bp_" -msgstr "" +msgstr "_interoperability/rust/libanalyze/Android.bp_" #: src/android/interoperability/with-c/rust.md:41 #: src/android/interoperability/with-c/rust.md:68 msgid "\"libanalyze_ffi\"" -msgstr "" +msgstr "\"libanalyze_ffi\"" #: src/android/interoperability/with-c/rust.md:42 msgid "\"analyze_ffi\"" -msgstr "" +msgstr "\"analyze_ffi\"" #: src/android/interoperability/with-c/rust.md:43 msgid "\"analyze.rs\"" -msgstr "" +msgstr "\"analyze.rs\"" #: src/android/interoperability/with-c/rust.md:48 msgid "We can now call this from a C binary:" @@ -9866,23 +9902,23 @@ msgstr "" #: src/android/interoperability/with-c/rust.md:50 msgid "_interoperability/rust/analyze/main.c_" -msgstr "" +msgstr "_interoperability/rust/analyze/main.c_" #: src/android/interoperability/with-c/rust.md:53 msgid "\"analyze.h\"" -msgstr "" +msgstr "\"analyze.h\"" #: src/android/interoperability/with-c/rust.md:62 msgid "_interoperability/rust/analyze/Android.bp_" -msgstr "" +msgstr "_interoperability/rust/analyze/Android.bp_" #: src/android/interoperability/with-c/rust.md:66 msgid "\"analyze_numbers\"" -msgstr "" +msgstr "\"analyze_numbers\"" #: src/android/interoperability/with-c/rust.md:67 msgid "\"main.c\"" -msgstr "" +msgstr "\"main.c\"" #: src/android/interoperability/with-c/rust.md:75 msgid "" @@ -9893,6 +9929,12 @@ msgid "" "adb shell /data/local/tmp/analyze_numbers\n" "```" msgstr "" +"```shell\n" +"m analyze_numbers\n" +"adb push \"$ANDROID_PRODUCT_OUT/system/bin/analyze_numbers /data/local/" +"tmp\"\n" +"adb shell /data/local/tmp/analyze_numbers\n" +"```" #: src/android/interoperability/with-c/rust.md:83 msgid "" @@ -9982,7 +10024,7 @@ msgstr "" #: src/android/interoperability/java.md:20 msgid "\"system\"" -msgstr "" +msgstr "\"system\"" #: src/android/interoperability/java.md:26 msgid "\"Hello, {input}!\"" @@ -9991,21 +10033,21 @@ msgstr "" #: src/android/interoperability/java.md:32 #: src/android/interoperability/java.md:62 msgid "_interoperability/java/Android.bp_:" -msgstr "" +msgstr "_interoperability/java/Android.bp_:" #: src/android/interoperability/java.md:36 #: src/android/interoperability/java.md:69 msgid "\"libhello_jni\"" -msgstr "" +msgstr "\"libhello_jni\"" #: src/android/interoperability/java.md:37 #: src/android/interoperability/java.md:52 msgid "\"hello_jni\"" -msgstr "" +msgstr "\"hello_jni\"" #: src/android/interoperability/java.md:39 msgid "\"libjni\"" -msgstr "" +msgstr "\"libjni\"" #: src/android/interoperability/java.md:43 msgid "Finally, we can call this function from Java:" @@ -10017,15 +10059,15 @@ msgstr "" #: src/android/interoperability/java.md:66 msgid "\"helloworld_jni\"" -msgstr "" +msgstr "\"helloworld_jni\"" #: src/android/interoperability/java.md:67 msgid "\"HelloWorld.java\"" -msgstr "" +msgstr "\"HelloWorld.java\"" #: src/android/interoperability/java.md:68 msgid "\"HelloWorld\"" -msgstr "" +msgstr "\"HelloWorld\"" #: src/android/interoperability/java.md:73 msgid "Finally, you can build, sync, and run the binary:" @@ -10138,19 +10180,19 @@ msgstr "" #: src/bare-metal/no_std.md:25 msgid "`NonZeroU8`..." -msgstr "" +msgstr "`NonZeroU8`..." #: src/bare-metal/no_std.md:26 msgid "`Option`, `Result`" -msgstr "" +msgstr "`Option`, `Result`" #: src/bare-metal/no_std.md:27 msgid "`Display`, `Debug`, `write!`..." -msgstr "" +msgstr "`Display`, `Debug`, `write!`..." #: src/bare-metal/no_std.md:29 msgid "`panic!`, `assert_eq!`..." -msgstr "" +msgstr "`panic!`, `assert_eq!`..." #: src/bare-metal/no_std.md:30 msgid "`NonNull` and all the usual pointer-related functions" @@ -10158,63 +10200,63 @@ msgstr "" #: src/bare-metal/no_std.md:31 msgid "`Future` and `async`/`await`" -msgstr "" +msgstr "`Future` og `async`/`await`" #: src/bare-metal/no_std.md:32 msgid "`fence`, `AtomicBool`, `AtomicPtr`, `AtomicU32`..." -msgstr "" +msgstr "`fence`, `AtomicBool`, `AtomicPtr`, `AtomicU32`..." #: src/bare-metal/no_std.md:33 msgid "`Duration`" -msgstr "" +msgstr "`Duration`" #: src/bare-metal/no_std.md:38 msgid "`Box`, `Cow`, `Arc`, `Rc`" -msgstr "" +msgstr "`Box`, `Cow`, `Arc`, `Rc`" #: src/bare-metal/no_std.md:39 msgid "`Vec`, `BinaryHeap`, `BtreeMap`, `LinkedList`, `VecDeque`" -msgstr "" +msgstr "`Vec`, `BinaryHeap`, `BtreeMap`, `LinkedList`, `VecDeque`" #: src/bare-metal/no_std.md:40 msgid "`String`, `CString`, `format!`" -msgstr "" +msgstr "`String`, `CString`, `format!`" #: src/bare-metal/no_std.md:45 msgid "`Error`" -msgstr "" +msgstr "`Error`" #: src/bare-metal/no_std.md:47 msgid "`Mutex`, `Condvar`, `Barrier`, `Once`, `RwLock`, `mpsc`" -msgstr "" +msgstr "`Mutex`, `Condvar`, `Barrier`, `Once`, `RwLock`, `mpsc`" #: src/bare-metal/no_std.md:48 msgid "`File` and the rest of `fs`" -msgstr "" +msgstr "`File` og resten af `fs`" #: src/bare-metal/no_std.md:49 msgid "`println!`, `Read`, `Write`, `Stdin`, `Stdout` and the rest of `io`" -msgstr "" +msgstr "`println!`, `Read`, `Write`, `Stdin`, `Stdout` og resten af `io`" #: src/bare-metal/no_std.md:50 msgid "`Path`, `OsString`" -msgstr "" +msgstr "`Path`, `OsString`" #: src/bare-metal/no_std.md:51 msgid "`net`" -msgstr "" +msgstr "`net`" #: src/bare-metal/no_std.md:52 msgid "`Command`, `Child`, `ExitCode`" -msgstr "" +msgstr "`Command`, `Child`, `ExitCode`" #: src/bare-metal/no_std.md:53 msgid "`spawn`, `sleep` and the rest of `thread`" -msgstr "" +msgstr "`spawn`, `sleep` og resten af `thread`" #: src/bare-metal/no_std.md:54 msgid "`SystemTime`, `Instant`" -msgstr "" +msgstr "`SystemTime`, `Instant`" #: src/bare-metal/no_std.md:62 msgid "`HashMap` depends on RNG." @@ -10275,7 +10317,7 @@ msgstr "// Now we can do things that require heap allocation.\n" #: src/bare-metal/alloc.md:33 msgid "\"A string\"" -msgstr "\"A string\"" +msgstr "\"En streng\"" #: src/bare-metal/alloc.md:39 msgid "" @@ -10529,19 +10571,19 @@ msgstr "" #: src/bare-metal/microcontrollers/embedded-hal.md:6 msgid "GPIO" -msgstr "" +msgstr "GPIO" #: src/bare-metal/microcontrollers/embedded-hal.md:7 msgid "ADC" -msgstr "" +msgstr "ADC" #: src/bare-metal/microcontrollers/embedded-hal.md:8 msgid "I2C, SPI, UART, CAN" -msgstr "" +msgstr "I2C, SPI, UART, CAN" #: src/bare-metal/microcontrollers/embedded-hal.md:9 msgid "RNG" -msgstr "" +msgstr "RNG" #: src/bare-metal/microcontrollers/embedded-hal.md:10 msgid "Timers" @@ -10582,7 +10624,7 @@ msgstr "" #: src/bare-metal/microcontrollers/probe-rs.md:6 msgid "SWD" -msgstr "" +msgstr "SWD" #: src/bare-metal/microcontrollers/probe-rs.md:6 msgid "and JTAG via CMSIS-DAP, ST-Link and J-Link probes" @@ -10594,11 +10636,11 @@ msgstr "" #: src/bare-metal/microcontrollers/probe-rs.md:7 msgid "DAP" -msgstr "" +msgstr "DAP" #: src/bare-metal/microcontrollers/probe-rs.md:7 msgid "server" -msgstr "" +msgstr "server" #: src/bare-metal/microcontrollers/probe-rs.md:8 msgid "Cargo integration" @@ -10610,7 +10652,7 @@ msgstr "" #: src/bare-metal/microcontrollers/probe-rs.md:11 msgid "RTT" -msgstr "" +msgstr "RTT" #: src/bare-metal/microcontrollers/probe-rs.md:11 msgid "" @@ -10663,7 +10705,7 @@ msgstr "" #: src/bare-metal/microcontrollers/debugging.md:3 msgid "Embed.toml:" -msgstr "" +msgstr "Embed.toml:" #: src/bare-metal/microcontrollers/debugging.md:5 msgid "" @@ -10675,6 +10717,13 @@ msgid "" "enabled = true\n" "```" msgstr "" +"```toml\n" +"[default.general]\n" +"chip = \"nrf52833_xxAA\"\n" +"\n" +"[debug.gdb]\n" +"enabled = true\n" +"```" #: src/bare-metal/microcontrollers/debugging.md:13 msgid "In one terminal under `src/bare-metal/microcontrollers/examples/`:" @@ -10686,7 +10735,7 @@ msgstr "" #: src/bare-metal/microcontrollers/debugging.md:22 msgid "\"target remote :1337\"" -msgstr "" +msgstr "\"target remote :1337\"" #: src/bare-metal/microcontrollers/debugging.md:27 msgid "In GDB, try running:" @@ -10695,11 +10744,11 @@ msgstr "" #: src/bare-metal/microcontrollers/other-projects.md:1 #: src/bare-metal/aps/other-projects.md:1 msgid "Other projects" -msgstr "" +msgstr "Andre projekter" #: src/bare-metal/microcontrollers/other-projects.md:3 msgid "[RTIC](https://rtic.rs/)" -msgstr "" +msgstr "[RTIC](https://rtic.rs/)" #: src/bare-metal/microcontrollers/other-projects.md:4 msgid "\"Real-Time Interrupt-driven Concurrency\"" @@ -10712,7 +10761,7 @@ msgstr "" #: src/bare-metal/microcontrollers/other-projects.md:6 msgid "[Embassy](https://embassy.dev/)" -msgstr "" +msgstr "[Embassy](https://embassy.dev/)" #: src/bare-metal/microcontrollers/other-projects.md:7 msgid "`async` executors with priorities, timers, networking, USB" @@ -10720,7 +10769,7 @@ msgstr "" #: src/bare-metal/microcontrollers/other-projects.md:8 msgid "[TockOS](https://www.tockos.org/documentation/getting-started)" -msgstr "" +msgstr "[TockOS](https://www.tockos.org/documentation/getting-started)" #: src/bare-metal/microcontrollers/other-projects.md:9 msgid "" @@ -10730,7 +10779,7 @@ msgstr "" #: src/bare-metal/microcontrollers/other-projects.md:10 msgid "[Hubris](https://hubris.oxide.computer/)" -msgstr "" +msgstr "[Hubris](https://hubris.oxide.computer/)" #: src/bare-metal/microcontrollers/other-projects.md:11 msgid "" @@ -10740,7 +10789,7 @@ msgstr "" #: src/bare-metal/microcontrollers/other-projects.md:12 msgid "[Bindings for FreeRTOS](https://github.com/lobaro/FreeRTOS-rust)" -msgstr "" +msgstr "[Bindinger til FreeRTOS](https://github.com/lobaro/FreeRTOS-rust)" #: src/bare-metal/microcontrollers/other-projects.md:13 msgid "" @@ -10887,6 +10936,22 @@ msgid "" "panic-halt = \"0.2.0\"\n" "```" msgstr "" +"```toml\n" +"[workspace]\n" +"\n" +"[package]\n" +"name = \"compass\"\n" +"version = \"0.1.0\"\n" +"edition = \"2021\"\n" +"publish = false\n" +"\n" +"[dependencies]\n" +"cortex-m-rt = \"0.7.3\"\n" +"embedded-hal = \"0.2.6\"\n" +"lsm303agr = \"0.2.2\"\n" +"microbit-v2 = \"0.13.0\"\n" +"panic-halt = \"0.2.0\"\n" +"```" #: src/exercises/bare-metal/compass.md:85 msgid "_Embed.toml_ (you shouldn't need to change this):" @@ -10905,6 +10970,16 @@ msgid "" "halt_afterwards = true\n" "```" msgstr "" +"```toml\n" +"[default.general]\n" +"chip = \"nrf52833_xxAA\"\n" +"\n" +"[debug.gdb]\n" +"enabled = true\n" +"\n" +"[debug.reset]\n" +"halt_afterwards = true\n" +"```" #: src/exercises/bare-metal/compass.md:100 src/exercises/bare-metal/rtc.md:985 msgid "_.cargo/config.toml_ (you shouldn't need to change this):" @@ -10920,6 +10995,13 @@ msgid "" "rustflags = [\"-C\", \"link-arg=-Tlink.x\"]\n" "```" msgstr "" +"```toml\n" +"[build]\n" +"target = \"thumbv7em-none-eabihf\" # Cortex-M4F\n" +"\n" +"[target.'cfg(all(target_arch = \"arm\", target_os = \"none\"))']\n" +"rustflags = [\"-C\", \"link-arg=-Tlink.x\"]\n" +"```" #: src/exercises/bare-metal/compass.md:112 msgid "See the serial output on Linux with:" @@ -13285,15 +13367,15 @@ msgstr "" #: src/concurrency/send-sync/examples.md:7 msgid "`i8`, `f32`, `bool`, `char`, `&str`, ..." -msgstr "" +msgstr "`i8`, `f32`, `bool`, `char`, `&str`, ..." #: src/concurrency/send-sync/examples.md:8 msgid "`(T1, T2)`, `[T; N]`, `&[T]`, `struct { x: T }`, ..." -msgstr "" +msgstr "`(T1, T2)`, `[T; N]`, `&[T]`, `struct { x: T }`, ..." #: src/concurrency/send-sync/examples.md:9 msgid "`String`, `Option`, `Vec`, `Box`, ..." -msgstr "" +msgstr "`String`, `Option`, `Vec`, `Box`, ..." #: src/concurrency/send-sync/examples.md:10 msgid "`Arc`: Explicitly thread-safe via atomic reference count." @@ -13325,19 +13407,19 @@ msgstr "" #: src/concurrency/send-sync/examples.md:22 msgid "`mpsc::Sender`" -msgstr "" +msgstr "`mpsc::Sender`" #: src/concurrency/send-sync/examples.md:23 msgid "`mpsc::Receiver`" -msgstr "" +msgstr "`mpsc::Receiver`" #: src/concurrency/send-sync/examples.md:24 msgid "`Cell`" -msgstr "" +msgstr "`Cell`" #: src/concurrency/send-sync/examples.md:25 msgid "`RefCell`" -msgstr "" +msgstr "`RefCell`" #: src/concurrency/send-sync/examples.md:27 msgid "`!Send + Sync`" @@ -13439,7 +13521,7 @@ msgstr "" #: src/concurrency/shared_state/arc.md:36 msgid "`std::sync::Weak` can help." -msgstr "" +msgstr "`std::sync::Weak` kan hjælpe." #: src/concurrency/shared_state/mutex.md:1 msgid "`Mutex`" @@ -13455,7 +13537,7 @@ msgstr "" #: src/concurrency/shared_state/mutex.md:11 #: src/concurrency/shared_state/mutex.md:18 msgid "\"v: {:?}\"" -msgstr "" +msgstr "\"v: {:?}\"" #: src/concurrency/shared_state/mutex.md:22 msgid "" @@ -13511,7 +13593,7 @@ msgstr "" #: src/concurrency/shared_state/example.md:6 msgid "// use std::sync::{Arc, Mutex};\n" -msgstr "" +msgstr "// use std::sync::{Arc, Mutex};\n" #: src/concurrency/shared_state/example.md:23 msgid "Possible solution:" @@ -13615,35 +13697,35 @@ msgstr "" #: src/exercises/concurrency/solutions-morning.md:39 #: src/exercises/concurrency/solutions-afternoon.md:45 msgid "\"Socrates\"" -msgstr "" +msgstr "\"Sokrates\"" #: src/exercises/concurrency/dining-philosophers.md:48 #: src/exercises/concurrency/dining-philosophers-async.md:43 #: src/exercises/concurrency/solutions-morning.md:39 #: src/exercises/concurrency/solutions-afternoon.md:45 msgid "\"Plato\"" -msgstr "" +msgstr "\"Plato\"" #: src/exercises/concurrency/dining-philosophers.md:48 #: src/exercises/concurrency/dining-philosophers-async.md:43 #: src/exercises/concurrency/solutions-morning.md:39 #: src/exercises/concurrency/solutions-afternoon.md:45 msgid "\"Aristotle\"" -msgstr "" +msgstr "\"Aristoteles\"" #: src/exercises/concurrency/dining-philosophers.md:48 #: src/exercises/concurrency/dining-philosophers-async.md:43 #: src/exercises/concurrency/solutions-morning.md:39 #: src/exercises/concurrency/solutions-afternoon.md:45 msgid "\"Thales\"" -msgstr "" +msgstr "\"Thales\"" #: src/exercises/concurrency/dining-philosophers.md:48 #: src/exercises/concurrency/dining-philosophers-async.md:43 #: src/exercises/concurrency/solutions-morning.md:39 #: src/exercises/concurrency/solutions-afternoon.md:45 msgid "\"Pythagoras\"" -msgstr "" +msgstr "\"Pythagoras\"" #: src/exercises/concurrency/dining-philosophers.md:51 #: src/exercises/concurrency/dining-philosophers-async.md:47 @@ -13680,6 +13762,12 @@ msgid "" "edition = \"2021\"\n" "```" msgstr "" +"```toml\n" +"[package]\n" +"name = \"dining-philosophers\"\n" +"version = \"0.1.0\"\n" +"edition = \"2021\"\n" +"```" #: src/exercises/concurrency/link-checker.md:3 msgid "" @@ -13734,6 +13822,19 @@ msgid "" "thiserror = \"1.0.37\"\n" "```" msgstr "" +"```toml\n" +"[package]\n" +"name = \"link-checker\"\n" +"version = \"0.1.0\"\n" +"edition = \"2021\"\n" +"publish = false\n" +"\n" +"[dependencies]\n" +"reqwest = { version = \"0.11.12\", features = [\"blocking\", \"rustls-" +"tls\"] }\n" +"scraper = \"0.13.0\"\n" +"thiserror = \"1.0.37\"\n" +"```" #: src/exercises/concurrency/link-checker.md:50 msgid "" @@ -13763,7 +13864,7 @@ msgstr "" #: src/exercises/concurrency/link-checker.md:95 #: src/exercises/concurrency/solutions-morning.md:126 msgid "\"href\"" -msgstr "" +msgstr "\"href\"" #: src/exercises/concurrency/link-checker.md:102 #: src/exercises/concurrency/solutions-morning.md:133 @@ -13773,7 +13874,7 @@ msgstr "" #: src/exercises/concurrency/link-checker.md:111 #: src/exercises/concurrency/solutions-morning.md:246 msgid "\"https://www.google.org\"" -msgstr "" +msgstr "\"https://www.google.org\"" #: src/exercises/concurrency/link-checker.md:114 msgid "\"Links: {links:#?}\"" @@ -14066,7 +14167,7 @@ msgstr "" #: src/async/tasks.md:16 msgid "\"127.0.0.1:6142\"" -msgstr "" +msgstr "\"127.0.0.1:6142\"" #: src/async/tasks.md:17 msgid "\"listening on port 6142\"" @@ -14178,11 +14279,11 @@ msgstr "" #: src/async/control-flow.md:6 msgid "[Join](control-flow/join.md)" -msgstr "" +msgstr "[Join](control-flow/join.md)" #: src/async/control-flow.md:7 msgid "[Select](control-flow/select.md)" -msgstr "" +msgstr "[Select](control-flow/select.md)" #: src/async/control-flow/join.md:3 msgid "" @@ -14324,7 +14425,7 @@ msgstr "" #: src/async/pitfalls.md:6 msgid "[Pin](pitfalls/pin.md)" -msgstr "" +msgstr "[Pin](pitfalls/pin.md)" #: src/async/pitfalls.md:7 msgid "[Async Traits](pitfalls/async-traits.md)" @@ -14800,7 +14901,7 @@ msgstr "" #: src/exercises/concurrency/chat-app.md:86 #: src/exercises/concurrency/solutions-afternoon.md:149 msgid "\"127.0.0.1:2000\"" -msgstr "" +msgstr "\"127.0.0.1:2000\"" #: src/exercises/concurrency/chat-app.md:87 #: src/exercises/concurrency/solutions-afternoon.md:150 @@ -14824,7 +14925,7 @@ msgstr "_src/bin/client.rs_:" #: src/exercises/concurrency/chat-app.md:117 #: src/exercises/concurrency/solutions-afternoon.md:178 msgid "\"ws://127.0.0.1:2000\"" -msgstr "" +msgstr "\"ws://127.0.0.1:2000\"" #: src/exercises/concurrency/chat-app.md:130 msgid "Running the binaries" @@ -15129,15 +15230,15 @@ msgstr "" #: src/exercises/day-1/solutions-morning.md:83 msgid "// &[&[i32]]\n" -msgstr "" +msgstr "// &[&[i32]]\n" #: src/exercises/day-1/solutions-morning.md:85 msgid "// [[&str; 2]; 2]\n" -msgstr "" +msgstr "// [[&str; 2]; 2]\n" #: src/exercises/day-1/solutions-morning.md:87 msgid "// Vec>\n" -msgstr "" +msgstr "// Vec>\n" #: src/exercises/day-1/solutions-morning.md:92 msgid "" @@ -15167,11 +15268,11 @@ msgstr "Mønstergenkendelse" #: src/exercises/day-1/solutions-afternoon.md:205 msgid "\"expr: {:?}\"" -msgstr "" +msgstr "\"expr: {:?}\"" #: src/exercises/day-1/solutions-afternoon.md:206 msgid "\"result: {:?}\"" -msgstr "" +msgstr "\"result: {:?}\"" #: src/exercises/day-2/solutions-morning.md:1 msgid "Day 2 Morning Exercises" @@ -15220,11 +15321,11 @@ msgstr "([tilbage til øvelsen](strings-iterators.md))" #: src/exercises/day-2/solutions-afternoon.md:10 #: src/exercises/day-2/solutions-afternoon.md:12 msgid "'/'" -msgstr "" +msgstr "'/'" #: src/exercises/day-2/solutions-afternoon.md:16 msgid "\"*\"" -msgstr "" +msgstr "\"*\"" #: src/exercises/day-2/solutions-afternoon.md:22 msgid "" @@ -15263,19 +15364,19 @@ msgstr "" #: src/exercises/day-3/solutions-morning.md:92 #: src/exercises/day-3/solutions-morning.md:98 msgid "\"+-{:-\\n\"" -msgstr "" +msgstr "\"\\n\"" #: src/exercises/day-3/solutions-afternoon.md:152 #: src/exercises/day-3/solutions-afternoon.md:158 msgid "\"crab.rs\"" -msgstr "" +msgstr "\"crab.rs\"" #: src/exercises/day-3/solutions-afternoon.md:152 msgid "\"//! Crab\\n\"" @@ -15419,7 +15520,7 @@ msgstr "" #: src/exercises/bare-metal/solutions-morning.md:67 msgid "\"{},{},{}\\t{},{},{}\"" -msgstr "" +msgstr "\"{},{},{}\\t{},{},{}\"" #: src/exercises/bare-metal/solutions-morning.md:103 msgid "" @@ -15451,7 +15552,7 @@ msgstr "" #: src/exercises/bare-metal/solutions-afternoon.md:62 msgid "\"RTC: {time}\"" -msgstr "" +msgstr "\"RTC: {time}\"" #: src/exercises/bare-metal/solutions-afternoon.md:70 msgid "// Wait for 3 seconds, without interrupts.\n"