aboutsummaryrefslogtreecommitdiff
path: root/module/calp/entry-points/convert.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-07 22:12:29 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-07 22:12:29 +0200
commite377df7b305514d721510fe1f15921647ebc7552 (patch)
tree35dd17aaf5e29c44c0f13401b6cb86e4d7df5acd /module/calp/entry-points/convert.scm
parentRename filename-extension{ => ?}. (diff)
parentFix translation for (vcomponent datetime output). (diff)
downloadcalp-e377df7b305514d721510fe1f15921647ebc7552.tar.gz
calp-e377df7b305514d721510fe1f15921647ebc7552.tar.xz
Merge branch 'translation'
Diffstat (limited to 'module/calp/entry-points/convert.scm')
-rw-r--r--module/calp/entry-points/convert.scm13
1 files changed, 7 insertions, 6 deletions
diff --git a/module/calp/entry-points/convert.scm b/module/calp/entry-points/convert.scm
index 1ce33d9c..d416b004 100644
--- a/module/calp/entry-points/convert.scm
+++ b/module/calp/entry-points/convert.scm
@@ -4,18 +4,19 @@
:use-module (hnh util options)
:use-module (ice-9 getopt-long)
:use-module (sxml simple)
+ :use-module (calp translation)
)
(define opt-spec
- `((from (single-char #\f) (value (options "xcal" "ical"))
- (description "Input format (infered from " (i "infile") ")"))
+ `((from (single-char #\f) (value (options "xcal" "ical"))
+ (description ,(xml->sxml (_ "<group>Input format (otherwise infered from <i>infile</i>)</group>"))))
(to (single-char #\t) (value (options "xcal" "ical"))
- (description "Output format (infered from " (i "outfile") ")"))
- (infile (value #t) (single-char #\i) (description "Input file"))
- (outfile (value #t) (single-char #\o) (description "Output file"))
- (help (single-char #\h) (description "Print this help."))))
+ (description ,(xml->sxml (_ "<group>Output format (otherwise infered from <i>outfile</i>)</group>"))))
+ (infile (value #t) (single-char #\i) (description ,(_ "Input file")))
+ (outfile (value #t) (single-char #\o) (description ,(_ "Output file")))
+ (help (single-char #\h) (description ,(_ "Print this help.")))))
(define (filename-to-type filename)