aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorXinhui2016-09-28 17:37:56 +0200
committerXinhui2016-09-28 17:37:56 +0200
commit1d84e1ded90688fee6ad80bb4f53c861552e3b68 (patch)
tree4fd1102f114a5edaaaaef892733078b3f494194e /config
parent4dbfc621e34d90438095139e72e841a584b44ff7 (diff)
downloadchouette-core-1d84e1ded90688fee6ad80bb4f53c861552e3b68.tar.bz2
Templating line_referential_sync_message
Refs #1707
Diffstat (limited to 'config')
-rw-r--r--config/locales/line_referentials.en.yml9
-rw-r--r--config/locales/line_referentials.fr.yml8
2 files changed, 10 insertions, 7 deletions
diff --git a/config/locales/line_referentials.en.yml b/config/locales/line_referentials.en.yml
index d7cd6c519..443a9a90d 100644
--- a/config/locales/line_referentials.en.yml
+++ b/config/locales/line_referentials.en.yml
@@ -5,12 +5,15 @@ en:
edit:
title: "Edit %{line_referential} referential"
synchronization:
- message: "Synchronization successful in %{time} seconds with %{imported} objects from Codifligne. %{deleted} objects were deleted."
- failure: "Synchronization interrupted after %{time} seconds."
+ codifligne:
+ message:
+ pending: "Synchronization pending"
+ successful: "Synchronization successful after %{processing_time} with %{imported} objects. %{deleted} objects were deleted.."
+ failed: "Synchronization failed after %{processing_time} with error: %{error}."
activerecord:
models:
line_referential:
one: "referential"
attributes:
line_referential:
- sync_interval: "Synchronisation frequency" \ No newline at end of file
+ sync_interval: "Synchronisation frequency"
diff --git a/config/locales/line_referentials.fr.yml b/config/locales/line_referentials.fr.yml
index adb96cbe0..da89fef63 100644
--- a/config/locales/line_referentials.fr.yml
+++ b/config/locales/line_referentials.fr.yml
@@ -4,11 +4,11 @@ fr:
edit: "Modifier ce référentiel"
edit:
title: "Modifier le référentiel %{line_referential}"
- synchronization:
- codifligne:
+ 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."
+ pending: "Synchronisation en attente"
+ successful: "Synchronisation réussie après %{processing_time} secondes avec %{imported} éléments importés. %{deleted} éléments ont été supprimés."
+ failed: "Synchronisation interrompue après %{processing_time} secondes avec l'erreur : %{error}."
activerecord:
models:
line_referential: