|
@@ 179-184 (lines=6) @@
|
| 176 |
|
return $message->translate($this); |
| 177 |
|
} |
| 178 |
|
|
| 179 |
|
if ($domain === NULL) { |
| 180 |
|
list($domain, $id) = $this->extractMessageDomain($message); |
| 181 |
|
|
| 182 |
|
} else { |
| 183 |
|
$id = $message; |
| 184 |
|
} |
| 185 |
|
|
| 186 |
|
$result = parent::trans($id, $parameters, $domain, $locale); |
| 187 |
|
if ($result === "\x01") { |
|
@@ 209-214 (lines=6) @@
|
| 206 |
|
return $message->translate($this); |
| 207 |
|
} |
| 208 |
|
|
| 209 |
|
if ($domain === NULL) { |
| 210 |
|
list($domain, $id) = $this->extractMessageDomain($message); |
| 211 |
|
|
| 212 |
|
} else { |
| 213 |
|
$id = $message; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
try { |
| 217 |
|
$result = parent::transChoice($id, $number, $parameters, $domain, $locale); |