diff --git a/VERSIONS b/VERSIONS index a55c5db52b9256976e49ef7b413cf84554a58d96..451f67e8a2f9a22a6cc76fda37f13086578db903 100644 --- a/VERSIONS +++ b/VERSIONS @@ -1,3 +1,26 @@ +14/10/2019 - v8.0.28 + + - ticket #93423 : Open Data : Ajout des coordonnées du lieu dans la liste des bibliothèques en JSON + + - ticket #98536 : MyBibApp : i le portail est compatible (HTTPS), affiche un bandeau de présentation MyBibApp côté administration + + - ticket #98074 : Ressources numériques : si la carte d'un abonné est bloquée l'accès aux ressources numériques n'est plus autorisé + + - ticket #97665 : Le Flux RSS des avis pouvait être inutilisable dans un lecteur + + - ticket #94107 : Intégration cosmogramme : double indexation PCDM4 non pris en compte par Bokeh + + - ticket #98351 : Profils : correction de la perte de configuration des boîtes 2 colonnes lors de l'ajout d'une autre boîte dans la page. + + + + +01/10/2019 - v8.0.27 + + - ticket #96923 : Intégration : SIGB Orphée et Koha : Correction de la prise en charge de l'import des périodiques + + + 30/09/2019 - v8.0.26 - ticket #95686 : Notices : L'affichage par XSLT conserve désormais les sauts de ligne du XML source ce qui permet d'écrire des règles XSL les concernant diff --git a/application/modules/admin/controllers/IndexController.php b/application/modules/admin/controllers/IndexController.php index 76800d53dd91298e6409d53781482c558f199cf0..682dc3b1fdcb0044d43c65c47b0662c144cf2855 100644 --- a/application/modules/admin/controllers/IndexController.php +++ b/application/modules/admin/controllers/IndexController.php @@ -29,6 +29,8 @@ class Admin_IndexController extends ZendAfi_Controller_Action { $this->view->user = Class_Users::getIdentity(); + $this->view->is_request_secure = $this->getRequest()->isSecure(); + // Activation - désactivation du site if (null !== ($setSiteOk = $this->_getParam('setsiteok'))) { if ('false' == $setSiteOk) Class_AdminVar::set('SITE_OK', '0'); diff --git a/application/modules/admin/views/scripts/index/index.phtml b/application/modules/admin/views/scripts/index/index.phtml index cfd28a607fa106e28c803b44b3371870e64fa6e3..b7abcae2fc2eb933393a78be4683d85d1e5c92c8 100644 --- a/application/modules/admin/views/scripts/index/index.phtml +++ b/application/modules/admin/views/scripts/index/index.phtml @@ -1,3 +1,8 @@ +<?php +if ($this->is_request_secure) + echo $this->myBibAppTeaser() +?> + <h2 class="toggle_video"> <?php Class_ScriptLoader::getInstance()->addJQueryReady('$(".toggle_video").click(function() {$(this).toggleClass("on");$(this).next().toggle();})'); diff --git a/application/modules/opac/controllers/BibController.php b/application/modules/opac/controllers/BibController.php index 92e208265d352f66856f64f70c071659170bd2d9..afa1ceb2e5ded22b6ce3b2755989b60b127c97e6 100644 --- a/application/modules/opac/controllers/BibController.php +++ b/application/modules/opac/controllers/BibController.php @@ -85,6 +85,16 @@ class BibController extends ZendAfi_Controller_Action { $fields['openings'] = $openings; + $fields['latitude'] = ''; + $fields['longitude'] = ''; + + if (($location = $library->getLieu()) + && $location->hasLatitude() + && $location->hasLongitude()) { + $fields['latitude'] = $location->getLatitude(); + $fields['longitude'] = $location->getLongitude(); + } + return $fields; } diff --git a/application/modules/opac/controllers/BibNumeriqueController.php b/application/modules/opac/controllers/BibNumeriqueController.php index 19fb8c694216b764fb5f4d35cd010c6ed4b5be6b..f0b4d7f4ec6b8884ceaabd36675a5c42dc675a77 100644 --- a/application/modules/opac/controllers/BibNumeriqueController.php +++ b/application/modules/opac/controllers/BibNumeriqueController.php @@ -19,6 +19,14 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ class BibNumeriqueController extends ZendAfi_Controller_Action { + protected $_user; + + public function init() { + parent::init(); + $this->_user = $this->view->user = Class_Users::getIdentity(); + } + + public function viewAlbumAction() { if (null === ($album = Class_Album::getLoader()->find((int)$this->_getParam('id')))) { $this->_redirect('opac/'); @@ -29,9 +37,6 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { } - /** - * Génére le JSON pour le livre numérique - */ public function albumAction() { $album = Class_Album::getLoader()->find((int)$this->_getParam('id')); @@ -40,13 +45,10 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { } - - public function albumXspfPlaylistAction() { $album = Class_Album::getLoader()->find((int)$this->_getParam('id')); $playlist = $this->view->album_XspfPlaylistVisitor($album); - $this->getHelper('ViewRenderer')->setNoRender(); $response = $this->_response; $response->clearAllHeaders(); @@ -148,6 +150,7 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { $this->_getParam('attachment', false)); } + /** * Interpretation des permaliens type http://localhost/afi-opac3/bib-numerique/notice/ido/D09030001/folio/1R4 * sur les Albums + folios @@ -251,31 +254,31 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { protected function _redirectToLogin() { - if (!$this->_user = Class_Users::getLoader()->getIdentity()) { - $this->_forward('login', 'auth', 'opac', ['redirect' => $this->view->absoluteUrl()]); - return true; - } - return false; + if ($this->_user) + return false; + + $this->_forward('login', 'auth', 'opac', ['redirect' => $this->view->absoluteUrl()]); + return true; } protected function _redirectToPopupLogin($url) { - if (!$this->_user = Class_Users::getLoader()->getIdentity()) { - $this->_forward('popup-login', 'auth', 'opac', ['redirect' => $url]); - return true; - } - return false; + if ($this->_user) + return false; + + $this->_forward('popup-login', 'auth', 'opac', ['redirect' => $url]); + return true; } protected function _userShouldBeRedirect() { - if($this->_redirectToPopupLogin($this->view->url())) + if ($this->_redirectToPopupLogin($this->view->url())) return true; if (!$this->_user->hasRightAccessDilicom()) return $this->_ajaxRedirectToNotice(); - if(!$this->view->album = Class_Album::find($this->_getParam('id'))) + if (!$this->view->album = Class_Album::find($this->_getParam('id'))) return $this->_ajaxRedirectToNotice(); return false; @@ -291,59 +294,39 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { } - public function consultBookAjaxAction() { - if($this->_userShouldBeRedirect()) - return; - - $this->view->titre = $this->_('Consulter le livre en ligne'); - $this->renderScript('bib-numerique/consult-book.phtml'); - } - - - public function consultBookOpenAjaxAction() { - if($this->_userShouldBeRedirect()) + public function loanBookAction() { + if ($this->_redirectToLogin()) return; - $client_ip = (new Class_RemoteClient($this->_request))->getIpAddress(); - $response = (new Class_WebService_BibNumerique_Dilicom_Hub())->consultBook($this->view->album, - $client_ip, - $this->_user); - - return $this->_withContentDo($response, - function($url) - { - $this->view->open_url = $url; - $this->renderPopupResult($this->_('Consultation'), - $this->view->render('bib-numerique/consult-book-open.phtml')); - }); - } + if (!$this->_user->hasRightAccessDilicom()) + return $this->_redirectToReferer(); + if (!$album = Class_Album::find($this->_getParam('id'))) + return $this->_redirectToReferer(); - protected function _withContentDo($content, $closure) { - if(!$content) - return $this->_ajaxRedirectToNotice(); + $content = (new Class_WebService_BibNumerique_Dilicom_Hub())->loanBook($album, $this->_user); if ($content->returnMessage) { $this->_helper->notify(implode(',', $content->returnMessage)); - return $this->_ajaxRedirectToNotice(); + return $this->_redirectToNotice($album->getNoticeId()); } - $closure($content->link->url); + $this->_redirect($content->link->url); } public function downloadLoanBookAjaxAction() { - if($this->_userShouldBeRedirect()) + if ($this->_userShouldBeRedirect()) return; $content = (new Class_WebService_BibNumerique_Dilicom_Hub())->loanBook(Class_Album::find($this->_getParam('id')), $this->_user); - return $this->_withContentDo($content, - function($url) - { - $this->view->download_url = $url; - $this->renderPopupResult($this->_('Téléchargement'), $this->view->render('bib-numerique/download-book.phtml')); - }); + $this->_withContentDo($content, + function($url) + { + $this->view->download_url = $url; + $this->renderPopupResult($this->_('Téléchargement'), $this->view->render('bib-numerique/download-book.phtml')); + }); } @@ -351,22 +334,52 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { $this->view->redirect_url = $this->view->url(['controller' => 'recherche', 'action' => 'viewnotice', 'render' => 'false']); - return $this->renderPopupResult('', $this->view->render('bib-numerique/redirect.phtml')); + $this->renderPopupResult('', $this->view->render('bib-numerique/redirect.phtml')); + + return true; + } + + + public function consultBookAjaxAction() { + if($this->_userShouldBeRedirect()) + return; + + $this->view->titre = $this->_('Consulter le livre en ligne'); + $this->renderScript('bib-numerique/consult-book.phtml'); + } + + + public function consultBookOpenAjaxAction() { + if ($this->_userShouldBeRedirect()) + return; + + $client_ip = (new Class_RemoteClient($this->_request))->getIpAddress(); + $response = (new Class_WebService_BibNumerique_Dilicom_Hub()) + ->consultBook($this->view->album, $client_ip, $this->_user); + + return $this->_withContentDo($response, + function($url) + { + $this->view->open_url = $url; + $this->renderPopupResult($this->_('Consultation'), + $this->view->render('bib-numerique/consult-book-open.phtml')); + }); } public function consultBookAction() { if ($this->_redirectToLogin()) - return ; - if (!$this->_user->hasRightAccessDilicom()) return; + if (!$this->_user->hasRightAccessDilicom()) + return $this->_redirectToReferer(); + $album = Class_Album::find($this->_getParam('id')); $client_ip = (new Class_RemoteClient($this->_request))->getIpAddress(); - $response = (new Class_WebService_BibNumerique_Dilicom_Hub())->consultBook($album, - $client_ip, - Class_Users::getIdentity()); + $response = (new Class_WebService_BibNumerique_Dilicom_Hub()) + ->consultBook($album, $client_ip, $this->_user); + $content = $response; if ($content->returnMessage) { $this->_helper->notify(implode(',', $content->returnMessage)); @@ -386,24 +399,16 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { } - public function loanBookAction() { - if ($this->_redirectToLogin()) - return ; - - if (!$this->_user->hasRightAccessDilicom()) - return; - - if(!$album = Class_Album::find($this->_getParam('id'))) - return $this->_redirectToReferer(); - - $content = (new Class_WebService_BibNumerique_Dilicom_Hub())->loanBook($album, $this->_user); + protected function _withContentDo($content, $closure) { + if (!$content) + return $this->_ajaxRedirectToNotice(); if ($content->returnMessage) { $this->_helper->notify(implode(',', $content->returnMessage)); - return $this->_redirectToNotice($album->getNoticeId()); + return $this->_ajaxRedirectToNotice(); } - return $this->_redirect($content->link->url); + $closure($content->link->url); } @@ -424,5 +429,3 @@ class BibNumeriqueController extends ZendAfi_Controller_Action { $viewRenderer->setLayoutScript('empty.phtml'); } } - -?> \ No newline at end of file diff --git a/cosmogramme/php/classes/classe_notice_integration.php b/cosmogramme/php/classes/classe_notice_integration.php index 4f70654a321397951ba95d085d320f9bfee92700..bae5cc0b2e63e462c8b99394190f91475050ab0e 100644 --- a/cosmogramme/php/classes/classe_notice_integration.php +++ b/cosmogramme/php/classes/classe_notice_integration.php @@ -130,7 +130,7 @@ class notice_integration { $this->analyseur = new notice_marc21(); break; - case Class_IntProfilDonnees::FORMAT_DUBLIN_CORE: + case Class_IntProfilDonnees::FORMAT_DUBLIN_CORE: $this->analyseur = new Class_Cosmogramme_Integration_Record_DublinCore(); break; @@ -424,17 +424,15 @@ class notice_integration { $champ_numero = $number_map[$this->id_article_periodique]; $unimarc = $this->notice['unimarc']; $items = $this->notice['exemplaires']; - $id_origine = $this->notice['id_origine']; foreach($items as $item) $this->_traitePeriodiquesKohaItem($unimarc, unserialize($item['zone995']), - $champ_numero, - $id_origine); + $champ_numero); } - protected function _traitePeriodiquesKohaItem($unimarc, $champs, $champ_numero, $id_origine) { + protected function _traitePeriodiquesKohaItem($unimarc, $champs, $champ_numero) { $this->notice_sgbd->ouvrirNotice($unimarc, $this->id_profil, $this->sigb, @@ -452,9 +450,6 @@ class notice_integration { $numero = $this->_periodiqueKohaNumeroFrom($numero_value, $complement_titre); - $this->notice_sgbd->delete_field('001'); - $this->notice_sgbd->add_zone('001', $id_origine . '-' . $numero); - $this->notice_sgbd->add_field('461', '11', 't' . $this->notice['titre_princ']); $this->notice_sgbd->add_field('461', '11', 'v' . $numero); if ($complement_titre) @@ -862,18 +857,16 @@ class notice_integration { } // Pcdm4 - if($this->notice["pcdm4"]) { - $indice = $this->notice["pcdm4"]; - if (!$pcdm4 = Class_CodifPcdm4::find($indice)) { - $pcdm4 = Class_CodifPcdm4::newInstance(['id_pcdm4' => $indice, - 'libelle' => '',]); - $pcdm4->save(); - } - $this->notice["full_dewey"] .= $pcdm4->getLibelle()." "; - $facettes[]="P".$indice; + $pcdm4_indices = $this->notice['pcdm4']? + array_filter(explode(" ", $this->notice["pcdm4"])) + :[]; + + foreach ($pcdm4_indices as $indice){ + $facettes []= $this->_processPCDM4($indice); } + // Thesaurus if($thesauri=$this->notice["thesauri"]) { @@ -953,6 +946,15 @@ class notice_integration { } + protected function _processPCDM4($indice) { + $pcdm4 = Class_CodifPcdm4::getOrCreate($indice); + + $this->notice["full_dewey"] .= $pcdm4->getLibelle()." "; + + return $pcdm4->getFacetCode(); + } + + public function getFacetteAuteur($auteur) { return ($codif = $this->_getCodifAuteur($auteur)) ? 'A' . $codif->getId() : ''; diff --git a/cosmogramme/php/classes/classe_unimarc.php b/cosmogramme/php/classes/classe_unimarc.php index 7ba8693ba23f6dd50a7a1379de50ea8e0e776922..49aa13f3ac7bc5c777639b01ee22acaff92e7a8c 100644 --- a/cosmogramme/php/classes/classe_unimarc.php +++ b/cosmogramme/php/classes/classe_unimarc.php @@ -1327,12 +1327,15 @@ class notice_unimarc extends iso2709_record { if ($indice = $this->_getPergamePcdm4()) return $indice; - $data = $this->get_subfield('686'); - $data = $data + $this->get_subfield('676'); - foreach($data as $items) { - if($pcdm4 = $this->processPcdm4($this->decoupe_bloc_champ($items))) - return $pcdm4; - } + $data = array_merge($this->get_subfield('686'), $this->get_subfield('676')); + $pcdm4 = array_filter( array_map([$this, '_getPcdm4DataField'], $data)); + + return implode(" ",$pcdm4); + } + + + protected function _getPcdm4DataField($item){ + return $this->processPcdm4($this->decoupe_bloc_champ($item)); } diff --git a/cosmogramme/tests/php/classes/KohaPeriodiquesTest.php b/cosmogramme/tests/php/classes/KohaPeriodiquesTest.php index e38cfb06231cb1216dafb442b872b4c240c6e5a3..7c0aa43197deb1864a29520b0264286d54c4769d 100644 --- a/cosmogramme/tests/php/classes/KohaPeriodiquesTest.php +++ b/cosmogramme/tests/php/classes/KohaPeriodiquesTest.php @@ -23,7 +23,9 @@ require_once 'NoticeIntegrationTest.php'; abstract class KohaPeriodiquesTestCase extends NoticeIntegrationTestCase { - protected $_storm_default_to_volatile = true; + protected + $_storm_default_to_volatile = true, + $_sigb = Class_IntBib::SIGB_KOHA; public function getProfilDonnees() { return Class_IntProfilDonnees::forKoha()->setIdProfil(113) diff --git a/cosmogramme/tests/php/classes/NanookRecordsIntegrationTest.php b/cosmogramme/tests/php/classes/NanookRecordsIntegrationTest.php index 018efa8ca9031abc42aad52d4f773e4ed3262d2a..6a4cd3cf97a75eaff4ca797c340ee99e2ce9c661 100644 --- a/cosmogramme/tests/php/classes/NanookRecordsIntegrationTest.php +++ b/cosmogramme/tests/php/classes/NanookRecordsIntegrationTest.php @@ -217,6 +217,19 @@ class NanookRecordsIntegrationAuxAnimauxLaGuerreTest extends NanookRecordsIntegr } } +class NanookRecordsIntegrationLeChantDesAbbayesTest extends NanookRecordsIntegrationTestCase { + public function setUp() { + parent::setUp(); + $this->loadNotice('unimarc_chant_gregorien'); + } + + + /** @test */ + public function noticeLeChantDesAbbayesFacettesShouldNotBeEmpty() { + $notice = Class_Notice::find(1); + $this->assertTrue(strpos($notice->getFacettes(),'P347 P3092') != FALSE); + } +} class NanookRecordsIntegrationUpdateNoticeTest extends NoticeIntegrationTestCase { diff --git a/cosmogramme/tests/php/classes/NoticeIntegrationOrpheeTest.php b/cosmogramme/tests/php/classes/NoticeIntegrationOrpheeTest.php index 198907651ad48f422547128aec2d2cbb5651fd4b..a7d9d95305153db80d94ef946da9165ab8f4cc7b 100644 --- a/cosmogramme/tests/php/classes/NoticeIntegrationOrpheeTest.php +++ b/cosmogramme/tests/php/classes/NoticeIntegrationOrpheeTest.php @@ -55,13 +55,18 @@ class NoticeIntegrationOrpheeDegreeTest extends NoticeIntegrationTestCase { /** @see http://forge.afi-sa.fr/issues/96923 */ class NoticeIntegrationOrpheeSerialWithDoubleSearchNoneTest extends NoticeIntegrationTestCase { - public function setUp() { + protected + $_sigb = Class_IntBib::SIGB_ORPHEE, + $_items; + + public function setUp() { parent::setUp(); Class_CosmoVar::setValueOf(Class_Notice_DoubleFinder::VAR_DOUBLE_MODE, Class_CosmoVar::DOUBLE_SEARCH_NONE); $this->loadNotice('unimarc_orphee_96923'); + $this->_items = new Storm_Model_Collection(Class_Exemplaire::findAllBy(['id_origine' => 'frOr0939524523'])); } @@ -78,6 +83,12 @@ class NoticeIntegrationOrpheeSerialWithDoubleSearchNoneTest extends NoticeIntegr } + /** @test */ + public function shouldHaveCreated29Items() { + $this->assertEquals(29, Class_Exemplaire::count()); + } + + public function numbers() { return array_filter(array_map(function($number) { @@ -103,8 +114,11 @@ class NoticeIntegrationOrpheeSerialWithDoubleSearchNoneTest extends NoticeIntegr * @test * @dataProvider numbers */ - public function numberShouldHaveItsItemWithSpecificIdOrigine($number) { - $id = 'frOr0939524523-' . $number; - $this->assertNotNull(Class_Exemplaire::findFirstBy(['id_origine' => $id])); + public function numberShouldHaveItsItem($number) { + $this->assertNotNull($this->_items + ->detect(function($item) use($number) + { + return $item->getSubfield('6') == $number; + })); } } \ No newline at end of file diff --git a/cosmogramme/tests/php/classes/unimarc_chant_gregorien.txt b/cosmogramme/tests/php/classes/unimarc_chant_gregorien.txt new file mode 100644 index 0000000000000000000000000000000000000000..3ac2219f1ad015acbbf568bb0042f9f11ec4c200 --- /dev/null +++ b/cosmogramme/tests/php/classes/unimarc_chant_gregorien.txt @@ -0,0 +1 @@ +04099njm0 22006731 450 001000700000010001200007071003000019073001800049100004500067126004500112200006400157210002500221215003200246225003300278330054500311345001800856349002900874410003300903464007600936464004401012464008401056464009701140464006701237464006401304464007001368464007001438464007901508464008201587464008801669464009901757464009401856464009101950464011202041464004002153464003802193464003702231464003802268464004102306464004402347464009102391464009002482464009002572464008802662464002502750464002402775464001902799686004702818686004802865702004302913702004202956702004102998712002103039712001903060712002203079801002203101902000803123992014303131995015103274174604 d16,96 E01a290854849bHarmonia Mundi a3149020854846 a20170502d2016 m y0frea0103 ba aag hx cd 1 aLe chant des abbayesePlain-Chant et polyphonie mÂediÂevale 1cHarmonia Mundid2016 1a2 CD (2 h 19 min)e1 livret1 aResonances Music & Monuments aIntenses lieux de crÂeation musicale du haut Moyen-Ãage jusqu'au XIIIe siÁecle, les abbayes sont d'importants centres artistiques. De Saint-Jacques de Compostelle Áa Saint-Denis, de Royaumont Áa Fontevraud, en passant par le Mont Saint-Michel, les murs de ces Âedifices imposants rÂesonnÁerent des plus belles voix de l'Occident mÂediÂeval, alors au service du chant originel de l'Âeglise romaine : le chant grÂegorien. Cette anthologie vous invite Áa dÂecouvrir huit siÁecles de musique sacrÂee cÂelÂebrÂee dans le sein de ces monastÁeres. b3149020854846 b290854849c3149020854846 0tResonances Music & Monuments tChant of the church of Milan : lucernarium, paravi lucernam christo meo tChant of the church of Milan : alleluia tChant from benevento cathedral "the adoration of the cross" : "Otin to stauron" tChant from benevento cathedral "the adoration of the cross" : "Amicus meus osculi me tradit" tChant of the church of Rome byzantine influences : offertorium tOld roman chant, vespers of easter day : antiphona alleluia tOld roman chant, vespers of easter day : oratio concede questimus tOld roman chant, vespers of easter day : r. in die resurrectionis tGregorian chant gallican responsories and monophonic chants : cum audisset tGregorian chant gallican responsories and monophonic chants : omnes amici mei tGregorian chant gallican responsories and monophonic chants : tristis est anima mea tCistercian chant responsories of matins for the feast of St Bernard : prima virtus viri sancti tCistercian chant responsories of matins for the feast of St Bernard : testamentum eternum tCistercian chant responsories of matins for the feast of St Bernard : oliva fructifera tCistercian chant responsories of matins for the feast of St Bernard : dedit dominus confessionem sancto suo tMass for the end of time : alleluia tMass for the end of time : lectio tMass for the end of time : prosa tMass for the end of time : hymnus tInvitatory : venite omnes cristicole tResponsory : o adiutor omnium seculorum tAbelard and Heloise, from Saint-Denis to the paraclete monastic song : o quanta qualia tAbelard and Heloise, from Saint-Denis to the Paraclete Monastic Song : Virgines caste tAbelard and Heloise, from Saint-Denis to the paraclete monastic song : planctus cigne tAbelard and Heloise, from Saint-Denis to the paraclete monastic song : de profundis tResonemus hoc natali tIn hoc anni circulo tOrienti oriens a3.47tChant grÂegorien, plain chant2PCDM4 a3.092tMusique classique : Moyen-Age2PCDM4 1aPÂerÁesbMarcel42506Chef d'orchestre 1aDellerbAlfred42506Chef d'orchestre 1aHillierbPaul42506Chef d'orchestre 1aEnsemble Organum 1aDeller Consort 1aTheatre of Voices 1aFRbCVSc20170502 a347 uhttps://images-eu.ssl-images-amazon.com/images/I/51BhzVSIhAL._SL160_.jpgvhttps://images-eu.ssl-images-amazon.com/images/I/51BhzVSIhAL.jpg 1aMÂediathÁeque1Musiquef5936800076861k3.092 CHAm20190218qarjeopv12[DISP][En rayon][0][1][En rayon][0][0][0][0]42017-11-03506927618191 \ No newline at end of file diff --git a/library/Class/CodifPcdm4.php b/library/Class/CodifPcdm4.php index 34cbb00ed1ce280628cf3bf3090680baf6163c0e..24eb6cc534c2baa0646b9a92da0e9711796fe49a 100644 --- a/library/Class/CodifPcdm4.php +++ b/library/Class/CodifPcdm4.php @@ -124,6 +124,17 @@ class Class_CodifPcdm4Loader extends Storm_Model_Loader { } return $liste; } + + + public function getOrCreate($indice){ + if ($pcdm4 = Class_CodifPcdm4::find($indice)) + return $pcdm4; + + $pcdm4 = Class_CodifPcdm4::newInstance(['id_pcdm4' => $indice, + 'libelle' => '',]); + $pcdm4->save(); + return $pcdm4; + } } diff --git a/library/Class/IntProfilDonnees.php b/library/Class/IntProfilDonnees.php index a4bf5e1be520ec83899df54730e000b926975ba2..9f541e0b520b8000fd19b71ff7c7c8a816aa9c5c 100644 --- a/library/Class/IntProfilDonnees.php +++ b/library/Class/IntProfilDonnees.php @@ -1155,7 +1155,6 @@ class Class_IntProfilDonnees extends Storm_Model_Abstract { } - public function getProfilePrefs() { if(!$this->_profile_prefs) $this->_profile_prefs = (new Class_ProfilePrefs())->setDatas($this->toArray()); @@ -1167,4 +1166,14 @@ class Class_IntProfilDonnees extends Storm_Model_Abstract { // mmmmm, miam miam return $this->getTypeFichier() > 9; } + + + public function isSerialFormatOrphee() { + return static::SERIAL_FORMAT_ORPHEE == $this->getIdArticlePeriodique(); + } + + + public function isSerialFormatKoha() { + return static::SERIAL_FORMAT_KOHA == $this->getIdArticlePeriodique(); + } } diff --git a/library/Class/Notice/DoubleFinder.php b/library/Class/Notice/DoubleFinder.php index fa1c28d72d2c1cfd716b84d785bb670e7b3056dd..1e6eb93d85326a2ea2e16dbbba0cea822d256a08 100644 --- a/library/Class/Notice/DoubleFinder.php +++ b/library/Class/Notice/DoubleFinder.php @@ -66,6 +66,12 @@ class Class_Notice_DoubleFinder { && $this->_library->isPergame()) return new Class_Notice_DoubleFinder_GlobalNoDedupStrategy($library_limit); + if ($this->_double_mode == Class_CosmoVar::DOUBLE_SEARCH_NONE + && Class_TypeDoc::PERIODIQUE == $this->_data->gettype_doc() + && $this->_profil + && ($this->_profil->isSerialFormatOrphee() || $this->_profil->isSerialFormatKoha())) + return new Class_Notice_DoubleFinder_AlphaKeyStrategy($library_limit); + if ($this->_double_mode == Class_CosmoVar::DOUBLE_SEARCH_NONE) return new Class_Notice_DoubleFinder_NoDedupStrategy($this->_library->getId()); diff --git a/library/Class/Profil.php b/library/Class/Profil.php index ad65d8b2a268ed4c315413e78ad2ffc89160414a..036ba9aad33a2569669ffc81ffba5b2c65f4ca81 100644 --- a/library/Class/Profil.php +++ b/library/Class/Profil.php @@ -806,13 +806,13 @@ class Class_Profil extends Storm_Model_Abstract { $module = array_merge($module, $modules_config[$id_module]); - $default_prefs = Class_Systeme_ModulesAccueil::getInstance() ->getValeursParDefaut($module['type_module']); $default_prefs = array_merge($default_prefs, ['id_module' => $id_module]); - $module['preferences'] = (!array_isset('preferences', $module)) ? - $default_prefs : array_merge($default_prefs, $module['preferences']); + $module['preferences'] = (!array_isset('preferences', $module)) + ? $default_prefs + : array_merge($default_prefs, $module['preferences']); return $module; } @@ -2071,8 +2071,10 @@ class Class_Profil extends Storm_Model_Abstract { $new_modules = []; $i = 0; foreach($cfg_accueil['modules'] as $module_id => $module) { - if (!isset($module['division'])) + if (!isset($module['division'])) { + $new_modules[$module_id] = $module; continue; + } $in_new_div = $module['division'] == $new_div; diff --git a/library/Class/User/ILSSubscription.php b/library/Class/User/ILSSubscription.php index 5d98d5388f34599a7ce93519e1ae984c3a491081..2564fc6b1177a53861cb7a2b4f0d57f12fd347eb 100644 --- a/library/Class/User/ILSSubscription.php +++ b/library/Class/User/ILSSubscription.php @@ -29,21 +29,21 @@ class Class_User_ILSSubscription { } - public function isILSExpirable() { - return $this->_user->isAbonne() && $this->_user->hasDateFin(); + public function isExpirable() { + return $this->_user->isAbonne() && $this->_user->hasDateFin(); } - public function isILSExpired() { + public function isExpired() { return - $this->isILSExpirable() + $this->isExpirable() && ($this->_user->getDateFin() < $this->getTimeSource()->dateYmd()); } - public function isILSAboutToExpire() { + public function isAboutToExpire() { return - $this->isILSExpirable() + $this->isExpirable() && ($this->ilsExpireIn() >= 0) && (Class_AdminVar::getValueOrDefault('NDAYS_EXPIRY_NOTICE') >= $this->ilsExpireIn()); } @@ -57,13 +57,15 @@ class Class_User_ILSSubscription { public function isValid() { - if (! $this->_user->isAbonne()) + if (!$this->_user->isAbonne()) return false; - if (! $this->_user->hasDateFin()) - return true; + return !$this->isExpired() && !$this->isBlocked(); + } + - return ($this->_user->getDateFin() >= $this->getTimeSource()->dateYmd()); + public function isBlocked() { + return $this->_user->isAbonne() && $this->_user->isBlocked(); } @@ -114,10 +116,10 @@ class Class_User_ILSSubscription { public function registerNotificationsWith($notifiable, $expired_message, $about_to_expire_message) { - if($this->isILSExpired()) + if ($this->isExpired()) $notifiable->notify($expired_message); - if ($this->isILSAboutToExpire()) + if ($this->isAboutToExpire()) $notifiable->notify($about_to_expire_message); return $this; diff --git a/library/Class/Users.php b/library/Class/Users.php index cb814bed869827e2596b14f04b9d80d6758496af..b0eb19c2d4f5d6029200763a3615f439a120912c 100644 --- a/library/Class/Users.php +++ b/library/Class/Users.php @@ -1930,4 +1930,9 @@ class Class_Users extends Storm_Model_Abstract { foreach($this->getFormulaires() as $form) $form->anonymize()->save(); } + + + public function isBlocked() { + return $this->getEmprunteur()->isBlocked(); + } } diff --git a/library/Class/WebService/SIGB/EmprunteurCache.php b/library/Class/WebService/SIGB/EmprunteurCache.php index 31604091aff70cae6ffa2910aadfd22b74090dec..3657a6b1b3949742919c7fb943f980112222a197 100644 --- a/library/Class/WebService/SIGB/EmprunteurCache.php +++ b/library/Class/WebService/SIGB/EmprunteurCache.php @@ -79,10 +79,9 @@ class Class_WebService_SIGB_EmprunteurCache { * @return Class_WebService_SIGB_Emprunteur */ public function loadFromCacheOrSIGB($user, $sigb) { - if ($this->isCached($user)) - return $this->load($user); - - return $this->save($user, $sigb->getEmprunteur($user)); + return $this->isCached($user) + ? $this->load($user) + : $this->save($user, $sigb->getEmprunteur($user)); } @@ -95,5 +94,3 @@ class Class_WebService_SIGB_EmprunteurCache { return $this; } } - -?> \ No newline at end of file diff --git a/library/ZendAfi/Controller/Action.php b/library/ZendAfi/Controller/Action.php index 7656aa5dbf25d0be44d7ab8461d493cda96591ec..17d2f44bfc192866b1da2f1e78b1605d2e21561b 100644 --- a/library/ZendAfi/Controller/Action.php +++ b/library/ZendAfi/Controller/Action.php @@ -110,7 +110,7 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action { return; } - return parent::_redirect($url, $options); + parent::_redirect($url, $options); } @@ -235,14 +235,14 @@ class ZendAfi_Controller_Action extends Zend_Controller_Action { public function _redirectToReferer() { - return $this->_redirect($this->_getReferer()); + $this->_redirect($this->_getReferer()); } public function _redirectToUrlOrReferer($url) { - return $this->_redirect($this->_getParam('redirect') == 'referer' - ? $this->_getReferer() - : $url); + $this->_redirect($this->_getParam('redirect') == 'referer' + ? $this->_getReferer() + : $url); } diff --git a/library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php b/library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php new file mode 100644 index 0000000000000000000000000000000000000000..73d031efe41dca185b9e33acdc926f124ef7c719 --- /dev/null +++ b/library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php @@ -0,0 +1,149 @@ +<?php +/** + * Copyright (c) 2012-2014, Agence Française Informatique (AFI). All rights reserved. + * + * BOKEH is free software; you can redistribute it and/or modify + * it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE as published by + * the Free Software Foundation. + * + * There are special exceptions to the terms and conditions of the AGPL as it + * is applied to this software (see README file). + * + * BOKEH is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU AFFERO GENERAL PUBLIC LICENSE for more details. + * + * You should have received a copy of the GNU AFFERO GENERAL PUBLIC LICENSE + * along with BOKEH; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + + +class ZendAfi_View_Helper_Admin_MyBibAppTeaser extends ZendAfi_View_Helper_BaseHelper { + public function myBibAppTeaser() { + Class_ScriptLoader::getInstance()->addInlineStyle($this->_css()); + return $this->_tag('div', + $this->_renderContent(), + ['id' => 'mybibapp_teaser']); + + } + + protected function _css() { + return ' + #mybibapp_teaser { + display: grid; + grid-gap: 10px; + grid-template-columns: repeat(auto-fill, 150px); + } + + #mybibapp_teaser > a { + align-self: end; + } + + #mybibapp_teaser > a:first-child() { + grid-column: 1/3; + grid-row: 1; + } + + #mybibapp_teaser > a:nth-child(2) { + grid-column: 1; + grid-row: 2; + } + + #mybibapp_teaser > a:nth-child(3) { + grid-column: 2; + grid-row: 2; + } + + #mybibapp_teaser > div { + grid-column: 3/-1; + grid-row: 1/3; + } + + #mybibapp_teaser ul { + margin-left:20px; + } + + #mybibapp_teaser li { + list-style: circle; + } + + #mybibapp_teaser div p img { + vertical-align: bottom; + margin-right: 5px + }'; + } + + protected function _iconLink($url, $title, $icon, $width) { + return + $this->_tag('a', + $this->_tag('img', + null, + ['src' => URL_SHARED_IMG . '/mybibapp/' . $icon, + 'width' => $width]), + ['title' => $title, + 'href' => $url, + 'target' => '_blank']); + } + + protected function _renderContent() { + return + $this->_iconLink('https://www.mybibapp.fr', + $this->_('Accéder à la présentation de MyBibApp'), + 'banner_alpha_1024.png', + 300) + . + $this->_iconLink('https://play.google.com/store/apps/details?id=fr.afi_sa.MyBibApp', + $this->_('Télécharger MyBibApp pour Google Android'), + 'mybibapp_android.png', + 150) + . + $this->_iconLink('https://apps.apple.com/fr/app/mybibapp/id1463572666', + $this->_('Télécharger MyBibApp pour Apple iOS'), + 'mybibapp_apple.png', + 150) + . + $this->_tag('div', + $this->_renderDescription()); + } + + + protected function _renderMyBibAppLink() { + return $this->_tag('a', + 'MyBibApp', + ['target' => '_blank', + 'href' => 'https://www.mybibapp.fr']); + } + + + + protected function _renderDescription() { + return + $this->_('%s, application mobile libre et gratuite, permet à vos abonnés d\'accéder aux services de votre réseau :', + $this->_renderMyBibAppLink()) + . + $this->_tag('ul', + implode( + array_map(function($content) { return $this->_tag('li', $content); }, + [ + $this->_('récupération de la liste de ses prêts et réservations'), + $this->_('gestion de plusieurs cartes et comptes (famille, école, ...) au sein d\'une même application'), + $this->_('accéder au site de la médiathèque automatiquement authentifié'), + $this->_('consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d\'un document en scannant son identifiant'), + $this->_('... et plus encore !') + ]))) + . + $this->_tag('p', + $this->_tag('img', null, ['src' => URL_SHARED_IMG . '/buttons/bouton_vert.png']) + . $this->_('Votre portail est compatible !')) + . + $this->_tag('p', + $this->_('Pour référencer votre portail dans %s, ou pour toute information complémentaire, contactez-nous par courriel : ' + . + $this->_tag('a', + 'cial-bib@afi-sa.fr', + ['href' => 'mailto:cial-bib@afi-sa.fr?subject=[MyBibApp] ' . $this->_('Demande d\'informations')]), + $this->_renderMyBibAppLink())); + } +} \ No newline at end of file diff --git a/library/ZendAfi/View/Helper/RenderRss.php b/library/ZendAfi/View/Helper/RenderRss.php index 42b5d9d891d51dbb49126b4e0989d9da6aaf2034..b7c405a6a0bd3b28a6838059b6d65eaaa679143b 100644 --- a/library/ZendAfi/View/Helper/RenderRss.php +++ b/library/ZendAfi/View/Helper/RenderRss.php @@ -24,7 +24,7 @@ class ZendAfi_View_Helper_RenderRss extends Zend_View_Helper_Abstract { <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"> <channel> <title>'.$data["titre"].'</title> - <link>'.$data["lien"].'</link>'; + <link>'.htmlspecialchars($data["lien"],ENT_XML1).'</link>'; if (isset($data['description'])) { $flux .= '<description>'.$data["description"].'</description>'; } @@ -34,7 +34,7 @@ class ZendAfi_View_Helper_RenderRss extends Zend_View_Helper_Abstract { } $flux .= '<image> <url>' . $this->view->absoluteUrl(URL_IMG.'site/logo.jpg</url>') - . '<link>'.$data["lien"].'</link> + . '<link>'.htmlspecialchars($data["lien"],ENT_XML1).'</link> <title>'.$data["titre"].'</title> </image>'; diff --git a/library/digital_resources/Whisperies/images/icon.png b/library/digital_resources/Whisperies/images/icon.png index 593e732a8869ce97ebce9d6de708414b538fc2fe..2ccc87903f4f791ed6fa31cc1e7babf471e1e893 100644 Binary files a/library/digital_resources/Whisperies/images/icon.png and b/library/digital_resources/Whisperies/images/icon.png differ diff --git a/library/startup.php b/library/startup.php index 602c4fdbe1d67184f798b002121006d275afcfb5..3863ecd43250b81e87ddd9d5f098b080cc6cff5b 100644 --- a/library/startup.php +++ b/library/startup.php @@ -81,7 +81,7 @@ class Bokeh_Engine { function setupConstants() { defineConstant('BOKEH_MAJOR_VERSION','8.0'); - defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.26'); + defineConstant('BOKEH_RELEASE_NUMBER', BOKEH_MAJOR_VERSION . '.28'); defineConstant('BOKEH_REMOTE_FILES', 'http://git.afi-sa.fr/afi/opacce/'); diff --git a/library/templates/Intonation/View/RenderUserBadges.php b/library/templates/Intonation/View/RenderUserBadges.php index c1d3f8248184e502894f8434068bdd69d01e733a..62fde8c199e8d75a71eb5013544de4f683d575fd 100644 --- a/library/templates/Intonation/View/RenderUserBadges.php +++ b/library/templates/Intonation/View/RenderUserBadges.php @@ -59,7 +59,7 @@ class Intonation_View_RenderUserBadges extends ZendAfi_View_Helper_BaseHelper { ? 'success' : 'danger'; - $validity_class = $subscription->isILSAboutToExpire() + $validity_class = $subscription->isAboutToExpire() ? 'warning' : $validity_class; diff --git a/library/translation/ca.mo b/library/translation/ca.mo index 7593297bed65e1c441e8908778f519e8f9e47fa3..9719d83fc5f78a9a163660443a5a727f9b68719a 100644 Binary files a/library/translation/ca.mo and b/library/translation/ca.mo differ diff --git a/library/translation/ca.po b/library/translation/ca.po index babea63738f59ba39f511fd7558ee5f8cc4e8506..3545d61c39c596dd7bd697809efe0429dc34c148 100644 --- a/library/translation/ca.po +++ b/library/translation/ca.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Bokeh 2018\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -698,6 +698,13 @@ msgstr " %s préstec (s) a comprovar" msgid "%s%s : %s" msgstr " %s %s: %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #, fuzzy, php-format @@ -785,6 +792,10 @@ msgstr "'%value%' no sembla ser un nom de xarxa local và lida" msgid "'%value%' does not appear to be an integer" msgstr "'%value%' no semblen ser un nombre enter" +#, fuzzy +msgid "'%value%' does not fit given date format" +msgstr "'%value%' no semblen ser un nombre enter" + msgid "'%value%' does not match the expected structure for a DNS hostname" msgstr "" "'%value%' no es correspon amb l'estructura esperada per a un nom de sistema " @@ -987,6 +998,10 @@ msgstr "Tipus de document: %s" msgid "- Tous droits réservés - Hébergement & Conception graphique" msgstr "- Tots els drets reservats - Hosting & amp; disseny grà fic" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 msgid "0 pour désactiver" @@ -1591,6 +1606,10 @@ msgstr "Accedeix a la interfÃcie d'administració" msgid "Accéder à la page de modification de mon compte administrateur" msgstr "Accediu a la pà gina de modificació del meu compte d'administrador" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "" + #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:52 @@ -6529,6 +6548,7 @@ msgstr "Cistella \" %s\", ha afegit" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 msgid "Carte des bibliothèques" msgstr "Carnet de les biblioteques" @@ -7771,6 +7791,7 @@ msgstr "Codi postal" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 msgid "Code source" msgstr "Codi font" @@ -8509,6 +8530,7 @@ msgstr "Constitució del pla d'accés" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "Consulta" @@ -8584,6 +8606,7 @@ msgstr "Accedir al recurs" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "Consulteu el llibre en lÃnia" @@ -9672,6 +9695,11 @@ msgid "" "fonction Bokeh : %s" msgstr "Sol·licitud de suport per a la configuració i ús la funció Bokeh: %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +#, fuzzy +msgid "Demande d'informations" +msgstr "Butlletins" + #: ../../application/modules/admin/controllers/RegistrationController.php:55 #, fuzzy, php-format msgid "Demande d'inscription de \"%s\" archivée" @@ -10184,6 +10212,7 @@ msgstr "Discografia completa" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "Xatejar amb col·laboradors de Bokeh en directe" @@ -10557,6 +10586,7 @@ msgstr "Afegir o editar comentari" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "Dades pendents de moderació" @@ -10882,6 +10912,7 @@ msgstr "Temps de transició per canviar a una altra imatge en segons" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "VÃdeos de demostració" @@ -11565,6 +11596,7 @@ msgstr "Préstec no disponible. Has alçant la teva quota de %s préstecs" #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "Sol·licitar en préstec el llibre en format Epub" @@ -12073,6 +12105,7 @@ msgstr "Error: %s" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "Error: la sol·licitud d'actualització no s'ha pogut enviar al servidor" @@ -12238,6 +12271,7 @@ msgstr "Error (és): %s" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "Error (és): %s, variable %s NO guardada" @@ -12427,6 +12461,7 @@ msgstr "Estat de comunicació" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 msgid "Etat du site" msgstr "Estat del portal" @@ -13778,6 +13813,7 @@ msgstr "Gestió d'usuaris" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 msgid "Gestion des variables" msgstr "Gestió de les variables" @@ -13822,6 +13858,7 @@ msgstr "Gb" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "Grup de Google Bokeh" @@ -16024,6 +16061,7 @@ msgstr "El document %s s'ha afegit a la cistella %a" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "" @@ -16609,6 +16647,7 @@ msgstr "La cadena a reemplaçar és buida." #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "La clau \" %s\" no existeix." @@ -16702,6 +16741,7 @@ msgstr "La categoria \" %s\" s'ha eliminat" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "La sol·licitud d'actualització s'ha enviat al servidor" @@ -17298,6 +17338,7 @@ msgstr " de %s fins a %s" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "La memòria cau de Bokeh ha estat buidada" @@ -17989,11 +18030,13 @@ msgstr "El lloc \" %s\" s'ha guardat" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 msgid "Le site est en ligne" msgstr "El portal està en lÃnia" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 msgid "Le site est indisponible" msgstr "El portal no està disponible" @@ -20602,6 +20645,7 @@ msgstr "Actualització de la base de dade de la ubicació" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 msgid "Mise à jour de la charte graphique" msgstr "Actualització de la CSS" @@ -21156,6 +21200,7 @@ msgstr "Canviar la variable: %s" #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, php-format msgid "Modifier la variable: %s" msgstr "Canviar la variable: %s" @@ -22622,6 +22667,7 @@ msgstr "Nombre de traduccions: %s" #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 msgid "Nom du domaine" msgstr "Nom de domini" @@ -24767,6 +24813,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "Configuració del portal" @@ -25025,6 +25072,7 @@ msgstr "Participants" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "Uneix-te a la comunitat" @@ -25876,6 +25924,13 @@ msgstr "Per quin dia?" msgid "Pour quelle durée ?" msgstr "Per quant de temps?" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" + #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 msgid "" @@ -27424,6 +27479,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "Publicar el portal" @@ -27515,6 +27571,7 @@ msgstr "Fer aquest article visible" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 msgid "Rendre le site indisponible" msgstr "Deshabilitar el portal" @@ -28662,6 +28719,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "Sala de discussió de #Bokeh" @@ -29198,6 +29256,7 @@ msgstr "L'article \" %s\" suprimeix" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 msgid "Site communautaire" msgstr "Web de la comunitat" @@ -30318,6 +30377,7 @@ msgstr "Selecció de biblioteques" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 msgid "Sélection de bibliothèques pour la recherche" msgstr "Selecció de biblioteques per a la cerca" @@ -32202,6 +32262,7 @@ msgstr "Descarregueu el analitzador %s en format de llista" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 msgid "Téléchargement" msgstr "Descarregant" @@ -32251,6 +32312,14 @@ msgstr "Descarregar" msgid "Télécharger \"%s\"" msgstr "Book %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "" + #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 msgid "Télécharger au format liste (clic droit puis enregistrer sous)" @@ -32814,6 +32883,8 @@ msgstr "S'ha produït un error, el menú no s'ha pogut esborrar" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 #, fuzzy msgid "Une erreur c'est produite." msgstr "S'ha produït un error" @@ -33473,6 +33544,7 @@ msgstr "Variable" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, php-format msgid "Variable %s sauvegardée" msgstr "Cistelles %s guardada" @@ -33700,6 +33772,7 @@ msgstr "Introduïu la variable PIWIK_AUTH_TOKEN i JS_STAT" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "Introduïu el parà metre \"clau\"." @@ -34402,6 +34475,7 @@ msgstr "Les seves etiquetes" #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "" "Subscripció caducat - Si us plau, poseu-vos en contacte amb la biblioteca" @@ -34734,6 +34808,11 @@ msgstr "La seva contrasenya ha estat restablerta, podeu entrar." msgid "Votre mot de passe: " msgstr "La seva contraseña" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +#, fuzzy +msgid "Votre portail est compatible !" +msgstr "La seva contraseña" + #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:55 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 @@ -35896,6 +35975,7 @@ msgstr "Web" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "Wiki Bokeh" @@ -36072,6 +36152,10 @@ msgstr "Classificació del resultat" msgid "abonné ou utilisateur du site" msgstr "subscriptor o usuari del lloc" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "" + #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:5 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:28 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:29 @@ -36301,6 +36385,12 @@ msgstr "compte bloquejat" msgid "compte expiré" msgstr "compte caducada" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Admin/TagListeSuggestion.php:36 msgid "contient" msgstr "conté" @@ -36745,6 +36835,12 @@ msgstr "febrer" msgid "genre" msgstr "gènere" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/WallImagesViewer.php:32 msgid "grille" msgstr "quadrÃcula" @@ -37786,6 +37882,10 @@ msgstr "nom" msgid "rubrique de classement" msgstr "Tipus de document" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "" + #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:233 @@ -38096,6 +38196,7 @@ msgstr "{contingut}" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 msgid "» Modifier «" msgstr " » Editar « " diff --git a/library/translation/en.mo b/library/translation/en.mo index 85af3160c3b9c4658636149d49e3239de8fed21b..169617f74af22cffe88f49cf05065bf3885da17d 100644 Binary files a/library/translation/en.mo and b/library/translation/en.mo differ diff --git a/library/translation/en.po b/library/translation/en.po index 995f752e4b046e2272ea9c7c48985e2240363bfe..98579cd7f08d319c6ced75d09d449aea916885cb 100644 --- a/library/translation/en.po +++ b/library/translation/en.po @@ -16,8 +16,8 @@ msgid "" msgstr "" "Project-Id-Version: Bokeh master\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" -"PO-Revision-Date: 2019-09-30 12:53+0000\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" +"PO-Revision-Date: 2019-10-14 14:49+0000\n" "Last-Translator: Weblate Admin <admin@example.com>\n" "Language-Team: English <http://weblate.afi-sa.net/projects/bokeh/bokeh-" "master/en/>\n" @@ -722,6 +722,15 @@ msgstr "%s loan(s) to check" msgid "%s%s : %s" msgstr "%s%s : %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" +"%s is a libre software for phones that provides access to your library " +"network services for patrons:" + #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #, php-format @@ -802,6 +811,9 @@ msgstr "'%value%' does not appear to be a valid local network name" msgid "'%value%' does not appear to be an integer" msgstr "'%value%' does not appear to be an integer" +msgid "'%value%' does not fit given date format" +msgstr "'%value%' does not fit given date format" + msgid "'%value%' does not match the expected structure for a DNS hostname" msgstr "'%value%' does not match the expected structure for a DNS hostname" @@ -1000,6 +1012,10 @@ msgstr ", kind of document: %s" msgid "- Tous droits réservés - Hébergement & Conception graphique" msgstr "- - &All right reserved - Hosting & graphic design" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "... and more !" + #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 msgid "0 pour désactiver" @@ -1597,6 +1613,10 @@ msgstr "Access back office of %s." msgid "Accéder à la page de modification de mon compte administrateur" msgstr "Access to edit my admin account" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "Access MyBibApp presentation" + #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:52 @@ -6434,6 +6454,7 @@ msgstr "Card of \"%s\" added" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 msgid "Carte des bibliothèques" msgstr "Libraries map" @@ -7674,6 +7695,7 @@ msgstr "ZIP code" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 msgid "Code source" msgstr "Source code" @@ -8402,6 +8424,7 @@ msgstr "Constitution of the map" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "Consultation" @@ -8478,6 +8501,7 @@ msgstr "Consult the online resource" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "Read the book online" @@ -9548,6 +9572,10 @@ msgid "" "fonction Bokeh : %s" msgstr "Ask for help to use or install the feature : %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +msgid "Demande d'informations" +msgstr "Informations request" + #: ../../application/modules/admin/controllers/RegistrationController.php:55 #, php-format msgid "Demande d'inscription de \"%s\" archivée" @@ -10054,6 +10082,7 @@ msgstr "Complete discography" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "Chat live with the Bokeh community" @@ -10417,6 +10446,7 @@ msgstr "Write or edit review" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "Data waiting for moderation" @@ -10736,6 +10766,7 @@ msgstr "Transition delay between images in seconds" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "Video showcase" @@ -11411,6 +11442,7 @@ msgstr "Sorry, your maximun of %s loans reached." #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "Loan the ePub" @@ -11904,6 +11936,7 @@ msgstr "Error : %s" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "Error: The update request could not be sent to the server" @@ -12069,6 +12102,7 @@ msgstr "Error : %s" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "Error(s) : %s, variable %s unsaved" @@ -12258,6 +12292,7 @@ msgstr "Connection status" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 msgid "Etat du site" msgstr "Website status" @@ -13575,6 +13610,7 @@ msgstr "User management" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 msgid "Gestion des variables" msgstr "Variable management" @@ -13619,6 +13655,7 @@ msgstr "GB" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "Bokeh Google party" @@ -15785,6 +15822,7 @@ msgstr "URL %s has been replaced by %s" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "Subscription of %s is expired - Please contact the library" @@ -16346,6 +16384,7 @@ msgstr "String is empty." #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "\"%s\" key does not exist." @@ -16436,6 +16475,7 @@ msgstr "Application of \"%s\" has been deleted" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "The update request has been sent to the server" @@ -17020,6 +17060,7 @@ msgstr "On %s from %s to %s" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "Bokeh cache cleared" @@ -17683,11 +17724,13 @@ msgstr "The site \"%s\" has been saved" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 msgid "Le site est en ligne" msgstr "The website is online" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 msgid "Le site est indisponible" msgstr "The website is offline" @@ -20231,6 +20274,7 @@ msgstr "Update database" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 msgid "Mise à jour de la charte graphique" msgstr "Update skin" @@ -20779,6 +20823,7 @@ msgstr "Edit the variable: %s" #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, php-format msgid "Modifier la variable: %s" msgstr "Edit the variable: %s" @@ -22220,6 +22265,7 @@ msgstr "Permission name to give: \"%s\"" #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 msgid "Nom du domaine" msgstr "Domain name" @@ -24345,6 +24391,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "Site options" @@ -24586,6 +24633,7 @@ msgstr "Participants" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "Participate to the community" @@ -25421,6 +25469,15 @@ msgstr "What day?" msgid "Pour quelle durée ?" msgstr "For how long?" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" +"To add your site into %s, or to request some infomations, contact us by mail " +": " + #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 msgid "" @@ -26942,6 +26999,7 @@ msgstr "Binding" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "Publish site online" @@ -27031,6 +27089,7 @@ msgstr "Make visible" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 msgid "Rendre le site indisponible" msgstr "Make the site offline" @@ -28152,6 +28211,7 @@ msgstr "OrpheeMedia ILS : connection improvement" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "#Bokeh discussion room" @@ -28683,6 +28743,7 @@ msgstr "Site %s deleted" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 msgid "Site communautaire" msgstr "Community website" @@ -29781,6 +29842,7 @@ msgstr "Libraries selection" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 msgid "Sélection de bibliothèques pour la recherche" msgstr "Libraries selection" @@ -31629,6 +31691,7 @@ msgstr "Télécharge le parnier %s au format liste" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 msgid "Téléchargement" msgstr "Download" @@ -31678,6 +31741,14 @@ msgstr "Upload" msgid "Télécharger \"%s\"" msgstr "Download \"%s\"" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "Download MyBibApp for Apple iOS" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "Download MyBibApp for Google Android" + #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 msgid "Télécharger au format liste (clic droit puis enregistrer sous)" @@ -32230,6 +32301,8 @@ msgstr "An error has occured, menu could not be deleted" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 msgid "Une erreur c'est produite." msgstr "An error has occurred." @@ -32880,6 +32953,7 @@ msgstr "Variable" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, php-format msgid "Variable %s sauvegardée" msgstr "Variable \"%s\" saved" @@ -33104,6 +33178,7 @@ msgstr "Please enter the variable PIWIK_AUTH_TOKEN and JS_STAT" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "Please fill the \"cle\" parameter." @@ -33799,6 +33874,7 @@ msgstr "Your tag" #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "Your subscription has expired - Please contact the library" @@ -34127,6 +34203,10 @@ msgstr "Your password has been reset, you may now login." msgid "Votre mot de passe: " msgstr "Your password : " +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +msgid "Votre portail est compatible !" +msgstr "Your site is compatible !" + #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:55 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 @@ -35286,6 +35366,7 @@ msgstr "Web" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "Bokeh Wiki" @@ -35459,6 +35540,10 @@ msgstr "results to an empty string." msgid "abonné ou utilisateur du site" msgstr "Subscriber or user" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "access librairie's website automatically authenticated" + #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:5 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:28 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:29 @@ -35686,6 +35771,14 @@ msgstr "account debarred" msgid "compte expiré" msgstr "account expired" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" +"consult record and enrichments (trailers, tracks previews, ...) of an item " +"directly by scanning its identifier" + #: ../../library/ZendAfi/View/Helper/Admin/TagListeSuggestion.php:36 msgid "contient" msgstr "contains" @@ -36125,6 +36218,14 @@ msgstr "february" msgid "genre" msgstr "kind" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" +"manage several librairies cards and accounts (family, scool, ...) from a " +"single application" + #: ../../library/ZendAfi/Form/Configuration/WallImagesViewer.php:32 msgid "grille" msgstr "grid" @@ -37155,6 +37256,10 @@ msgstr "first name" msgid "rubrique de classement" msgstr "classification section" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "fetch holds and loans" + #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:233 @@ -37459,6 +37564,7 @@ msgstr "{contenu}" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 msgid "» Modifier «" msgstr "» Edit «" diff --git a/library/translation/es.mo b/library/translation/es.mo index e7d3384d7ab3324c4dc18690a656ca00bfb1fd1e..049771d93e711872352cca156e7a563bda3371e2 100644 Binary files a/library/translation/es.mo and b/library/translation/es.mo differ diff --git a/library/translation/es.po b/library/translation/es.po index bb6b673f670f96256f1f961df301995b81744901..bc0eb340e322f36f2edf1940d06fa544bf0f3f13 100644 --- a/library/translation/es.po +++ b/library/translation/es.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: Bokeh 2018\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -698,6 +698,13 @@ msgstr "%s préstamo(s) a comprobar " msgid "%s%s : %s" msgstr "%s%s : %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #, php-format @@ -786,6 +793,10 @@ msgstr "'%value%' no parece ser un nombre de red local válida" msgid "'%value%' does not appear to be an integer" msgstr "'%value%' no parecen ser un número entero" +#, fuzzy +msgid "'%value%' does not fit given date format" +msgstr "'%value%' no parecen ser un número entero" + msgid "'%value%' does not match the expected structure for a DNS hostname" msgstr "" "'%value%' no se corresponde con la estructura esperada para un nombre de " @@ -988,6 +999,10 @@ msgstr "Tipo de documento: %s" msgid "- Tous droits réservés - Hébergement & Conception graphique" msgstr "- Todos los derechos reservados - Hosting & amp; Diseño gráfico" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 msgid "0 pour désactiver" @@ -1592,6 +1607,10 @@ msgstr "Abrir la página de administración" msgid "Accéder à la page de modification de mon compte administrateur" msgstr "Acceso a la página de edición de mi cuenta de administrador" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "" + #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:52 @@ -6530,6 +6549,7 @@ msgstr "Cesta \"%s\", agregó" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 msgid "Carte des bibliothèques" msgstr "Mapa de bibliotecas" @@ -7775,6 +7795,7 @@ msgstr "Código Postal" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 msgid "Code source" msgstr "Código fuente" @@ -8514,6 +8535,7 @@ msgstr "Constitución del plan de acceso" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "Consulta" @@ -8590,6 +8612,7 @@ msgstr "Consultar los recursos en lÃnea" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "Consulte el libro en lÃnea" @@ -9678,6 +9701,11 @@ msgid "" "fonction Bokeh : %s" msgstr "Solicitud de soporte para configurar o usar la funcionalidad Bokeh: %s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +#, fuzzy +msgid "Demande d'informations" +msgstr "Enlace de información" + #: ../../application/modules/admin/controllers/RegistrationController.php:55 #, fuzzy, php-format msgid "Demande d'inscription de \"%s\" archivée" @@ -10189,6 +10217,7 @@ msgstr "DiscografÃa completa" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "Chatear con colaboradores de Bokeh en directo" @@ -10562,6 +10591,7 @@ msgstr "Añadir o editar comentario" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "Datos moderación en espera" @@ -10887,6 +10917,7 @@ msgstr "Tiempo de transición para cambiar a otra imagen en segundos" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "Video demostraciones" @@ -11571,6 +11602,7 @@ msgstr "Préstamo no disponible. Has alzando tu cuota de %s préstamos" #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "Solicitar en préstamo el libro en formato EPub" @@ -12079,6 +12111,7 @@ msgstr "Error: %s" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "Error: la solicitud de actualización no pudo ser enviada al servidor" @@ -12244,6 +12277,7 @@ msgstr "Error(es) : %s" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "Error(es): %s, variable %s NO guardada" @@ -12433,6 +12467,7 @@ msgstr "Estado de la comunicación" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 msgid "Etat du site" msgstr "Estado del portal" @@ -13782,6 +13817,7 @@ msgstr "Gestión de usuarios" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 msgid "Gestion des variables" msgstr "Gestión des variables" @@ -13826,6 +13862,7 @@ msgstr "Ir" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "Grupo de Google Bokeh" @@ -16028,6 +16065,7 @@ msgstr "El documento s se ha añadido a la cesta %s" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "" @@ -16613,6 +16651,7 @@ msgstr "La cadena a reemplazar está vacÃa." #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "La llave \"%s\" no existe." @@ -16706,6 +16745,7 @@ msgstr "La sección \"%s\" se ha eliminado" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "La solicitud de actualización se ha enviado al servidor" @@ -17303,6 +17343,7 @@ msgstr " de %s hasta %s" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "La cache de Bokeh ha sido eliminada" @@ -17990,11 +18031,13 @@ msgstr "El sitio \"%s\" se ha guardado" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 msgid "Le site est en ligne" msgstr "El portal está en linea" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 msgid "Le site est indisponible" msgstr "El portal no está disponible" @@ -20596,6 +20639,7 @@ msgstr "Actualización de la base de datos" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 msgid "Mise à jour de la charte graphique" msgstr "Actualización de la CSS" @@ -21147,6 +21191,7 @@ msgstr "Cambiar la variable: %s" #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, php-format msgid "Modifier la variable: %s" msgstr "Cambiar la variable: %s" @@ -22611,6 +22656,7 @@ msgstr "Nombre del permiso a dar : \"%s\"" #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 msgid "Nom du domaine" msgstr "Nombre del área temática" @@ -24757,6 +24803,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "Configuración del sitio" @@ -25015,6 +25062,7 @@ msgstr "Participantes" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "Únete a la comunidad" @@ -25867,6 +25915,13 @@ msgstr "¿Qué dÃa?" msgid "Pour quelle durée ?" msgstr "Por cuánto tiempo?" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" + #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 msgid "" @@ -27413,6 +27468,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "Publicar el portal" @@ -27504,6 +27560,7 @@ msgstr "Hacer este artÃculo visible" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 msgid "Rendre le site indisponible" msgstr "Desactivar temporalmente el portal" @@ -28650,6 +28707,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "#Bokeh Discussion Room" @@ -29185,6 +29243,7 @@ msgstr "Sitio \"%s\" eliminado" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 msgid "Site communautaire" msgstr "Web de la comunidad" @@ -30307,6 +30366,7 @@ msgstr "Selección de bibliotecas" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 msgid "Sélection de bibliothèques pour la recherche" msgstr "Seleccionar bibliotecas para búsqueda" @@ -32192,6 +32252,7 @@ msgstr "Descargue la carpeta %s en formato de lista" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 msgid "Téléchargement" msgstr "Descargando" @@ -32241,6 +32302,14 @@ msgstr "Descargar" msgid "Télécharger \"%s\"" msgstr "Cargar \"%s\"" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "" + #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 msgid "Télécharger au format liste (clic droit puis enregistrer sous)" @@ -32805,6 +32874,8 @@ msgstr "Se produjo un error, el menú no se pudo eliminar" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 #, fuzzy msgid "Une erreur c'est produite." msgstr "Se ha producido un error" @@ -33463,6 +33534,7 @@ msgstr "Variables" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, php-format msgid "Variable %s sauvegardée" msgstr "Variable %s guardada" @@ -33691,6 +33763,7 @@ msgstr "Añada la variable PIWIK_AUTH_TOKEN y JS_STAT" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "Por favor ingrese el parámetro \"clave\"." @@ -34393,6 +34466,7 @@ msgstr "Etiquetas" #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "" "Suscripción caducada - Por favor, póngase en contacto con la biblioteca" @@ -34724,6 +34798,11 @@ msgstr "Su contraseña ha sido restablecida, puede iniciar sesión." msgid "Votre mot de passe: " msgstr "Su contraseña: " +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +#, fuzzy +msgid "Votre portail est compatible !" +msgstr "Su contraseña: " + #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:55 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 @@ -35893,6 +35972,7 @@ msgstr "Web" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "Wiki Bokeh" @@ -36069,6 +36149,10 @@ msgstr "Clasificar el resultado" msgid "abonné ou utilisateur du site" msgstr "suscriptor o usuario del portal" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "" + #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:5 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:28 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:29 @@ -36298,6 +36382,12 @@ msgstr "cuenta bloqueada" msgid "compte expiré" msgstr "cuenta caducada" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Admin/TagListeSuggestion.php:36 msgid "contient" msgstr "contiene" @@ -36740,6 +36830,12 @@ msgstr "Febrero" msgid "genre" msgstr "Género & Forma" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/WallImagesViewer.php:32 msgid "grille" msgstr "cuadrÃcula" @@ -37780,6 +37876,10 @@ msgstr "nombre" msgid "rubrique de classement" msgstr "Tipo de Documento" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "" + #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:233 @@ -38089,6 +38189,7 @@ msgstr " {Contenido}" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 msgid "» Modifier «" msgstr "" diff --git a/library/translation/fr.mo b/library/translation/fr.mo index fb03eaa82e39e454a3333c4d343c3dadf39ce1b8..f9794ebfc5bbc04e1935bf9e10463ebe4b8a6191 100644 Binary files a/library/translation/fr.mo and b/library/translation/fr.mo differ diff --git a/library/translation/fr.po b/library/translation/fr.po index c5ec68dcdd5a90e698bc1115c76df84ede8feab8..142d50cb78fe65c75ba8b729caba24c08c7fb4da 100644 --- a/library/translation/fr.po +++ b/library/translation/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" "PO-Revision-Date: 2011-03-16 10:45+0100\n" "Last-Translator: Laurent Laffont <llaffont@afi-sa.fr>\n" "Language-Team: French\n" @@ -699,6 +699,13 @@ msgstr "" msgid "%s%s : %s" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #, php-format @@ -781,6 +788,9 @@ msgstr "'%value%' ne semble pas être une adresse réseau local valide" msgid "'%value%' does not appear to be an integer" msgstr "'%value%' n'est pas un nombre entier" +msgid "'%value%' does not fit given date format" +msgstr "'%value%' ne correspond pas au format de date attendu" + msgid "'%value%' does not match the expected structure for a DNS hostname" msgstr "'%value%' ne correspond pas à la structure d'un nom d'hôte DNS valide" @@ -977,6 +987,10 @@ msgstr "" msgid "- Tous droits réservés - Hébergement & Conception graphique" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 msgid "0 pour désactiver" @@ -1576,6 +1590,10 @@ msgstr "" msgid "Accéder à la page de modification de mon compte administrateur" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "" + #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:52 @@ -6398,6 +6416,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 msgid "Carte des bibliothèques" msgstr "" @@ -7619,6 +7638,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 msgid "Code source" msgstr "" @@ -8356,6 +8376,7 @@ msgstr "" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "" @@ -8431,6 +8452,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "" @@ -9493,6 +9515,10 @@ msgid "" "fonction Bokeh : %s" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +msgid "Demande d'informations" +msgstr "" + #: ../../application/modules/admin/controllers/RegistrationController.php:55 #, fuzzy, php-format msgid "Demande d'inscription de \"%s\" archivée" @@ -9998,6 +10024,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "" @@ -10364,6 +10391,7 @@ msgstr "" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "" @@ -10684,6 +10712,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "" @@ -11353,6 +11382,7 @@ msgstr "" #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "" @@ -11845,6 +11875,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "" @@ -12009,6 +12040,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "" @@ -12196,6 +12228,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 msgid "Etat du site" msgstr "" @@ -13518,6 +13551,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 msgid "Gestion des variables" msgstr "" @@ -13562,6 +13596,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "" @@ -15727,6 +15762,7 @@ msgstr "" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "" @@ -16278,6 +16314,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "" @@ -16368,6 +16405,7 @@ msgstr "Vous avez attein le nombre maximum de réservations" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "" @@ -16949,6 +16987,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "" @@ -17596,11 +17635,13 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 msgid "Le site est en ligne" msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 msgid "Le site est indisponible" msgstr "" @@ -20148,6 +20189,7 @@ msgstr "" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 msgid "Mise à jour de la charte graphique" msgstr "" @@ -20702,6 +20744,7 @@ msgstr "Entrez votre identité S.V.P." #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, php-format msgid "Modifier la variable: %s" msgstr "" @@ -22148,6 +22191,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 msgid "Nom du domaine" msgstr "" @@ -24275,6 +24319,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "" @@ -24519,6 +24564,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "" @@ -25348,6 +25394,13 @@ msgstr "" msgid "Pour quelle durée ?" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" + #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 msgid "" @@ -26869,6 +26922,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "" @@ -26956,6 +27010,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 msgid "Rendre le site indisponible" msgstr "" @@ -28081,6 +28136,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "" @@ -28608,6 +28664,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 msgid "Site communautaire" msgstr "" @@ -29715,6 +29772,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 msgid "Sélection de bibliothèques pour la recherche" msgstr "" @@ -31565,6 +31623,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 msgid "Téléchargement" msgstr "" @@ -31614,6 +31673,14 @@ msgstr "" msgid "Télécharger \"%s\"" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "" + #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 msgid "Télécharger au format liste (clic droit puis enregistrer sous)" @@ -32160,6 +32227,8 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 msgid "Une erreur c'est produite." msgstr "" @@ -32813,6 +32882,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, php-format msgid "Variable %s sauvegardée" msgstr "" @@ -33039,6 +33109,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "" @@ -33737,6 +33808,7 @@ msgstr "" #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "" @@ -34063,6 +34135,11 @@ msgstr "" msgid "Votre mot de passe: " msgstr "Entrez votre identité S.V.P." +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +#, fuzzy +msgid "Votre portail est compatible !" +msgstr "Entrez votre identité S.V.P." + #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:55 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 @@ -35187,6 +35264,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "" @@ -35360,6 +35438,10 @@ msgstr "" msgid "abonné ou utilisateur du site" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "" + #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:5 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:28 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:29 @@ -35588,6 +35670,12 @@ msgstr "" msgid "compte expiré" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Admin/TagListeSuggestion.php:36 msgid "contient" msgstr "" @@ -36027,6 +36115,12 @@ msgstr "" msgid "genre" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/WallImagesViewer.php:32 msgid "grille" msgstr "" @@ -37059,6 +37153,10 @@ msgstr "" msgid "rubrique de classement" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "" + #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:233 @@ -37366,6 +37464,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 msgid "» Modifier «" msgstr "" @@ -37723,9 +37822,6 @@ msgstr "" #~ msgid "'%value%' contains not only digit characters" #~ msgstr "'%value%' contient moins de %min% caractères" -#~ msgid "'%value%' does not fit given date format" -#~ msgstr "'%value%' ne correspond pas au format de date attendu" - #~ msgid "Reservation limit reached for this document type" #~ msgstr "Limite du nombre de réservations atteinte pour ce type de document" diff --git a/library/translation/fr.pot b/library/translation/fr.pot index 8d234fabf67e678187669a69334785a61fb20447..4a8aa946dd944698c72f99de3420c5c3234ff482 100644 --- a/library/translation/fr.pot +++ b/library/translation/fr.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -2374,6 +2374,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "" @@ -2419,6 +2420,7 @@ msgstr "" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "" @@ -3797,6 +3799,9 @@ msgstr "" msgid "Captcha value is wrong" msgstr "Le code de sécurité n'est pas le bon" +msgid "'%value%' does not fit given date format" +msgstr "'%value%' ne correspond pas au format de date attendu" + #: ../../application/modules/opac/controllers/AbonneController.php:70 #: ../../application/modules/opac/controllers/AbonneController.php:74 #: ../../application/modules/opac/controllers/AbonneController.php:99 @@ -6618,6 +6623,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "" @@ -6628,6 +6634,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 msgid "» Modifier «" msgstr "" @@ -6638,6 +6645,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 msgid "Etat du site" msgstr "" @@ -6648,6 +6656,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 msgid "Nom du domaine" msgstr "" @@ -6658,6 +6667,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "" @@ -6668,6 +6678,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 msgid "Site communautaire" msgstr "" @@ -6678,6 +6689,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "" @@ -6688,6 +6700,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "" @@ -6698,6 +6711,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 msgid "Code source" msgstr "" @@ -6708,6 +6722,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "" @@ -6718,6 +6733,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "" @@ -8926,27 +8942,32 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 msgid "Le site est en ligne" msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 msgid "Le site est indisponible" msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 msgid "Rendre le site indisponible" msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 msgid "Gestion des variables" msgstr "" @@ -8955,6 +8976,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, php-format msgid "Modifier la variable: %s" msgstr "" @@ -8964,6 +8986,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, php-format msgid "Variable %s sauvegardée" msgstr "" @@ -8973,6 +8996,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "" @@ -8982,6 +9006,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "" @@ -8998,6 +9023,7 @@ msgstr "" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 msgid "Mise à jour de la charte graphique" msgstr "" @@ -9006,6 +9032,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "" @@ -9014,6 +9041,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "" @@ -11220,6 +11248,7 @@ msgstr "" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "" @@ -12405,17 +12434,20 @@ msgstr "" #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 msgid "Téléchargement" msgstr "" @@ -12819,6 +12851,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 msgid "Sélection de bibliothèques pour la recherche" msgstr "" @@ -12826,6 +12859,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 msgid "Carte des bibliothèques" msgstr "" @@ -13503,6 +13537,7 @@ msgstr "" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "" @@ -13511,6 +13546,7 @@ msgstr "" #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "" @@ -31156,11 +31192,13 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "" @@ -36482,6 +36520,8 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 msgid "Une erreur c'est produite." msgstr "" @@ -37516,3 +37556,61 @@ msgstr "" #: ../../library/ZendAfi/Form/Decorator/AuthorityPicker.php:58 msgid "Inclure les termes spécifiques" msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +msgid "Votre portail est compatible !" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +msgid "Demande d'informations" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" diff --git a/library/translation/ro.mo b/library/translation/ro.mo index 64b3902403d5198221546398bb3e46e47d729d65..a30f8b268f1e8dbbcbfa8bfb72ec8e693697f22b 100644 Binary files a/library/translation/ro.mo and b/library/translation/ro.mo differ diff --git a/library/translation/ro.po b/library/translation/ro.po index 1c8763a7575abe22e233c7d117f0e4658930396b..af032d12f39766b0f2891115c5d55958a1c25346 100644 --- a/library/translation/ro.po +++ b/library/translation/ro.po @@ -6,7 +6,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-09-30 12:16+0200\n" +"POT-Creation-Date: 2019-10-14 15:11+0200\n" "PO-Revision-Date: 2011-07-14 18:15+0200\n" "Last-Translator: Lupu Mariana <lupumariana@yahoo.com>\n" "Language-Team: Romanian\n" @@ -706,6 +706,13 @@ msgstr "" msgid "%s%s : %s" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:123 +#, php-format +msgid "" +"%s, application mobile libre et gratuite, permet à vos abonnés d'accéder aux " +"services de votre réseau :" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #: ../../library/ZendAfi/View/Helper/Redmine/IssueJournal.php:74 #, fuzzy, php-format @@ -790,6 +797,10 @@ msgstr "'%valoare%' nu pare un nume de reÅ£ea locală valid " msgid "'%value%' does not appear to be an integer" msgstr "'%valoare%' nu pare a fi un număr întreg" +#, fuzzy +msgid "'%value%' does not fit given date format" +msgstr "'%valoare%' nu pare a fi un număr întreg" + msgid "'%value%' does not match the expected structure for a DNS hostname" msgstr "'%valoare%' nu corespunde structurii obiÅŸnuite a unui hostname DNS " @@ -993,6 +1004,10 @@ msgstr ", tip de document: %s" msgid "- Tous droits réservés - Hébergement & Conception graphique" msgstr "- Toate drepturile rezervate - Găzduire & ConcepÅ£ie grafică" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:134 +msgid "... et plus encore !" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #: ../../library/ZendAfi/Form/Configuration/DiaporamaNavigationImagesViewer.php:52 #, fuzzy @@ -1612,6 +1627,10 @@ msgstr "Activează instrumentele de acces" msgid "Accéder à la page de modification de mon compte administrateur" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:93 +msgid "Accéder à la présentation de MyBibApp" +msgstr "" + #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:55 #: ../../application/modules/telephone/controllers/RechercheController.php:52 @@ -6723,6 +6742,7 @@ msgstr "Ultimele site-uri adăugate" #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:241 #: ../../application/modules/opac/controllers/BibController.php:248 +#: ../../application/modules/opac/controllers/BibController.php:258 #, fuzzy msgid "Carte des bibliothèques" msgstr "Fişă bibliotecă: " @@ -7989,6 +8009,7 @@ msgstr "Cod poÅŸtal" #: ../../application/modules/admin/views/scripts/index/index.phtml:65 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 #: ../../application/modules/admin/views/scripts/index/index.phtml:83 +#: ../../application/modules/admin/views/scripts/index/index.phtml:59 #, fuzzy msgid "Code source" msgstr "sursă" @@ -8765,6 +8786,7 @@ msgstr "Constituire a planului de acces" #: ../../library/Class/CriteresRecherche.php:151 #: ../../library/Class/CriteresRecherche.php:119 #: ../../library/Class/CriteresRecherche.php:120 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:364 msgid "Consultation" msgstr "Consultare" @@ -8844,6 +8866,7 @@ msgstr "Adaugă resurse" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:298 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:347 msgid "Consulter le livre en ligne" msgstr "" @@ -9967,6 +9990,11 @@ msgid "" "fonction Bokeh : %s" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:146 +#, fuzzy +msgid "Demande d'informations" +msgstr "Buletine informative" + #: ../../application/modules/admin/controllers/RegistrationController.php:55 #, fuzzy, php-format msgid "Demande d'inscription de \"%s\" archivée" @@ -10496,6 +10524,7 @@ msgstr "Discografie completă aparÅ£inând lui" #: ../../application/modules/admin/views/scripts/index/index.phtml:69 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/admin/views/scripts/index/index.phtml:87 +#: ../../application/modules/admin/views/scripts/index/index.phtml:63 msgid "Discutez avec les contributeurs de Bokeh en direct" msgstr "" @@ -10884,6 +10913,7 @@ msgstr "ExprimaÅ£i-vă sau modificaÅ£i-vă părerea" #: ../../application/modules/opac/controllers/RssController.php:149 #: ../../application/modules/admin/views/scripts/index/index.phtml:58 #: ../../application/modules/opac/controllers/RssController.php:141 +#: ../../application/modules/admin/views/scripts/index/index.phtml:34 msgid "Données en attente de modération" msgstr "Date în aÅŸteptarea moderării" @@ -11222,6 +11252,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:15 #: ../../application/modules/admin/views/scripts/index/index.phtml:4 #: ../../application/modules/admin/views/scripts/index/index.phtml:33 +#: ../../application/modules/admin/views/scripts/index/index.phtml:9 msgid "Démonstrations vidéos" msgstr "" @@ -11911,6 +11942,7 @@ msgstr "" #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:48 #: ../../library/ZendAfi/View/Helper/Telephone/TagDilicomWidget.php:50 #: ../../library/ZendAfi/View/Helper/TagDilicomWidget.php:96 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:292 msgid "Emprunter le livre au format EPUB" msgstr "" @@ -12429,6 +12461,7 @@ msgstr "Eroare" #: ../../application/modules/admin/controllers/IndexController.php:156 #: ../../application/modules/admin/controllers/IndexController.php:164 #: ../../application/modules/admin/controllers/IndexController.php:155 +#: ../../application/modules/admin/controllers/IndexController.php:157 msgid "Erreur : La demande de mise à jour n'a pas pu être envoyée au serveur" msgstr "" @@ -12598,6 +12631,7 @@ msgstr "Eroare" #: ../../application/modules/admin/controllers/IndexController.php:111 #: ../../application/modules/admin/controllers/IndexController.php:119 #: ../../application/modules/admin/controllers/IndexController.php:110 +#: ../../application/modules/admin/controllers/IndexController.php:112 #, php-format msgid "Erreur(s) : %s, variable %s NON sauvegardée" msgstr "" @@ -12790,6 +12824,7 @@ msgstr "An de publicare" #: ../../application/modules/admin/views/scripts/index/index.phtml:36 #: ../../application/modules/admin/views/scripts/index/index.phtml:25 #: ../../application/modules/admin/views/scripts/index/index.phtml:54 +#: ../../application/modules/admin/views/scripts/index/index.phtml:30 #, fuzzy msgid "Etat du site" msgstr "Export de coÅŸ" @@ -14215,6 +14250,7 @@ msgstr "Gestionare utilizatori" #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:64 #: ../../application/modules/admin/controllers/IndexController.php:55 +#: ../../application/modules/admin/controllers/IndexController.php:57 #, fuzzy msgid "Gestion des variables" msgstr "Gestionare biblioteci" @@ -14260,6 +14296,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:63 #: ../../application/modules/admin/views/scripts/index/index.phtml:52 #: ../../application/modules/admin/views/scripts/index/index.phtml:81 +#: ../../application/modules/admin/views/scripts/index/index.phtml:57 msgid "Google group Bokeh" msgstr "" @@ -16544,6 +16581,7 @@ msgstr "Nu a fost găsit nici un articol" #: ../../library/Class/User/ILSSubscription.php:75 #: ../../library/Class/User/ILSSubscription.php:85 #: ../../library/Class/User/ILSSubscription.php:93 +#: ../../library/Class/User/ILSSubscription.php:95 #, php-format msgid "L'abonnement de %s a expiré - Merci de contacter la médiathèque" msgstr "" @@ -17116,6 +17154,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:86 #: ../../application/modules/admin/controllers/IndexController.php:77 +#: ../../application/modules/admin/controllers/IndexController.php:79 #, php-format msgid "La clé \"%s\" n'existe pas." msgstr "" @@ -17207,6 +17246,7 @@ msgstr "Nu a fost găsit nici un articol" #: ../../application/modules/admin/controllers/IndexController.php:155 #: ../../application/modules/admin/controllers/IndexController.php:163 #: ../../application/modules/admin/controllers/IndexController.php:154 +#: ../../application/modules/admin/controllers/IndexController.php:156 msgid "La demande de mise à jour a été envoyée au serveur" msgstr "" @@ -17811,6 +17851,7 @@ msgstr "între %s ÅŸi %s" #: ../../application/modules/admin/controllers/IndexController.php:133 #: ../../application/modules/admin/controllers/IndexController.php:141 #: ../../application/modules/admin/controllers/IndexController.php:132 +#: ../../application/modules/admin/controllers/IndexController.php:134 msgid "Le cache de Bokeh a été vidé" msgstr "" @@ -18480,12 +18521,14 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:42 #: ../../application/modules/admin/controllers/IndexController.php:42 +#: ../../application/modules/admin/controllers/IndexController.php:44 #, fuzzy msgid "Le site est en ligne" msgstr "Descriere" #: ../../application/modules/admin/controllers/IndexController.php:43 #: ../../application/modules/admin/controllers/IndexController.php:43 +#: ../../application/modules/admin/controllers/IndexController.php:45 #, fuzzy msgid "Le site est indisponible" msgstr "Câmpuri disponibile" @@ -21177,6 +21220,7 @@ msgstr "Actualizare a localizării" #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:105 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:106 #: ../../library/ZendAfi/View/Helper/Admin/ContentNav.php:107 +#: ../../application/modules/admin/controllers/IndexController.php:145 #, fuzzy msgid "Mise à jour de la charte graphique" msgstr "Actualizare a localizării" @@ -21762,6 +21806,7 @@ msgstr "Modificare bibliotecă: %s" #: ../../application/modules/admin/controllers/IndexController.php:94 #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:93 +#: ../../application/modules/admin/controllers/IndexController.php:95 #, fuzzy, php-format msgid "Modifier la variable: %s" msgstr "Modificare bibliotecă: %s" @@ -23279,6 +23324,7 @@ msgstr "Nu aÅ£i introdus un nume de utilizator." #: ../../application/modules/admin/views/scripts/index/index.phtml:37 #: ../../application/modules/admin/views/scripts/index/index.phtml:26 #: ../../application/modules/admin/views/scripts/index/index.phtml:55 +#: ../../application/modules/admin/views/scripts/index/index.phtml:31 #, fuzzy msgid "Nom du domaine" msgstr "Export de coÅŸ" @@ -25525,6 +25571,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:9 #: ../../application/modules/admin/views/scripts/index/index.phtml:38 +#: ../../application/modules/admin/views/scripts/index/index.phtml:14 msgid "Paramètres du site" msgstr "Parametrii site-ului" @@ -25781,6 +25828,7 @@ msgstr "Număr de diviziuni" #: ../../application/modules/admin/views/scripts/index/index.phtml:60 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 #: ../../application/modules/admin/views/scripts/index/index.phtml:78 +#: ../../application/modules/admin/views/scripts/index/index.phtml:54 msgid "Participez à la communauté" msgstr "" @@ -26653,6 +26701,13 @@ msgstr "" msgid "Pour quelle durée ?" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:142 +#, php-format +msgid "" +"Pour référencer votre portail dans %s, ou pour toute information " +"complémentaire, contactez-nous par courriel : " +msgstr "" + #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 #: ../../application/modules/opac/views/scripts/recherche/reservation.phtml:6 msgid "" @@ -28250,6 +28305,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:47 #: ../../application/modules/admin/controllers/IndexController.php:47 +#: ../../application/modules/admin/controllers/IndexController.php:49 msgid "Remettre le site en ligne" msgstr "" @@ -28341,6 +28397,7 @@ msgstr "Invizibil" #: ../../application/modules/admin/controllers/IndexController.php:46 #: ../../application/modules/admin/controllers/IndexController.php:46 +#: ../../application/modules/admin/controllers/IndexController.php:48 #, fuzzy msgid "Rendre le site indisponible" msgstr "Serviciu indisponibil" @@ -29526,6 +29583,7 @@ msgstr "" #: ../../application/modules/admin/views/scripts/index/index.phtml:68 #: ../../application/modules/admin/views/scripts/index/index.phtml:57 #: ../../application/modules/admin/views/scripts/index/index.phtml:86 +#: ../../application/modules/admin/views/scripts/index/index.phtml:62 msgid "Salle de discussion #Bokeh" msgstr "" @@ -30066,6 +30124,7 @@ msgstr "Rezervări în curs" #: ../../application/modules/admin/views/scripts/index/index.phtml:62 #: ../../application/modules/admin/views/scripts/index/index.phtml:51 #: ../../application/modules/admin/views/scripts/index/index.phtml:80 +#: ../../application/modules/admin/views/scripts/index/index.phtml:56 #, fuzzy msgid "Site communautaire" msgstr "Consultare" @@ -31226,6 +31285,7 @@ msgstr "SelecÅ£ie de biblioteci" #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:132 #: ../../application/modules/opac/controllers/BibController.php:140 +#: ../../application/modules/opac/controllers/BibController.php:150 #, fuzzy msgid "Sélection de bibliothèques pour la recherche" msgstr "SelecÅ£ie de biblioteci" @@ -33162,6 +33222,7 @@ msgstr "" #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:346 #: ../../application/modules/opac/controllers/BibNumeriqueController.php:345 +#: ../../application/modules/opac/controllers/BibNumeriqueController.php:328 #, fuzzy msgid "Téléchargement" msgstr "Telefon" @@ -33213,6 +33274,14 @@ msgstr "Telefon" msgid "Télécharger \"%s\"" msgstr "Telefon" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:103 +msgid "Télécharger MyBibApp pour Apple iOS" +msgstr "" + +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:98 +msgid "Télécharger MyBibApp pour Google Android" +msgstr "" + #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 #: ../../application/modules/opac/views/scripts/panier/export.phtml:20 msgid "Télécharger au format liste (clic droit puis enregistrer sous)" @@ -33776,6 +33845,8 @@ msgstr "" #: ../../application/modules/opac/controllers/BibController.php:317 #: ../../application/modules/admin/controllers/ProfilController.php:271 #: ../../application/modules/admin/controllers/ProfilController.php:276 +#: ../../application/modules/opac/controllers/BibController.php:312 +#: ../../application/modules/opac/controllers/BibController.php:327 msgid "Une erreur c'est produite." msgstr "" @@ -34453,6 +34524,7 @@ msgstr "Variabilă" #: ../../application/modules/admin/controllers/IndexController.php:102 #: ../../application/modules/admin/controllers/IndexController.php:110 #: ../../application/modules/admin/controllers/IndexController.php:101 +#: ../../application/modules/admin/controllers/IndexController.php:103 #, fuzzy, php-format msgid "Variable %s sauvegardée" msgstr "Nu a fost găsit nici un articol" @@ -34688,6 +34760,7 @@ msgstr "" #: ../../application/modules/admin/controllers/IndexController.php:81 #: ../../application/modules/admin/controllers/IndexController.php:72 +#: ../../application/modules/admin/controllers/IndexController.php:74 msgid "Veuillez renseigner le paramètre \"cle\"." msgstr "" @@ -35420,6 +35493,7 @@ msgstr "Tagul dvs." #: ../../library/Class/User/ILSSubscription.php:88 #: ../../library/Class/User/ILSSubscription.php:98 #: ../../library/Class/User/ILSSubscription.php:106 +#: ../../library/Class/User/ILSSubscription.php:108 msgid "Votre abonnement a expiré - Merci de contacter la médiathèque" msgstr "" @@ -35752,6 +35826,11 @@ msgstr "" msgid "Votre mot de passe: " msgstr "Parola dvs. :%s" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:139 +#, fuzzy +msgid "Votre portail est compatible !" +msgstr "Parola dvs. :%s" + #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:55 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 #: ../../library/ZendAfi/View/Helper/Abonne/LoansExtension.php:54 @@ -36916,6 +36995,7 @@ msgstr "Web" #: ../../application/modules/admin/views/scripts/index/index.phtml:64 #: ../../application/modules/admin/views/scripts/index/index.phtml:53 #: ../../application/modules/admin/views/scripts/index/index.phtml:82 +#: ../../application/modules/admin/views/scripts/index/index.phtml:58 msgid "Wiki Bokeh" msgstr "" @@ -37100,6 +37180,10 @@ msgstr "Număr de diviziuni" msgid "abonné ou utilisateur du site" msgstr "banner site" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:132 +msgid "accéder au site de la médiathèque automatiquement authentifié" +msgstr "" + #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:5 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:28 #: ../../application/modules/admin/views/scripts/index/adminvar.phtml:29 @@ -37342,6 +37426,12 @@ msgstr "" msgid "compte expiré" msgstr "" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:133 +msgid "" +"consulter notice et enrichissements (bande-annonce, pré-écoute, ...) d'un " +"document en scannant son identifiant" +msgstr "" + #: ../../library/ZendAfi/View/Helper/Admin/TagListeSuggestion.php:36 msgid "contient" msgstr "conÅ£ine" @@ -37809,6 +37899,12 @@ msgstr "februarie" msgid "genre" msgstr "Gen" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:131 +msgid "" +"gestion de plusieurs cartes et comptes (famille, école, ...) au sein d'une " +"même application" +msgstr "" + #: ../../library/ZendAfi/Form/Configuration/WallImagesViewer.php:32 #, fuzzy msgid "grille" @@ -38892,6 +38988,10 @@ msgstr "Prenume" msgid "rubrique de classement" msgstr "Tip de document" +#: ../../library/ZendAfi/View/Helper/Admin/MyBibAppTeaser.php:130 +msgid "récupération de la liste de ses prêts et réservations" +msgstr "" + #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:167 #: ../../library/Class/Cosmogramme/Integration/PhasePrepareIntegrations.php:233 @@ -39223,6 +39323,7 @@ msgstr "Nici un conÅ£inut" #: ../../application/modules/admin/views/scripts/index/index.phtml:31 #: ../../application/modules/admin/views/scripts/index/index.phtml:20 #: ../../application/modules/admin/views/scripts/index/index.phtml:49 +#: ../../application/modules/admin/views/scripts/index/index.phtml:25 #, fuzzy msgid "» Modifier «" msgstr "Modificare" diff --git a/public/opac/images/mybibapp/banner_alpha_1024.png b/public/opac/images/mybibapp/banner_alpha_1024.png new file mode 100644 index 0000000000000000000000000000000000000000..09b3cefe2429baa3889d57b0fce664d2b6869e17 Binary files /dev/null and b/public/opac/images/mybibapp/banner_alpha_1024.png differ diff --git a/public/opac/images/mybibapp/mybibapp_android.png b/public/opac/images/mybibapp/mybibapp_android.png new file mode 100644 index 0000000000000000000000000000000000000000..c8a14ec0cff44ebe8e89f8392a23dade6abf1684 Binary files /dev/null and b/public/opac/images/mybibapp/mybibapp_android.png differ diff --git a/public/opac/images/mybibapp/mybibapp_apple.png b/public/opac/images/mybibapp/mybibapp_apple.png new file mode 100644 index 0000000000000000000000000000000000000000..4c6fc5a2466d56813e9ed39b5fe4f5c15be8dcc7 Binary files /dev/null and b/public/opac/images/mybibapp/mybibapp_apple.png differ diff --git a/tests/application/modules/admin/controllers/IndexControllerTest.php b/tests/application/modules/admin/controllers/IndexControllerTest.php index 5ec3832afc5018152934563ff01aad82df544b69..0686e77c24c6bc93839d6cead9ef93e8a4fe868b 100644 --- a/tests/application/modules/admin/controllers/IndexControllerTest.php +++ b/tests/application/modules/admin/controllers/IndexControllerTest.php @@ -41,6 +41,23 @@ abstract class Admin_IndexControllerTestCase extends Admin_AbstractControllerTes +class Admin_IndexControllerWithHTTPSTest extends Admin_IndexControllerTestCase { + /** @test */ + public function pageShouldDisplayMyBibAppTeaser() { + $_SERVER['HTTPS'] = 'on'; + $this->dispatch('/admin/index/index', true); + $this->assertXPath('//div[@id="mybibapp_teaser"]'); + } + + + public function tearDown() { + unset($_SERVER['HTTPS']); + parent::tearDown(); + } +} + + + class Admin_IndexControllerTest extends Admin_IndexControllerTestCase { public function setUp() { @@ -60,6 +77,12 @@ class Admin_IndexControllerTest extends Admin_IndexControllerTestCase { } + /** @test */ + public function withoutHTTPSShouldNotDisplayMyBibAppTeaser() { + $this->assertNotXPath('//div[@id="mybibapp_teaser"]'); + } + + /** @test */ public function fileBokeh74ShouldBeLoaded() { $this->assertXPath('//link[contains(@href, "bokeh74/global.css")]'); diff --git a/tests/application/modules/admin/controllers/WidgetControllerTest.php b/tests/application/modules/admin/controllers/WidgetControllerTest.php index 55839256bf7348c1a7fb0a0b7f007c2b635d0db6..ef8beb6ee6fb17ef1caef37de3f412c2ac1b3c50 100644 --- a/tests/application/modules/admin/controllers/WidgetControllerTest.php +++ b/tests/application/modules/admin/controllers/WidgetControllerTest.php @@ -2681,3 +2681,89 @@ class WidgetControllerHorizontalMenuChangeLinkTextTest extends Admin_AbstractCon $this->assertCount(2, $menus['menus'][0]['sous_menus']); } } + + + + +/** @see http://forge.afi-sa.fr/issues/98351 */ +class WidgetControllerAddActionWithExisting2Columns + extends WidgetControllerWidgetConfigurationTestCase { + + public function setUp() { + parent::setUp(); + $this->_profil + ->setCfgAccueil('a:4:{s:7:"modules";a:9:{i:1;a:6:{s:11:"type_module";s:23:"CONTENEUR_DEUX_COLONNES";s:11:"preferences";a:9:{s:5:"titre";s:0:"";s:15:"col_gauche_type";s:4:"NEWS";s:15:"col_droite_type";s:4:"NEWS";s:5:"boite";s:0:"";s:9:"id_module";s:1:"1";s:10:"profile_id";s:1:"1";s:20:"col_gauche_module_id";s:4:"1000";s:20:"col_droite_module_id";s:4:"1001";s:8:"id_items";s:12:"104-104-104-";}s:10:"profile_id";s:1:"1";s:8:"division";s:1:"1";s:20:"col_gauche_module_id";s:4:"1000";s:20:"col_droite_module_id";s:4:"1001";}i:4;a:3:{s:8:"division";s:1:"1";s:11:"type_module";s:8:"CALENDAR";s:11:"preferences";a:21:{s:5:"titre";s:14:"À vos agendas";s:12:"id_categorie";s:566:"33-287-303-229-323-235-341-347-241-242-245-383-247-389-249-251-253-254-425-257-259-261-263-265-267-454-472-484-508-515-268-271-569-272-275-276-279-281-634-283-285-729-289-291-293-295-297-299-301-821-828-840-858-864-305-307-309-233-813-359-353-364-371-377-395-401-407-412-419-882-430-437-442-449-890-896-460-467-479-902-490-496-503-521-526-533-539-544-550-556-562-574-581-586-593-599-604-610-617-622-629-642-648-655-661-667-673-679-735-741-746-753-759-765-771-777-783-788-914-893-795-801-806-905-834-846-852-869-723-715-709-703-697-691-685-311-926-936-942-948-954-960";s:18:"display_cat_select";s:1:"0";s:18:"display_event_info";s:3:"bib";s:8:"rss_avis";s:1:"0";s:9:"ical_feed";s:1:"0";s:18:"display_next_event";s:1:"1";s:13:"display_order";s:16:"DateCreationDesc";s:12:"display_mode";s:5:"Title";s:17:"display_full_page";s:1:"0";s:9:"nb_events";s:1:"3";s:16:"display_calendar";s:1:"0";s:14:"mode-affichage";s:4:"wall";s:6:"layout";s:4:"grid";s:12:"event_filter";s:4:"none";s:15:"enabled_filters";s:0:"";s:5:"boite";s:0:"";s:9:"id_module";s:1:"4";s:10:"profile_id";s:1:"1";s:8:"id_items";s:0:"";s:13:"styles_reload";s:1:"0";}}i:5;a:3:{s:8:"division";s:1:"1";s:11:"type_module";s:7:"KIOSQUE";s:11:"preferences";a:26:{s:5:"titre";s:21:"ça vient de sortir !";s:11:"style_liste";s:21:"mycarousel_horizontal";s:10:"nb_notices";s:3:"200";s:8:"only_img";s:1:"1";s:9:"aleatoire";s:1:"0";s:3:"tri";s:1:"1";s:10:"nb_analyse";s:2:"50";s:14:"op_hauteur_img";s:3:"150";s:13:"op_transition";s:4:"zoom";s:14:"op_largeur_img";s:3:"120";s:16:"op_hauteur_boite";s:2:"80";s:11:"op_captions";s:4:"true";s:11:"op_autoplay";s:5:"false";s:10:"op_visible";s:1:"0";s:8:"op_speed";s:3:"100";s:7:"op_auto";s:1:"0";s:9:"op_scroll";s:1:"1";s:8:"rss_avis";s:1:"0";s:12:"id_catalogue";s:2:"21";s:9:"id_panier";s:0:"";s:15:"profil_redirect";s:2:"34";s:5:"boite";s:0:"";s:9:"id_module";s:1:"5";s:10:"profile_id";s:1:"1";s:13:"styles_reload";s:1:"0";s:10:"op_hauteur";s:3:"600";}}i:9;a:3:{s:8:"division";s:1:"1";s:11:"type_module";s:14:"DOMAIN_BROWSER";s:11:"preferences";a:9:{s:5:"titre";s:60:"<a href="/index/index/id_profil/37">Pour aller plus loin</a>";s:16:"allow_breadcrumb";s:1:"0";s:14:"root_domain_id";s:3:"144";s:3:"tri";s:10:"annee desc";s:12:"display_mode";s:1:"4";s:5:"boite";s:0:"";s:9:"id_module";s:1:"9";s:10:"profile_id";s:1:"1";s:8:"id_items";s:0:"";}}i:3;a:3:{s:8:"division";s:1:"1";s:11:"type_module";s:9:"CRITIQUES";s:11:"preferences";a:14:{s:5:"titre";s:14:"Coups de cœur";s:11:"nb_aff_avis";s:1:"2";s:8:"nb_words";s:2:"50";s:13:"display_order";s:6:"Random";s:8:"rss_avis";s:1:"1";s:8:"only_img";s:1:"1";s:9:"id_panier";s:0:"";s:12:"id_catalogue";s:0:"";s:11:"abon_ou_bib";s:3:"all";s:3:"tri";s:1:"0";s:12:"hierarchical";s:1:"0";s:5:"boite";s:0:"";s:9:"id_module";s:1:"3";s:10:"profile_id";s:1:"1";}}i:2;a:3:{s:8:"division";s:1:"4";s:11:"type_module";s:5:"LOGIN";s:11:"preferences";a:20:{s:5:"titre";s:10:"Mon compte";s:14:"titre_connecte";s:0:"";s:11:"identifiant";s:11:"Identifiant";s:19:"identifiant_exemple";s:0:"";s:12:"mot_de_passe";s:12:"Mot de passe";s:20:"mot_de_passe_exemple";s:0:"";s:14:"lien_connexion";s:12:"Se connecter";s:24:"lien_mot_de_passe_oublie";s:47:"Mot de passe oublié ? <br>Changer mot de passe";s:17:"lien_creer_compte";s:16:"Créer un compte";s:16:"pre-registration";s:0:"";s:16:"message_connecte";s:9:"Bienvenue";s:11:"lien_compte";s:10:"Mon compte";s:17:"lien_deconnection";s:15:"Se déconnecter";s:16:"pre_registration";s:0:"";s:16:"autocomplete_off";s:1:"1";s:15:"profil_redirect";s:0:"";s:22:"profil_logout_redirect";s:0:"";s:5:"boite";s:20:"boite_login_banniere";s:9:"id_module";s:1:"2";s:10:"profile_id";s:1:"1";}}i:8;a:3:{s:8:"division";s:1:"4";s:11:"type_module";s:11:"RECH_SIMPLE";s:11:"preferences";a:20:{s:5:"titre";s:0:"";s:7:"message";s:29:"Cherchez, réservez, profitez";s:7:"exemple";s:0:"";s:10:"select_bib";s:1:"0";s:10:"select_doc";s:1:"0";s:13:"select_annexe";s:1:"0";s:7:"largeur";s:3:"300";s:17:"recherche_avancee";s:1:"1";s:8:"type_doc";s:0:"";s:3:"tri";s:1:"*";s:8:"in_files";s:1:"0";s:15:"profil_redirect";s:0:"";s:11:"placeholder";s:18:"Titre, auteur, etc";s:13:"search_button";s:0:"";s:10:"domain_ids";s:0:"";s:19:"domain_select_style";s:6:"select";s:5:"boite";s:21:"boite_banniere_gauche";s:9:"id_module";s:1:"8";s:10:"profile_id";s:1:"1";s:8:"id_items";s:0:"";}}i:1000;a:5:{s:11:"type_module";s:4:"NEWS";s:11:"preferences";a:23:{s:5:"titre";s:8:"A la une";s:6:"anchor";s:0:"";s:19:"allow_link_on_title";s:1:"0";s:8:"type_aff";s:1:"1";s:12:"id_categorie";s:0:"";s:8:"id_items";s:23:"555-627-631-580-400-634";s:6:"nb_aff";s:1:"1";s:10:"nb_analyse";s:1:"5";s:13:"display_order";s:9:"Selection";s:19:"display_titles_only";s:1:"0";s:8:"rss_avis";s:1:"1";s:14:"op_largeur_img";s:3:"200";s:6:"layout";s:4:"grid";s:16:"op_hauteur_boite";s:3:"400";s:5:"boite";s:0:"";s:10:"profile_id";s:1:"1";s:11:"style_liste";s:20:"diaporama_navigation";s:13:"styles_reload";s:1:"0";s:18:"op_navigation_mode";s:13:"next_previous";s:18:"op_navigation_unit";s:2:"px";s:26:"op_navigation_window_width";s:3:"580";s:27:"op_navigation_window_height";s:3:"325";s:19:"op_navigation_cycle";s:4:"4000";}s:9:"id_module";s:4:"1000";s:9:"parent_id";s:1:"1";s:10:"profile_id";s:1:"1";}i:1001;a:5:{s:11:"type_module";s:4:"NEWS";s:11:"preferences";a:18:{s:5:"titre";s:17:"Numérique 24h/24";s:6:"anchor";s:0:"";s:19:"allow_link_on_title";s:1:"1";s:8:"type_aff";s:1:"1";s:12:"id_categorie";s:0:"";s:8:"id_items";s:3:"207";s:6:"nb_aff";s:1:"1";s:10:"nb_analyse";s:1:"5";s:13:"display_order";s:9:"Selection";s:19:"display_titles_only";s:1:"0";s:8:"rss_avis";s:1:"0";s:14:"op_largeur_img";s:3:"200";s:6:"layout";s:4:"grid";s:16:"op_hauteur_boite";s:3:"400";s:5:"boite";s:0:"";s:10:"profile_id";s:1:"1";s:11:"style_liste";s:4:"none";s:13:"styles_reload";s:1:"0";}s:9:"id_module";s:4:"1001";s:9:"parent_id";s:1:"1";s:10:"profile_id";s:1:"1";}}s:14:"use_parent_css";s:1:"1";s:7:"sitemap";s:1:"1";s:8:"page_css";s:0:"";}') + ->setNbDivisions(1) + ->assertSave() + ; + + $this->dispatch('/admin/widget/add/id_profil/5/template/advanced/template_no/0'); + } + + + /** @test */ + public function cfgAccueilModulesShouldNotBeEmpty() { + $this->assertNotEmpty($this->_profil->getCfgAccueilAsArray()['modules']); + } + + + /** @test */ + public function cfgAccueilModulesShouldHave10Items() { + $this->assertCount(10, $this->_profil->getCfgAccueilAsArray()['modules']); + } + + + /** @test */ + public function leftColumnPreferencesShouldNotBeLost() { + $preferences = $this->_profil->getCfgAccueilAsArray()['modules'][1000]['preferences']; + $this->assertEquals(['titre' => 'A la une', + 'anchor' => '', + 'allow_link_on_title' => '0', + 'type_aff' => '1', + 'id_categorie' => '', + 'id_items' => '555-627-631-580-400-634', + 'nb_aff' => '1', + 'nb_analyse' => '5', + 'display_order' => 'Selection', + 'display_titles_only' => '0', + 'rss_avis' => '1', + 'op_largeur_img' => '200', + 'layout' => 'grid', + 'op_hauteur_boite' => '400', + 'boite' => '', + 'profile_id' => '1', + 'style_liste' => 'diaporama_navigation', + 'styles_reload' => '0', + 'op_navigation_mode' => 'next_previous', + 'op_navigation_unit' => 'px', + 'op_navigation_window_width' => '580', + 'op_navigation_window_height' => '325', + 'op_navigation_cycle' => '4000'], + $preferences); + } + + + /** @test */ + public function rightColumnPreferencesShouldNotBeLost() { + $preferences = $this->_profil->getCfgAccueilAsArray()['modules'][1001]['preferences']; + $this->assertEquals(['titre' => 'Numérique 24h/24', + 'anchor' => '', + 'allow_link_on_title' => '1', + 'type_aff' => '1', + 'id_categorie' => '', + 'id_items' => '207', + 'nb_aff' => '1', + 'nb_analyse' => '5', + 'display_order' => 'Selection', + 'display_titles_only' => '0', + 'rss_avis' => '0', + 'op_largeur_img' => '200', + 'layout' => 'grid', + 'op_hauteur_boite' => '400', + 'boite' => '', + 'profile_id' => '1', + 'style_liste' => 'none', + 'styles_reload' => '0'], + $preferences); + } +} \ No newline at end of file diff --git a/tests/application/modules/opac/controllers/BibControllerIndexActionTest.php b/tests/application/modules/opac/controllers/BibControllerIndexActionTest.php index 5d0e0c23304e192855842e8703699be56cf00eaf..2c09c38674b25591496e52c798fd75c1c95283af 100644 --- a/tests/application/modules/opac/controllers/BibControllerIndexActionTest.php +++ b/tests/application/modules/opac/controllers/BibControllerIndexActionTest.php @@ -111,7 +111,9 @@ class BibControllerIndexActionTest extends AbstractControllerTestCase { class BibControllerIndexActionFormatJsonTest extends AbstractControllerTestCase { - protected $_storm_default_to_volatile = true, $_json; + protected + $_storm_default_to_volatile = true, + $_json; public function setUp() { parent::setUp(); @@ -125,7 +127,10 @@ class BibControllerIndexActionFormatJsonTest extends AbstractControllerTestCase 'ville' => 'Annecy', 'url_web' => '', 'cp' => '74000', - 'ouvertures' => $ouvertures]); + 'ouvertures' => $ouvertures, + 'lieu' => $this->fixture('Class_Lieu', + ['id' => 44, + 'libelle' => 'Annecy'])]); $this->fixture('Class_Bib', ['id' => 586, @@ -134,7 +139,12 @@ class BibControllerIndexActionFormatJsonTest extends AbstractControllerTestCase 'ville' => 'Cran-Gevrier', 'cp' => '74960', 'url_web' => '', - 'gln' => 'UN GROS GLN']); + 'gln' => 'UN GROS GLN', + 'lieu' => $this->fixture('Class_Lieu', + ['id' => 45, + 'libelle' => 'Cran', + 'latitude' => '45.90644', + 'longitude' => '6.10739'])]); $this->fixture('Class_CustomField', ['id' => 7, @@ -157,48 +167,75 @@ class BibControllerIndexActionFormatJsonTest extends AbstractControllerTestCase $annecy->saveWithCustomFields(); $this->dispatch('opac/bib/index/format/json', true); - $this->_json = $this->_response->getBody(); + $this->_json = json_decode($this->_response->getBody()); } /** @test */ - public function jsonShouldContainsLabelMediathequeAnnecy() { - $this->assertContains('M\u00e9diath\u00e8que d\'Annecy', $this->_json); + public function firstLabelShouldBeMediathequeAnnecy() { + $this->assertEquals('Médiathèque d\'Annecy', $this->_json[0]->libelle); } /** @test */ - public function jsonShouldContainsLabelMediathequeDeCran() { - $this->assertContains('M\u00e9diath\u00e8que de Cran', $this->_json); + public function secondLabelShouldBeMediathequeDeCran() { + $this->assertEquals('Médiathèque de Cran', $this->_json[1]->libelle); } /** @test */ - public function jsonShouldNotContainsUnGrosGln() { - $this->assertNotContains('UN GROS GLN', $this->_json); + public function cranGlnShouldNotBeSet() { + $this->assertFalse(isset($this->_json[1]->gln)); } /** @test */ - public function jsonShouldContainsRestauration() { - $this->assertContains('Restauration', $this->_json); + public function annecyLatitudeShouldBeEmpty() { + $this->assertEquals('', $this->_json[0]->latitude); } /** @test */ - public function jsonShouldContainsServices() { - $this->assertContains('Services', $this->_json); + public function cranLatitudeShouldBe45() { + $this->assertEquals('45.90644', $this->_json[1]->latitude); } /** @test */ - public function jsonShouldContainsPublic() { - $this->assertContains('Public', $this->_json); + public function cranLongitudeShouldBe6() { + $this->assertEquals('6.10739', $this->_json[1]->longitude); } /** @test */ - public function jsonShouldContainsMardi() { - $this->assertContains('"jour_semaine":2', $this->_json); + public function annecyShouldHave2CustomFields() { + $this->assertEquals(2, count($this->_json[0]->custom_fields)); + return $this->_json[0]->custom_fields; + } + + + /** + * @test + * @depends annecyShouldHave2CustomFields + */ + public function firstAnnecyFieldShouldBePublic($fields) { + $this->assertEquals('Public', $fields[0]->label); + $this->assertEquals('', $fields[0]->value); + } + + + /** + * @test + * @depends annecyShouldHave2CustomFields + */ + public function secondAnnecyFieldShouldBeServices($fields) { + $this->assertEquals('Services', $fields[1]->label); + $this->assertEquals('Wifi;Restauration', $fields[1]->value); + } + + + /** @test */ + public function annecyShouldBeOpenedTuesday() { + $this->assertEquals('2', $this->_json[0]->openings[0]->jour_semaine); } } diff --git a/tests/application/modules/opac/controllers/RechercheControllerViewnoticeTest.php b/tests/application/modules/opac/controllers/RechercheControllerViewnoticeTest.php index 98cb57fdc73f45be9c7875761c828633c8f6232b..6427a5ebb45aac99c491026a45fe561771c43d64 100644 --- a/tests/application/modules/opac/controllers/RechercheControllerViewnoticeTest.php +++ b/tests/application/modules/opac/controllers/RechercheControllerViewnoticeTest.php @@ -125,6 +125,68 @@ class RechercheControllerSearchResultWithInspectorGadgetTest extends AbstractCon +/** @see http://forge.afi-sa.fr/issues/94107 */ +class NoticeAjaxControllerPDCM4MultipleIndexWidgetTest extends AbstractControllerTestCase { + + public function setUp(){ + parent::setUp(); + + $preferences = [ + 'barre_nav' => 'Disque', + 'entete' =>"WCNPRSTtYZ8v9", + 'onglets' => [ + 'detail' => ['titre' => 'Details', 'aff' => '1', 'ordre' => 1, 'largeur' => 10], + 'avis' => ['titre' => 'avis', 'aff' => '1', 'ordre' => 2, 'largeur' => 10], + 'exemplaires' => ['titre' => 'exemplaires', 'aff' => '2', 'ordre' => 3, 'largeur' => 10], + 'resume' => ['titre' => 'resume', 'aff' => '2', 'ordre' => 4, 'largeur' => 10], + 'tags' => ['titre' => 'tags', 'aff' => '2', 'ordre' => 5, 'largeur' => 10], + 'biographie' => ['titre' => 'biographie', 'aff' => '2', 'ordre' => 6, 'largeur' => 10], + 'similaires' => ['titre' => 'similaires', 'aff' => '2', 'ordre' => 7, 'largeur' => 10], + 'bibliographie' => ['titre' => 'bibliographie','aff' => '3', 'ordre' => 7, 'largeur' => 10], + 'morceaux' => ['titre' => 'morceaux', 'aff' => '3', 'ordre' => 8, 'largeur' => 10], + 'bandeAnnonce' => ['titre' => 'bande annonce','aff' => '3', 'ordre' => 9, 'largeur' => 10], + 'photos' => ['titre' => 'photos', 'aff' => '3', 'ordre' => 14, 'largeur' => 10], + 'videos' => ['titre' => 'videos', 'aff' => '3', 'ordre' => 11, 'largeur' => 10], + 'resnumeriques' => ['titre' => 'ressources n', 'aff' => '3', 'ordre' => 12, 'largeur' => 10], + 'babeltheque' => ['titre' => 'babeltheque', 'aff' => '3', 'ordre' => 13, 'largeur' => 10], + 'frbr' => ['titre' => 'frbr', 'aff' => '0', 'ordre' => 10, 'largeur' => 10], + 'serie' => ['titre' => 'serie', 'aff' => '0', 'ordre' => 11, 'largeur' => 10]], + 'boite' => null]; + + + $this->fixture('Class_Profil', ['id' => 1, + 'libelle' => 'Afibre']) + ->setBarreNavOn(true) + ->setCfgModules(['recherche' => ['viewnotice3' => $preferences]]) + ->beCurrentProfil(); + + $this->fixture('Class_Notice', + ['id' => 174604, + 'type_doc' => Class_TypeDoc::DISQUE, + 'unimarc' => file_get_contents(dirname(__FILE__) + . '../../../../../../cosmogramme/tests/php/classes/unimarc_chant_gregorien.txt')]) + ->setFacettes('P347 P3092') + ->setPcdm4('P347 P3092'); + + $this->dispatch('/recherche/viewnotice/id/174604', true); + + } + + /** @test */ + public function StyleMusiqueshouldLinkToCategoriesP3092AndP347() { + $this->assertXPathContentContains('//a/@href','P3092', $this->response->getBody()); + $this->assertXPathContentContains('//a/@href','P347', $this->response->getBody()); + } + + + /** @test */ + public function StyleMusiqueshouldDisplayChantGAndMoyen() { + $this->assertXPathContentContains('//a[contains(@href,"P347")]','Chant g', $this->response->getBody()); + $this->assertXPathContentContains('//a[contains(@href,"P3092")]','Moyen-', $this->response->getBody()); + } +} + + /** @see http://forge.afi-sa.fr/issues/93542 */ class RechercheControllerViewnoticeVignetteFromUnimarcTest extends AbstractControllerTestCase { diff --git a/tests/application/modules/opac/controllers/RssControllerTest.php b/tests/application/modules/opac/controllers/RssControllerTest.php index 8ebc1fdce4b73767657f87cff2adc104e99fe43a..7cec394d888ac8983f297eea1f4a535b51b7f8db 100644 --- a/tests/application/modules/opac/controllers/RssControllerTest.php +++ b/tests/application/modules/opac/controllers/RssControllerTest.php @@ -422,7 +422,7 @@ class RssControllerCritiquesTest extends AbstractControllerTestCase { /** @test */ public function shouldContainExpectedUrlInLink() { - $this->assertContains('/blog/viewcritiques?id_module=10&id_profil=76&language=fr</link>', $this->_response->getBody()); + $this->assertContains('/blog/viewcritiques?id_module=10&id_profil=76&language=fr</link>', $this->_response->getBody()); } diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 96fe057b3eb499e820cefd7cab4c5c762a5354a1..c292309689335f359d03f7f04998de1d8dbc147e 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -42,6 +42,7 @@ set_include_path( realpath(dirname(__FILE__)).'/../library' . PATH_SEPARATOR . get_include_path()); // Includes de base +include_once "local.php"; include_once( "fonctions/fonctions.php"); require_once "Zend/Loader.php"; require_once "library/startup.php"; diff --git a/tests/scenarios/PnbDilicom/PnbDilicomTest.php b/tests/scenarios/PnbDilicom/PnbDilicomTest.php index 4750bd9a730699bfe18b4d990143e0f02ee57f7e..921c7dc934e12e57a1453a28abe359e6bc83a827 100644 --- a/tests/scenarios/PnbDilicom/PnbDilicomTest.php +++ b/tests/scenarios/PnbDilicom/PnbDilicomTest.php @@ -1613,7 +1613,7 @@ abstract class PnbDilicomViewHelperRenderAlbumTestCase extends ViewHelperTestCas $this->book = (new DilicomFixtures())->albumTotemThora(); RessourcesNumeriquesFixtures::activateDilicom(); - $this->_http = Storm_Test_ObjectWrapper::mock(); + $this->_http = $this->mock(); Class_WebService_BibNumerique_Dilicom_Hub::setDefaultHttpClient($this->_http); $this->_time_source = new TimeSourceForTest('2014-05-02 14:14:14'); @@ -1660,7 +1660,8 @@ class PnbDilicomViewHelperRenderAlbumPNBNotLoggedTest extends PnbDilicomViewHelp -class PnbDilicomViewHelperRenderAlbumPNBLoggedButNotAuthorizeTest extends PnbDilicomViewHelperRenderAlbumTestCase { +class PnbDilicomViewHelperRenderAlbumPNBLoggedButNotAuthorizeTest + extends PnbDilicomViewHelperRenderAlbumTestCase { public function setUp() { parent::setUp(); @@ -1782,6 +1783,78 @@ class PnbDilicomViewHelperRenderAlbumPNBTest extends PnbDilicomViewHelperRenderA +class PnbDilicomViewHelperRenderAlbumPNBLoggedButBlockedTest + extends PnbDilicomViewHelperRenderAlbumTestCase { + + public function setUp() { + parent::setUp(); + + $this->fixture('Class_Bib', ['id' => 1, + 'libelle' => 'Annecy', + 'gln' => '333']); + + $group = $this->fixture('Class_UserGroup', + ['id' => '20', + 'libelle' => 'Dilicom', + 'rights' => [Class_UserGroup::RIGHT_ACCES_PNB_DILICOM]]); + + $this->logged_user = $this + ->fixture('Class_Users', + ['id' => 6, + 'nom'=>'Pito', + 'login'=>'Chat', + 'password'=>'123456', + 'id_site' => 1, + 'int_bib' => $this->fixture('Class_IntBib', + ['id' => 1, + 'comm_sigb' => Class_IntBib::COM_ORPHEE, + 'comm_params' => ['url_serveur' => 'tests/fixtures/orphee.wsdl', + 'allow_hold_available_items' => true]]), + 'idabon' => '12345', + 'user_groups' => [$group]]); + + Class_WebService_SIGB_Orphee::setService($this->mock() + ->whenCalled('isConnected')->answers(true) + ->whenCalled('getEmprunteur') + ->answers(Class_WebService_SIGB_Emprunteur::nullInstance()->beBlocked()) + ); + + $this->logged_user->beAbonneSIGB()->assertSave(); + ZendAfi_Auth::getInstance()->logUser($this->logged_user); + + $this->fixture('Class_Loan_Pnb', ['id' => 1, + 'record_origin_id' => 'Dilicom-88817216', + 'user_id' => '6']); + + $this->_html = $this->_helper->renderAlbum($this->book); + } + + + public function tearDown() { + unset($_SERVER['HTTPS']); + Class_WebService_SIGB_Orphee::setService(null); + + parent::tearDown(); + } + + + /** @test */ + public function htmlShouldContainsIFrameOnEdenBook() { + $this->assertXPath($this->_html, + '//iframe[@src="http://www.edenlivres.fr/p/23416"][@width="100%"][@height="600px"]', + $this->_html); + } + + + /** @test */ + public function htmlShouldContainsNotAuthorizedMessage() { + $this->assertXPathContentContains($this->_html, '//div', 'Vous n\'avez pas le droit'); + } +} + + + + class PnbDilicomViewHelperRenderAlbumPNBGetLoanStatusTest extends PnbDilicomViewHelperRenderAlbumTestCase { public function setUp() { @@ -1916,6 +1989,116 @@ class PnbDilicomViewHelperRenderAlbumPNBGetLoanStatusTest extends PnbDilicomView +class PnbDilicomBibNumeriqueControllerBlockedUserTest extends AbstractControllerTestCase { + + protected + $_http, + $_book, + $_time_source, + $_storm_default_to_volatile = true; + + + public function setUp() { + parent::setUp(); + + $_SERVER['HTTP_REFERER'] = '/viewnotice/id/3'; + + $this->fixture('Class_Bib', ['id' => 1, 'gln' => '2345889']); + + Class_AdminVar::set('DILICOM_PNB_MAX_LOAN_DURATION', 0); + Class_WebService_BibNumerique_Dilicom_Hub::setPhpCommand($this->mock()->whenCalled('rand')->answers('1930') + ->whenCalled('hash')->answers('10')); + + $group = $this->fixture('Class_UserGroup', ['id' => '20', + 'libelle' => 'Dilicom', + 'rights' => [Class_UserGroup::RIGHT_ACCES_PNB_DILICOM]]); + + $logged_user = $this->fixture('Class_Users', + ['id' => 6, + 'nom'=>'Pito', + 'login'=>'Chat', + 'password'=>'123456', + 'id_site' => 1, + 'int_bib' => $this->fixture('Class_IntBib', + ['id' => 1, + 'comm_sigb' => Class_IntBib::COM_ORPHEE, + 'comm_params' => ['url_serveur' => 'tests/fixtures/orphee.wsdl', + 'allow_hold_available_items' => true]]), + 'idabon' => '12345', + 'user_groups' => [$group]]); + + Class_WebService_SIGB_Orphee::setService($this->mock() + ->whenCalled('isConnected')->answers(true) + ->whenCalled('getEmprunteur') + ->answers(Class_WebService_SIGB_Emprunteur::nullInstance()->beBlocked()) + ); + + $logged_user->beAbonneSIGB()->assertSave(); + ZendAfi_Auth::getInstance()->logUser($logged_user); + + $this->_book = (new DilicomFixtures)->albumTotemThora(); + RessourcesNumeriquesFixtures::activateDilicom(); + + $this->_http = $this->mock(); + Class_WebService_BibNumerique_Dilicom_Hub::setDefaultHttpClient($this->_http); + + $this->_time_source = new TimeSourceForTest('2014-05-02 14:14:14'); + Class_WebService_BibNumerique_Dilicom_Hub::setTimeSource($this->_time_source); + Class_Album_UsageConstraint::setTimeSource($this->_time_source); + Class_Album_UsageConstraints::setTimeSource($this->_time_source); + Class_Loan_Pnb::setTimeSource($this->_time_source); + } + + + public function tearDown() { + Class_WebService_BibNumerique_Dilicom_Hub::setTimeSource(null); + Class_Album_UsageConstraint::setTimeSource(null); + Class_Loan_Pnb::setTimeSource(null); + RessourcesNumeriquesFixtures::deactivateDilicom(); + Class_WebService_SIGB_Orphee::setService(null); + + parent::tearDown(); + } + + + /** @test */ + public function shouldNotBeAbleToConsult() { + $this->dispatch('/bib-numerique/consult-book/id/3', true); + $this->assertRedirect($this->_response->getBody()); + } + + + /** @test */ + public function shouldNotBeAbleToConsultAjax() { + $this->dispatch('/bib-numerique/consult-book-ajax/id/3', true); + $this->assertContains('location.href=', $this->_response->getBody()); + } + + + /** @test */ + public function shouldNotBeAbleToLoan() { + $this->dispatch('/bib-numerique/loan-book/id/3', true); + $this->assertRedirect($this->_response->getBody()); + } + + + /** @test */ + public function shouldNotBeAbleToLoanAjax() { + $this->dispatch('/bib-numerique/loan-book-ajax/id/3', true); + $this->assertContains('location.href=', $this->_response->getBody()); + } + + + /** @test */ + public function shouldNotBeAbleToDownloadLoanAjax() { + $this->dispatch('/bib-numerique/download-loan-book-ajax/id/3', true); + $this->assertContains('location.href=', $this->_response->getBody()); + } +} + + + + abstract class PnbDilicomBibNumeriqueControllerTestCase extends AbstractControllerTestCase { protected @@ -2007,7 +2190,8 @@ abstract class PnbDilicomBibNumeriqueControllerTestCase extends AbstractControll -abstract class PnbDilicomBibNumeriqueControllerLoanBookActionTestCase extends PnbDilicomBibNumeriqueControllerTestCase { +abstract class PnbDilicomBibNumeriqueControllerLoanBookActionTestCase + extends PnbDilicomBibNumeriqueControllerTestCase { public function setUp() { parent::setUp();