core&ui: allow edit ja_jp statement

This commit is contained in:
undefined committed 2025-10-29 17:29:59 +08:00
1 parent c416c1893e
commit 15c58e0404
4 files changed
+14 -6

No files matched your search

@@ -40,7 +40,7 @@
</style>
{% if process.env.DEV %}
<script src="/default.theme.js?version={{ global.Hydro.version['ui-default'] }}"></script>
<link rel="stylesheet" media="all" href="/theme.css?version={{ global.Hydro.version['ui-default'] }}">
<link rel="stylesheet" media="all" href="/theme-{{ global.Hydro.version['ui-default'] }}.css">
{% else %}
<link rel="stylesheet" media="all" href="{{ UiContext.cdn_prefix }}theme-{{ global.Hydro.version['ui-default'] }}.css">
{% endif %}
@@ -52,11 +52,9 @@
<div class="section__tab-header-wrapper">
<ul class="section__tab-header">
<li class="section__tab-header-item tab--active" data-lang="{{ _('__id') }}">{{ _('__langname') }}</li>
{% for k, v in model.setting.SETTINGS_BY_KEY['viewLang'].range %}
{% if k != handler.user.viewLang %}
<li class="section__tab-header-item" data-lang="{{ k }}">{{ v }}</li>
{% endif %}
{% endfor %}
{% for k, v in statementLangs %}{% if k != handler.user.viewLang %}
<li class="section__tab-header-item" data-lang="{{ k }}">{{ v }}</li>
{% endif %}{% endfor %}
</ul>
</div>
</div>