42fcbef95b
CI / PHP Syntax Check (push) Has been cancelled
CI / JavaScript Lint (push) Has been cancelled
CI / Docker Build Test (push) Has been cancelled
CI / Validate Translation Files (push) Has been cancelled
CI / Auto-merge develop → main (push) Has been cancelled
CI / Create GitHub Release (push) Has been cancelled
20 lines
662 B
HTML
20 lines
662 B
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<body>
|
|
<h1>Table de traduction (Catégories)</h1>
|
|
<pre id="debug-out">Chargement...</pre>
|
|
|
|
<script>
|
|
// Remplace par le chemin trouvé avec le grep ci-dessus
|
|
const LOCALE_PATH = '/locales/fr.json';
|
|
|
|
fetch(LOCALE_PATH)
|
|
.then(r => r.json())
|
|
.then(data => {
|
|
// On extrait uniquement la partie 'categories'
|
|
document.getElementById('debug-out').innerText = JSON.stringify(data.categories, null, 2);
|
|
})
|
|
.catch(e => document.getElementById('debug-out').innerText = "Erreur : " + e.message);
|
|
</script>
|
|
</body>
|
|
</html> |