summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
authorDaniil Berezin <fruuungl@gmail.com>2023-03-31 13:52:40 +0300
committerGitHub <noreply@github.com>2023-03-31 12:52:40 +0200
commit00f11ae56d6d20b92a8c6ad6f2245c3ad3e94d86 (patch)
treebab17d874ef13cbfd3d56a466dbfcf1ff185ac72 /src/doc.rs
parent9414d56f97c5be71d9c37abb0fd1632a76bde995 (diff)
Added RU language support (#467)
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doc.rs b/src/doc.rs
index 8bb9d5b7..8b702f0c 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -517,6 +517,7 @@ pub struct Lang([u8; 3], u8);
impl Lang {
pub const ENGLISH: Self = Self(*b"en ", 2);
pub const GERMAN: Self = Self(*b"de ", 2);
+ pub const RUSSIAN: Self = Self(*b"ru ", 2);
pub const ITALIAN: Self = Self(*b"it ", 2);
/// Return the language code as an all lowercase string slice.