declarer_tables_objets_sql (#1)

déclarer la talbe principale du plugin par le biais du pipeline declarer_tables_objets_sql()

ainsi on peut ajouter des champs extras aux items de zotero

pas la peine de propose l'édition des zitems puisque ça n'est pas possible

un peu de PSR, spaces to tabs + pas de fermeture php + rangement dans les fichiers de langue

Reviewed-on: #1
pull/2/head
b_b 3 years ago
parent 9c102f0a16
commit 57c3acade1

@ -1,5 +1,8 @@
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function action_zotspip_forcer_maj_dist(){
$securiser_action = charger_fonction('securiser_action', 'inc');
@ -20,4 +23,3 @@ function action_zotspip_forcer_maj_dist(){
redirige_par_entete($redirect.'&maj=ok');
}
}
?>

@ -1,7 +1,8 @@
<?php
// Sécurité
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function zotspip_declarer_tables_interfaces($interface){
// 'spip_' dans l'index de $tables_principales
@ -21,49 +22,54 @@ function zotspip_declarer_tables_interfaces($interface){
return $interface;
}
function zotspip_declarer_tables_principales($tables_principales){
function zotspip_declarer_tables_objets_sql($tables){
//-- Table zitems -----------------------------------------------------------
$zitems = array(
"id_zitem" => "varchar(16) DEFAULT '' NOT NULL",
"id_parent" => "varchar(16) DEFAULT '' NOT NULL",
"type_ref" => "varchar(255) DEFAULT '' NOT NULL",
"annee" => "smallint(6)",
"titre" => "text DEFAULT '' NOT NULL",
"auteurs" => "text DEFAULT '' NOT NULL",
"resume" => "mediumtext DEFAULT '' NOT NULL",
"date" => "varchar(255) DEFAULT '' NOT NULL",
"pages" => "varchar(255) DEFAULT '' NOT NULL",
"publication" => "text DEFAULT '' NOT NULL",
"editeur" => "text DEFAULT '' NOT NULL",
"collection" => "varchar(255) DEFAULT '' NOT NULL",
"conference" => "text DEFAULT '' NOT NULL",
"type_doc" => "text DEFAULT '' NOT NULL",
"volume" => "varchar(255) DEFAULT '' NOT NULL",
"numero" => "varchar(255) DEFAULT '' NOT NULL",
"doi" => "varchar(255) DEFAULT '' NOT NULL",
"isbn" => "varchar(255) DEFAULT '' NOT NULL",
"issn" => "varchar(255) DEFAULT '' NOT NULL",
"url" => "text DEFAULT '' NOT NULL",
"extras" => "text DEFAULT '' NOT NULL",
"mimetype" => "varchar(255) DEFAULT '' NOT NULL",
"poids" => "bigint",
"fichier" => "text DEFAULT '' NOT NULL",
"json" => "mediumtext DEFAULT '' NOT NULL",
"csljson" => "mediumtext DEFAULT '' NOT NULL",
"updated" => "varchar(50) DEFAULT '' NOT NULL",
"date_ajout"=> "varchar(50) DEFAULT '' NOT NULL"
$tables['spip_zitems'] = array(
'type' => 'zitem',
'principale' => 'oui',
'texte_objet' => 'zotero:zitem_singulier',
'texte_objets' => 'zotero:zitem_pluriel',
'icone_objet' => 'zotero',
'editable' => false,
'field' => array(
"id_zitem" => "varchar(16) DEFAULT '' NOT NULL",
"id_parent" => "varchar(16) DEFAULT '' NOT NULL",
"type_ref" => "varchar(255) DEFAULT '' NOT NULL",
"annee" => "smallint(6)",
"titre" => "text DEFAULT '' NOT NULL",
"auteurs" => "text DEFAULT '' NOT NULL",
"resume" => "mediumtext DEFAULT '' NOT NULL",
"date" => "varchar(255) DEFAULT '' NOT NULL",
"pages" => "varchar(255) DEFAULT '' NOT NULL",
"publication" => "text DEFAULT '' NOT NULL",
"editeur" => "text DEFAULT '' NOT NULL",
"collection" => "varchar(255) DEFAULT '' NOT NULL",
"conference" => "text DEFAULT '' NOT NULL",
"type_doc" => "text DEFAULT '' NOT NULL",
"volume" => "varchar(255) DEFAULT '' NOT NULL",
"numero" => "varchar(255) DEFAULT '' NOT NULL",
"doi" => "varchar(255) DEFAULT '' NOT NULL",
"isbn" => "varchar(255) DEFAULT '' NOT NULL",
"issn" => "varchar(255) DEFAULT '' NOT NULL",
"url" => "text DEFAULT '' NOT NULL",
"extras" => "text DEFAULT '' NOT NULL",
"mimetype" => "varchar(255) DEFAULT '' NOT NULL",
"poids" => "bigint",
"fichier" => "text DEFAULT '' NOT NULL",
"json" => "mediumtext DEFAULT '' NOT NULL",
"csljson" => "mediumtext DEFAULT '' NOT NULL",
"updated" => "varchar(50) DEFAULT '' NOT NULL",
"date_ajout"=> "varchar(50) DEFAULT '' NOT NULL"
),
'key' => array(
"PRIMARY KEY" => "id_zitem",
"KEY id_parent" => "id_parent"
)
);
$zitems_cles = array(
"PRIMARY KEY" => "id_zitem",
"KEY id_parent" => "id_parent"
);
$tables_principales['spip_zitems'] = array(
'field' => &$zitems,
'key' => &$zitems_cles
);
return $tables;
}
function zotspip_declarer_tables_auxiliaires($tables_auxiliaires){
//-- Table zcollections -----------------------------------------------------------
$zcollections = array(
"id_zcollection" => "varchar(16) DEFAULT '' NOT NULL",
@ -77,7 +83,7 @@ function zotspip_declarer_tables_principales($tables_principales){
"KEY id_parent" => "id_parent"
);
$tables_principales['spip_zcollections'] = array(
$tables_auxiliaires['spip_zcollections'] = array(
'field' => &$zcollections,
'key' => &$zcollections_cles
);
@ -95,7 +101,7 @@ function zotspip_declarer_tables_principales($tables_principales){
"KEY auteur" => "auteur"
);
$tables_principales['spip_zcreators'] = array(
$tables_auxiliaires['spip_zcreators'] = array(
'field' => &$zcreators,
'key' => &$zcreators_cles
);
@ -111,15 +117,10 @@ function zotspip_declarer_tables_principales($tables_principales){
"KEY tag" => "tag"
);
$tables_principales['spip_ztags'] = array(
$tables_auxiliaires['spip_ztags'] = array(
'field' => &$ztags,
'key' => &$ztags_cles
);
return $tables_principales;
}
function zotspip_declarer_tables_auxiliaires($tables_auxiliaires){
//-- Table zitems_zcollections -----------------------------------------------------------
$zitems_zcollections = array(
"id_zitem" => "varchar(16) DEFAULT '' NOT NULL",
@ -138,6 +139,3 @@ function zotspip_declarer_tables_auxiliaires($tables_auxiliaires){
return $tables_auxiliaires;
}
?>

@ -1,6 +1,8 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function formulaires_fusionner_zcreators_charger_dist($auteur){
return array('auteur' => $auteur, 'dest' => '');
@ -59,5 +61,3 @@ function formulaires_fusionner_zcreators_traiter_dist($auteur){
return array('redirect'=>generer_url_ecrire('zcreators'));
}
}
?>

@ -1,6 +1,8 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function formulaires_fusionner_ztags_charger_dist($tag){
return array('tag' => $auteur, 'dest' => '');
@ -50,5 +52,3 @@ function formulaires_fusionner_ztags_traiter_dist($tag){
return array('redirect'=>generer_url_ecrire('ztags'));
}
}
?>

@ -1,6 +1,8 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function formulaires_generer_langue_zotero_charger_dist(){
$valeurs = array(
@ -26,5 +28,3 @@ function formulaires_generer_langue_zotero_traiter_dist(){
$code = substr($code,0,-1);
set_request('code',$code);
}
?>

@ -1,6 +1,8 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function formulaires_maj_zotspip_charger_dist(){
$zotspip_maj = isset($GLOBALS['meta']['zotspip_maj']) ? unserialize($GLOBALS['meta']['zotspip_maj']) : array('forcer' => false);
@ -37,5 +39,3 @@ function formulaires_maj_zotspip_traiter_dist(){
return array('message_ok' => _T('zotspip:synchronisation_effectuee'));
}
}
?>

@ -1,10 +1,10 @@
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function genie_maj_schema_zotero_dist($t) {
include_spip('inc/zotspip');
return zotspip_maj_schema_zotero();
}
?>

@ -1,10 +1,10 @@
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function genie_maj_zotspip_dist($t) {
include_spip('inc/zotspip');
return zotspip_maj();
}
?>

@ -1,6 +1,8 @@
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
// Générer une URL pour la read API de Zotero
function zotero_url($params) {
@ -619,6 +621,3 @@ function zotero_poster($params_url,$datas,$methode='POST') {
'result' => $result
);
}
?>

@ -1,185 +1,187 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
'itemtypes_note' => 'Note',
'itemtypes_attachment' => 'Attachment',
'itemtypes_book' => 'Book',
'itemtypes_booksection' => 'Book Section',
'itemtypes_journalarticle' => 'Journal Article',
'itemtypes_magazinearticle' => 'Magazine Article',
'itemtypes_newspaperarticle' => 'Newspaper Article',
'itemtypes_thesis' => 'Thesis',
'itemtypes_letter' => 'Letter',
'itemtypes_manuscript' => 'Manuscript',
'itemtypes_interview' => 'Interview',
'itemtypes_film' => 'Film',
'itemtypes_artwork' => 'Artwork',
'itemtypes_webpage' => 'Web Page',
'itemtypes_report' => 'Report',
'itemtypes_bill' => 'Bill',
'itemtypes_case' => 'Case',
'itemtypes_hearing' => 'Hearing',
'itemtypes_patent' => 'Patent',
'itemtypes_statute' => 'Statute',
'itemtypes_email' => 'E-mail',
'itemtypes_map' => 'Map',
'itemtypes_blogpost' => 'Blog Post',
'itemtypes_instantmessage' => 'Instant Message',
'itemtypes_forumpost' => 'Forum Post',
'itemtypes_audiorecording' => 'Audio Recording',
'itemtypes_presentation' => 'Presentation',
'itemtypes_videorecording' => 'Video Recording',
'itemtypes_tvbroadcast' => 'TV Broadcast',
'itemtypes_radiobroadcast' => 'Radio Broadcast',
'itemtypes_podcast' => 'Podcast',
'itemtypes_computerprogram' => 'Computer Program',
'itemtypes_conferencepaper' => 'Conference Paper',
'itemtypes_document' => 'Document',
'itemtypes_encyclopediaarticle' => 'Encyclopedia Article',
'itemtypes_dictionaryentry' => 'Dictionary Entry',
'itemfields_itemtype' => 'Type',
'itemfields_title' => 'Title',
'itemfields_dateadded' => 'Date Added',
'itemfields_datemodified' => 'Modified',
'itemfields_source' => 'Source',
'itemfields_notes' => 'Notes',
'itemfields_tags' => 'Tags',
'itemfields_attachments' => 'Attachments',
'itemfields_related' => 'Related',
'itemfields_url' => 'URL',
'itemfields_rights' => 'Rights',
'itemfields_series' => 'Series',
'itemfields_volume' => 'Volume',
'itemfields_issue' => 'Issue',
'itemfields_edition' => 'Edition',
'itemfields_place' => 'Place',
'itemfields_publisher' => 'Publisher',
'itemfields_pages' => 'Pages',
'itemfields_isbn' => 'ISBN',
'itemfields_publicationtitle' => 'Publication',
'itemfields_issn' => 'ISSN',
'itemfields_date' => 'Date',
'itemfields_section' => 'Section',
'itemfields_callnumber' => 'Call Number',
'itemfields_archivelocation' => 'Loc. in Archive',
'itemfields_distributor' => 'Distributor',
'itemfields_extra' => 'Extra',
'itemfields_journalabbreviation' => 'Journal Abbr',
'itemfields_doi' => 'DOI',
'itemfields_accessdate' => 'Accessed',
'itemfields_seriestitle' => 'Series Title',
'itemfields_seriestext' => 'Series Text',
'itemfields_seriesnumber' => 'Series Number',
'itemfields_institution' => 'Institution',
'itemfields_reporttype' => 'Report Type',
'itemfields_code' => 'Code',
'itemfields_session' => 'Session',
'itemfields_legislativebody' => 'Legislative Body',
'itemfields_history' => 'History',
'itemfields_reporter' => 'Reporter',
'itemfields_court' => 'Court',
'itemfields_numberofvolumes' => '# of Volumes',
'itemfields_committee' => 'Committee',
'itemfields_assignee' => 'Assignee',
'itemfields_patentnumber' => 'Patent Number',
'itemfields_prioritynumbers' => 'Priority Numbers',
'itemfields_issuedate' => 'Issue Date',
'itemfields_references' => 'References',
'itemfields_legalstatus' => 'Legal Status',
'itemfields_codenumber' => 'Code Number',
'itemfields_artworkmedium' => 'Medium',
'itemfields_number' => 'Number',
'itemfields_artworksize' => 'Artwork Size',
'itemfields_librarycatalog' => 'Library Catalog',
'itemfields_videorecordingformat' => 'Format',
'itemfields_interviewmedium' => 'Medium',
'itemfields_lettertype' => 'Type',
'itemfields_manuscripttype' => 'Type',
'itemfields_maptype' => 'Type',
'itemfields_scale' => 'Scale',
'itemfields_thesistype' => 'Type',
'itemfields_websitetype' => 'Website Type',
'itemfields_audiorecordingformat' => 'Format',
'itemfields_label' => 'Label',
'itemfields_presentationtype' => 'Type',
'itemfields_meetingname' => 'Meeting Name',
'itemfields_studio' => 'Studio',
'itemfields_runningtime' => 'Running Time',
'itemfields_network' => 'Network',
'itemfields_posttype' => 'Post Type',
'itemfields_audiofiletype' => 'File Type',
'itemfields_versionnumber' => 'Version',
'itemfields_system' => 'System',
'itemfields_company' => 'Company',
'itemfields_conferencename' => 'Conference Name',
'itemfields_encyclopediatitle' => 'Encyclopedia Title',
'itemfields_dictionarytitle' => 'Dictionary Title',
'itemfields_language' => 'Language',
'itemfields_programminglanguage' => 'Language',
'itemfields_university' => 'University',
'itemfields_abstractnote' => 'Abstract',
'itemfields_websitetitle' => 'Website Title',
'itemfields_reportnumber' => 'Report Number',
'itemfields_billnumber' => 'Bill Number',
'itemfields_codevolume' => 'Code Volume',
'itemfields_codepages' => 'Code Pages',
'itemfields_datedecided' => 'Date Decided',
'itemfields_reportervolume' => 'Reporter Volume',
'itemfields_firstpage' => 'First Page',
'itemfields_documentnumber' => 'Document Number',
'itemfields_dateenacted' => 'Date Enacted',
'itemfields_publiclawnumber' => 'Public Law Number',
'itemfields_country' => 'Country',
'itemfields_applicationnumber' => 'Application Number',
'itemfields_forumtitle' => 'Forum/Listserv Title',
'itemfields_episodenumber' => 'Episode Number',
'itemfields_blogtitle' => 'Blog Title',
'itemfields_medium' => 'Medium',
'itemfields_casename' => 'Case Name',
'itemfields_nameofact' => 'Name of Act',
'itemfields_subject' => 'Subject',
'itemfields_proceedingstitle' => 'Proceedings Title',
'itemfields_booktitle' => 'Book Title',
'itemfields_shorttitle' => 'Short Title',
'itemfields_docketnumber' => 'Docket Number',
'itemfields_numpages' => '# of Pages',
'itemfields_programtitle' => 'Program Title',
'itemfields_issuingauthority' => 'Issuing Authority',
'itemfields_filingdate' => 'Filing Date',
'itemfields_genre' => 'Genre',
'itemfields_archive' => 'Archive',
'itemfields_itemkey' => 'Zotero ID',
'itemfields_itemversion' => 'Version',
'creatortypes_author' => 'Author',
'creatortypes_contributor' => 'Contributor',
'creatortypes_editor' => 'Editor',
'creatortypes_translator' => 'Translator',
'creatortypes_serieseditor' => 'Series Editor',
'creatortypes_interviewee' => 'Interview With',
'creatortypes_interviewer' => 'Interviewer',
'creatortypes_director' => 'Director',
'creatortypes_scriptwriter' => 'Scriptwriter',
'creatortypes_producer' => 'Producer',
'creatortypes_castmember' => 'Cast Member',
'creatortypes_sponsor' => 'Sponsor',
'creatortypes_counsel' => 'Counsel',
'creatortypes_inventor' => 'Inventor',
'creatortypes_attorneyagent' => 'Attorney/Agent',
'creatortypes_recipient' => 'Recipient',
'creatortypes_performer' => 'Performer',
'creatortypes_composer' => 'Composer',
'creatortypes_wordsby' => 'Words By',
'creatortypes_cartographer' => 'Cartographer',
'creatortypes_programmer' => 'Programmer',
'creatortypes_artist' => 'Artist',
'creatortypes_commenter' => 'Commenter',
'creatortypes_presenter' => 'Presenter',
'creatortypes_guest' => 'Guest',
'creatortypes_podcaster' => 'Podcaster',
'creatortypes_reviewedauthor' => 'Reviewed Author',
'creatortypes_cosponsor' => 'Cosponsor',
'creatortypes_bookauthor' => 'Book Author'
'creatortypes_artist' => 'Artist',
'creatortypes_attorneyagent' => 'Attorney/Agent',
'creatortypes_author' => 'Author',
'creatortypes_bookauthor' => 'Book Author',
'creatortypes_cartographer' => 'Cartographer',
'creatortypes_castmember' => 'Cast Member',
'creatortypes_commenter' => 'Commenter',
'creatortypes_composer' => 'Composer',
'creatortypes_contributor' => 'Contributor',
'creatortypes_cosponsor' => 'Cosponsor',
'creatortypes_counsel' => 'Counsel',
'creatortypes_director' => 'Director',
'creatortypes_editor' => 'Editor',
'creatortypes_guest' => 'Guest',
'creatortypes_interviewee' => 'Interview With',
'creatortypes_interviewer' => 'Interviewer',
'creatortypes_inventor' => 'Inventor',
'creatortypes_performer' => 'Performer',
'creatortypes_podcaster' => 'Podcaster',
'creatortypes_presenter' => 'Presenter',
'creatortypes_producer' => 'Producer',
'creatortypes_programmer' => 'Programmer',
'creatortypes_recipient' => 'Recipient',
'creatortypes_reviewedauthor' => 'Reviewed Author',
'creatortypes_scriptwriter' => 'Scriptwriter',
'creatortypes_serieseditor' => 'Series Editor',
'creatortypes_sponsor' => 'Sponsor',
'creatortypes_translator' => 'Translator',
'creatortypes_wordsby' => 'Words By',
'itemfields_abstractnote' => 'Abstract',
'itemfields_accessdate' => 'Accessed',
'itemfields_applicationnumber' => 'Application Number',
'itemfields_archive' => 'Archive',
'itemfields_archivelocation' => 'Loc. in Archive',
'itemfields_artworkmedium' => 'Medium',
'itemfields_artworksize' => 'Artwork Size',
'itemfields_assignee' => 'Assignee',
'itemfields_attachments' => 'Attachments',
'itemfields_audiofiletype' => 'File Type',
'itemfields_audiorecordingformat' => 'Format',
'itemfields_billnumber' => 'Bill Number',
'itemfields_blogtitle' => 'Blog Title',
'itemfields_booktitle' => 'Book Title',
'itemfields_callnumber' => 'Call Number',
'itemfields_casename' => 'Case Name',
'itemfields_code' => 'Code',
'itemfields_codenumber' => 'Code Number',
'itemfields_codepages' => 'Code Pages',
'itemfields_codevolume' => 'Code Volume',
'itemfields_committee' => 'Committee',
'itemfields_company' => 'Company',
'itemfields_conferencename' => 'Conference Name',
'itemfields_country' => 'Country',
'itemfields_court' => 'Court',
'itemfields_date' => 'Date',
'itemfields_dateadded' => 'Date Added',
'itemfields_datedecided' => 'Date Decided',
'itemfields_dateenacted' => 'Date Enacted',
'itemfields_datemodified' => 'Modified',
'itemfields_dictionarytitle' => 'Dictionary Title',
'itemfields_distributor' => 'Distributor',
'itemfields_docketnumber' => 'Docket Number',
'itemfields_documentnumber' => 'Document Number',
'itemfields_doi' => 'DOI',
'itemfields_edition' => 'Edition',
'itemfields_encyclopediatitle' => 'Encyclopedia Title',
'itemfields_episodenumber' => 'Episode Number',
'itemfields_extra' => 'Extra',
'itemfields_filingdate' => 'Filing Date',
'itemfields_firstpage' => 'First Page',
'itemfields_forumtitle' => 'Forum/Listserv Title',
'itemfields_genre' => 'Genre',
'itemfields_history' => 'History',
'itemfields_institution' => 'Institution',
'itemfields_interviewmedium' => 'Medium',
'itemfields_isbn' => 'ISBN',
'itemfields_issn' => 'ISSN',
'itemfields_issue' => 'Issue',
'itemfields_issuedate' => 'Issue Date',
'itemfields_issuingauthority' => 'Issuing Authority',
'itemfields_itemkey' => 'Zotero ID',
'itemfields_itemtype' => 'Type',
'itemfields_itemversion' => 'Version',
'itemfields_journalabbreviation' => 'Journal Abbr',
'itemfields_label' => 'Label',
'itemfields_language' => 'Language',
'itemfields_legalstatus' => 'Legal Status',
'itemfields_legislativebody' => 'Legislative Body',
'itemfields_lettertype' => 'Type',
'itemfields_librarycatalog' => 'Library Catalog',
'itemfields_manuscripttype' => 'Type',
'itemfields_maptype' => 'Type',
'itemfields_medium' => 'Medium',
'itemfields_meetingname' => 'Meeting Name',
'itemfields_nameofact' => 'Name of Act',
'itemfields_network' => 'Network',
'itemfields_notes' => 'Notes',
'itemfields_number' => 'Number',
'itemfields_numberofvolumes' => '# of Volumes',
'itemfields_numpages' => '# of Pages',
'itemfields_pages' => 'Pages',
'itemfields_patentnumber' => 'Patent Number',
'itemfields_place' => 'Place',
'itemfields_posttype' => 'Post Type',
'itemfields_presentationtype' => 'Type',
'itemfields_prioritynumbers' => 'Priority Numbers',
'itemfields_proceedingstitle' => 'Proceedings Title',
'itemfields_programminglanguage' => 'Language',
'itemfields_programtitle' => 'Program Title',
'itemfields_publicationtitle' => 'Publication',
'itemfields_publiclawnumber' => 'Public Law Number',
'itemfields_publisher' => 'Publisher',
'itemfields_references' => 'References',
'itemfields_related' => 'Related',
'itemfields_reporter' => 'Reporter',
'itemfields_reportervolume' => 'Reporter Volume',
'itemfields_reportnumber' => 'Report Number',
'itemfields_reporttype' => 'Report Type',
'itemfields_rights' => 'Rights',
'itemfields_runningtime' => 'Running Time',
'itemfields_scale' => 'Scale',
'itemfields_section' => 'Section',
'itemfields_series' => 'Series',
'itemfields_seriesnumber' => 'Series Number',
'itemfields_seriestext' => 'Series Text',
'itemfields_seriestitle' => 'Series Title',
'itemfields_session' => 'Session',
'itemfields_shorttitle' => 'Short Title',
'itemfields_source' => 'Source',
'itemfields_studio' => 'Studio',
'itemfields_subject' => 'Subject',
'itemfields_system' => 'System',
'itemfields_tags' => 'Tags',
'itemfields_thesistype' => 'Type',
'itemfields_title' => 'Title',
'itemfields_university' => 'University',
'itemfields_url' => 'URL',
'itemfields_versionnumber' => 'Version',
'itemfields_videorecordingformat' => 'Format',
'itemfields_volume' => 'Volume',
'itemfields_websitetitle' => 'Website Title',
'itemfields_websitetype' => 'Website Type',
'itemtypes_artwork' => 'Artwork',
'itemtypes_attachment' => 'Attachment',
'itemtypes_audiorecording' => 'Audio Recording',
'itemtypes_bill' => 'Bill',
'itemtypes_blogpost' => 'Blog Post',
'itemtypes_book' => 'Book',
'itemtypes_booksection' => 'Book Section',
'itemtypes_case' => 'Case',
'itemtypes_computerprogram' => 'Computer Program',
'itemtypes_conferencepaper' => 'Conference Paper',
'itemtypes_dictionaryentry' => 'Dictionary Entry',
'itemtypes_document' => 'Document',
'itemtypes_email' => 'E-mail',
'itemtypes_encyclopediaarticle' => 'Encyclopedia Article',
'itemtypes_film' => 'Film',
'itemtypes_forumpost' => 'Forum Post',
'itemtypes_hearing' => 'Hearing',
'itemtypes_instantmessage' => 'Instant Message',
'itemtypes_interview' => 'Interview',
'itemtypes_journalarticle' => 'Journal Article',
'itemtypes_letter' => 'Letter',
'itemtypes_magazinearticle' => 'Magazine Article',
'itemtypes_manuscript' => 'Manuscript',
'itemtypes_map' => 'Map',
'itemtypes_newspaperarticle' => 'Newspaper Article',
'itemtypes_note' => 'Note',
'itemtypes_patent' => 'Patent',
'itemtypes_podcast' => 'Podcast',
'itemtypes_presentation' => 'Presentation',
'itemtypes_radiobroadcast' => 'Radio Broadcast',
'itemtypes_report' => 'Report',
'itemtypes_statute' => 'Statute',
'itemtypes_thesis' => 'Thesis',
'itemtypes_tvbroadcast' => 'TV Broadcast',
'itemtypes_videorecording' => 'Video Recording',
'itemtypes_webpage' => 'Web Page',
);
?>

@ -1,183 +1,185 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
'itemtypes_note' => 'Nota',
'itemtypes_attachment' => 'Adjunto',
'itemtypes_book' => 'Libro',
'itemtypes_booksection' => 'Sección de un libro',
'itemtypes_journalarticle' => 'Artículo en revista científica',
'itemtypes_magazinearticle' => 'Artículo en revista',
'itemtypes_newspaperarticle' => 'Artículo en periódico',
'itemtypes_thesis' => 'Tesis',
'itemtypes_letter' => 'Carta',
'itemtypes_manuscript' => 'Manuscrito',
'itemtypes_interview' => 'Entrevista',
'itemtypes_film' => 'Película',
'itemtypes_artwork' => 'Arte',
'itemtypes_webpage' => 'Página Web',
'itemtypes_report' => 'Informe',
'itemtypes_bill' => 'Ordenanza',
'itemtypes_case' => 'Caso',
'itemtypes_hearing' => 'Audiencia',
'itemtypes_patent' => 'Patente',
'itemtypes_statute' => 'Estatuto',
'itemtypes_email' => 'Correo electrónico',
'itemtypes_map' => 'Mapa',
'itemtypes_blogpost' => 'Entrada en un «blog»',
'itemtypes_instantmessage' => 'Mensaje instantáneo',
'itemtypes_forumpost' => 'Mensaje en un foro',
'itemtypes_audiorecording' => 'Grabación de sonido',
'itemtypes_presentation' => 'Presentación',
'itemtypes_videorecording' => 'Grabación de vídeo',
'itemtypes_tvbroadcast' => 'Emisión de TV',
'itemtypes_radiobroadcast' => 'Emisión de radio',
'itemtypes_podcast' => '«Podcast»',
'itemtypes_computerprogram' => 'Programa informático',
'itemtypes_conferencepaper' => 'Artículo en conferencia',
'itemtypes_document' => 'Documento',
'itemtypes_encyclopediaarticle' => 'Artículo en enciclopedia',
'itemtypes_dictionaryentry' => 'Entrada de diccionario',
'itemfields_itemtype' => 'Tipo',
'itemfields_title' => 'Título',
'itemfields_dateadded' => 'Fecha de adición',
'itemfields_datemodified' => 'Modificado',
'itemfields_source' => 'Fuente',
'itemfields_notes' => 'Notas',
'itemfields_tags' => 'Marcas',
'itemfields_attachments' => 'Adjuntos',
'itemfields_related' => 'Relacionado',
'itemfields_url' => 'URL',
'itemfields_rights' => 'Derechos',
'itemfields_series' => 'Serie',
'itemfields_volume' => 'Volumen',
'itemfields_issue' => 'Ejemplar',
'itemfields_edition' => 'Edición',
'itemfields_place' => 'Lugar',
'itemfields_publisher' => 'Editorial',
'itemfields_pages' => 'Páginas',
'itemfields_isbn' => 'ISBN',
'itemfields_publicationtitle' => 'Publicación',
'itemfields_issn' => 'ISSN',
'itemfields_date' => 'Fecha',
'itemfields_section' => 'Sección',
'itemfields_callnumber' => 'Número de registro',
'itemfields_archivelocation' => 'Posición en archivo',
'itemfields_distributor' => 'Distribuidor',
'itemfields_extra' => 'Adicional',
'itemfields_journalabbreviation' => 'Abrev. de la revista',
'itemfields_doi' => 'DOI',
'itemfields_accessdate' => 'Accedido',
'itemfields_seriestitle' => 'Título de la serie',
'itemfields_seriestext' => 'Texto de la serie',
'itemfields_seriesnumber' => 'Número de la serie',
'itemfields_institution' => 'Institución',
'itemfields_reporttype' => 'Tipo de informe',
'itemfields_code' => 'Código',
'itemfields_session' => 'Sesión',
'itemfields_legislativebody' => 'Cuerpo legislativo',
'itemfields_history' => 'Historia',
'itemfields_reporter' => 'Reportero',
'itemfields_court' => 'Juzgado',
'itemfields_numberofvolumes' => 'Número de volúmenes',
'itemfields_committee' => 'Comité',
'itemfields_assignee' => 'Responsable',
'itemfields_patentnumber' => 'Número de patente',
'itemfields_prioritynumbers' => 'Números de prioridad',
'itemfields_issuedate' => 'Fecha de salida',
'itemfields_references' => 'Referencias',
'itemfields_legalstatus' => 'Estado legal',
'itemfields_codenumber' => 'Número de código',
'itemfields_artworkmedium' => 'Medio de la obra',
'itemfields_number' => 'Número',
'itemfields_artworksize' => 'Tamaño de la obra',
'itemfields_librarycatalog' => 'Catálogo de biblioteca',
'itemfields_videorecordingformat' => 'Formato',
'itemfields_interviewmedium' => 'Medio',
'itemfields_lettertype' => 'Tipo',
'itemfields_manuscripttype' => 'Tipo',
'itemfields_maptype' => 'Tipo',
'itemfields_scale' => 'Escala',
'itemfields_thesistype' => 'Tipo',
'itemfields_websitetype' => 'Tipo de página Web',
'itemfields_audiorecordingformat' => 'Formato',
'itemfields_label' => 'Etiqueta',
'itemfields_presentationtype' => 'Tipo',
'itemfields_meetingname' => 'Nombre de la reunión',
'itemfields_studio' => 'Estudio',
'itemfields_runningtime' => 'Duración',
'itemfields_network' => 'Red',
'itemfields_posttype' => 'Tipo de mensaje',
'itemfields_audiofiletype' => 'Tipo de archivo',
'itemfields_version' => 'Versión',
'itemfields_system' => 'Sistema',
'itemfields_company' => 'Compañía',
'itemfields_conferencename' => 'Nombre de la conferencia',
'itemfields_encyclopediatitle' => 'Título de la enciclopedia',
'itemfields_dictionarytitle' => 'Título del diccionario',
'itemfields_language' => 'Idioma',
'itemfields_programminglanguage' => 'Lenguaje de programación',
'itemfields_university' => 'Universidad',
'itemfields_abstractnote' => 'Resumen',
'itemfields_websitetitle' => 'Título de página web',
'itemfields_reportnumber' => 'Número de informe',
'itemfields_billnumber' => 'Número de factura',
'itemfields_codevolume' => 'Volumen del código',
'itemfields_codepages' => 'Páginas del código',
'itemfields_datedecided' => 'Fecha de sentencia',
'itemfields_reportervolume' => 'Volumen de las actas',
'itemfields_firstpage' => 'Primera página',
'itemfields_documentnumber' => 'Número de documento',
'itemfields_dateenacted' => 'Fecha de entrada en vigor',
'itemfields_publiclawnumber' => 'Número de ley pública',
'itemfields_country' => 'País',
'itemfields_applicationnumber' => 'Número de solicitud',
'itemfields_forumtitle' => 'Título de foro o lista de correo',
'itemfields_episodenumber' => 'Número de episodio',
'itemfields_blogtitle' => 'Título de «blog»',
'itemfields_medium' => 'Medio',
'itemfields_casename' => 'Nombre del caso',
'itemfields_nameofact' => 'Nombre de la ley',
'itemfields_subject' => 'Asunto',
'itemfields_proceedingstitle' => 'Título de las actas',
'itemfields_booktitle' => 'Título del libro',
'itemfields_shorttitle' => 'Título corto',
'itemfields_docketnumber' => 'Número de expediente',
'itemfields_numpages' => 'Número de páginas',
'itemfields_programtitle' => 'Título del programa',
'itemfields_issuingauthority' => 'Entidad emisora',
'itemfields_filingdate' => 'Fecha de solicitud',
'itemfields_genre' => 'Género',
'itemfields_archive' => 'Archivo',
'creatortypes_author' => 'Autor',
'creatortypes_contributor' => 'Contribuidor',
'creatortypes_editor' => 'Editor',
'creatortypes_translator' => 'Traductor',
'creatortypes_serieseditor' => 'Editor de la serie',
'creatortypes_interviewee' => 'Entrevistado',
'creatortypes_interviewer' => 'Entrevistador',
'creatortypes_director' => 'Directori',
'creatortypes_scriptwriter' => 'Guionista',
'creatortypes_producer' => 'Productor',
'creatortypes_castmember' => 'Miembro del reparto',
'creatortypes_sponsor' => 'Patrocinador',
'creatortypes_counsel' => 'Consejero',
'creatortypes_inventor' => 'Inventor',
'creatortypes_attorneyagent' => 'Abogado/representante',
'creatortypes_recipient' => 'Receptor',
'creatortypes_performer' => 'Intérprete',
'creatortypes_composer' => 'Compositor',
'creatortypes_wordsby' => 'Palabras de',
'creatortypes_cartographer' => 'Cartógrafo',
'creatortypes_programmer' => 'Programador',
'creatortypes_artist' => 'Artista',
'creatortypes_commenter' => 'Comentador',
'creatortypes_presenter' => 'Presentador',
'creatortypes_guest' => 'Invitado',
'creatortypes_podcaster' => '«Podcaster»',
'creatortypes_reviewedauthor' => 'Autor revisado',
'creatortypes_cosponsor' => 'Copatrocinador',
'creatortypes_bookauthor' => 'Autor del libro'
'creatortypes_artist' => 'Artista',
'creatortypes_attorneyagent' => 'Abogado/representante',
'creatortypes_author' => 'Autor',
'creatortypes_bookauthor' => 'Autor del libro',
'creatortypes_cartographer' => 'Cartógrafo',
'creatortypes_castmember' => 'Miembro del reparto',
'creatortypes_commenter' => 'Comentador',
'creatortypes_composer' => 'Compositor',
'creatortypes_contributor' => 'Contribuidor',
'creatortypes_cosponsor' => 'Copatrocinador',
'creatortypes_counsel' => 'Consejero',
'creatortypes_director' => 'Directori',
'creatortypes_editor' => 'Editor',
'creatortypes_guest' => 'Invitado',
'creatortypes_interviewee' => 'Entrevistado',
'creatortypes_interviewer' => 'Entrevistador',
'creatortypes_inventor' => 'Inventor',
'creatortypes_performer' => 'Intérprete',
'creatortypes_podcaster' => '«Podcaster»',
'creatortypes_presenter' => 'Presentador',
'creatortypes_producer' => 'Productor',
'creatortypes_programmer' => 'Programador',
'creatortypes_recipient' => 'Receptor',
'creatortypes_reviewedauthor' => 'Autor revisado',
'creatortypes_scriptwriter' => 'Guionista',
'creatortypes_serieseditor' => 'Editor de la serie',
'creatortypes_sponsor' => 'Patrocinador',
'creatortypes_translator' => 'Traductor',
'creatortypes_wordsby' => 'Palabras de',
'itemfields_abstractnote' => 'Resumen',
'itemfields_accessdate' => 'Accedido',
'itemfields_applicationnumber' => 'Número de solicitud',
'itemfields_archive' => 'Archivo',
'itemfields_archivelocation' => 'Posición en archivo',
'itemfields_artworkmedium' => 'Medio de la obra',
'itemfields_artworksize' => 'Tamaño de la obra',
'itemfields_assignee' => 'Responsable',
'itemfields_attachments' => 'Adjuntos',
'itemfields_audiofiletype' => 'Tipo de archivo',
'itemfields_audiorecordingformat' => 'Formato',
'itemfields_billnumber' => 'Número de factura',
'itemfields_blogtitle' => 'Título de «blog»',
'itemfields_booktitle' => 'Título del libro',
'itemfields_callnumber' => 'Número de registro',
'itemfields_casename' => 'Nombre del caso',
'itemfields_code' => 'Código',
'itemfields_codenumber' => 'Número de código',
'itemfields_codepages' => 'Páginas del código',
'itemfields_codevolume' => 'Volumen del código',
'itemfields_committee' => 'Comité',
'itemfields_company' => 'Compañía',
'itemfields_conferencename' => 'Nombre de la conferencia',
'itemfields_country' => 'País',
'itemfields_court' => 'Juzgado',
'itemfields_date' => 'Fecha',
'itemfields_dateadded' => 'Fecha de adición',
'itemfields_datedecided' => 'Fecha de sentencia',
'itemfields_dateenacted' => 'Fecha de entrada en vigor',
'itemfields_datemodified' => 'Modificado',
'itemfields_dictionarytitle' => 'Título del diccionario',
'itemfields_distributor' => 'Distribuidor',
'itemfields_docketnumber' => 'Número de expediente',
'itemfields_documentnumber' => 'Número de documento',
'itemfields_doi' => 'DOI',
'itemfields_edition' => 'Edición',
'itemfields_encyclopediatitle' => 'Título de la enciclopedia',
'itemfields_episodenumber' => 'Número de episodio',
'itemfields_extra' => 'Adicional',
'itemfields_filingdate' => 'Fecha de solicitud',
'itemfields_firstpage' => 'Primera página',
'itemfields_forumtitle' => 'Título de foro o lista de correo',
'itemfields_genre' => 'Género',
'itemfields_history' => 'Historia',
'itemfields_institution' => 'Institución',
'itemfields_interviewmedium' => 'Medio',
'itemfields_isbn' => 'ISBN',
'itemfields_issn' => 'ISSN',
'itemfields_issue' => 'Ejemplar',
'itemfields_issuedate' => 'Fecha de salida',
'itemfields_issuingauthority' => 'Entidad emisora',
'itemfields_itemtype' => 'Tipo',
'itemfields_journalabbreviation' => 'Abrev. de la revista',
'itemfields_label' => 'Etiqueta',
'itemfields_language' => 'Idioma',
'itemfields_legalstatus' => 'Estado legal',
'itemfields_legislativebody' => 'Cuerpo legislativo',
'itemfields_lettertype' => 'Tipo',
'itemfields_librarycatalog' => 'Catálogo de biblioteca',
'itemfields_manuscripttype' => 'Tipo',
'itemfields_maptype' => 'Tipo',
'itemfields_medium' => 'Medio',
'itemfields_meetingname' => 'Nombre de la reunión',
'itemfields_nameofact' => 'Nombre de la ley',
'itemfields_network' => 'Red',
'itemfields_notes' => 'Notas',
'itemfields_number' => 'Número',
'itemfields_numberofvolumes' => 'Número de volúmenes',
'itemfields_numpages' => 'Número de páginas',
'itemfields_pages' => 'Páginas',
'itemfields_patentnumber' => 'Número de patente',
'itemfields_place' => 'Lugar',
'itemfields_posttype' => 'Tipo de mensaje',
'itemfields_presentationtype' => 'Tipo',
'itemfields_prioritynumbers' => 'Números de prioridad',
'itemfields_proceedingstitle' => 'Título de las actas',
'itemfields_programminglanguage' => 'Lenguaje de programación',
'itemfields_programtitle' => 'Título del programa',
'itemfields_publicationtitle' => 'Publicación',
'itemfields_publiclawnumber' => 'Número de ley pública',
'itemfields_publisher' => 'Editorial',
'itemfields_references' => 'Referencias',
'itemfields_related' => 'Relacionado',
'itemfields_reporter' => 'Reportero',
'itemfields_reportervolume' => 'Volumen de las actas',
'itemfields_reportnumber' => 'Número de informe',
'itemfields_reporttype' => 'Tipo de informe',
'itemfields_rights' => 'Derechos',
'itemfields_runningtime' => 'Duración',
'itemfields_scale' => 'Escala',
'itemfields_section' => 'Sección',
'itemfields_series' => 'Serie',
'itemfields_seriesnumber' => 'Número de la serie',
'itemfields_seriestext' => 'Texto de la serie',
'itemfields_seriestitle' => 'Título de la serie',
'itemfields_session' => 'Sesión',
'itemfields_shorttitle' => 'Título corto',
'itemfields_source' => 'Fuente',
'itemfields_studio' => 'Estudio',
'itemfields_subject' => 'Asunto',
'itemfields_system' => 'Sistema',
'itemfields_tags' => 'Marcas',
'itemfields_thesistype' => 'Tipo',
'itemfields_title' => 'Título',
'itemfields_university' => 'Universidad',
'itemfields_url' => 'URL',
'itemfields_version' => 'Versión',
'itemfields_videorecordingformat' => 'Formato',
'itemfields_volume' => 'Volumen',
'itemfields_websitetitle' => 'Título de página web',
'itemfields_websitetype' => 'Tipo de página Web',
'itemtypes_artwork' => 'Arte',
'itemtypes_attachment' => 'Adjunto',
'itemtypes_audiorecording' => 'Grabación de sonido',
'itemtypes_bill' => 'Ordenanza',
'itemtypes_blogpost' => 'Entrada en un «blog»',
'itemtypes_book' => 'Libro',
'itemtypes_booksection' => 'Sección de un libro',
'itemtypes_case' => 'Caso',
'itemtypes_computerprogram' => 'Programa informático',
'itemtypes_conferencepaper' => 'Artículo en conferencia',
'itemtypes_dictionaryentry' => 'Entrada de diccionario',
'itemtypes_document' => 'Documento',
'itemtypes_email' => 'Correo electrónico',
'itemtypes_encyclopediaarticle' => 'Artículo en enciclopedia',
'itemtypes_film' => 'Película',
'itemtypes_forumpost' => 'Mensaje en un foro',
'itemtypes_hearing' => 'Audiencia',
'itemtypes_instantmessage' => 'Mensaje instantáneo',
'itemtypes_interview' => 'Entrevista',
'itemtypes_journalarticle' => 'Artículo en revista científica',
'itemtypes_letter' => 'Carta',
'itemtypes_magazinearticle' => 'Artículo en revista',
'itemtypes_manuscript' => 'Manuscrito',
'itemtypes_map' => 'Mapa',
'itemtypes_newspaperarticle' => 'Artículo en periódico',
'itemtypes_note' => 'Nota',
'itemtypes_patent' => 'Patente',
'itemtypes_podcast' => '«Podcast»',
'itemtypes_presentation' => 'Presentación',
'itemtypes_radiobroadcast' => 'Emisión de radio',
'itemtypes_report' => 'Informe',
'itemtypes_statute' => 'Estatuto',
'itemtypes_thesis' => 'Tesis',
'itemtypes_tvbroadcast' => 'Emisión de TV',
'itemtypes_videorecording' => 'Grabación de vídeo',
'itemtypes_webpage' => 'Página Web',
);
?>

@ -1,185 +1,189 @@
<?php
// This is a SPIP language file -- Ceci est un fichier langue de SPIP
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
$GLOBALS[$GLOBALS['idx_lang']] = array(
'itemtypes_note' => 'Note',
'itemtypes_attachment' => 'Pièce jointe',
'itemtypes_book' => 'Livre',
'itemtypes_booksection' => 'Chapitre de livre',
'itemtypes_journalarticle' => 'Article de revue',
'itemtypes_magazinearticle' => 'Article de magazine',
'itemtypes_newspaperarticle' => 'Article de journal',
'itemtypes_thesis' => 'Thèse',
'itemtypes_letter' => 'Lettre',
'itemtypes_manuscript' => 'Manuscrit',
'itemtypes_interview' => 'Interview',
'itemtypes_film' => 'Film',
'itemtypes_artwork' => 'Illustration',
'itemtypes_webpage' => 'Page Web',
'itemtypes_report' => 'Rapport',
'itemtypes_bill' => 'Projet/proposition de loi',
'itemtypes_case' => 'Affaire',
'itemtypes_hearing' => 'Audience',
'itemtypes_patent' => 'Brevet',
'itemtypes_statute' => 'Acte juridique',
'itemtypes_email' => 'Courriel',
'itemtypes_map' => 'Carte',
'itemtypes_blogpost' => 'Billet de blog',
'itemtypes_instantmessage' => 'Message instantané',
'itemtypes_forumpost' => 'Message de forum',
'itemtypes_audiorecording' => 'Enregistrement audio',
'itemtypes_presentation' => 'Présentation',
'itemtypes_videorecording' => 'Enregistrement vidéo',
'itemtypes_tvbroadcast' => 'Émission de TV',
'itemtypes_radiobroadcast' => 'Émission de radio',
'itemtypes_podcast' => 'Baladodiffusion (Podcast)',
'itemtypes_computerprogram' => 'Programme informatique',
'itemtypes_conferencepaper' => 'Article de colloque',
'itemtypes_document' => 'Document',
'itemtypes_encyclopediaarticle' => 'Article d\'encyclopédie',
'itemtypes_dictionaryentry' => 'Entrée de dictionnaire',
'itemfields_itemtype' => 'Type',
'itemfields_title' => 'Titre',
'itemfields_dateadded' => 'Date d\'ajout',
'itemfields_datemodified' => 'Modifié le',
'itemfields_source' => 'Source',
'itemfields_notes' => 'Notes',
'itemfields_tags' => 'Marqueurs',
'itemfields_attachments' => 'Pièces jointes',
'itemfields_related' => 'Connexe',
'itemfields_url' => 'URL',
'itemfields_rights' => 'Autorisations',
'itemfields_series' => 'Collection',
'itemfields_volume' => 'Volume',
'itemfields_issue' => 'Numéro',
'itemfields_edition' => 'Édition',
'itemfields_place' => 'Lieu',
'itemfields_publisher' => 'Éditeur',
'itemfields_pages' => 'Pages',
'itemfields_isbn' => 'ISBN',
'itemfields_publicationtitle' => 'Publication',
'itemfields_issn' => 'ISSN',
'itemfields_date' => 'Date',
'itemfields_section' => 'Section',
'itemfields_callnumber' => 'Cote',
'itemfields_archivelocation' => 'Loc. dans l\'archive',
'itemfields_distributor' => 'Distributeur',
'itemfields_extra' => 'Extra',
'itemfields_journalabbreviation' => 'Abrév. de revue',
'itemfields_doi' => 'DOI',
'itemfields_accessdate' => 'Consulté le',
'itemfields_seriestitle' => 'Titre de la coll.',
'itemfields_seriestext' => 'Texte de la coll.',
'itemfields_seriesnumber' => 'N° ds la coll.',
'itemfields_institution' => 'Institution',
'itemfields_reporttype' => 'Type de rapport',
'itemfields_code' => 'Code',
'itemfields_session' => 'Session',
'itemfields_legislativebody' => 'Corps législatif',
'itemfields_history' => 'Histoire',
'itemfields_reporter' => 'Recueil',
'itemfields_court' => 'Tribunal',
'itemfields_numberofvolumes' => 'Nb de volumes',
'itemfields_committee' => 'Commission',
'itemfields_assignee' => 'Cessionnaire',
'itemfields_patentnumber' => 'N° de brevet',
'itemfields_prioritynumbers' => 'Numéros de priorité',
'itemfields_issuedate' => 'Date de parution',
'itemfields_references' => 'Références',
'itemfields_legalstatus' => 'Statut légal',
'itemfields_codenumber' => 'N° de code',
'itemfields_artworkmedium' => 'Support de l\'illustration',
'itemfields_number' => 'Numéro',
'itemfields_artworksize' => 'Taille d\'illustration',
'itemfields_librarycatalog' => 'Catalogue de bibl.',
'itemfields_videorecordingformat' => 'Format',
'itemfields_interviewmedium' => 'Média',
'itemfields_lettertype' => 'Type',
'itemfields_manuscripttype' => 'Type',
'itemfields_maptype' => 'Type',
'itemfields_scale' => 'Échelle',
'itemfields_thesistype' => 'Type',
'itemfields_websitetype' => 'Type de site Web',
'itemfields_audiorecordingformat' => 'Format',
'itemfields_label' => 'Label',
'itemfields_presentationtype' => 'Type',
'itemfields_meetingname' => 'Intitulé de la réunion',
'itemfields_studio' => 'Studio',
'itemfields_runningtime' => 'Durée',
'itemfields_network' => 'Réseau',
'itemfields_posttype' => 'Type d\'article',
'itemfields_audiofiletype' => 'Type de fichier',
'itemfields_version' => 'Version',
'itemfields_system' => 'Système',
'itemfields_company' => 'Société',
'itemfields_conferencename' => 'Intitulé du colloque',
'itemfields_encyclopediatitle' => 'Titre de l\'encyclopédie',
'itemfields_dictionarytitle' => 'Titre du dictionnaire',
'itemfields_language' => 'Langue',
'itemfields_programminglanguage' => 'Langage',
'itemfields_university' => 'Université',
'itemfields_abstractnote' => 'Résumé',
'itemfields_websitetitle' => 'Titre du site Web',
'itemfields_reportnumber' => 'N° du rapport',
'itemfields_billnumber' => 'N° de projet',
'itemfields_codevolume' => 'Volume de code',
'itemfields_codepages' => 'Pages de code',
'itemfields_datedecided' => 'Date de décision',
'itemfields_reportervolume' => 'Volume de recueil',
'itemfields_firstpage' => 'Première page',
'itemfields_documentnumber' => 'N° du document',
'itemfields_dateenacted' => 'Promulgué le',
'itemfields_publiclawnumber' => 'N° officiel de l\'acte',
'itemfields_country' => 'Pays',
'itemfields_applicationnumber' => 'N° d\'application',
'itemfields_forumtitle' => 'Titre du forum/listserv',
'itemfields_episodenumber' => 'N° de l\'épisode',
'itemfields_blogtitle' => 'Titre du blog',
'itemfields_medium' => 'Média',
'itemfields_casename' => 'Nom de l\'affaire',
'itemfields_nameofact' => 'Nom de l\'acte',
'itemfields_subject' => 'Sujet',
'itemfields_proceedingstitle' => 'Titre des actes',
'itemfields_booktitle' => 'Titre du livre',
'itemfields_shorttitle' => 'Titre abrégé',
'itemfields_docketnumber' => 'N° de requête',
'itemfields_numpages' => 'Nb de pages',
'itemfields_programtitle' => 'Titre du programme',
'itemfields_issuingauthority' => 'Autorité émettrice',
'itemfields_filingdate' => 'Date d\'archivage',
'itemfields_genre' => 'Genre',
'itemfields_archive' => 'Archive',
'itemfields_itemkey' => 'Identifiant Zotero',
'itemfields_itemversion' => 'Version',
'creatortypes_author' => 'Auteur',
'creatortypes_contributor' => 'Collaborateur',
'creatortypes_editor' => 'Éditeur',
'creatortypes_translator' => 'Traducteur',
'creatortypes_serieseditor' => 'Directeur de coll.',
'creatortypes_interviewee' => 'Interviewé',
'creatortypes_interviewer' => 'Reporter',
'creatortypes_director' => 'Metteur en scène',
'creatortypes_scriptwriter' => 'Scénariste',
'creatortypes_producer' => 'Producteur',
'creatortypes_castmember' => 'Membre de la distribution',
'creatortypes_sponsor' => 'Auteur',
'creatortypes_counsel' => 'Conseiller',
'creatortypes_inventor' => 'Inventeur',
'creatortypes_attorneyagent' => 'Mandataire/Agent',
'creatortypes_recipient' => 'Destinataire',
'creatortypes_performer' => 'Interprète',
'creatortypes_composer' => 'Compositeur',
'creatortypes_wordsby' => 'Paroles de',
'creatortypes_cartographer' => 'Cartographe',
'creatortypes_programmer' => 'Programmeur',
'creatortypes_artist' => 'Artiste',
'creatortypes_commenter' => 'Commentateur',
'creatortypes_presenter' => 'Présentateur',
'creatortypes_guest' => 'Invité',
'creatortypes_podcaster' => 'Baladodiffuseur (podcaster)',
'creatortypes_reviewedauthor' => 'Auteur recensé',
'creatortypes_cosponsor' => 'Co-parrain',
'creatortypes_bookauthor' => 'Auteur du livre'
'creatortypes_artist' => 'Artiste',
'creatortypes_attorneyagent' => 'Mandataire/Agent',
'creatortypes_author' => 'Auteur',
'creatortypes_bookauthor' => 'Auteur du livre',
'creatortypes_cartographer' => 'Cartographe',
'creatortypes_castmember' => 'Membre de la distribution',
'creatortypes_commenter' => 'Commentateur',
'creatortypes_composer' => 'Compositeur',
'creatortypes_contributor' => 'Collaborateur',
'creatortypes_cosponsor' => 'Co-parrain',
'creatortypes_counsel' => 'Conseiller',
'creatortypes_director' => 'Metteur en scène',
'creatortypes_editor' => 'Éditeur',
'creatortypes_guest' => 'Invité',
'creatortypes_interviewee' => 'Interviewé',
'creatortypes_interviewer' => 'Reporter',
'creatortypes_inventor' => 'Inventeur',
'creatortypes_performer' => 'Interprète',
'creatortypes_podcaster' => 'Baladodiffuseur (podcaster)',
'creatortypes_presenter' => 'Présentateur',
'creatortypes_producer' => 'Producteur',
'creatortypes_programmer' => 'Programmeur',
'creatortypes_recipient' => 'Destinataire',
'creatortypes_reviewedauthor' => 'Auteur recensé',
'creatortypes_scriptwriter' => 'Scénariste',
'creatortypes_serieseditor' => 'Directeur de coll.',
'creatortypes_sponsor' => 'Auteur',
'creatortypes_translator' => 'Traducteur',
'creatortypes_wordsby' => 'Paroles de',
'itemfields_abstractnote' => 'Résumé',
'itemfields_accessdate' => 'Consulté le',
'itemfields_applicationnumber' => 'N° d\'application',
'itemfields_archive' => 'Archive',
'itemfields_archivelocation' => 'Loc. dans l\'archive',
'itemfields_artworkmedium' => 'Support de l\'illustration',
'itemfields_artworksize' => 'Taille d\'illustration',
'itemfields_assignee' => 'Cessionnaire',
'itemfields_attachments' => 'Pièces jointes',
'itemfields_audiofiletype' => 'Type de fichier',
'itemfields_audiorecordingformat' => 'Format',
'itemfields_billnumber' => 'N° de projet',
'itemfields_blogtitle' => 'Titre du blog',
'itemfields_booktitle' => 'Titre du livre',
'itemfields_callnumber' => 'Cote',
'itemfields_casename' => 'Nom de l\'affaire',
'itemfields_code' => 'Code',
'itemfields_codenumber' => 'N° de code',
'itemfields_codepages' => 'Pages de code',
'itemfields_codevolume' => 'Volume de code',
'itemfields_committee' => 'Commission',
'itemfields_company' => 'Société',
'itemfields_conferencename' => 'Intitulé du colloque',
'itemfields_country' => 'Pays',
'itemfields_court' => 'Tribunal',
'itemfields_date' => 'Date',
'itemfields_dateadded' => 'Date d\'ajout',
'itemfields_datedecided' => 'Date de décision',
'itemfields_dateenacted' => 'Promulgué le',
'itemfields_datemodified' => 'Modifié le',
'itemfields_dictionarytitle' => 'Titre du dictionnaire',
'itemfields_distributor' => 'Distributeur',
'itemfields_docketnumber' => 'N° de requête',
'itemfields_documentnumber' => 'N° du document',
'itemfields_doi' => 'DOI',
'itemfields_edition' => 'Édition',
'itemfields_encyclopediatitle' => 'Titre de l\'encyclopédie',
'itemfields_episodenumber' => 'N° de l\'épisode',
'itemfields_extra' => 'Extra',
'itemfields_filingdate' => 'Date d\'archivage',
'itemfields_firstpage' => 'Première page',
'itemfields_forumtitle' => 'Titre du forum/listserv',
'itemfields_genre' => 'Genre',
'itemfields_history' => 'Histoire',
'itemfields_institution' => 'Institution',
'itemfields_interviewmedium' => 'Média',
'itemfields_isbn' => 'ISBN',
'itemfields_issn' => 'ISSN',
'itemfields_issue' => 'Numéro',
'itemfields_issuedate' => 'Date de parution',
'itemfields_issuingauthority' => 'Autorité émettrice',
'itemfields_itemkey' => 'Identifiant Zotero',
'itemfields_itemtype' => 'Type',
'itemfields_itemversion' => 'Version',
'itemfields_journalabbreviation' => 'Abrév. de revue',
'itemfields_label' => 'Label',
'itemfields_language' => 'Langue',
'itemfields_legalstatus' => 'Statut légal',
'itemfields_legislativebody' => 'Corps législatif',
'itemfields_lettertype' => 'Type',
'itemfields_librarycatalog' => 'Catalogue de bibl.',
'itemfields_manuscripttype' => 'Type',
'itemfields_maptype' => 'Type',
'itemfields_medium' => 'Média',
'itemfields_meetingname' => 'Intitulé de la réunion',
'itemfields_nameofact' => 'Nom de l\'acte',
'itemfields_network' => 'Réseau',
'itemfields_notes' => 'Notes',
'itemfields_number' => 'Numéro',
'itemfields_numberofvolumes' => 'Nb de volumes',
'itemfields_numpages' => 'Nb de pages',
'itemfields_pages' => 'Pages',
'itemfields_patentnumber' => 'N° de brevet',
'itemfields_place' => 'Lieu',
'itemfields_posttype' => 'Type d\'article',
'itemfields_presentationtype' => 'Type',
'itemfields_prioritynumbers' => 'Numéros de priorité',
'itemfields_proceedingstitle' => 'Titre des actes',
'itemfields_programminglanguage' => 'Langage',
'itemfields_programtitle' => 'Titre du programme',
'itemfields_publicationtitle' => 'Publication',
'itemfields_publiclawnumber' => 'N° officiel de l\'acte',
'itemfields_publisher' => 'Éditeur',
'itemfields_references' => 'Références',
'itemfields_related' => 'Connexe',
'itemfields_reporter' => 'Recueil',
'itemfields_reportervolume' => 'Volume de recueil',
'itemfields_reportnumber' => 'N° du rapport',
'itemfields_reporttype' => 'Type de rapport',
'itemfields_rights' => 'Autorisations',
'itemfields_runningtime' => 'Durée',
'itemfields_scale' => 'Échelle',
'itemfields_section' => 'Section',
'itemfields_series' => 'Collection',
'itemfields_seriesnumber' => 'N° ds la coll.',
'itemfields_seriestext' => 'Texte de la coll.',
'itemfields_seriestitle' => 'Titre de la coll.',
'itemfields_session' => 'Session',
'itemfields_shorttitle' => 'Titre abrégé',
'itemfields_source' => 'Source',
'itemfields_studio' => 'Studio',
'itemfields_subject' => 'Sujet',
'itemfields_system' => 'Système',
'itemfields_tags' => 'Marqueurs',
'itemfields_thesistype' => 'Type',
'itemfields_title' => 'Titre',
'itemfields_university' => 'Université',
'itemfields_url' => 'URL',
'itemfields_version' => 'Version',
'itemfields_videorecordingformat' => 'Format',
'itemfields_volume' => 'Volume',
'itemfields_websitetitle' => 'Titre du site Web',
'itemfields_websitetype' => 'Type de site Web',
'itemtypes_artwork' => 'Illustration',
'itemtypes_attachment' => 'Pièce jointe',
'itemtypes_audiorecording' => 'Enregistrement audio',
'itemtypes_bill' => 'Projet/proposition de loi',
'itemtypes_blogpost' => 'Billet de blog',
'itemtypes_book' => 'Livre',
'itemtypes_booksection' => 'Chapitre de livre',
'itemtypes_case' => 'Affaire',
'itemtypes_computerprogram' => 'Programme informatique',
'itemtypes_conferencepaper' => 'Article de colloque',
'itemtypes_dictionaryentry' => 'Entrée de dictionnaire',
'itemtypes_document' => 'Document',
'itemtypes_email' => 'Courriel',
'itemtypes_encyclopediaarticle' => 'Article d\'encyclopédie',
'itemtypes_film' => 'Film',
'itemtypes_forumpost' => 'Message de forum',
'itemtypes_hearing' => 'Audience',
'itemtypes_instantmessage' => 'Message instantané',
'itemtypes_interview' => 'Interview',
'itemtypes_journalarticle' => 'Article de revue',
'itemtypes_letter' => 'Lettre',
'itemtypes_magazinearticle' => 'Article de magazine',
'itemtypes_manuscript' => 'Manuscrit',
'itemtypes_map' => 'Carte',
'itemtypes_newspaperarticle' => 'Article de journal',
'itemtypes_note' => 'Note',
'itemtypes_patent' => 'Brevet',
'itemtypes_podcast' => 'Baladodiffusion (Podcast)',
'itemtypes_presentation' => 'Présentation',
'itemtypes_radiobroadcast' => 'Émission de radio',
'itemtypes_report' => 'Rapport',
'itemtypes_statute' => 'Acte juridique',
'itemtypes_thesis' => 'Thèse',
'itemtypes_tvbroadcast' => 'Émission de TV',
'itemtypes_videorecording' => 'Enregistrement vidéo',
'itemtypes_webpage' => 'Page Web',
'zitem_pluriel' => 'Références Zotero',
'zitem_singulier' => 'Référence Zotero',
);
?>

@ -16,7 +16,7 @@
<licence lien="http://www.gnu.org/licenses/gpl-3.0.html">GPL 3</licence>
<pipeline nom="declarer_tables_principales" inclure="base/zotspip.php" />
<pipeline nom="declarer_tables_objets_sql" inclure="base/zotspip.php" />
<pipeline nom="declarer_tables_auxiliaires" inclure="base/zotspip.php" />
<pipeline nom="declarer_tables_interfaces" inclure="base/zotspip.php" />
<pipeline nom="ieconfig_metas" inclure="zotspip_ieconfig.php" />

File diff suppressed because it is too large Load Diff

@ -1,8 +1,11 @@
<?php
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function zotspip_taches_generales_cron($taches){
$taches['maj_zotspip'] = 3600*4; // toutes les 4 heures
$taches['maj_schema_zotero'] = 3600*24*30; // une fois par mois
return $taches;
}
?>

@ -1,7 +1,8 @@
<?php
// Sécurité
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
// Cette balise teste si la connexion à Zotero fonctionne
function balise_TESTER_CONNEXION_ZOTERO_dist($p) {
@ -430,6 +431,3 @@ function zotspip_suffixes_ref($ids) {
function zotspip_div_en_span($texte) {
return preg_replace('#div#U','span',$texte);
}
?>

@ -1,5 +1,8 @@
<?php
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function zotspip_ieconfig_metas($table){
$table['zotspip']['titre'] = _T('zotspip:zotspip');
@ -7,5 +10,3 @@ function zotspip_ieconfig_metas($table){
$table['zotspip']['metas_serialize'] = 'zotspip';
return $table;
}
?>

@ -1,7 +1,8 @@
<?php
// Sécurité
if (!defined("_ECRIRE_INC_VERSION")) return;
if (!defined('_ECRIRE_INC_VERSION')) {
return;
}
function zotspip_insert_head($flux){
$flux .= '<link rel="stylesheet" href="'.find_in_path('css/zotspip.css').'" type="text/css" />';
@ -86,8 +87,7 @@ function zotspip_post_boucle ($boucle) {
}
// Source: http://kvz.io/blog/2008/09/05/php-recursive-str-replace-replacetree/
function replaceTree($search="", $replace="", $array=false, $keys_too=false)
{
function replaceTree($search="", $replace="", $array=false, $keys_too=false) {
if (!is_array($array)) {
// Regular replace
return str_replace($search, $replace, $array);
@ -106,5 +106,3 @@ function replaceTree($search="", $replace="", $array=false, $keys_too=false)
}
return $newArr;
}
?>

Loading…
Cancel
Save