Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion databags/translate.ini
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ speaking_after_title = , giving a presentation entitled
keynoting_before_title = will be keynoting
keynoting_after_title = , giving a presentation entitled
tutorial_before_title = will be presenting a tutorial at
tutorial_ater_title = entitled
tutorial_after_title = entitled
sprint_helping = will be at the sprints, and will be more than willing to help First Time Contributors earn their own shiny
sprint_helping_plural = will be at the sprints, and will be more than willing to help First Time Contributors earn their own shiny

Expand Down
6 changes: 3 additions & 3 deletions templates/event.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ <h1>{{ this.title }} ({{ this.event_type|title }})</h1>
{% endblock %}
{% block main %}
{% if this.event_type == "talk" %}
<p>{{ this.speaker|join(t_and)}} {{ t_speaking_before_title }} {{ this.title }}{{ t_speaking_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
<p>{{ this.speaker|join(t_and)}} {{ t_speaking_before_title }} {{ this.title }} {{ t_speaking_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
{% elif this.event_type == "keynote" %}
<p>{{ this.speaker|join(t_and)}} {{ t_keynoting_before_title }} {{ this.title }}{{ t_keynoting_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
<p>{{ this.speaker|join(t_and)}} {{ t_keynoting_before_title }} {{ this.title }} {{ t_keynoting_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
{% elif this.event_type == "tutorial" %}
<p>{{ this.speaker|join(t_and)}} {{ t_tutorial_before_title }} {{ this.title }}{{ t_tutorial_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
<p>{{ this.speaker|join(t_and)}} {{ t_tutorial_before_title }} {{ this.title }} {{ t_tutorial_after_title }} "<a href="{{ this.url }}">{{ this.talk_title }}</a>".
{% elif this.event_type == "sprint" %}
<p>{{ t_running_sprint }} {{ this.title }}.</p>
<p>{{ this.speaker|join(t_and) }} {% if this.speaker|length > 1 %}{{ t_sprint_helping_plural }}{% else %}{{ t_sprint_helping }}{% endif %} <a href="{{ '/contributing/challenge-coins/'|url(alt=this.alt) }}">{{ t_challenge_coin }}</a>.
Expand Down
2 changes: 1 addition & 1 deletion templates/macros/translation.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% macro transbag(bag_name, alt, key, alt_default='en') %}
{{ bag(bag_name, alt, key)|default(bag(bag_name, alt_default, key), true) }}
{{ bag(bag_name, alt, key)|default(bag(bag_name, alt_default, key), true)|default("", true)}}
{% endmacro %}