mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Merge pull request #2366 from SchrodingersGat/translate-stats
Collect translation stats as part of docker container initialization
This commit is contained in:
commit
540d60d294
@ -210,14 +210,14 @@
|
|||||||
<div class='input-group-append'>
|
<div class='input-group-append'>
|
||||||
<input type="submit" value="{% trans 'Set Language' %}" class="btn btn btn-primary">
|
<input type="submit" value="{% trans 'Set Language' %}" class="btn btn btn-primary">
|
||||||
</div>
|
</div>
|
||||||
<p>{% trans "Some languages are not complete" %}
|
|
||||||
{% if ALL_LANG %}
|
|
||||||
. <a href="{% url 'settings' %}">{% trans "Show only sufficent" %}</a>
|
|
||||||
{% else %}
|
|
||||||
{% trans "and hidden." %} <a href="?alllang">{% trans "Show them too" %}</a>
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
|
<p>{% trans "Some languages are not complete" %}
|
||||||
|
{% if ALL_LANG %}
|
||||||
|
. <a href="{% url 'settings' %}">{% trans "Show only sufficent" %}</a>
|
||||||
|
{% else %}
|
||||||
|
{% trans "and hidden." %} <a href="?alllang">{% trans "Show them too" %}</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6">
|
<div class="col-sm-6">
|
||||||
|
@ -38,5 +38,8 @@ fi
|
|||||||
|
|
||||||
cd ${INVENTREE_HOME}
|
cd ${INVENTREE_HOME}
|
||||||
|
|
||||||
|
# Collect translation file stats
|
||||||
|
invoke translate-stats
|
||||||
|
|
||||||
# Launch the CMD *after* the ENTRYPOINT completes
|
# Launch the CMD *after* the ENTRYPOINT completes
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user