Critical important if fits the RC cicle before next RC subrelease: I fixed few rules with definitions.yaml and navigate.yaml, and implemented navigate.rs hungarian tests - #753
Conversation
Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
Signed-off-by: Attila Hammer <hammera@pickup.hu>
… with latest stable Rust release related
|
Oh, again a Clippy problem, now I use rustc 1.98.1 (48a229cea 2026-09-01) version. Attila |
|
Ok, the Clippy fix is work correct in online workflows too. Attila |
Hi boys,
@NSoiffer, @MartheGjelstad, or @moritz-gross, I doed few smaller modifications into Rules/languages/hu/definitions.yaml file with navigation parts related, and doed few modifications the Rules/Languages/hu/navigate.yaml file.
Final I implemented tests/Languages/hu/navigate.rs test file, based with english tests.
I proofread the tests outputs, Most of the tests are completely fine, except for some of the zoom tests where I can't remove the "in" part for some reason.
Few examples in hungarian navigate.rs test file:
In the Hungarian navigate.yaml rule, I intentionally specified the string "in" as a translation string "" in one place, because in this case, the suffix "ban" is not necessary in Hungarian after the word "nagyítás" (zoom in), since it is not possible to know whether the next part begins with a vowel or a consonant, or whether an odd or even number comes after the navigation command. In Hungarian, we also use four types of "in" suffixes corresponding to the English language, the "ban", the "ben", the ból and the "ből" suffixes, depending on what these suffixes follow.
So simpler use the "" translate string this situation when the navigation command is zoom in.
Attila