summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doc.rs b/src/doc.rs
index b3ada72f..c21b095b 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -517,10 +517,11 @@ 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 FRENCH: Self = Self(*b"fr ", 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);
- pub const FRENCH: Self = Self(*b"fr ", 2);
+ pub const PORTUGUESE: Self = Self(*b"pt ", 2);
+ pub const RUSSIAN: Self = Self(*b"ru ", 2);
/// Return the language code as an all lowercase string slice.
pub fn as_str(&self) -> &str {