Subversion Repositories wimsdev

Rev

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

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