i18n on the web - deepseek translations
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user