Subversion Repositories wimsdev

Rev

Rev 15463 | Rev 17356 | 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
6318 bpr 5
!if empty_out iswordof $error
13541 bpr 6
  Your code did not give any output. Please correct it.
7
  !if $m_reply_err!=$empty
8
    <pre><span class="wims_warning">$m_reply_err</span></pre>
9
  !endif
14997 bpr 10
  !exit
20 reyssat 11
!endif
12
 
6318 bpr 13
!! empty_data bad_data double_reply  are in html/msg.phtml.fr - suppress on test
20 reyssat 14
 
15
!if bad_answer iswordof $error
17282 guerimand 16
  !! ------------- begin of error message for litexp option factorpol expandpol
17
  !if notreduced iswordof $test
18
    !if termealgsimp iswordof $test
19
      Un terme de votre expression n'est pas correctement simplifié :
20
      !word -1 of $test
21
. Vous devez utiliser la notation puissance.
22
      !exit
23
    !endif
24
    !if termenumsimp iswordof $test
25
      Le coefficient d'un terme de votre expression n'est pas complètement calculé :
26
      !word -1 of $test
27
.
28
      !exit
29
    !endif
30
    !if termesamepower iswordof $test
31
      Votre expression n'est pas réduite
32
      !let th=!word -1 of $test
33
.
34
      Les termes $(th[1]) et $(th[2]) se simplifient.
35
      !exit
36
    !endif
37
    !if parenthesis iswordof $test
38
      Votre expression n'est pas totalement simplifiée : elle contient des parenthèses.
39
      !exit
40
    !endif
41
  !endif
42
  !if badform iswordof $test
43
    !if notcomplete iswordof $test
44
      Le facteur
45
      !word -1 of $test
46
      n'est pas complètement factorisé. Veuillez le factoriser correctement.
47
      !exit
48
    !endif
49
    !if notfactorised iswordof $test
50
      Votre expression n'est pas factorisée
51
      !let p=!word -1 of $test
52
      !char 1 to $p-1 of $dd
53
      <font color="red">
54
        &nbsp;
55
        !char $p of $dd
56
        &nbsp;
57
      </font>
58
      !char $p+1 to -1 of $dd
59
.      !exit
60
    !endif
61
    !if usedivide iswordof $test
62
      Votre expression n'est pas écrite comme il faut. Veuillez proposer une écriture sans utilisation du symbole divisé.
63
      !exit
64
    !endif
65
    !if fparenthesis iswordof $test
66
      Votre expression n'est pas totalement simplifiée le facteur
67
      !word -1 of $test
68
      contient des parenthèses.
69
      !exit
70
    !endif
71
    !if multifactor iswordof $test
72
      L'expression peut être écrite plus simplement en utilisant la notation puissance. Notamment pour le facteur :
73
      !word -1 of $test
74
.
75
      !exit
76
    !endif
77
    !if twofactorcst iswordof $test
78
      Votre expression contient deux facteurs constants :
79
      !word -2 of $test
80
      et
81
      !word -1 of $test
82
.
83
      !exit
84
    !endif
85
    !if factorcontent iswordof $test
86
      Les facteurs constants doivent aussi être factorisé :
87
      !word -1 of $test
88
.
89
      !exit
90
    !endif
91
  !endif
92
  !! ------------- end of error message for litexp option factorpol expandpol
14997 bpr 93
  !if illegalname iswordof $test
94
    Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
95
    !exit
96
  !endif
97
  !if lengthoverflow iswordof $test
98
    Your code has exceeded the length limit. Please rewrite it.
99
    !exit
100
  !endif
101
  !if badsize iswordof $test
102
    You must select
103
    !word 3 of $test
104
     objects.
105
    !exit
106
  !endif
13541 bpr 107
  Va¹ odgovor
108
  <b>$bad_name</b> = <span class="tt">$bad_value</span>
14997 bpr 109
  <span span class="tt">$bad_value</span>
13541 bpr 110
  !if unknownword iswordof $test
14997 bpr 111
    !set w=!word 3 of $test
112
    ni razumljiv: beseda <span class="tt">$w</span>
113
    v odgovoru ni videti povezana s problemom. Prosim, da vnesete popravek.
114
    !exit
13541 bpr 115
  !endif
116
  !if nocompute iswordof $test
117
    ni dovoljen: izraz je treba izraèunati oziroma poenostaviti. Vnesete lahko le konèen rezultat.
118
    !exit
119
  !endif
120
  !if nocomputecomplex iswordof $test
121
    is not allowed.
122
    Please give the complex number in standard rectangular form
14997 bpr 123
      <span class="tt"> a + b i </span>
124
      where
125
      <span class="tt">a</span>
126
      and
127
      <span class="tt">b</span>
128
      are computed, and submit the resulting value (for example,
129
       <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
13541 bpr 130
    !exit
131
  !endif
132
  !if badform iswordof $test
133
    ni zapisan v zahtevani obliki. Prosim, da ga zapi¹ete na ustrezen naèin.
134
    !exit
135
  !endif
136
  !if notunit iswordof $test
137
    je zgolj ¹tevilo. Prosim, da v odgovoru oznaèite tudi enoto.
138
    !exit
139
  !endif
140
  !if bad_variable iswordof $test
141
    is not understandable. It should contain extra variables.
142
    !exit
143
  !endif
144
  ni razumljiv. Prosim, popravite napako.
20 reyssat 145
  !exit
146
!endif
147
 
148
!if bad_exo iswordof $error
13541 bpr 149
  Napaka v vaji. Pravilni odgovor za <b>$(replyname$i)</b>
150
  je neveljaven, zato je ni mogoèe preveriti pravilnosti va¹ega odgovora.
151
  Poskusite raje s kak¹no drugo vajo in
152
  !if $email!=$empty
153
    !mailurl $email obvestite avtorja
154
  !else
155
    obvestite avtorja
156
  !endif
157
  te vaje o napaki.
158
  !exit
20 reyssat 159
!endif
160
 
161
!if too_many_print iswordof $error
13541 bpr 162
  Va¹i zahtevni po razlièicah za tiskanje so prepogosti.
163
  !exit
20 reyssat 164
!endif
165
 
3611 bpr 166
!if chemclick_empty_data iswordof $error
13541 bpr 167
  You have selected no atom or bond. Look at the help.
168
  !exit
3611 bpr 169
!endif
170
 
171
!if chemdraw_empty_data iswordof $error
13541 bpr 172
  You have not modify the applet. Please complete it.
173
  !exit
3611 bpr 174
!endif
14997 bpr 175
 
13541 bpr 176
!if draw_bad_object iswordof $error
177
  You did not draw correctly the requested object ($type): try again!
178
  !exit
179
!endif
14997 bpr 180
 
6318 bpr 181
!msg $error