Skip to content

Commit

Permalink
fix(i18n): rm invalid keys FORM.INFOS
Browse files Browse the repository at this point in the history
The translation key FORM.INFOS was removed a long time ago, but some
partials were evidently not updated.  This commit fixes those partials.
  • Loading branch information
Jonathan Niles authored and jniles committed Jan 9, 2017
1 parent 4b20cf1 commit 56b0d49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/js/components/bhFindDocument.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function FindDocumentComponent(Patient, Modal, Document, Notify, User, $translat

return Document.remove(vm.session.patientUuid, uuid)
.then(function () {
Notify.success('FORM.INFOS.DELETE_SUCCESS');
Notify.success('FORM.INFO.DELETE_SUCCESS');
startup();
});
})
Expand Down
8 changes: 4 additions & 4 deletions client/src/partials/enterprises/enterprises.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function EnterpriseController(Enterprises, Currencies, util, Notify, Projects, M

return promise
.then(function () {
Notify.success(creation ? 'FORM.INFOS.SAVE_SUCCESS' : 'FORM.INFOS.UPDATE_SUCCESS');
Notify.success(creation ? 'FORM.INFO.SAVE_SUCCESS' : 'FORM.INFO.UPDATE_SUCCESS');
})
.catch(Notify.handleError);
}
Expand Down Expand Up @@ -125,7 +125,7 @@ function EnterpriseController(Enterprises, Currencies, util, Notify, Projects, M
if (!value) { return; }

refreshProjects();
Notify.success('FORM.INFOS.UPDATE_SUCCESS');
Notify.success('FORM.INFO.UPDATE_SUCCESS');
})
.catch(Notify.handleError);
}
Expand All @@ -144,7 +144,7 @@ function EnterpriseController(Enterprises, Currencies, util, Notify, Projects, M
if (!value) { return; }

refreshProjects();
Notify.success('FORM.INFOS.CREATE_SUCCESS');
Notify.success('FORM.INFO.CREATE_SUCCESS');
})
.catch(Notify.handleError);
}
Expand All @@ -166,7 +166,7 @@ function EnterpriseController(Enterprises, Currencies, util, Notify, Projects, M

Projects.delete(id)
.then(function () {
Notify.success('FORM.INFOS.DELETE_SUCCESS');
Notify.success('FORM.INFO.DELETE_SUCCESS');
return refreshProjects();
})
.catch(Notify.handleError);
Expand Down

0 comments on commit 56b0d49

Please sign in to comment.