summaryrefslogtreecommitdiffstats
path: root/js/components/contact/contact_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/contact/contact_controller.js')
-rw-r--r--js/components/contact/contact_controller.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/components/contact/contact_controller.js b/js/components/contact/contact_controller.js
index 5c4d7311..2d84076f 100644
--- a/js/components/contact/contact_controller.js
+++ b/js/components/contact/contact_controller.js
@@ -2,6 +2,10 @@ angular.module('contactsApp')
.controller('contactCtrl', function($route, $routeParams) {
var ctrl = this;
+ ctrl.t = {
+ errorMessage : t('contacts', 'This card is corrupted and has been fixed. Please check the data and trigger a save to make the changes permanent.'),
+ };
+
ctrl.openContact = function() {
$route.updateParams({
gid: $routeParams.gid,