aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar.scm
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 02:13:21 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-06-16 02:14:17 +0200
commita6bc74e67a3a3442533cd46f5e8a8d5f129cea07 (patch)
tree15f1fa0dac468de642e04c8f0202772f47c88889 /module/calp/html/view/calendar.scm
parentMerge html-validator. (diff)
downloadcalp-a6bc74e67a3a3442533cd46f5e8a8d5f129cea07.tar.gz
calp-a6bc74e67a3a3442533cd46f5e8a8d5f129cea07.tar.xz
Fix comments being constantly added to po files.
xgettext:s comment fetcher doesn't handle the same source string at multiple places, with different comments. Meaning that at those places all comments were copied over each time. This commit remove the problematic comments from the source code.
Diffstat (limited to 'module/calp/html/view/calendar.scm')
-rw-r--r--module/calp/html/view/calendar.scm3
1 files changed, 0 insertions, 3 deletions
diff --git a/module/calp/html/view/calendar.scm b/module/calp/html/view/calendar.scm
index a6ebdfba..705fa42a 100644
--- a/module/calp/html/view/calendar.scm
+++ b/module/calp/html/view/calendar.scm
@@ -91,9 +91,7 @@
(content "width=device-width, initial-scale=0.5")))
(meta (@ (name description)
(content ,(format #f (_ "Calendar for the dates between ~a and ~a")
- ;; start date metainfo
(date->string start-date (_ "~Y-~m-~d"))
- ;; end date metainfo
(date->string end-date (_ "~Y-~m-~d"))))))
;; NOTE this is only for the time actually part of this calendar.
;; overflowing times from pre-start and post-end is currently ignored here.
@@ -155,7 +153,6 @@ window.default_calendar='~a';"
(footer
(@ (style "grid-area: footer"))
(span ,(_ "Page generated ")
- ;; Generation data
,(date->string (current-date) (_ "~Y-~m-~d")))
(span ,(_ "Current time ") (current-time (@ (interval 1))))
(span (a (@ (href ,(repo-url)))