X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Frules_base.phh;h=cb8aa939a0295add949df62a67d8752826152207;hb=a83aff42b8b01a66aba1bfa42e9d7722fc8e1455;hp=779e3af4827c769347a95acf6c566edc4c00b88f;hpb=a222ac87c9aa8297cc7dd4ede7c9b92089d52238;p=brisk.git diff --git a/web/briskin5/Obj/rules_base.phh b/web/briskin5/Obj/rules_base.phh index 779e3af..cb8aa93 100644 --- a/web/briskin5/Obj/rules_base.phh +++ b/web/briskin5/Obj/rules_base.phh @@ -24,8 +24,56 @@ require_once("briskin5.phh"); +$mlang_bin5_rules = array( + // br, hr, b, /b, win, fri + 'info_part' => array( 'it' => 'Ha chiamato %3$s%5$s%4$s (punti torneo %7$d), il socio era %3$s%6$s%4$s,%1$s', + 'en' => 'The declarer was %3$s%5$s%4$s (tournment points %7$d), the partner was %3$s%6$s%4$s,%1$s'), + // br, hr, b, /b + 'info_capp' => array( 'it' => 'hanno fatto %3$scappotto%4$s EBBRAVI!.%1$s', + 'en' => 'and they made %3Dscapot%4$s WELL DONE!.%1$s'), + + // br, hr, b, /b, old_asta_pnt, old_pnt, winornot + 'info_alea' => array( 'it' => 'dovevano fare %3$salmeno %5$d%4$s punti e ne hanno fatti %3$s%6$d%4$s: hanno %7$s.%1$s', + 'en' => 'they had to do %3$sat least %5$d%4$s points and they had made %3$s%6$d%4$s: they have %7$s.%1$s'), + // br, hr, b, /b, old_pnt, winornot + 'info_more' => array( 'it' => 'dovevano fare %3$spiù di 60%4$s punti e ne hanno fatti %3$s%5$d%4$s: hanno %6$s.%1$s', + 'en' => 'they had to do %3$sover 60%4$s points and they had made %3$s%5$d%4$s: they have %3$s%6$s%4$s.%1$s'), + 'info_win' => array( 'it' => 'vinto', + 'en' => 'win'), + 'info_peer' => array( 'it' => 'pareggiato', + 'en' => 'drew'), + 'info_lost' => array( 'it' => 'perso', + 'en' => 'lost'), + + // br, hr, b, /b, win_name + 'info_alon' => array( 'it' => '%3$s%5$s%4$s si è chiamato in mano (punti torneo %6$d),%1$s', + 'en' => '%3$s%5$s%4$s play alone against each other (tournment points %6$d),%1$s'), + // br, hr, b, /b, old_asta_pnt, old_pnt, winornot + 'info_aleaa' => array( 'it' => 'doveva fare %3$salmeno %5$d%4$s punti e ne ha fatti %3$s%6$d%4$s: ha %3$s%7$s%4$s.%1$s', + 'en' => 'he/she had to do %3$sat least %5$d%4$s points and they had made %3$s%6$d%4$s: he/she had %3$s%7$s%4$s.%1$s'), + // br, hr, b, /b, old_pnt, winornot + 'info_morea' => array( 'it' => 'doveva fare %3$spiù di 60%4$s punti e ne ha fatti %3$s%5$d%4$s: ha %3$s%6$s%4$s.%1$s', + 'en' => 'he/she had to do %3$smore than 60%4$s points and they had made %3$s%5$d%4$s: he/she had %3$s%6$s%4$s.%1$s'), + // br, hr, b, /b + 'info_acap' => array( 'it' => 'ha fatto %3$scappotto%4$s EBBRAVO!.%1$s', + 'en' => 'and he/she made %3$scapot%4$s WELL DONE!.%1$s'), + + // br, hr, b, /b + 'info_omul' => array( 'it' => '%1$sLa partita valeva %3$s%5$s%4$s.%1$s', + 'en' => '%1$sEN: The game was worth %3$s%5$s%4$s.%1$s' ), + + // br, hr, b, /b + 'info_alpa' => array( 'it' => '%1$sHanno passato %3$stutti%4$s.%1$s', + 'en' => '%1$sEN: Hanno passato %3$stutti%4$s.%1$s' ), + + // br, hr, b, /b, aband-name + 'info_aban' => array( 'it' => ' Ha lasciato %3$s%5$s%4$s perché aveva al massimo %3$s2 punti%4$s.', + 'en' => ' EN: Ha lasciato %3$s%5$s%4$s perché aveva al massimo %3$s2 punti%4$s.') + ); + abstract class Rules { var $table; + var $id; abstract function engine(&$bri, $curtime, $action, $user); @@ -33,6 +81,22 @@ abstract class Rules { { $this->table = $table; } + + function id_get() + { + return ($this->id); + } + + function tourn_points(&$user, $i) + { + return; + } + + function tourn_points_max($user) + { + return 0; + } + } ?> \ No newline at end of file