Translation bug?
Brought to you by:
iridium
From: Ondrej J. <ne...@po...> - 2002-06-29 10:18:59
|
Maxim, 00:03:18 29. jun 2002 (sobota) Greetings! In output/pw_lang_en.php file is this: $this->strings['weather'] = array( ... 'IC' => ' ice crystals', 'PL' => ' ice pellets', ... But in phpweather.php file is no test for PL, but only for PE. Look at 'Precipitation' line of code below. ... } elseif (ereg('^(VC)?' . /* Proximity */ '(-|\+)?' . /* Intensity */ '(MI|PR|BC|DR|BL|SH|TS|FZ)?' . /* Descriptor */ '((DZ|RA|SN|SG|IC|PE|GR|GS|UP)+)?' . /* Precipitation */ '(BR|FG|FU|VA|DU|SA|HZ|PY)?' . /* Obscuration */ '(PO|SQ|FC|SS)?$', /* Other */ $part, $regs)) { ... I suppose, that only one from these shold be used, PL or PE. What do you think about this? =Nepto= ____________________________________________________________________________ Ondrej 'Nepto' Jombik, http://www.nepto.sk/ ne...@at... |