Subversion Repositories wimsdev

Rev

Rev 17356 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
15463 bpr 1
!if $error=noexists
2
  Attention, the exercise requested does not exist. An exercise of the module is taken at random.
3
  !exit
4
!endif
386 bpr 5
!if empty_out iswordof $error
15065 mquerol 6
  El vostre codi no ha donat cap sortida. Corregiu-lo, sisplau.
13541 bpr 7
  !if $m_reply_err!=$empty
8
    <pre><span class="wims_warning">$m_reply_err</span></pre>
9
  !endif
10
  !exit
386 bpr 11
!endif
12
 
15065 mquerol 13
!! empty_data bad_data double_reply are in html/msg.phtml.fr - suppress on test
386 bpr 14
 
15
!if bad_answer iswordof $error
17356 guerimand 16
  !! ------------- begin of error message for litexp option polfactor polexpand
17282 guerimand 17
  !if notreduced iswordof $test
18
    !if termealgsimp iswordof $test
17356 guerimand 19
      !! TODO_lang termealgsimp
20
      !changeto oef/fr/msg.phtml
17282 guerimand 21
    !endif
22
    !if termenumsimp iswordof $test
17356 guerimand 23
      !! TODO_lang termenumsimp
24
      !changeto oef/fr/msg.phtml
17282 guerimand 25
    !endif
26
    !if termesamepower iswordof $test
17356 guerimand 27
      !! TODO_lang termesamepower
28
      !changeto oef/fr/msg.phtml
17282 guerimand 29
    !endif
30
    !if parenthesis iswordof $test
17356 guerimand 31
      !! TODO_lang parenthesis
32
      !changeto oef/fr/msg.phtml
17282 guerimand 33
    !endif
17356 guerimand 34
    !if power0 iswordof $test
35
      !! TODO_lang power0
36
      !changeto oef/fr/msg.phtml
37
    !endif
38
    !if constantbefore iswordof $test
39
      !! TODO_lang constantbefore
40
      !changeto oef/fr/msg.phtml
41
    !endif    
17282 guerimand 42
  !endif
43
  !if badform iswordof $test
44
    !if notcomplete iswordof $test
17356 guerimand 45
      !! TODO_lang notcomplete
46
      !changeto oef/fr/msg.phtml
17282 guerimand 47
    !endif
48
    !if notfactorised iswordof $test
17356 guerimand 49
      !! TODO_lang notfactorised
50
      !changeto oef/fr/msg.phtml
17282 guerimand 51
    !endif
18206 reyssat 52
    !if usebadchar iswordof $test
53
      !! TODO_lang usebadchar
17356 guerimand 54
      !changeto oef/fr/msg.phtml
18206 reyssat 55
      !exit
17282 guerimand 56
    !endif
18206 reyssat 57
    !if uselessfactor iswordof $test
58
      !! TODO_lang uselessfactor
59
      !changeto oef/fr/msg.phtml
60
      !exit
61
    !endif
17282 guerimand 62
    !if fparenthesis iswordof $test
17356 guerimand 63
      !! TODO_lang fparenthesis
64
      !changeto oef/fr/msg.phtml
17282 guerimand 65
    !endif
66
    !if multifactor iswordof $test
17356 guerimand 67
      !! TODO_lang multifactor
68
      !changeto oef/fr/msg.phtml
17282 guerimand 69
    !endif
70
    !if twofactorcst iswordof $test
17356 guerimand 71
      !! TODO_lang twofactorcst
72
      !changeto oef/fr/msg.phtml
17282 guerimand 73
    !endif
74
    !if factorcontent iswordof $test
17356 guerimand 75
      !! TODO_lang factorcontent
76
      !changeto oef/fr/msg.phtml
17282 guerimand 77
    !endif
78
  !endif
17356 guerimand 79
  !! ------------- end of error message for litexp option polfactor polexpand
13541 bpr 80
  !if illegalname iswordof $test
15065 mquerol 81
    El vostre codi conté un nom il·legal <span class="tt">$illegal_name</span>. Corregiu-lo, sisplau.
13541 bpr 82
    !exit
83
  !endif
84
  !if lengthoverflow iswordof $test
15065 mquerol 85
    El vostre codi ha superat el límit de longitud. Reescriviu-lo.
13541 bpr 86
    !exit
87
  !endif
14997 bpr 88
  !if badsize iswordof $test
15065 mquerol 89
    Heu de seleccionar
