aboutsummaryrefslogtreecommitdiff
path: root/module/calp/server/routes.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-11 22:20:13 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-11 23:50:35 +0200
commit8b0cbceec2487f50dd6c950d766e36714affdce0 (patch)
tree3b963da0847621ee8ec79287f37b628b463e839f /module/calp/server/routes.scm
parentDocument web stuff. (diff)
downloadcalp-8b0cbceec2487f50dd6c950d766e36714affdce0.tar.gz
calp-8b0cbceec2487f50dd6c950d766e36714affdce0.tar.xz
Fix a few strings where translations wheren't applied.
Diffstat (limited to 'module/calp/server/routes.scm')
-rw-r--r--module/calp/server/routes.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/calp/server/routes.scm b/module/calp/server/routes.scm
index 0876aed4..896219cd 100644
--- a/module/calp/server/routes.scm
+++ b/module/calp/server/routes.scm
@@ -66,7 +66,7 @@
(drop-right 1)
(xcons "/static")
path-join)))
- "Return up")))
+ ,(_ "Return up"))))
,@(map (lambda (k)
(let* ((stat (lstat (path-append prefix dir k))))
`(tr (td ,(case (stat:type stat)
@@ -440,7 +440,7 @@
'((content-type text/html))
(sxml->html-string
`(html
- (head (title (_ "Calp directory listing for ") path)
+ (head (title ,(_ "Calp directory listing for ") path)
,((@ (calp html components) include-css) "/static/directory-listing.css"))
(body ,(directory-table (static-dir) path))))))
(lambda (err proc fmt fmt-args data)