Skip to content

Commit 3596b10

Browse files
committed
Add information about web site autoupdate
1 parent 826f378 commit 3596b10

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ on:
77
# Allow rebuilding/redeploying the web manually
88
workflow_dispatch:
99
schedule:
10-
# Rebuild the web periodically at 22:00 UTC to update team API contents and Rust version
10+
# Rebuild the web periodically at 22:00 UTC to update team API contents and Rust version.
11+
# Time must be kept in sync with the `autoupdate` parameter in
12+
# `templates/components/footer.html.hbs`.
1113
- cron: '0 22 * * *'
1214
env:
1315
RUST_BACKTRACE: 1

locales/en-US/common.ftl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ footer-github-alt = GitHub
6060
footer-attribution = Maintained by the Rust Team. See a bug?
6161
<a href="https://github.com/rust-lang/www.rust-lang.org/issues/new/choose">File an issue!</a>
6262
63+
footer-autoupdate = Web site built every day at { $autoupdate }
64+
6365
footer-old-site = Looking for the <a href="https://prev.rust-lang.org">previous website</a>?
6466
6567
## what/index.hbs

locales/fr/common.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ footer-youtube-alt = Twitter
5151
footer-alt-youtube = Logo YouTube
5252
footer-github-alt = GitHub
5353
footer-attribution = Maintenu par l’équipe de Rust. Vous avez trouvé une erreur ? <a href="https://github.com/rust-lang/www.rust-lang.org/issues/new/choose">Envoyez-nous une correction!</a>
54+
footer-autoupdate = Site mis à jour quotidiennement à { $autoupdate }
5455
footer-old-site = Vous cherchez l'ancien <a href="https://prev.rust-lang.org">site web</a> ?
5556
5657
## what/index.hbs

templates/components/footer.html.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
<p>
5050
{{fluent "footer-attribution"}}
5151
</p>
52+
<p>{{#fluent "footer-autoupdate"}}{{#fluentparam "autoupdate"}}22:00 UTC{{/fluentparam}}{{/fluent}}</p>
5253
<p>{{fluent "footer-old-site"}}</p>
5354
</div>
5455
</div>

0 commit comments

Comments
 (0)