Skip to content

Commit a9f7d03

Browse files
authored
Merge pull request #985 from sergeysova/patch-1
Add playground to nav
2 parents 8932b82 + baf71c2 commit a9f7d03

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

locales/en-US/common.ftl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ nav-tools = Tools
2424
nav-governance = Governance
2525
nav-community = Community
2626
nav-blog = Blog
27+
nav-playground = Playground
2728
2829
choose-language = Language
2930
@@ -54,4 +55,4 @@ footer-attribution = Maintained by the Rust Team. See a typo?
5455
footer-old-site = Looking for the <a href="https://prev.rust-lang.org">previous website</a>?
5556
5657
## what/index.hbs
57-
what-header = What
58+
what-header = What

locales/ru/common.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ nav-tools = Инструменты
2222
nav-governance = Управление
2323
nav-community = Сообщество
2424
nav-blog = Блог
25+
nav-playground = Песочница
2526
choose-language = Язык
2627
nav-logo-alt = Логотип Rust
2728

templates/components/nav.hbs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<ul class="nav list w-100 w-auto-l flex flex-none flex-row flex-wrap justify-center justify-end-l items-center pv2 ph0 ph4-ns">
1212
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/tools/install">{{fluent "nav-install"}}</a></li>
1313
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/learn">{{fluent "nav-learn"}}</a></li>
14+
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="https://play.rust-lang.org/">{{fluent "nav-playground"}}</a></li>
1415
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/tools">{{fluent "nav-tools"}}</a></li>
1516
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/governance">{{fluent "nav-governance"}}</a></li>
1617
<li class="tc pv2 ph2 ph4-ns flex-20-s"><a href="{{baseurl}}/community">{{fluent "nav-community"}}</a></li>

0 commit comments

Comments
 (0)