mirror of
https://github.com/soulaklabs/bitoduc.fr.git
synced 2025-12-08 17:13:23 +00:00
le JSON nouveau s'appellera liste_de_traductions.json
This commit is contained in:
@@ -113,7 +113,7 @@ function construireListe(traductions) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$.récupérerJSON( "traductions.json", function( traductions ) {
|
$.récupérerJSON("liste_de_traductions.json", function(traductions) {
|
||||||
construireListe(traductions);
|
construireListe(traductions);
|
||||||
mettreÀJourLienInversion();
|
mettreÀJourLienInversion();
|
||||||
$( "#lienInversion" ).clic( function() {inverser(traductions);} );
|
$( "#lienInversion" ).clic( function() {inverser(traductions);} );
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ def verifie_ordre(mots):
|
|||||||
|
|
||||||
|
|
||||||
def principal():
|
def principal():
|
||||||
with open('traductions.json') as f:
|
with open('liste_de_traductions.json') as f:
|
||||||
d = json.load(f)
|
d = json.load(f)
|
||||||
with open('vérifications/schéma.json') as f:
|
with open('vérifications/schéma.json') as f:
|
||||||
schema = json.load(f)
|
schema = json.load(f)
|
||||||
|
|||||||
Reference in New Issue
Block a user