support installation specific translations (#1099)

This commit is contained in:
Kevin Papst
2019-09-11 23:18:35 +02:00
committed by GitHub
parent 8c503a226e
commit 7f1a206a52
12 changed files with 349 additions and 16 deletions

View File

@@ -50,12 +50,12 @@
{% endmacro %}
{% macro username(user) %}
{{ user.alias|default(user.username) }}
{{- user.displayName -}}
{% endmacro %}
{% macro label_user(user) %}
{% import _self as macro %}
{{ macro.label(macro.username(user), 'primary') }}
{{ macro.label(user.displayName, 'primary') }}
{% endmacro %}
{% macro label_activity(activity, url) %}