le JSON nouveau s'appellera liste_de_traductions.json

This commit is contained in:
Martin Kirchgessner
2018-02-10 17:04:14 +01:00
parent 19b9555d83
commit 19b7d680a9
3 changed files with 2 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ function construireListe(traductions) {
}
$(function() {
$.récupérerJSON( "traductions.json", function( traductions ) {
$.récupérerJSON("liste_de_traductions.json", function(traductions) {
construireListe(traductions);
mettreÀJourLienInversion();
$( "#lienInversion" ).clic( function() {inverser(traductions);} );

View File

@@ -12,7 +12,7 @@ def verifie_ordre(mots):
def principal():
with open('traductions.json') as f:
with open('liste_de_traductions.json') as f:
d = json.load(f)
with open('vérifications/schéma.json') as f:
schema = json.load(f)