From 5e16794d57d9274881bcbadb1e81b4f59680766d Mon Sep 17 00:00:00 2001 From: froggleston Date: Tue, 18 Jun 2024 20:02:26 +0100 Subject: [PATCH 1/2] Release 1.0.3 --- DESCRIPTION | 2 +- NEWS.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 08c0f1a6..571d2510 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: varnish Title: Front-end for The Carpentries Lesson Infrastructure -Version: 1.0.3.9000 +Version: 1.0.3 Authors@R: c( person(given = "Robert", family = "Davey", diff --git a/NEWS.md b/NEWS.md index 5e6b456a..882fab96 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# varnish 1.0.3.9000 (2023-06-14) +# varnish 1.0.3 (2023-06-18) ## NEW FEATURES @@ -10,6 +10,7 @@ * Add a dark mode so users can switch between text and background colours (implemented: @astroDimitrios https://github.com/carpentries/varnish/pull/124) + # varnish 1.0.2 (2023-04-10) ## NEW FEATURES From be054b2dd2e086eba1c1f8c0ae68bd106e56f3c9 Mon Sep 17 00:00:00 2001 From: froggleston Date: Tue, 18 Jun 2024 20:35:10 +0100 Subject: [PATCH 2/2] Adjust toggle dark mode button label to translatable label --- inst/pkgdown/templates/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/pkgdown/templates/header.html b/inst/pkgdown/templates/header.html index 83d4cf03..5905c4e9 100644 --- a/inst/pkgdown/templates/header.html +++ b/inst/pkgdown/templates/header.html @@ -75,7 +75,7 @@ aria-expanded="false" data-bs-toggle="dropdown" data-bs-display="static" - aria-label="Toggle theme (auto)"> + aria-label="{{ translate.ToggleDarkMode }}">