Commit 31f21a67 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Add the french translation.

parent 5b629153
......@@ -238,7 +238,7 @@ if session.role in (ADMIN, USER):
layout='fit',
modal=True,
title='Wizard...',
width=300)
width=350)
marc12Leaf = PanelWithUrlSelector(virtdb.marc12_selector,
selectorTitle='Fill all fields',
......
/**
* French translation
*
*/
Ext.define('Trp.wizard.Base', {
override: 'Trp.wizard.Base',
textFinish: 'Fin',
textNext: 'Suivant',
textPrevious: 'Précédent'
});
Ext.define('Trp.wizard.Harvester', {
override: 'Trp.wizard.Harvester',
textCategory: [
"<p>Sélectionner une <i>catégorie de publication</i>, ",
"a chercher dans l'entrepôt <i>inspirehep.net</i>:</p>"
],
textCollaboration1: [
"<p>Entrer le non de la collaboration:</p>"
],
textCollaboration2:[
"<p>Les collaborations connues de l'entrepôt <i>inspirehep.net</i>,",
"sont consultable à ",
"<a href='https://inspirehep.net/collection/Experiments'",
"target='_blank'>",
"https://inspirehep.net/collection/Experiments</a>.</p>"
],
textPeople1: [
"<p>Entrer le noms des personne, ",
"<i>a dupont</i> ou <i>dupont</i> ou <i>Alex Dupont</i>",
"</p>"
],
textPeople2: [
"<p>Ajouter plus d'éléments à la liste ",
"en cliquant sur son menu contextuel.</p>"
],
textProducer: [
"<p>Les publications sont produites par:</p>"
],
textProducerCollaboration: "Une collaboration internationale / expérience",
textProducerPeople: "Des persone non membres d'une collaboration",
textProject1: [
"<p>Associer les publications trouvées à mon projet:</p>"
],
textProject2: [
"<p>Sauver la configuration en cliquant sur le bouton <i>Fin</i>.</p>"
],
textWarningProducer: "<p>Veuillez selectionner le producteur.</p>",
textWelcome: [
"<p>Cet assisant va créer un moissonneur qui:",
"<ol>",
"<li>selectionne des publications dans l'entrepôt",
"<i>inspirehep.net</i></li>",
"<li>associe les publications trouvées à l'un de vos projets</li>",
"</ol>",
"Cliquer sur le boutton <i>suivant</i> pour continuer.</p>"
]
});
......@@ -51,18 +51,31 @@ Ext.define('Trp.wizard.Harvester', {
"<p>Add more entries by launching the contextual menu, on the list.</p>"
],
textProject: [
"Associate the found publications to my project:"
textProducer: [
"<p>The publication are produced by:</p>"
],
textWarningProducer: "Please select a producer",
textProducerCollaboration: 'International collaboration / experiment',
textProducerPeople: 'People not belonging to a collaboration',
textProject1: [
"<p>Associate the found publications to my project:</p>"
],
textProject2: [
"<p>Save the configuration by clicking the button <i>Finish</i>.</p>"
],
textWarningProducer: "<p>Please select a producer.</p>",
textWelcome: [
"<p>The wizard will create one harvester to:",
"<ol>",
"<li>select publications in the <i>inspirehep.net</i> store</li>",
"<li>associate the found publications to one of your projects</li>",
"</ol></p>"
"</ol>",
"Click on the button <i>Next</i> to continue.</p>"
],
// jshint strict: false
......@@ -202,12 +215,8 @@ Ext.define('Trp.wizard.Harvester', {
border: false,
layout: 'form'
},
items: [{
itemId: 'pageWarningProducer',
items: [{
border: false,
html: "Please select a producer"
}]},
items: [
me.pageWarningProducer(),
me.pageCollaboration(),
me.pagePeople()
]
......@@ -249,26 +258,21 @@ Ext.define('Trp.wizard.Harvester', {
"use strict";
var me = this,
cfg,
text;
text = [
"<p>The publication are produced by:</p>"
];
cfg;
cfg = {
items: [{
border: false,
html: text.join(" ")
html: me.textProducer.join(" ")
}, {
allowBlank: false,
columns: 1,
items: [{
boxLabel: 'International collaboration / experiment',
boxLabel: me.textProducerCollaboration,
inputValue: 'collaboration',
name: 'producer'
}, {
boxLabel: 'People not belonging to a collaboration',
boxLabel: me.textProducerPeople,
inputValue: 'people',
name: 'producer'
}],
......@@ -294,7 +298,7 @@ Ext.define('Trp.wizard.Harvester', {
cfg = {
items: [{
border: false,
html: me.textProject.join(" ")
html: me.textProject1.join(" ")
}, {
allowBlank: false,
displayField: 'ProjectsProject',
......@@ -304,6 +308,9 @@ Ext.define('Trp.wizard.Harvester', {
store: 'projectsStore',
valueField: 'ProjectsId',
xtype: 'xcombobox'
}, {
border: false,
html: me.textProject2.join(" ")
}]
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment