| @@ 187-193 (lines=7) @@ | ||
| 184 | } |
|
| 185 | ||
| 186 | $result = parent::trans($id, $parameters, $domain, $locale); |
|
| 187 | if ($result === "\x01") { |
|
| 188 | $this->logMissingTranslation($message, $domain, $locale); |
|
| 189 | if ($this->panel !== NULL) { |
|
| 190 | $this->panel->markUntranslated($message, $domain); |
|
| 191 | } |
|
| 192 | $result = strtr($message, $parameters); |
|
| 193 | } |
|
| 194 | ||
| 195 | return $result; |
|
| 196 | } |
|
| @@ 226-232 (lines=7) @@ | ||
| 223 | } |
|
| 224 | } |
|
| 225 | ||
| 226 | if ($result === "\x01") { |
|
| 227 | $this->logMissingTranslation($message, $domain, $locale); |
|
| 228 | if ($this->panel !== NULL) { |
|
| 229 | $this->panel->markUntranslated($message, $domain); |
|
| 230 | } |
|
| 231 | $result = strtr($message, $parameters); |
|
| 232 | } |
|
| 233 | ||
| 234 | return $result; |
|
| 235 | } |
|