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 |
I see that you found the place in defintions.yaml to make a change. Did that fix the problem for you? |
|
@NSoiffer, partially.
This test, independent hungarian language related rules, partially right.
The situation this test output is the same, this test output are partially right only in simple speak, because the „in” text part are have the text.
This test are partial right. Original english text this test is following: The english test output too why skipped the denominator part (the 2 number part)? In Rules/Language/hu/navigate.yaml file, following place I removed the in text translation, not entire rule I quote, possible wrong place I would like fixing the unwanted in output part remove: The empty in translation is why not good during mathCat navigation tests to skyp unwanted in texts? 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