From: jvoisin <julien.voisin@dustri.org>
Date: Sat, 1 Sep 2018 15:54:08 +0000 (+0200)
Subject: Compatibilité des graphs Onionoo 6.2
X-Git-Url: https://nos-oignons.net/gitweb/website.git/commitdiff_plain/bb4c023b56e8946fb56702389e93e9c71d6ee60c?ds=inline

Compatibilité des graphs Onionoo 6.2

Comme onionoo 6.2 change "3_months" en "6_months"
dans ses documents, on fait de même pour notre site.

Sauf erreur, ça devrait être la seule modification nécessaire.
---

diff --git a/assets/bw_graphs.js b/assets/bw_graphs.js
index ee51966..3efacbb 100644
--- a/assets/bw_graphs.js
+++ b/assets/bw_graphs.js
@@ -38,7 +38,7 @@ BwDrawer.write_stack = d3.layout.stack()
 BwDrawer.onionoo_url = "https://onionoo.torproject.org/bandwidth?type=relay&contact=adminsys@nos-oignons.net";
 
 BwDrawer.periods = [
-    { id: "3_months", label: L10n.t_3_months },
+    { id: "6_months", label: L10n.t_6_months },
     { id: "1_year", label: L10n.t_1_year },
     { id: "5_years", label: L10n.t_5_years },
   ];
diff --git a/assets/l10n.en.js b/assets/l10n.en.js
index a03d9be..cd788f4 100644
--- a/assets/l10n.en.js
+++ b/assets/l10n.en.js
@@ -7,6 +7,6 @@ L10n.weights = "Weights and probabilites";
 L10n.nos_oignons = "Nos oignons";
 L10n.others = "Others";
 L10n.t_1_month = "1 month";
-L10n.t_3_months = "3 months";
+L10n.t_6_months = "6 months";
 L10n.t_1_year = "1 year";
 L10n.t_5_years = "5 years";
diff --git a/assets/l10n.fr.js b/assets/l10n.fr.js
index d85a82c..9fc4f5d 100644
--- a/assets/l10n.fr.js
+++ b/assets/l10n.fr.js
@@ -7,6 +7,6 @@ L10n.weights = "Poids et probabilités";
 L10n.nos_oignons = "Nos oignons";
 L10n.others = "Autres";
 L10n.t_1_month = "1 mois";
-L10n.t_3_months = "3 mois";
+L10n.t_6_months = "6 mois";
 L10n.t_1_year = "1 an";
 L10n.t_5_years = "5 ans";
diff --git a/assets/weights_graphs.js b/assets/weights_graphs.js
index 943111f..1b949c5 100644
--- a/assets/weights_graphs.js
+++ b/assets/weights_graphs.js
@@ -41,7 +41,7 @@ WeightsDrawer.onionoo_url = "https://onionoo.torproject.org/weights?type=relay&c
 
 WeightsDrawer.periods = [
     { id: "1_month", label: L10n.t_1_month },
-    { id: "3_months", label: L10n.t_3_months },
+    { id: "6_months", label: L10n.t_6_months },
     { id: "1_year", label: L10n.t_1_year },
     { id: "5_years", label: L10n.t_5_years },
   ];