!if $error=noexists
  Attention, the exercise requested does not exist. An exercise of the module is taken at random.
  !exit
!endif
!if empty_out iswordof $error
  Your code did not give any output. Please correct it.
  !if $m_reply_err!=$empty
    <pre><span class="wims_warning">$m_reply_err</span></pre>
  !endif
  !exit
!endif

!! empty_data bad_data double_reply  are in html/msg.phtml.fr - suppress on test

!if bad_answer iswordof $error
  !! ------------- begin of error message for litexp option polfactor polexpand
  !if notreduced iswordof $test
    !if termealgsimp iswordof $test
      !! TODO_lang termealgsimp
      !changeto oef/fr/msg.phtml
    !endif
    !if termenumsimp iswordof $test
      !! TODO_lang termenumsimp
      !changeto oef/fr/msg.phtml
    !endif
    !if termesamepower iswordof $test
      !! TODO_lang termesamepower
      !changeto oef/fr/msg.phtml
    !endif
    !if parenthesis iswordof $test
      !! TODO_lang parenthesis
      !changeto oef/fr/msg.phtml
    !endif
    !if power0 iswordof $test
      !! TODO_lang power0
      !changeto oef/fr/msg.phtml
    !endif
    !if constantbefore iswordof $test
      !! TODO_lang constantbefore
      !changeto oef/fr/msg.phtml
    !endif
  !endif
  !if badform iswordof $test
    !if notcomplete iswordof $test
      !! TODO_lang notcomplete
      !changeto oef/fr/msg.phtml
    !endif
    !if notfactorised iswordof $test
      !! TODO_lang notfactorised
      !changeto oef/fr/msg.phtml
    !endif
    !if usebadchar iswordof $test
      !! TODO_lang usebadchar
      !changeto oef/fr/msg.phtml
      !exit
    !endif
    !if uselessfactor iswordof $test
      !! TODO_lang uselessfactor
      !changeto oef/fr/msg.phtml
      !exit
    !endif
    !if fparenthesis iswordof $test
      !! TODO_lang fparenthesis
      !changeto oef/fr/msg.phtml
    !endif
    !if multifactor iswordof $test
      !! TODO_lang multifactor
      !changeto oef/fr/msg.phtml
    !endif
    !if twofactorcst iswordof $test
      !! TODO_lang twofactorcst
      !changeto oef/fr/msg.phtml
    !endif
    !if factorcontent iswordof $test
      !! TODO_lang factorcontent
      !changeto oef/fr/msg.phtml
    !endif
  !endif
  !! ------------- end of error message for litexp option polfactor polexpand
  !if illegalname iswordof $test
    Your code contains illegal name <span class="tt">$illegal_name</span>. Please correct.
    !exit
  !endif
  !if lengthoverflow iswordof $test
    Your code has exceeded the length limit. Please rewrite it.
    !exit
  !endif
  !if badsize iswordof $test
    You must select
    !word 3 of $test
     objects.
    !exit
  !endif
  Vaš odgovor
  <b>$bad_name</b> = <span class="tt">$bad_value</span>
  <span span class="tt">$bad_value</span>
  !if unknownword iswordof $test
    !set w=!word 3 of $test
    ni razumljiv: beseda <span class="tt">$w</span>
    v odgovoru ni videti povezana s problemom. Prosim, da vnesete popravek.
    !exit
  !endif
  !if nocompute iswordof $test
    ni dovoljen: izraz je treba izračunati oziroma poenostaviti. Vnesete lahko le končen rezultat.
    !exit
  !endif
  !if nocomputecomplex iswordof $test
    is not allowed.
    Please give the complex number in standard rectangular form
      <span class="tt"> a + b i </span>
      where
      <span class="tt">a</span>
      and
      <span class="tt">b</span>
      are computed, and submit the resulting value (for example,
       <span class="tt"> -1 + 2 i</span> or <span class="tt"> 1 - 2 i</span>).
    !exit
  !endif
  !if badform iswordof $test
    ni zapisan v zahtevani obliki. Prosim, da ga zapišete na ustrezen način.
    !exit
  !endif
  !if notunit iswordof $test
    je zgolj število. Prosim, da v odgovoru označite tudi enoto.
    !exit
  !endif
  !if bad_variable iswordof $test
    is not understandable. It should contain extra variables.
    !exit
  !endif
  ni razumljiv. Prosim, popravite napako.
  !exit
!endif

!if bad_exo iswordof $error
  Napaka v vaji. Pravilni odgovor za <b>$(replyname$i)</b>
  je neveljaven, zato je ni mogoče preveriti pravilnosti vašega odgovora.
  Poskusite raje s kakšno drugo vajo in
  !if $email!=$empty
    !mailurl $email obvestite avtorja
  !else
    obvestite avtorja
  !endif
  te vaje o napaki.
  !exit
!endif

!if too_many_print iswordof $error
  Vaši zahtevni po različicah za tiskanje so prepogosti.
  !exit
!endif

!if chemclick_empty_data iswordof $error
  You have selected no atom or bond. Look at the help.
  !exit
!endif

!if chemdraw_empty_data iswordof $error
  You have not modify the applet. Please complete it.
  !exit
!endif

!if draw_bad_object iswordof $error
  You did not draw correctly the requested object ($type): try again!
  !exit
!endif

!msg $error
