mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-16 00:29:05 +00:00
Translated to french and bugfixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
<div class="container">
|
||||
<div class="card">
|
||||
<div class="card-header">Global Information</div>
|
||||
<div class="card-header">Information globale</div>
|
||||
<div class="card-body">
|
||||
<table class="info-table table-hover table-striped">
|
||||
<tbody>
|
||||
@@ -14,45 +14,45 @@
|
||||
<td><pre>{{ version }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total thumbnail cache size</th>
|
||||
<th>Taille totale des miniatures</th>
|
||||
<td><pre>{{ tn_size_total }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total document count</th>
|
||||
<th>Nombre de documents totals</th>
|
||||
<td><pre>{{ doc_count }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total size of indexed documents</th>
|
||||
<th>Taille totale des documents indexés</th>
|
||||
<td><pre>{{ doc_size }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Total index size</th>
|
||||
<th>Taille totale de l'index</th>
|
||||
<td><pre>{{ index_size }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>User count</th>
|
||||
<th>Nombre d'utilisateurs</th>
|
||||
<td><pre>1</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>SQLite database path</th>
|
||||
<th>Chemin de la base de donnée SQLite</th>
|
||||
<td><pre>{{ db_path }}</pre></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Elasticsearch URL</th>
|
||||
<th>Adresse Elasticsearch</th>
|
||||
<td><pre>{{ elasticsearch_url }}</pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="card-footer text-muted">Change global settings in <b>config.py</b></div>
|
||||
<div class="card-footer text-muted">Changez les paramètres dans <b>config.py</b></div>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">Actions</div>
|
||||
<div class="card-body">
|
||||
<button class="btn btn-danger" onclick="resetAll()">
|
||||
<i class="fas fa-exclamation-triangle"></i> Reset elasticsearch index
|
||||
<i class="fas fa-exclamation-triangle"></i> Réinitialiser l'index elasticsearch
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -60,8 +60,8 @@
|
||||
|
||||
<script>
|
||||
function resetAll() {
|
||||
if (confirm("This will entirely reset the index and documents will need to be re-indexed.\n\n" +
|
||||
"Do you want to proceed?")) {
|
||||
if (confirm("Cela va entièrement réinitialiser l'index et ses documents devrons être réindexés.\n\n" +
|
||||
"Voulez-vous procéder?")) {
|
||||
window.location = "/reset_es"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user