summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
authorjakobrs <jakobrs100@gmail.com>2023-04-06 14:56:11 +0200
committerGitHub <noreply@github.com>2023-04-06 14:56:11 +0200
commitcca85a572a2d42ec4a8807378522da67319e37a7 (patch)
tree3ede9bb9756443fed241a926dada13ad34aa2d65 /src/doc.rs
parent6f13a3f8b9c1d4e456d2fbf26550294b3ee130b2 (diff)
Add Norwegian language support (#628)
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/doc.rs b/src/doc.rs
index afeaa3f3..2852c68d 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -515,11 +515,13 @@ pub struct Glyph {
pub struct Lang([u8; 3], u8);
impl Lang {
+ pub const BOKMÃ…L: Self = Self(*b"nb ", 2);
pub const CHINESE: Self = Self(*b"zh ", 2);
pub const ENGLISH: Self = Self(*b"en ", 2);
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 NYNORSK: Self = Self(*b"nn ", 2);
pub const POLISH: Self = Self(*b"pl ", 2);
pub const PORTUGUESE: Self = Self(*b"pt ", 2);
pub const RUSSIAN: Self = Self(*b"ru ", 2);