Skip to content

Commit

Permalink
Exclude Get Involved page from string extraction and only display lin…
Browse files Browse the repository at this point in the history
…k on English header menus.
  • Loading branch information
Sancus committed Apr 27, 2018
1 parent 548fe70 commit 994569c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
1 change: 1 addition & 0 deletions babel.cfg
@@ -1,5 +1,6 @@
[ignore: website/calendar/**.html]
[ignore: website/email-providers/index.html]
[ignore: website/get-involved/index.html]
[ignore: website/organizations/index.html]
[jinja2: website/**.html]
[jinja2: start-page/release/index.html]
Expand Down
12 changes: 7 additions & 5 deletions website/_includes/base-resp.html
Expand Up @@ -76,11 +76,13 @@
{{_('Support')}}
</a>
</li>
<li id="nav-main-get-involved">
<a href="{{ url('thunderbird.get-involved') }}" tabindex="0">
{{_('Get Involved')}}
</a>
</li>
{% if LANG.startswith('en-') %}
<li id="nav-main-get-involved">
<a href="{{ url('thunderbird.get-involved') }}" tabindex="0">
{{_('Get Involved')}}
</a>
</li>
{% endif %}
<li class="last" id="nav-main-donate">
<a class="emphasis" href="{{ donate_url('header') }}" tabindex="-1">
{{_('Donate')}}
Expand Down

0 comments on commit 994569c

Please sign in to comment.