summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarco Radocchia <marco.radocchia@outlook.com>2023-03-29 19:34:18 +0200
committerGitHub <noreply@github.com>2023-03-29 19:34:18 +0200
commit9737d3b754c871d7ca9c63790b5d4cefda07d6ff (patch)
tree0613805a0a60d2aa71086fbcd191b5770cf4ab53 /src
parent24e26b8c771f09965422cf7b0acde3d694811f7e (diff)
Added IT language support (#413)
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 ebdca43e..8bb9d5b7 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 ITALIAN: Self = Self(*b"it ", 2);
/// Return the language code as an all lowercase string slice.
pub fn as_str(&self) -> &str {