aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/repository
diff options
context:
space:
mode:
authorDanjela Lura <danielaluraa@gmail.com>2020-05-28 23:00:10 +0200
committerChristopher Baines <mail@cbaines.net>2020-06-07 20:17:03 +0100
commitd3096de655166cc8827cd109641558a0c9f3f419 (patch)
tree68be73b2f66a4fcdd932137bef21e4f7877b6271 /guix-data-service/web/repository
parentb8abe38352ff0513dee2bae87d3c17eba3c84339 (diff)
downloaddata-service-d3096de655166cc8827cd109641558a0c9f3f419.tar
data-service-d3096de655166cc8827cd109641558a0c9f3f419.tar.gz
Use lint checker related translations on some pages
Signed-off-by: Christopher Baines <mail@cbaines.net>
Diffstat (limited to 'guix-data-service/web/repository')
-rw-r--r--guix-data-service/web/repository/controller.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/guix-data-service/web/repository/controller.scm b/guix-data-service/web/repository/controller.scm
index 6fbe4ce..67b6194 100644
--- a/guix-data-service/web/repository/controller.scm
+++ b/guix-data-service/web/repository/controller.scm
@@ -258,13 +258,18 @@
commit-hash))))
(('GET "repository" repository-id "branch" branch-name "latest-processed-revision" "package" name version)
(let ((commit-hash
- (latest-processed-commit-for-branch conn repository-id branch-name)))
+ (latest-processed-commit-for-branch conn repository-id branch-name))
+ (parsed-query-parameters
+ (parse-query-parameters
+ request
+ `((locale ,identity #:default "en_US.utf8")))))
(if commit-hash
(render-revision-package-version mime-types
conn
commit-hash
name
version
+ parsed-query-parameters
#:header-text
`("Latest processed revision for branch "
(samp ,branch-name))