Subversion Repositories wimsdev

Rev

Rev 17282 | Go to most recent revision | 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
52
    !if usedivide iswordof $test
17356 guerimand 53
      !! TODO_lang usedivide
54
      !changeto oef/fr/msg.phtml
17282 guerimand 55
    !endif
56
    !if fparenthesis iswordof $test
17356 guerimand 57
      !! TODO_lang fparenthesis
58
      !changeto oef/fr/msg.phtml
17282 guerimand 59
    !endif
60
    !if multifactor iswordof $test
17356 guerimand 61
      !! TODO_lang multifactor
62
      !changeto oef/fr/msg.phtml
17282 guerimand 63
    !endif
64
    !if twofactorcst iswordof $test
17356 guerimand 65
      !! TODO_lang twofactorcst
66
      !changeto oef/fr/msg.phtml
17282 guerimand 67
    !endif
68
    !if factorcontent iswordof $test
17356 guerimand 69
      !! TODO_lang factorcontent
70
      !changeto oef/fr/msg.phtml
17282 guerimand 71
    !endif
72
  !endif
17356 guerimand 73
  !! ------------- end of error message for litexp option polfactor polexpand
13541 bpr 74
  !if illegalname iswordof $test
15065 mquerol 75
    El vostre codi conté un nom il·legal <span class="tt">$illegal_name</span>. Corregiu-lo, sisplau.
13541 bpr 76
    !exit
77
  !endif
78
  !if lengthoverflow iswordof $test
15065 mquerol 79
    El vostre codi ha superat el límit de longitud. Reescriviu-lo.
13541 bpr 80
    !exit
81
  !endif
14997 bpr 82
  !if badsize iswordof $test
15065 mquerol 83
    Heu de seleccionar
14997 bpr 84
    !word 3 of $test
15065 mquerol 85
     objectes.
14997 bpr 86
    !exit
87
  !endif
15065 mquerol 88
  La resposta
13541 bpr 89
  <span span class="tt">$bad_value</span>
90
  !if unknownword iswordof $test
91
    !set w=!word 3 of $test
15463 bpr 92
    no és comprensible:
15065 mquerol 93
    la paraula <span class="tt">$w</span>
94
    no té relació amb aquest problema o no està permesa.
95
    Corregiu-la o trieu-ne una altra més senzilla.
13541 bpr 96
    !exit
97
  !endif
98
  !if nocompute iswordof $test
15065 mquerol 99
    no està permesa: feu vosaltres el càlcul i envieu el valor que en resulti.
13541 bpr 100
    !exit
101
  !endif
102
  !if nocomputecomplex iswordof $test
15065 mquerol 103
    no està permesa.
104
    Dóna la resposta de forma algebraica <span class="tt">a + b i</span>
105
    amb <span class="tt">a</span> i <span class="tt">b</span> calculats i torneu a comprovar.
106
    Per exemple, <span class="tt">-1/5 + 2/5*i</span> o <span class="tt">2/3 - 5*i/3</span>.
13541 bpr 107
    !exit
108
  !endif
109
  !if badform iswordof $test
14997 bpr 110
    !if noreduced iswordof $test
15065 mquerol 111
      no és una fracció irreductible. Simplifiqueu la fracció.
14997 bpr 112
      !exit
113
    !endif
15065 mquerol 114
    no està escrit com es requereix. Escriviu-ho de la forma correcta.
13541 bpr 115
    !exit
116
  !endif
117
  !if notunit iswordof $test
15065 mquerol 118
    només és un número&nbsp;:
119
    especifiqueu la unitat de la resposta.
13541 bpr 120
    !exit
121
  !endif
122
  !if bad_variable iswordof $test
15065 mquerol 123
    no és comprensible. Certament, conté variables no autoritzades.
13541 bpr 124
    !exit
125
  !endif
15065 mquerol 126
  no és comprensible. Corregiu l'error i torneu a enviar la resposta.
386 bpr 127
  !exit
128
!endif
129
 
130
!if bad_exo iswordof $error
13541 bpr 131
  !for j=1 to 50
132
    !if bad_exo $j isin $error
15065 mquerol 133
      !set whichexo=!nosubst (la resposta correcta a la pregunta $j \
13541 bpr 134
      <span class="tt">$(replyname$j)</span>\
15065 mquerol 135
      no és vàlida)
13541 bpr 136
      !!goto end_bad
137
      !break
138
    !endif
139
  !next
15065 mquerol 140
:end_bad
141
  A causa d'un error a l'exercici $whichexo, és impossible d'analitzar
142
   la resposta. L'única solució és canviar d'exercici&nbsp;;
143
  disculpeu.
13541 bpr 144
  <p>
15065 mquerol 145
  Si us plau
13541 bpr 146
  !if $email!=$empty
15065 mquerol 147
    !mailurl $email contacteu amb l'autor
13541 bpr 148
  !else
15065 mquerol 149
    contacteu amb l'autor
13541 bpr 150
  !endif
15065 mquerol 151
  de l'exercici per comunicar aquest error.
13541 bpr 152
  </p>
153
  !exit
386 bpr 154
!endif
155
 
156
!if too_many_print iswordof $error
15065 mquerol 157
  El que voleu per a la versió imprimible és excessiu.
13541 bpr 158
  !exit
386 bpr 159
!endif
160
 
3611 bpr 161
!if chemclick_empty_data iswordof $error
15065 mquerol 162
  No heu seleccionat cap àtom ni enllaç. Consulteu l'ajuda.
13541 bpr 163
  !exit
3611 bpr 164
!endif
165
!if chemdraw_empty_data iswordof $error
15065 mquerol 166
  No heu canviat l'applet. Completeu la resposta.
13541 bpr 167
  !exit
3611 bpr 168
!endif
14997 bpr 169
 
13541 bpr 170
!if draw_bad_object iswordof $error
15065 mquerol 171
  No heu dibuixat correctament els objectes sol·licitats ($type): torneu-ho a provar de nou!
13541 bpr 172
  !exit
173
!endif
14997 bpr 174
 
6318 bpr 175
!msg $error