CC-1960: Internationalize Airtime / Support translations
- fix to some controller strings
This commit is contained in:
parent
4f40efa376
commit
d7495c6937
3 changed files with 8 additions and 8 deletions
|
@ -135,7 +135,7 @@ class WebstreamController extends Zend_Controller_Action
|
|||
|
||||
Application_Model_Library::changePlaylist($streamId, "stream");
|
||||
|
||||
$this->view->statusMessage = "<div class='success'>_(Webstream saved.)</div>";
|
||||
$this->view->statusMessage = "<div class='success'>"._("Webstream saved.")."</div>";
|
||||
$this->view->streamId = $streamId;
|
||||
$this->view->length = $di->format("%Hh %Im");
|
||||
} else {
|
||||
|
@ -143,7 +143,7 @@ class WebstreamController extends Zend_Controller_Action
|
|||
}
|
||||
} catch (Exception $e) {
|
||||
Logging::debug($e->getMessage());
|
||||
$this->view->statusMessage = "<div class='errors'>_(Invalid form values.)</div>";
|
||||
$this->view->statusMessage = "<div class='errors'>"._("Invalid form values.")."</div>";
|
||||
$this->view->streamId = -1;
|
||||
$this->view->analysis = $analysis;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue