aboutsummaryrefslogtreecommitdiff
path: root/module/vcomponent/formats/xcal/types.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-22 11:19:19 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-22 21:08:41 +0100
commit093ef72e6489d96fb6ffae8d58d7cb1cb7ff77ee (patch)
treed164e37c20e562588700d86379cfda1b0ca3c596 /module/vcomponent/formats/xcal/types.scm
parentDatetime restrict imports. (diff)
downloadcalp-093ef72e6489d96fb6ffae8d58d7cb1cb7ff77ee.tar.gz
calp-093ef72e6489d96fb6ffae8d58d7cb1cb7ff77ee.tar.xz
Prepare code for translation.
Diffstat (limited to 'module/vcomponent/formats/xcal/types.scm')
-rw-r--r--module/vcomponent/formats/xcal/types.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/vcomponent/formats/xcal/types.scm b/module/vcomponent/formats/xcal/types.scm
index 05fbc8c6..8f13d3d1 100644
--- a/module/vcomponent/formats/xcal/types.scm
+++ b/module/vcomponent/formats/xcal/types.scm
@@ -2,6 +2,7 @@
:use-module (hnh util)
:use-module (vcomponent formats ical types)
:use-module (datetime)
+ :use-module (calp translation)
)
(define (write-boolean _ v)
@@ -51,4 +52,4 @@
(define-public (get-writer type)
(or (hashq-ref sxml-writers type #f)
- (error "No writer for type" type)))
+ (error (_ "No writer for type") type)))