summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author1bitbool <80573215+1bitbool@users.noreply.github.com>2023-03-31 22:43:14 +0800
committerGitHub <noreply@github.com>2023-03-31 16:43:14 +0200
commit6c979e554b3bffe8bf86cc581f8a821554131c33 (patch)
tree2dbec0c77a258e56de11cfcd73d71fcc74354e65 /src
parent5f97e0a77348d4fb1c89a9adf671647f1fa86dc3 (diff)
Added ZH language support (#481)
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 8b702f0c..450f4964 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -515,6 +515,7 @@ pub struct Glyph {
pub struct Lang([u8; 3], u8);
impl Lang {
+ pub const CHINESE: Self = Self(*b"zh ", 2);
pub const ENGLISH: Self = Self(*b"en ", 2);
pub const GERMAN: Self = Self(*b"de ", 2);
pub const RUSSIAN: Self = Self(*b"ru ", 2);