1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-11 17:34:56 +00:00

[sysadmin] Fix license info issue

This commit is contained in:
zhengxie 2018-12-07 11:46:18 +08:00
parent a492bad1ba
commit 821d656b59

View File

@ -143,11 +143,14 @@
<% if (is_pro) { %>
{% trans "Professional Edition" %}
<% if (with_license) { %>
{% if LANGUAGE_CODE == 'zh-cn' %}永久授权给{% else %}{% trans "licensed to" %}{% endif %} <%- license_to %>,
<% if (license_mode == 'life-time') { %>
{% if LANGUAGE_CODE == 'zh-cn' %}技术支持服务至{% else %}{% trans "upgrade service expired in" %}{% endif %} <%- license_expiration %> {% if LANGUAGE_CODE == 'zh-cn' %}到期{% endif %}
{% if LANGUAGE_CODE == 'zh-cn' %}
永久授权给 <%- license_to %>, 技术支持服务至 <%- license_expiration %> 到期
{% else %}
{% trans "licensed to" %} <%- license_to %>, {% trans "upgrade service expired in" %} <%- license_expiration %>
{% endif %}
<% } else { %>
{% trans "expires on" %} <%- license_expiration %>
{% trans "licensed to" %} <%- license_to %>, {% trans "expires on" %} <%- license_expiration %>
<% } %>
<% } %>