mirror of
https://github.com/storytold/figcraft.git
synced 2026-11-30 02:04:54 +01:00
i18n(he): strip BiDi marks, place {n} before noun in plurals, and use action nouns in he.toml
This commit is contained in:
1 parent
f6dd6a9c3b
commit
2cafd22260
2 files changed
+1120
-1120
No files matched your search
+1119
-1119
File diff suppressed because it is too large.
Load diff
@@ -601,7 +601,7 @@ fn hebrew_tags_and_plurals() {
|
||||
assert!(!plural_one(he, 0) && plural_one(he, 1) && !plural_one(he, 2) && !plural_one(he, 5));
|
||||
let singular = fill(counted(he, "{n} layers", 1), &[("n", &1)]);
|
||||
let dual = fill(counted(he, "{n} layers", 2), &[("n", &2)]);
|
||||
assert_eq!(singular, "שכבה 1");
|
||||
assert_eq!(singular, "1 שכבה");
|
||||
assert_eq!(dual, "2 שכבות");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user