summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeng Guanwen <pg999w@outlook.com>2023-05-30 23:53:10 +0800
committerGitHub <noreply@github.com>2023-05-30 17:53:10 +0200
commite2bf2327b53a6b963f7adaeb655fefc1d5fac745 (patch)
tree10c3ce9393b256670e987ea5d02d2f88dd602823 /src
parent11714609b8eb1e2939dfd86923e7b7203879228b (diff)
Use icu4x for linebreaking algorithm (#1355)
Diffstat (limited to 'src')
-rw-r--r--src/doc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc.rs b/src/doc.rs
index 7c9c7fc8..3fdcf80f 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -524,6 +524,7 @@ impl Lang {
pub const FRENCH: Self = Self(*b"fr ", 2);
pub const GERMAN: Self = Self(*b"de ", 2);
pub const ITALIAN: Self = Self(*b"it ", 2);
+ pub const JAPANESE: Self = Self(*b"ja ", 2);
pub const NYNORSK: Self = Self(*b"nn ", 2);
pub const POLISH: Self = Self(*b"pl ", 2);
pub const PORTUGUESE: Self = Self(*b"pt ", 2);