Subversion Repositories wimsdev

Rev

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