Sfoglia il codice sorgente

Translation of table headers in webforms (#2099)

Added translation for headers in web forms
version-14
paurosello 8 anni fa
committed by Rushabh Mehta
parent
commit
92d49ba07c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      frappe/templates/generators/web_form.html

+ 2
- 2
frappe/templates/generators/web_form.html Vedi File

@@ -171,7 +171,7 @@
{% if d!=None %} {% if d!=None %}
{{ render_field(df, d, False) }} {{ render_field(df, d, False) }}
{% else %} {% else %}
<span class='text-muted small'>{{ df.label }}</span>
<span class='text-muted small'>{{ _(df.label) }}</span>
{% endif %} {% endif %}
</{{ 'th' if d.name==None else 'td' }}> </{{ 'th' if d.name==None else 'td' }}>
{% endif %} {% endif %}
@@ -624,4 +624,4 @@ input, select {


{% if style is defined %}{{ style }}{% endif %} {% if style is defined %}{{ style }}{% endif %}
</style> </style>
{% endblock %}
{% endblock %}

Caricamento…
Annulla
Salva