[damned-lies] fix: localize language name in activity summary



commit 1317a8028878b10e4db4e7f3baa2b83dfc87ec50
Author: Tim Sabsch <tim sabsch com>
Date:   Thu Jul 28 20:54:43 2022 +0200

    fix: localize language name in activity summary
    
    Fixes #300.

 templates/vertimus/activity_summary.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/templates/vertimus/activity_summary.html b/templates/vertimus/activity_summary.html
index c457fc72..01c3c808 100644
--- a/templates/vertimus/activity_summary.html
+++ b/templates/vertimus/activity_summary.html
@@ -17,13 +17,13 @@ $(document).ready(function()
 {% endblock %}
 
 {% block title %}
-  {% blocktrans with lang=language.name %}Activity summary for “{{ lang }}”{% endblocktrans %}
+  {% blocktrans with lang=language.get_name %}Activity summary for “{{ lang }}”{% endblocktrans %}
 {% endblock %}
 
 {% block content %}
 <div class="maxwidth">
 
-<h1>{% blocktrans with lang=language.name url=language.get_team_url %}Activity summary for <a href="{{ url 
}}">{{ lang }}</a>{% endblocktrans %}</h1>
+<h1>{% blocktrans with lang=language.get_name url=language.get_team_url %}Activity summary for <a href="{{ 
url }}">{{ lang }}</a>{% endblocktrans %}</h1>
 
 <table class="stats" id="summary">
 <thead><tr>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]