aboutsummaryrefslogtreecommitdiffstats
path: root/src/locale.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/locale.rs')
-rw-r--r--src/locale.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/locale.rs b/src/locale.rs
index 6b3b619..1bd190b 100644
--- a/src/locale.rs
+++ b/src/locale.rs
@@ -33,6 +33,10 @@ impl Locale {
}
}
+pub fn get() -> &'static Locale {
+ &EN
+}
+
pub const EN: Locale = Locale {
weekdays: ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"],
months: ["january", "february", "march", "april", "may", "june", "july", "august", "september", "october", "november", "december"],