aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorEdouard Maffert2016-08-19 11:48:17 +0200
committerEdouard Maffert2016-08-19 11:48:17 +0200
commitb2eeaa1eb9f8e4788ef1467bd6fbd2dd4aa6300c (patch)
tree427103d3eaba70110aeb6f4f40b8b82c2d5bdff4 /config
parent3006b23a21ab2d5671e29c1241fd5cf672f9ce1d (diff)
downloadchouette-core-b2eeaa1eb9f8e4788ef1467bd6fbd2dd4aa6300c.tar.bz2
fix codiflinesynchronization and add better synchronization messages
Diffstat (limited to 'config')
-rw-r--r--config/locales/line_referentials.en.yml3
-rw-r--r--config/locales/line_referentials.fr.yml4
2 files changed, 7 insertions, 0 deletions
diff --git a/config/locales/line_referentials.en.yml b/config/locales/line_referentials.en.yml
index d1b164ea3..ad4cfa45c 100644
--- a/config/locales/line_referentials.en.yml
+++ b/config/locales/line_referentials.en.yml
@@ -1,4 +1,7 @@
en:
+ synchronization:
+ message: "Synchronization successful in %{time} seconds with %{imported} objects from Codifligne. %{deleted} objects were deleted."
+ failure: "Synchronization interrupted after %{time} seconds."
activerecord:
attributes:
line_referential:
diff --git a/config/locales/line_referentials.fr.yml b/config/locales/line_referentials.fr.yml
index 5b5e0419c..6378087d7 100644
--- a/config/locales/line_referentials.fr.yml
+++ b/config/locales/line_referentials.fr.yml
@@ -1,4 +1,8 @@
fr:
+ synchronization:
+ message:
+ success: "Synchronisation réussie après %{time} secondes avec %{imported} éléments importés de Codifligne. %{deleted} éléments ont été supprimés."
+ failure: "Synchronisation interrompue après %{time} secondes."
activerecord:
attributes:
line_referential: