@@ -124,8 +124,7 @@ |
||
| 124 | 124 | try |
| 125 | 125 | { |
| 126 | 126 | $this->content = FileHelper::readContents($path); |
| 127 | - } |
|
| 128 | - catch (FileHelper_Exception $e) |
|
| 127 | + } catch (FileHelper_Exception $e) |
|
| 129 | 128 | { |
| 130 | 129 | throw new Localization_Exception( |
| 131 | 130 | sprintf('Source code file [%s] could not be read', basename($path)), |
@@ -245,8 +245,7 @@ |
||
| 245 | 245 | if ($decimals == '-') { |
| 246 | 246 | $decimals = 0; |
| 247 | 247 | } |
| 248 | - } |
|
| 249 | - else |
|
| 248 | + } else |
|
| 250 | 249 | { |
| 251 | 250 | $decimals = 0; |
| 252 | 251 | $thousands = implode('', $parts); |
@@ -237,8 +237,7 @@ discard block |
||
| 237 | 237 | if($this->request->getBool($this->getVarName('scan'))) |
| 238 | 238 | { |
| 239 | 239 | $this->executeScan(); |
| 240 | - } |
|
| 241 | - else if($this->request->getBool($this->getVarName('save'))) |
|
| 240 | + } else if($this->request->getBool($this->getVarName('save'))) |
|
| 242 | 241 | { |
| 243 | 242 | $this->executeSave(); |
| 244 | 243 | } |
@@ -305,8 +304,7 @@ discard block |
||
| 305 | 304 | ?> |
| 306 | 305 | <b><?php echo $source->getLabel() ?></b> |
| 307 | 306 | <?php |
| 308 | - } |
|
| 309 | - else |
|
| 307 | + } else |
|
| 310 | 308 | { |
| 311 | 309 | echo $source->getLabel(); |
| 312 | 310 | } |
@@ -392,12 +390,10 @@ discard block |
||
| 392 | 390 | <?php pt('No application locales were added to translate to.') ?> |
| 393 | 391 | </div> |
| 394 | 392 | <?php |
| 395 | - } |
|
| 396 | - else if($this->request->getBool($this->getVarName('warnings'))) |
|
| 393 | + } else if($this->request->getBool($this->getVarName('warnings'))) |
|
| 397 | 394 | { |
| 398 | 395 | echo $this->renderWarnings(); |
| 399 | - } |
|
| 400 | - else |
|
| 396 | + } else |
|
| 401 | 397 | { |
| 402 | 398 | ?> |
| 403 | 399 | <h1><?php echo $this->activeSource->getLabel() ?></h1> |
@@ -447,8 +443,7 @@ discard block |
||
| 447 | 443 | </a> |
| 448 | 444 | </p> |
| 449 | 445 | <?php |
| 450 | - } |
|
| 451 | - else |
|
| 446 | + } else |
|
| 452 | 447 | { |
| 453 | 448 | echo $this->filters->renderForm(); |
| 454 | 449 | |
@@ -698,8 +693,7 @@ discard block |
||
| 698 | 693 | if($totalFiles == 1) |
| 699 | 694 | { |
| 700 | 695 | pt('Found in a single file:'); |
| 701 | - } |
|
| 702 | - else |
|
| 696 | + } else |
|
| 703 | 697 | { |
| 704 | 698 | pt('Found in %1$s files:', $totalFiles); |
| 705 | 699 | } |