Commit 45b06ba6b2b1c2a2021cdccbf634d7fabfabc98c

Authored by Alexandre Barbosa
Committed by Luciano Prestes
1 parent 772b9f4e

Fixing ordering names translations in colab-theme

Signed-off-by: Alexandre Barbosa <alexandreab@live.com>
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
... ... @@ -63,9 +63,9 @@
63 63 <select name="order" id="order_option" onchange="this.form.submit()">
64 64 {% for option, dict_order in order_data.items %}
65 65 {% ifequal request.GET.order option %}
66   - <option value="{{option}}" selected>{% trans option %}</option>
  66 + <option value="{{option}}" selected>{% trans dict_order.name %}</option>
67 67 {% else %}
68   - <option value="{{option}}">{% trans option %}</option>
  68 + <option value="{{option}}">{% trans dict_order.name %}</option>
69 69 {% endifequal %}
70 70 {% endfor %}
71 71 </select>
... ...