14997 bpr 90
    !word 3 of $test
15065 mquerol 91
     objectes.
14997 bpr 92
    !exit
93
  !endif
15065 mquerol 94
  La resposta
13541 bpr 95
  <span span class="tt">$bad_value</span>
96
  !if unknownword iswordof $test
97
    !set w=!word 3 of $test
15463 bpr 98
    no és comprensible:
15065 mquerol 99
    la paraula <span class="tt">$w</span>
100
    no té relació amb aquest problema o no està permesa.
101
    Corregiu-la o trieu-ne una altra més senzilla.
13541 bpr 102
    !exit
103
  !endif
104
  !if nocompute iswordof $test
15065 mquerol 105
    no està permesa: feu vosaltres el càlcul i envieu el valor que en resulti.
13541 bpr 106
    !exit
107
  !endif
108
  !if nocomputecomplex iswordof $test
15065 mquerol 109
    no està permesa.
110
    Dóna la resposta de forma algebraica <span class="tt">a + b i</span>
111
    amb <span class="tt">a</span> i <span class="tt">b</span> calculats i torneu a comprovar.
112
    Per exemple, <span class="tt">-1/5 + 2/5*i</span> o <span class="tt">2/3 - 5*i/3</span>.
13541 bpr 113
    !exit
114
  !endif
115
  !if badform iswordof $test
14997 bpr 116
    !if noreduced iswordof $test
15065 mquerol 117
      no és una fracció irreductible. Simplifiqueu la fracció.
14997 bpr 118
      !exit
119
    !endif
15065 mquerol 120
    no està escrit com es requereix. Escriviu-ho de la forma correcta.
13541 bpr 121
    !exit
122
  !endif
123
  !if notunit iswordof $test
15065 mquerol 124
    només és un número&nbsp;:
125
    especifiqueu la unitat de la resposta.
13541 bpr 126
    !exit
127
  !endif
128
  !if bad_variable iswordof $test
15065 mquerol 129
    no és comprensible. Certament, conté variables no autoritzades.
13541 bpr 130
    !exit
131
  !endif
15065 mquerol 132
  no és comprensible. Corregiu l'error i torneu a enviar la resposta.
386 bpr 133
  !exit
134
!endif
135
 
136
!if bad_exo iswordof $error
13541 bpr 137
  !for j=1 to 50
138
    !if bad_exo $j isin $error
15065 mquerol 139
      !set whichexo=!nosubst (la resposta correcta a la pregunta $j \
13541 bpr 140
      <span class="tt">$(replyname$j)</span>\
15065 mquerol 141
      no és vàlida)
13541 bpr 142
      !!goto end_bad
143
      !break
144
    !endif
145
  !next
15065 mquerol 146
:end_bad
147
  A causa d'un error a l'exercici $whichexo, és impossible d'analitzar
148
   la resposta. L'única solució és canviar d'exercici&nbsp;;
149
  disculpeu.
13541 bpr 150
  <p>
15065 mquerol 151
  Si us plau
13541 bpr 152
  !if $email!=$empty
15065 mquerol 153
    !mailurl $email contacteu amb l'autor
13541 bpr 154
  !else
15065 mquerol 155
    contacteu amb l'autor
13541 bpr 156
  !endif
15065 mquerol 157
  de l'exercici per comunicar aquest error.
13541 bpr 158
  </p>
159
  !exit
386 bpr 160
!endif
161
 
162
!if too_many_print iswordof $error
15065 mquerol 163
  El que voleu per a la versió imprimible és excessiu.
13541 bpr 164
  !exit
386 bpr 165
!endif
166
 
3611 bpr 167
!if chemclick_empty_data iswordof $error
15065 mquerol 168
  No heu seleccionat cap àtom ni enllaç. Consulteu l'ajuda.
13541 bpr 169
  !exit
3611 bpr 170
!endif
171
!if chemdraw_empty_data iswordof $error
15065 mquerol 172
  No heu canviat l'applet. Completeu la resposta.
13541 bpr 173
  !exit
3611 bpr 174
!endif
14997 bpr 175
 
13541 bpr 176
!if draw_bad_object iswordof $error
15065 mquerol 177
  No heu dibuixat correctament els objectes sol·licitats ($type): torneu-ho a provar de nou!
13541 bpr 178
  !exit
179
!endif
14997 bpr 180
 
6318 bpr 181
!msg $error