Skip to content

Commit

Permalink
Merge pull request #4915 from jianzuoyi/fix-curated-translations-display
Browse files Browse the repository at this point in the history
fix bug for curated translations display
  • Loading branch information
hexylena authored Apr 29, 2024
2 parents 275c49f + 74c93aa commit a208064
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/resource-handson.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{% for lang in include.material.translations.tutorial %}
<li class="dropdown-item">
<a class="dropdown-item" hreflang="{{ lang }}" href="{{ site.baseurl }}/topics/{{ include.material.topic_name }}/tutorials/{{ include.material.tutorial_name }}/tutorial_{{lang | upcase }}.html" title="{{ lang }}">
{{language[lang]}}
{{ site.other_languages[lang] }}
</a>
</li>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/resource-slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
{% for lang in include.material.translations.slides %}
<li class="dropdown-item">
<a class="dropdown-item" hreflang="{{ lang }}" href="{{ site.baseurl }}/topics/{{ include.material.topic_name }}/{{subfolder}}/{{ include.material.tutorial_name }}/slides_{{lang | upcase }}.html" title="{{ lang }}">
{{language[lang]}}
{{ site.other_languages[lang] }}
</a>
</li>
{% endfor %}
Expand Down

0 comments on commit a208064

Please sign in to comment.