We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aac9a44 commit 07a8644Copy full SHA for 07a8644
mafia.py
@@ -30,7 +30,7 @@ def index():
30
id += 1
31
return render_template("index.html",
32
image_name=image_name,
33
- role_name=role,
+ role_name=role, rol_name_fa=role2fa[role],
34
player_id=id - 1,
35
is_farsi=True)
36
templates/index.html
@@ -11,7 +11,7 @@
11
{% block role_title %}
12
<h1>{{ role_name }}
13
{% if is_farsi == True %}
14
- <h2 id="fa">...</h2>
+ <h2 id="fa">{{ role_name_fa }}</h2>
15
{% endif %}
16
</h1>
17
{% endblock %}
0 commit comments