changeset 5020:fac8b97e841f

health_federation: Include msg_ prefix on messages
author Luis Falcon <falcon@gnuhealth.org>
date Tue, 25 Jan 2022 09:36:45 +0000
parents a6c8a690debd
children b281a760742e
files tryton/health_federation/health_federation.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_federation/health_federation.py
+++ b/tryton/health_federation/health_federation.py
@@ -126,7 +126,7 @@
 
         if (not user or not password):
             raise NeedLoginCredentials(
-                gettext('health_federation.need_login_credentials')
+                gettext('health_federation.msg_need_login_credentials')
                 )
 
         url = protocol + host + ':' + str(port) + '/people/' + user
@@ -138,17 +138,17 @@
 
         except:
             raise ServerAuthenticationError(
-                gettext('health_federation.server_authentication_error')
+                gettext('health_federation.msg_server_authentication_error')
                 )
 
         if conn:
             raise ThalamusConnectionOK(
-                gettext('health_federation.thalamus_connection_ok')
+                gettext('health_federation.msg_thalamus_connection_ok')
                 )
 
         else:
             raise ThalamusConnectionError(
-                gettext('health_federation.thalamus_connection_error')
+                gettext('health_federation.msg_thalamus_connection_error')
                 )
 
     @classmethod
@@ -228,7 +228,7 @@
 
         else:
             raise NoInstitution(
-                gettext('health_federation.no_institution')
+                gettext('health_federation.msg_no_institution')
                 )
 
         return institution_code