Added more missing localization, added LocalizationChecker tool, moved CriticalCSSGenerator to tools folder

This commit is contained in:
2026-01-01 19:03:57 +01:00
parent 3e433c3cbe
commit 6f4ffbcaa6
8 changed files with 209 additions and 16 deletions

View File

@@ -41,7 +41,7 @@
@T["Strings"]
<i class="bi bi-info-circle-fill text-info"
data-bs-toggle="tooltip"
title="The number of strings for which there are embeddings. I.e. If you use two models, the amount of embeddings will be twice this number."></i>
title="@T["stringsCountInfo"]"></i>
</span>
<strong id="embeddingcacheElementCount"></strong>
</div>

View File

@@ -92,7 +92,7 @@
<div class="card section-card mb-4">
<div class="card-body">
<div class="d-flex justify-content-between align-items-center mb-2">
<h3>Recent queries</h3>
<h3>@T["Recent queries"]</h3>
<input
type="text"
class="form-control form-control-sm w-25"
@@ -103,8 +103,8 @@
<table id="queriesTable" class="table table-striped" style="max-height: 60vh; overflow-y: auto; display: block;">
<thead>
<tr>
<th class="visually-hidden">Name</th>
<th class="visually-hidden">Action</th>
<th class="visually-hidden">@T["Name"]</th>
<th class="visually-hidden">@T["Action"]</th>
</tr>
</thead>
<tbody>
@@ -129,8 +129,8 @@
<table id="entitiesTable" class="table table-striped" style="max-height: 60vh; overflow-y: auto; display: block;">
<thead>
<tr>
<th class="visually-hidden">Name</th>
<th class="visually-hidden">Action</th>
<th class="visually-hidden">@T["Name"]</th>
<th class="visually-hidden">@T["Action"]</th>
</tr>
</thead>
<tbody>
@@ -298,10 +298,10 @@
<div class="modal-footer">
<button type="button" class="btn btn-warning" onclick="renameSearchdomain(getSelectedDomainKey(), document.getElementById('renameSearchdomainNewName').value)" data-bs-dismiss="modal">
Rename
@T["Rename"]
</button>
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">
Close
@T["Close"]
</button>
</div>
</div>