diff --git a/VERSIONS_HOTLINE/87377 b/VERSIONS_HOTLINE/87377 new file mode 100644 index 0000000000000000000000000000000000000000..6672be641860bba0c58c51eae31f5685a4fa9d53 --- /dev/null +++ b/VERSIONS_HOTLINE/87377 @@ -0,0 +1 @@ + - ticket #87377 : SIGB Koha : amélioration message d'erreur compte bloqué \ No newline at end of file diff --git a/library/Class/WebService/SIGB/Koha/Service.php b/library/Class/WebService/SIGB/Koha/Service.php index 2fa5a8889a865dc05c25ce541a7cbf7753798fe3..dfe279c6644d02015ced41a16a7b6b1b013983b2 100644 --- a/library/Class/WebService/SIGB/Koha/Service.php +++ b/library/Class/WebService/SIGB/Koha/Service.php @@ -55,7 +55,7 @@ class Class_WebService_SIGB_Koha_Service extends Class_WebService_SIGB_AbstractR 'on_reserve' => $this->_('document réservé par un autre lecteur'), 'too_many' => $this->_('nombre maximum de prolongations atteint'), 'onsite_checkout' => $this->_('document en prêt sur place'), - 'restriction' => $this->_('limitation sur l\'âge'), + 'restriction' => $this->_('compte bloqué'), 'overdue' => $this->_('documents en retard'), 'too_soon' => $this->_('trop tôt pour renouveler') ]; diff --git a/tests/library/Class/WebService/SIGB/KohaTest.php b/tests/library/Class/WebService/SIGB/KohaTest.php index ae1c49d70f15878f1072b6e64648a2e74fc86e5f..c4fb373ca8d8fee40340c6366f90264d6a61a3fc 100644 --- a/tests/library/Class/WebService/SIGB/KohaTest.php +++ b/tests/library/Class/WebService/SIGB/KohaTest.php @@ -1327,7 +1327,7 @@ class KohaErrorMessagesOperationTest extends KohaTestCase { ['on_reserve' , 'document réservé par un autre lecteur'], ['too_many' , 'nombre maximum de prolongations atteint'], ['onsite_checkout' , 'document en prêt sur place'], - ['restriction' , 'limitation sur l\'âge'], + ['restriction' , 'compte bloqué'], ['overdue' , 'documents en retard'], ['too_soon' , 'trop tôt pour renouveler'] ];