From a34e50973c0384964f41cf675bbb1576a229d954 Mon Sep 17 00:00:00 2001 From: Michael Lohr Date: Sat, 11 Sep 2021 19:22:48 +0200 Subject: [PATCH 1/3] Aktualisiere README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8d1b35d..6ea4d94 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ syntax. Gut so! ## but why would you do dis? -* the [french](https://github.com/bnjbvr/rouille) and [dutch](https://github.com/jeroenhd/roest) can do it, so we can as well! +* the [French](https://github.com/bnjbvr/rouille) and [Dutch](https://github.com/jeroenhd/roest) can do it, so we can as well! ## Mitwirken From 604b3eacb5b6caa75974942ddfb2f278109e7241 Mon Sep 17 00:00:00 2001 From: Nico Thomas Date: Sat, 11 Sep 2021 19:37:32 +0200 Subject: [PATCH 2/3] Change translation of trait to a better fitting name --- rost_proc_macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rost_proc_macro/src/lib.rs b/rost_proc_macro/src/lib.rs index 669c736..a1e4516 100644 --- a/rost_proc_macro/src/lib.rs +++ b/rost_proc_macro/src/lib.rs @@ -25,7 +25,7 @@ fn replace_ident(ident: Ident) -> Option { "unerreichbarer_code" => "unreachable_code", "als" => "as", "konstante" => "const", - "vereinbarung" => "trait", + "eigenschaft" => "trait", "gefährlich" => "unsafe", "in" => "in", "von" => "from", From d1a0fa5190a670ebbc98e81680774be19688c81a Mon Sep 17 00:00:00 2001 From: Nico Thomas Date: Sat, 11 Sep 2021 20:02:54 +0200 Subject: [PATCH 3/3] Update remaining occurences of old translation --- README.md | 2 +- examples/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6ea4d94..2e29f35 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Here's an example of what can be achieved with Rost: rost::rost! { benutze std::collections::Wörterbuch als Wöbu; - vereinbarung SchlüsselWert { + eigenschaft SchlüsselWert { funktion schreibe(&selbst, schlsl: Zeichenkette, wert: Zeichenkette); funktion lese(&selbst, schlsl: Zeichenkette) -> Ergebnis, Zeichenkette>; } diff --git a/examples/src/main.rs b/examples/src/main.rs index 678a890..31bea96 100644 --- a/examples/src/main.rs +++ b/examples/src/main.rs @@ -1,7 +1,7 @@ rost::rost! { benutze std::collections::Wörterbuch als Wöbu; - vereinbarung SchlüsselWert { + eigenschaft SchlüsselWert { funktion schreibe(&selbst, schlsl: Zeichenkette, wert: Zeichenkette); funktion lese(&selbst, schlsl: Zeichenkette) -> Ergebnis, Zeichenkette>; }