i18n on the web - deepseek translations

This commit is contained in:
Priec
2026-08-14 20:35:37 +02:00
parent 2dc0d94ba0
commit 8f1bfdbe0c
91 changed files with 4679 additions and 1237 deletions

View File

@@ -3,10 +3,10 @@
The swap target is a <select>, so even the failure case is an <option>.
#}
{%- if let Some(message) = error %}
<option value="">Could not load profiles: {{ message }}</option>
<option value="">{{ nav.tr_args("analytics-load-error", [("message", message.to_string())]) }}</option>
{%- else %}
<option value="">{% if profiles.is_empty() %}No profiles available{% else %}Choose a profile{% endif %}</option>
<option value="">{% if profiles.is_empty() %}{{ nav.tr("analytics-no-profiles") }}{% else %}{{ nav.tr("analytics-choose-profile") }}{% endif %}</option>
{%- for profile in profiles %}
<option value="{{ profile.name }}">{{ profile.name }} ({{ profile.table_count }} tables)</option>
<option value="{{ profile.name }}">{{ profile.name }} ({{ nav.tr_count("admin-table-count", "count", profile.table_count as i64) }})</option>
{%- endfor %}
{%- endif %}