Update of
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education
In directory james.mmbase.org:/tmp/cvs-serv1684
Modified Files:
couplingquestions.xml dropquestions.xml essayquestions.xml
fillquestions.xml fillselectquestions.xml hotspotquestions.xml
mcquestions.xml opennumeralquestions.xml openquestions.xml
rankingquestions.xml valuequestions.xml
Log Message:
cleaning, stored names of translation properties in builder xmls
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/education/config/builders/didactor_education
Index: couplingquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/couplingquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- couplingquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ couplingquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -16,4 +16,9 @@
<description xml:lang="nl">Koppel vraag, waar de antwoorden gekoppeld
moeten worden</description>
<description xml:lang="en">Coupling questions, where answes need to be
related to eachother</description>
</descriptions>
+
+ <properties>
+ <property name="key:new:name">education.createnewmcquestions</property>
+ <property
name="key:new:description">education.createnewmcquestionsdescription</property>
+ </properties>
</builder>
Index: dropquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/dropquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- dropquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ dropquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -16,5 +16,11 @@
<description xml:lang="en">Drag and Drop question, where you need to
select the right spot on an image</description>
</descriptions>
+ <properties>
+ <property name="key:new:name">education.createnewdropquestions</property>
+ <property
name="key:new:description">education.createnewdropquestionsdescription</property>
+ </properties>
+
+
</builder>
Index: essayquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/essayquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- essayquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ essayquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -17,5 +17,8 @@
<description xml:lang="en">An open question, where the user can write his
own answer</description>
</descriptions>
- <fieldlist />
+ <properties>
+ <property name="key:new:name">education.createnewessayquestions</property>
+ <property
name="key:new:description">education.createnewessayquestionsdescription</property>
+ </properties>
</builder>
Index: fillquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/fillquestions.xml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- fillquestions.xml 28 Mar 2008 10:24:44 -0000 1.4
+++ fillquestions.xml 28 Mar 2008 12:21:17 -0000 1.5
@@ -18,6 +18,11 @@
<description xml:lang="en">An open question, where the user can write his
own answer</description>
</descriptions>
+ <properties>
+ <property name="key:new:name">education.createnewfillquestions</property>
+ <property
name="key:new:description">education.createnewfillquestionsdescription</property>
+ </properties>
+
<fieldlist>
<field name="textFirst">
Index: fillselectquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/fillselectquestions.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- fillselectquestions.xml 28 Mar 2008 10:24:44 -0000 1.2
+++ fillselectquestions.xml 28 Mar 2008 12:21:17 -0000 1.3
@@ -19,6 +19,12 @@
<description xml:lang="en">An open question, where the user can select his
own answer</description>
</descriptions>
+ <properties>
+ <property
name="key:new:name">education.createnewfillselectquestions</property>
+ <property
name="key:new:description">education.createnewfillselectquestionsdescription</property>
+ </properties>
+
+
<!-- Possible values for the 'layout' field defined in the super-builder:
0 = Large field
1 = Small field
Index: hotspotquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/hotspotquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- hotspotquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ hotspotquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -6,21 +6,19 @@
<searchage>31</searchage>
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Hotspot Vraag</singular>
<singular xml:lang="en">Hotspot Question</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Hotspot Vragen</plural>
<plural xml:lang="nl">Hotspot Questions</plural>
</names>
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Hotspot vraag, waar een goede plek op een
afbeelding gekozen moet worden</description>
<description xml:lang="en">Hotspot question, where you need to select the
right spot on an image</description>
</descriptions>
<properties>
- <property name="max-nodes-from-query">99999</property>
+ <property
name="key:new:name">education.createnewhotspotquestions</property>
+ <property
name="key:new:description">education.createnewhotspotquestionsdescription</property>
</properties>
</builder>
Index: mcquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/mcquestions.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- mcquestions.xml 13 Mar 2008 14:26:42 -0000 1.3
+++ mcquestions.xml 28 Mar 2008 12:21:17 -0000 1.4
@@ -18,8 +18,10 @@
<description xml:lang="en">A multiple choise question, where the student
selects one or multiple questions</description>
</descriptions>
-
- -->
+ <properties>
+ <property name="key:new:name">education.createnewmcquestions</property>
+ <property
name="key:new:description">education.createnewmcquestionsdescription</property>
+ </properties>
<fieldlist>
@@ -53,18 +55,7 @@
<guiname xml:lang="nl">Type</guiname>
<guiname xml:lang="en">Type</guiname>
</gui>
- <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes">
- <default value="0" />
- <enumeration>
- <entry value="0" xml:lang="nl" display="Een van de gegeven
antwoorden kan worden geselecteerd" />
- <entry value="1" xml:lang="nl" display="Meerdere antwoorden kunnen
worden geselecteerd" />
- <entry value="2" xml:lang="nl" display="Een waarde-antwoord kan
worden geselecteerd" />
-
- <entry value="0" xml:lang="en" display="One of the answers can be
selected" />
- <entry value="1" xml:lang="en" display="Zero or more answwers can be
selected" />
- <entry value="2" xml:lang="en" display="A value answer can be
selected" /> <!-- I have no idea what this is -->
- </enumeration>
- </datatype>
+ <datatype base="didactor_mctype"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
</fieldlist>
Index: opennumeralquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/opennumeralquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- opennumeralquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ opennumeralquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -1,27 +1,27 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE builder PUBLIC "-//MMBase/DTD builder config 1.1//EN"
"http://www.mmbase.org/dtd/builder_1_1.dtd">
-<builder name="opennumeralquestions" maintainer="didactor.nl" version="2"
extends="questions">
- <status>active</status>
- <classfile>nl.didactor.education.builders.OpenQuestionBuilder</classfile>
+<?xml version="1.0"?>
+<builder
+ xmlns="http://www.mmbase.org/xmlns/builder"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
http://www.mmbase.org/xmlns/builder.xsd"
+ name="opennumeralquestions" maintainer="didactor.nl" version="2"
extends="questions">
+ <class>nl.didactor.education.builders.OpenQuestionBuilder</class>
<searchage>31</searchage>
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Open Vraag</singular>
<singular xml:lang="en">Open Numeral Question</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Open Vragen</plural>
<plural xml:lang="en">Open Numeral Questions</plural>
</names>
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">Een open vraag, waar de gebruiker zelf een
antwoord moet formuleren</description>
<description xml:lang="en">An open question, where the user can write his
own answer</description>
</descriptions>
<properties>
- <property name="max-nodes-from-query">99999</property>
+ <property
name="key:new:name">education.createnewopennumeralquestions</property>
+ <property
name="key:new:description">education.createnewopennumeralquestionsdescription</property>
</properties>
<!-- Possible values for the 'layout' field defined in the super-builder:
0 = Large field
@@ -29,37 +29,13 @@
-->
<fieldlist>
-
- <!-- POS 4 : <field> 'text' -->
- <field>
- <descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
- <description xml:lang="nl">Description van de vraag</description>
- <description xml:lang="en">Description</description>
- </descriptions>
- <!-- gui related -->
+ <field name="description">
<gui>
- <guiname xml:lang="nl">Description</guiname>
- <guitype>string</guitype>
+ <guiname xml:lang="nl">Beschrijving</guiname>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>4</input>
- <!-- position in list area of the editor -->
- <list>4</list>
- <!-- position in search area of the editor -->
- <search>4</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>description</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" size="65535" notnull="true"
key="false">STRING</type>
- </db>
+ <datatype base="field" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <maxLength value="65535" />
+ </datatype>
</field>
</fieldlist>
Index: openquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/openquestions.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- openquestions.xml 11 Feb 2008 13:34:43 -0000 1.3
+++ openquestions.xml 28 Mar 2008 12:21:17 -0000 1.4
@@ -19,6 +19,11 @@
<description xml:lang="en">An open question, where the user can write his
own answer</description>
</descriptions>
+ <properties>
+ <property name="key:new:name">education.createnewopenquestions</property>
+ <property
name="key:new:description">education.createnewopenquestionsdescription</property>
+ </properties>
+
<fieldlist >
<!-- @Override -->
Index: rankingquestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/rankingquestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- rankingquestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ rankingquestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -1,15 +1,15 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE builder PUBLIC "-//MMBase/DTD builder config 1.1//EN"
"http://www.mmbase.org/dtd/builder_1_1.dtd">
-<builder name="rankingquestions" maintainer="didactor.nl" version="2"
extends="questions">
- <status>active</status>
- <classfile>nl.didactor.education.builders.RankingQuestionBuilder</classfile>
+<?xml version="1.0"?>
+<builder
+ xmlns="http://www.mmbase.org/xmlns/builder"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
http://www.mmbase.org/xmlns/builder.xsd"
+ name="rankingquestions" maintainer="didactor.nl" version="2"
extends="questions">
+ <class>nl.didactor.education.builders.RankingQuestionBuilder</class>
<searchage>31</searchage>
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Rangorde Vraag</singular>
<singular xml:lang="en">Ranking Question</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Rangorde Vragen</plural>
<plural xml:lang="nl">Ranking Questions</plural>
</names>
@@ -21,6 +21,8 @@
</descriptions>
<properties>
- <property name="max-nodes-from-query">99999</property>
+ <property
name="key:new:name">education.createnewrankingquestions</property>
+ <property
name="key:new:description">education.createnewrankingquestionsdescription</property>
</properties>
+
</builder>
Index: valuequestions.xml
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/education/config/builders/didactor_education/valuequestions.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- valuequestions.xml 24 Jan 2008 09:24:30 -0000 1.1
+++ valuequestions.xml 28 Mar 2008 12:21:17 -0000 1.2
@@ -1,21 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE builder PUBLIC "-//MMBase/DTD builder config 1.1//EN"
"http://www.mmbase.org/dtd/builder_1_1.dtd">
-<builder name="valuequestions" maintainer="didactor.nl" version="2"
extends="questions">
- <status>active</status>
- <classfile>nl.didactor.education.builders.ValueQuestionBuilder</classfile>
+<?xml version="1.0"?>
+<builder
+ xmlns="http://www.mmbase.org/xmlns/builder"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.mmbase.org/xmlns/builder
http://www.mmbase.org/xmlns/builder.xsd"
+ name="valuequestions" maintainer="didactor.nl" version="2"
extends="questions">
+ <class>nl.didactor.education.builders.ValueQuestionBuilder</class>
<searchage>31</searchage>
<names>
- <!-- singles per language as defined by ISO 639 -->
<singular xml:lang="nl">Waarde vraag</singular>
<singular xml:lang="en">Value question</singular>
- <!-- multiple per language as defined by ISO 639 -->
<plural xml:lang="nl">Waarde vragen</plural>
<plural xml:lang="en">Value questions</plural>
</names>
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
Een waardevraag geeft de student een aantal opties die hij kan
kiezen, die alle een andere waarde geven. Ook is het mogelijk om
@@ -29,13 +28,13 @@
</descriptions>
<properties>
- <property name="max-nodes-from-query">99999</property>
+ <property name="key:new:name">education.createnewvaluequestions</property>
+ <property
name="key:new:description">education.createnewvaluequestionsdescription</property>
</properties>
<fieldlist>
- <field>
+ <field name="type">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
Type van de Waarde vraag
0 = selecteer 1 antwoord
@@ -47,32 +46,13 @@
1 = multiple answers may be selected
</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Type</guiname>
<guiname xml:lang="en">Type</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>3</input>
- <!-- position in list area of the editor -->
- <list>3</list>
- <!-- position in search area of the editor -->
- <search>3</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>type</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="didactor_mctype"
xmlns="http://www.mmbase.org/xmlns/datatypes" />
</field>
- <field>
+ <field name="openanswers">
<descriptions>
<!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
@@ -82,34 +62,18 @@
The number of open answers
</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Open Antwoorden</guiname>
<guiname xml:lang="en">Open Answers</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>4</input>
- <!-- position in list area of the editor -->
- <list>4</list>
- <!-- position in search area of the editor -->
- <search>4</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>openanswers</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <default value="1" />
+ <minInclusive value="1" />
+ <maxInclusive value="100" />
+ </datatype>
</field>
- <field>
+ <field name="openanswersvalue">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
De waarde die aan individuele gegeven open antwoorden wordt toegekend
</description>
@@ -117,34 +81,16 @@
The value that is being used for indivudual given open answers
</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Waarde voor open antwoorden</guiname>
<guiname xml:lang="en">Value for open answers</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>5</input>
- <!-- position in list area of the editor -->
- <list>5</list>
- <!-- position in search area of the editor -->
- <search>5</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>openanswersvalue</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <default value="1" />
+ </datatype>
</field>
- <field>
+ <field name="minanswers">
<descriptions>
- <!-- descriptions per language as defined by ISO 639 -->
<description xml:lang="nl">
Het minimaal aantal antwoorden dat geselecteerd moet worden
</description>
@@ -152,30 +98,15 @@
The minimum number of answers that need to be selected
</description>
</descriptions>
- <!-- gui related -->
<gui>
<guiname xml:lang="nl">Minimum Aantal</guiname>
<guiname xml:lang="en">Minimal Number</guiname>
- <guitype>integer</guitype>
</gui>
- <!-- editor related -->
- <editor>
- <positions>
- <!-- position in the input area of the editor -->
- <input>6</input>
- <!-- position in list area of the editor -->
- <list>6</list>
- <!-- position in search area of the editor -->
- <search>6</search>
- </positions>
- </editor>
- <!-- database related -->
- <db>
- <!-- name of the field in the database -->
- <name>minanswers</name>
- <!-- MMBase datatype and demands on it -->
- <type state="persistent" notnull="true">INTEGER</type>
- </db>
+ <datatype base="integer" xmlns="http://www.mmbase.org/xmlns/datatypes">
+ <default value="1" />
+ <minInclusive value="1" />
+ <maxInclusive value="100" />
+ </datatype>
</field>
</fieldlist>
</builder>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs