summaryrefslogtreecommitdiffstats
path: root/pendulum/locales/sv/custom.py
diff options
context:
space:
mode:
Diffstat (limited to 'pendulum/locales/sv/custom.py')
-rw-r--r--pendulum/locales/sv/custom.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/pendulum/locales/sv/custom.py b/pendulum/locales/sv/custom.py
new file mode 100644
index 0000000..7158f4b
--- /dev/null
+++ b/pendulum/locales/sv/custom.py
@@ -0,0 +1,20 @@
+"""
+sv custom locale file.
+"""
+
+translations = {
+ # Relative time
+ "ago": "{} sedan",
+ "from_now": "från nu {}",
+ "after": "{0} efter",
+ "before": "{0} innan",
+ # Date formats
+ "date_formats": {
+ "LTS": "HH:mm:ss",
+ "LT": "HH:mm",
+ "L": "YYYY-MM-DD",
+ "LL": "D MMMM YYYY",
+ "LLL": "D MMMM YYYY, HH:mm",
+ "LLLL": "dddd, D MMMM YYYY, HH:mm",
+ },
+}