Merge branch 'saas-dev' into saas-3.x-sessionoptimizations

This commit is contained in:
Albert Santoni 2015-10-14 14:50:54 -04:00
commit 2713bd7beb
26 changed files with 4349 additions and 185 deletions

View File

@ -4,6 +4,7 @@ define('PRODUCT_NAME' , 'Airtime');
define('PRODUCT_SITE_URL' , 'http://airtime.sourcefabric.org'); define('PRODUCT_SITE_URL' , 'http://airtime.sourcefabric.org');
define('SAAS_PRODUCT_BRANDING_NAME', 'Airtime Pro'); define('SAAS_PRODUCT_BRANDING_NAME', 'Airtime Pro');
define('SAAS_LOGIN_REFERRER', 'https://www.airtime.pro/');
define('COMPANY_NAME' , 'Sourcefabric'); define('COMPANY_NAME' , 'Sourcefabric');
define('COMPANY_SUFFIX' , 'z.ú.'); define('COMPANY_SUFFIX' , 'z.ú.');

View File

@ -213,10 +213,6 @@ class PreferenceController extends Zend_Controller_Action
$values["s4_data"] = $s4_data; $values["s4_data"] = $s4_data;
if ($form->isValid($values)) { if ($form->isValid($values)) {
$values['icecast_vorbis_metadata'] = $form->getValue('icecast_vorbis_metadata');
$values['streamFormat'] = $form->getValue('streamFormat');
Application_Model_StreamSetting::setStreamSetting($values); Application_Model_StreamSetting::setStreamSetting($values);
/* If the admin password values are empty then we should not /* If the admin password values are empty then we should not

View File

@ -107,10 +107,11 @@ class ShowbuilderController extends Zend_Controller_Action
$CC_CONFIG = Config::getConfig(); $CC_CONFIG = Config::getConfig();
$baseUrl = Application_Common_OsPath::getBaseDir(); $baseUrl = Application_Common_OsPath::getBaseDir();
$setupComplete = Application_Model_Preference::getLangTimezoneSetupComplete(); $setupComplete = Application_Model_Preference::getLangTimezoneSetupComplete();
$previousPage = $request->getHeader('Referer'); $previousPage = strtolower($request->getHeader('Referer'));
$userService = new Application_Service_UserService(); $userService = new Application_Service_UserService();
$currentUser = $userService->getCurrentUser(); $currentUser = $userService->getCurrentUser();
$previousPageWasLoginScreen = strpos(strtolower($previousPage), 'login') !== false; $previousPageWasLoginScreen = (strpos($previousPage, 'login') !== false) ||
(strpos($previousPage, SAAS_LOGIN_REFERRER) !== false);
// If current user is Super Admin, and they came from the login page, // If current user is Super Admin, and they came from the login page,
// and they have not seen the setup popup before // and they have not seen the setup popup before

View File

@ -63,12 +63,16 @@ class WebstreamController extends Zend_Controller_Action
if (!$isAdminOrPM && $webstream->getDbCreatorId() != $user->getId()) { if (!$isAdminOrPM && $webstream->getDbCreatorId() != $user->getId()) {
$this->view->objType = "webstream"; $this->view->objType = "webstream";
$this->view->type = "webstream";
$this->view->obj = $obj; $this->view->obj = $obj;
$this->view->id = $id;
$this->view->html = $this->view->render('playlist/permission-denied.phtml'); $this->view->html = $this->view->render('playlist/permission-denied.phtml');
return; return;
} }
$this->view->obj = $obj; $this->view->obj = $obj;
$this->view->type = "webstream";
$this->view->id = $id;
$this->view->action = "edit"; $this->view->action = "edit";
$this->view->html = $this->view->render('webstream/webstream.phtml'); $this->view->html = $this->view->render('webstream/webstream.phtml');
} }

View File

@ -85,7 +85,11 @@ class Application_Form_ShowBuilder extends Zend_Form_SubForm
private function getShowNames() private function getShowNames()
{ {
$showNames = array("0" => _("Filter by Show")); $user = Application_Model_User::getCurrentUser();
$showNames = array("0" => _("Filter by Show"));
if ($user->getType() === 'H') {
$showNames["-1"] = _("My Shows");
}
$shows = CcShowQuery::create() $shows = CcShowQuery::create()
->setFormatter(ModelCriteria::FORMAT_ON_DEMAND) ->setFormatter(ModelCriteria::FORMAT_ON_DEMAND)

View File

@ -80,7 +80,7 @@ class Application_Model_Scheduler
* *
* @param array $items, an array containing pks of cc_schedule items. * @param array $items, an array containing pks of cc_schedule items.
*/ */
private function validateRequest($items, $addAction=false) private function validateRequest($items, $addRemoveAction=false)
{ {
//$items is where tracks get inserted (they are schedule locations) //$items is where tracks get inserted (they are schedule locations)
@ -164,7 +164,7 @@ class Application_Model_Scheduler
* currently playing? * currently playing?
* If yes, throw an exception * If yes, throw an exception
*/ */
if ($addAction) { if ($addRemoveAction) {
$ccShow = $instance->getCcShow(); $ccShow = $instance->getCcShow();
if ($ccShow->isLinked()) { if ($ccShow->isLinked()) {
//get all the linked shows instances and check if //get all the linked shows instances and check if
@ -175,7 +175,7 @@ class Application_Model_Scheduler
if ($ccShowInstance->getDbStarts() <= $timeNowUTC && if ($ccShowInstance->getDbStarts() <= $timeNowUTC &&
$ccShowInstance->getDbEnds() > $timeNowUTC) { $ccShowInstance->getDbEnds() > $timeNowUTC) {
throw new Exception(_("Content in linked shows must be scheduled before or after any one is broadcasted")); throw new Exception(_("Content in linked shows cannot be changed while on air!"));
} }
} }
} }
@ -1091,7 +1091,7 @@ class Application_Model_Scheduler
try { try {
$this->validateRequest($scheduledItems); $this->validateRequest($scheduledItems, true);
$scheduledIds = array(); $scheduledIds = array();
foreach ($scheduledItems as $item) { foreach ($scheduledItems as $item) {

View File

@ -234,63 +234,65 @@ class Application_Service_SchedulerService
//with content from $linkedShowSchedule. //with content from $linkedShowSchedule.
try { try {
$con->beginTransaction(); $con->beginTransaction();
foreach ($instanceIdsToFill as $id)
{
//Start by clearing the show instance that needs to be filling. This ensure
//we're not going to get in trouble in case there's an programming error somewhere else.
self::clearShowInstanceContents($id);
// Now fill the show instance with the same content that $linkedShowSchedule has. if (!empty($linkedShowSchedule)) {
$instanceStart_sql = "SELECT starts FROM cc_show_instances " . foreach ($instanceIdsToFill as $id) {
"WHERE id = {$id} " . "ORDER BY starts"; //Start by clearing the show instance that needs to be filling. This ensure
//we're not going to get in trouble in case there's an programming error somewhere else.
self::clearShowInstanceContents($id);
//What's tricky here is that when we copy the content, we have to adjust // Now fill the show instance with the same content that $linkedShowSchedule has.
//the start and end times of each track so they're inside the new show instance's time slot. $instanceStart_sql = "SELECT starts FROM cc_show_instances " .
$nextStartDT = new DateTime( "WHERE id = {$id} " . "ORDER BY starts";
//What's tricky here is that when we copy the content, we have to adjust
//the start and end times of each track so they're inside the new show instance's time slot.
$nextStartDT = new DateTime(
Application_Common_Database::prepareAndExecute( Application_Common_Database::prepareAndExecute(
$instanceStart_sql, array(), $instanceStart_sql, array(),
Application_Common_Database::COLUMN), Application_Common_Database::COLUMN),
new DateTimeZone("UTC")); new DateTimeZone("UTC"));
$defaultCrossfadeDuration = Application_Model_Preference::GetDefaultCrossfadeDuration(); $defaultCrossfadeDuration = Application_Model_Preference::GetDefaultCrossfadeDuration();
unset($values); unset($values);
$values = array(); $values = array();
foreach ($linkedShowSchedule as $item) { foreach ($linkedShowSchedule as $item) {
$endTimeDT = self::findEndTime($nextStartDT, $endTimeDT = self::findEndTime($nextStartDT,
$item["clip_length"]); $item["clip_length"]);
if (is_null($item["file_id"])) { if (is_null($item["file_id"])) {
$item["file_id"] = "null"; $item["file_id"] = "null";
} }
if (is_null($item["stream_id"])) { if (is_null($item["stream_id"])) {
$item["stream_id"] = "null"; $item["stream_id"] = "null";
} }
$values[] = "(" . "'{$nextStartDT->format(DEFAULT_TIMESTAMP_FORMAT)}', " . $values[] = "(" . "'{$nextStartDT->format(DEFAULT_TIMESTAMP_FORMAT)}', " .
"'{$endTimeDT->format(DEFAULT_TIMESTAMP_FORMAT)}', " . "'{$endTimeDT->format(DEFAULT_TIMESTAMP_FORMAT)}', " .
"'{$item["clip_length"]}', " . "'{$item["clip_length"]}', " .
"'{$item["fade_in"]}', " . "'{$item["fade_out"]}', " . "'{$item["fade_in"]}', " . "'{$item["fade_out"]}', " .
"'{$item["cue_in"]}', " . "'{$item["cue_out"]}', " . "'{$item["cue_in"]}', " . "'{$item["cue_out"]}', " .
"{$item["file_id"]}, " . "{$item["stream_id"]}, " . "{$item["file_id"]}, " . "{$item["stream_id"]}, " .
"{$id}, " . "{$item["position"]})"; "{$id}, " . "{$item["position"]})";
$nextStartDT = self::findTimeDifference($endTimeDT, $nextStartDT = self::findTimeDifference($endTimeDT,
$defaultCrossfadeDuration); $defaultCrossfadeDuration);
} //foreach show item } //foreach show item
if (!empty($values)) { if (!empty($values)) {
$insert_sql = "INSERT INTO cc_schedule (starts, ends, ". $insert_sql = "INSERT INTO cc_schedule (starts, ends, " .
"clip_length, fade_in, fade_out, cue_in, cue_out, ". "clip_length, fade_in, fade_out, cue_in, cue_out, " .
"file_id, stream_id, instance_id, position) VALUES ". "file_id, stream_id, instance_id, position) VALUES " .
implode($values, ","); implode($values, ",");
Application_Common_Database::prepareAndExecute( Application_Common_Database::prepareAndExecute(
$insert_sql, array(), Application_Common_Database::EXECUTE); $insert_sql, array(), Application_Common_Database::EXECUTE);
} }
//update cc_schedule status column //update cc_schedule status column
$instance = CcShowInstancesQuery::create()->findPk($id); $instance = CcShowInstancesQuery::create()->findPk($id);
$instance->updateScheduleStatus($con); $instance->updateScheduleStatus($con);
} //foreach linked instance } //foreach linked instance
}
//update time_filled and last_scheduled in cc_show_instances //update time_filled and last_scheduled in cc_show_instances
$now = gmdate(DEFAULT_TIMESTAMP_FORMAT); $now = gmdate(DEFAULT_TIMESTAMP_FORMAT);

View File

@ -9,7 +9,7 @@
<?php echo $this->element->getElement('setup_timezone')->render(); ?> <?php echo $this->element->getElement('setup_timezone')->render(); ?>
</dl> </dl>
</fieldset> </fieldset>
<p style="margin-bottom: 0px; text-align: center;">You can change these later in your preferences and user settings.</p> <p style="margin-bottom: 0px; text-align: center;"><?php echo _("You can change these later in your preferences and user settings.");?></p>
</form> </form>
</div> </div>

View File

@ -9,8 +9,8 @@
<?php echo $this->element->getElement('sb_show_filter') ?> <?php echo $this->element->getElement('sb_show_filter') ?>
<?php if ($this->element->getElement('sb_my_shows')):?> <!-- --><?php //if ($this->element->getElement('sb_my_shows')):?>
<label><?php echo $this->element->getElement('sb_my_shows')->getLabel(); ?></label> <!-- <label>--><?php //echo $this->element->getElement('sb_my_shows')->getLabel(); ?><!--</label>-->
<?php echo $this->element->getElement('sb_my_shows'); ?> <!-- --><?php //echo $this->element->getElement('sb_my_shows'); ?>
<?php endif;?> <!-- --><?php //endif;?>
</div> </div>

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@ msgstr ""
"Project-Id-Version: Airtime\n" "Project-Id-Version: Airtime\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-04 11:17-0400\n" "POT-Creation-Date: 2015-09-04 11:17-0400\n"
"PO-Revision-Date: 2015-09-11 14:33+0000\n" "PO-Revision-Date: 2015-09-25 13:52+0000\n"
"Last-Translator: Maria Ituarte <maria.ituarte@sourcefabric.org>\n" "Last-Translator: Maria Ituarte <maria.ituarte@sourcefabric.org>\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/sourcefabric/airtime/language/es_ES/)\n" "Language-Team: Spanish (Spain) (http://www.transifex.com/sourcefabric/airtime/language/es_ES/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
@ -22,7 +22,7 @@ msgstr ""
#: airtime_mvc/application/services/CalendarService.php:50 #: airtime_mvc/application/services/CalendarService.php:50
msgid "Record file doesn't exist" msgid "Record file doesn't exist"
msgstr "" msgstr "No existe el archivo"
#: airtime_mvc/application/services/CalendarService.php:54 #: airtime_mvc/application/services/CalendarService.php:54
msgid "View Recorded File Metadata" msgid "View Recorded File Metadata"
@ -1941,7 +1941,7 @@ msgstr "Stream en vivo"
#: airtime_mvc/application/layouts/scripts/layout.phtml:63 #: airtime_mvc/application/layouts/scripts/layout.phtml:63
msgid "Smart Block" msgid "Smart Block"
msgstr "" msgstr "Bloque Inteligente"
#: airtime_mvc/application/layouts/scripts/layout.phtml:66 #: airtime_mvc/application/layouts/scripts/layout.phtml:66
msgid "Webstream" msgid "Webstream"

View File

@ -12,8 +12,8 @@ msgstr ""
"Project-Id-Version: Airtime\n" "Project-Id-Version: Airtime\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-04 11:17-0400\n" "POT-Creation-Date: 2015-09-04 11:17-0400\n"
"PO-Revision-Date: 2015-09-05 08:33+0000\n" "PO-Revision-Date: 2015-10-07 18:13+0000\n"
"Last-Translator: Daniel James <daniel@64studio.com>\n" "Last-Translator: Zsolt Magyar <picizse@gmail.com>\n"
"Language-Team: Hungarian (Hungary) (http://www.transifex.com/sourcefabric/airtime/language/hu_HU/)\n" "Language-Team: Hungarian (Hungary) (http://www.transifex.com/sourcefabric/airtime/language/hu_HU/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -455,7 +455,7 @@ msgstr "Nincs jogosúltsága a forrás megváltoztatásához."
#: airtime_mvc/application/controllers/LoginController.php:43 #: airtime_mvc/application/controllers/LoginController.php:43
msgid "Please enter your username and password." msgid "Please enter your username and password."
msgstr "" msgstr "Kérjük, adja meg felhasználónevét és jelszavát."
#: airtime_mvc/application/controllers/LoginController.php:93 #: airtime_mvc/application/controllers/LoginController.php:93
msgid "Wrong username or password provided. Please try again." msgid "Wrong username or password provided. Please try again."
@ -637,7 +637,7 @@ msgstr "Ütemezett"
#: airtime_mvc/application/layouts/scripts/layout.phtml:78 #: airtime_mvc/application/layouts/scripts/layout.phtml:78
#: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:7 #: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:7
msgid "Tracks" msgid "Tracks"
msgstr "" msgstr "Zeneszámok"
#: airtime_mvc/application/controllers/LocaleController.php:75 #: airtime_mvc/application/controllers/LocaleController.php:75
#: airtime_mvc/application/layouts/scripts/layout.phtml:60 #: airtime_mvc/application/layouts/scripts/layout.phtml:60
@ -1256,19 +1256,19 @@ msgstr "Dec"
#: airtime_mvc/application/controllers/LocaleController.php:245 #: airtime_mvc/application/controllers/LocaleController.php:245
msgid "Today" msgid "Today"
msgstr "" msgstr "Ma"
#: airtime_mvc/application/controllers/LocaleController.php:246 #: airtime_mvc/application/controllers/LocaleController.php:246
msgid "Day" msgid "Day"
msgstr "" msgstr "Nap"
#: airtime_mvc/application/controllers/LocaleController.php:247 #: airtime_mvc/application/controllers/LocaleController.php:247
msgid "Week" msgid "Week"
msgstr "" msgstr "Hét"
#: airtime_mvc/application/controllers/LocaleController.php:248 #: airtime_mvc/application/controllers/LocaleController.php:248
msgid "Month" msgid "Month"
msgstr "" msgstr "Hónap"
#: airtime_mvc/application/controllers/LocaleController.php:249 #: airtime_mvc/application/controllers/LocaleController.php:249
#: airtime_mvc/application/forms/GeneralPreferences.php:158 #: airtime_mvc/application/forms/GeneralPreferences.php:158
@ -1841,7 +1841,7 @@ msgstr "%sNyomtatási előnézet%sKérjük, használja böngészője nyomtatási
#: airtime_mvc/application/controllers/LocaleController.php:407 #: airtime_mvc/application/controllers/LocaleController.php:407
msgid "New Show" msgid "New Show"
msgstr "" msgstr "Új Műsor"
#: airtime_mvc/application/controllers/LocaleController.php:408 #: airtime_mvc/application/controllers/LocaleController.php:408
msgid "New Log Entry" msgid "New Log Entry"
@ -1942,15 +1942,15 @@ msgstr "Élő adásfolyam"
#: airtime_mvc/application/layouts/scripts/layout.phtml:63 #: airtime_mvc/application/layouts/scripts/layout.phtml:63
msgid "Smart Block" msgid "Smart Block"
msgstr "" msgstr "Okos Tábla"
#: airtime_mvc/application/layouts/scripts/layout.phtml:66 #: airtime_mvc/application/layouts/scripts/layout.phtml:66
msgid "Webstream" msgid "Webstream"
msgstr "" msgstr "Adásfolyam"
#: airtime_mvc/application/layouts/scripts/layout.phtml:71 #: airtime_mvc/application/layouts/scripts/layout.phtml:71
msgid "Upload" msgid "Upload"
msgstr "" msgstr "Feltöltés"
#: airtime_mvc/application/layouts/scripts/layout.phtml:76 #: airtime_mvc/application/layouts/scripts/layout.phtml:76
#: airtime_mvc/application/views/scripts/showbuilder/index.phtml:5 #: airtime_mvc/application/views/scripts/showbuilder/index.phtml:5
@ -1961,7 +1961,7 @@ msgstr ""
#: airtime_mvc/application/layouts/scripts/layout.phtml:84 #: airtime_mvc/application/layouts/scripts/layout.phtml:84
#: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:25 #: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:25
msgid "Webstreams" msgid "Webstreams"
msgstr "" msgstr "Adásfolyamok"
#: airtime_mvc/application/layouts/scripts/layout.phtml:135 #: airtime_mvc/application/layouts/scripts/layout.phtml:135
#: airtime_mvc/application/layouts/scripts/layout.phtml:161 #: airtime_mvc/application/layouts/scripts/layout.phtml:161
@ -2105,7 +2105,7 @@ msgstr ""
#: airtime_mvc/application/views/scripts/embeddablewidgets/player.phtml:6 #: airtime_mvc/application/views/scripts/embeddablewidgets/player.phtml:6
#: airtime_mvc/application/configs/navigation.php:34 #: airtime_mvc/application/configs/navigation.php:34
msgid "Player" msgid "Player"
msgstr "" msgstr "Lejátszó"
#: airtime_mvc/application/views/scripts/playouthistory/index.phtml:2 #: airtime_mvc/application/views/scripts/playouthistory/index.phtml:2
#: airtime_mvc/application/configs/navigation.php:97 #: airtime_mvc/application/configs/navigation.php:97
@ -2310,7 +2310,7 @@ msgstr ""
#: airtime_mvc/application/views/scripts/login/password-restore-after.phtml:11 #: airtime_mvc/application/views/scripts/login/password-restore-after.phtml:11
#: airtime_mvc/application/views/scripts/form/password-restore.phtml:48 #: airtime_mvc/application/views/scripts/form/password-restore.phtml:48
msgid "Back" msgid "Back"
msgstr "" msgstr "Vissza"
#: airtime_mvc/application/views/scripts/login/password-restore.phtml:3 #: airtime_mvc/application/views/scripts/login/password-restore.phtml:3
msgid "Password Reset" msgid "Password Reset"
@ -2376,7 +2376,7 @@ msgstr "Találat"
#: airtime_mvc/application/views/scripts/form/edit-user.phtml:1 #: airtime_mvc/application/views/scripts/form/edit-user.phtml:1
#: airtime_mvc/application/configs/navigation.php:61 #: airtime_mvc/application/configs/navigation.php:61
msgid "My Profile" msgid "My Profile"
msgstr "" msgstr "Profilom"
#: airtime_mvc/application/views/scripts/form/edit-user.phtml:7 #: airtime_mvc/application/views/scripts/form/edit-user.phtml:7
#, php-format #, php-format
@ -2506,7 +2506,7 @@ msgstr "Előzmények Szűrése"
#: airtime_mvc/application/views/scripts/form/login.phtml:41 #: airtime_mvc/application/views/scripts/form/login.phtml:41
msgid "Forgot your password?" msgid "Forgot your password?"
msgstr "" msgstr "Elfelejtett jelszó?"
#: airtime_mvc/application/views/scripts/form/support-setting.phtml:46 #: airtime_mvc/application/views/scripts/form/support-setting.phtml:46
msgid "" msgid ""
@ -2564,7 +2564,7 @@ msgstr "Ön nem figyel minden média mappát."
#: airtime_mvc/application/views/scripts/form/preferences_livestream.phtml:1 #: airtime_mvc/application/views/scripts/form/preferences_livestream.phtml:1
msgid "Live Broadcasting" msgid "Live Broadcasting"
msgstr "" msgstr "Élő Közvetítés"
#: airtime_mvc/application/views/scripts/form/preferences_livestream.phtml:11 #: airtime_mvc/application/views/scripts/form/preferences_livestream.phtml:11
#: airtime_mvc/application/views/scripts/partialviews/header.phtml:30 #: airtime_mvc/application/views/scripts/partialviews/header.phtml:30
@ -2779,7 +2779,7 @@ msgstr ""
#: airtime_mvc/application/views/scripts/listenerstat/index.phtml:2 #: airtime_mvc/application/views/scripts/listenerstat/index.phtml:2
msgid "Listeners" msgid "Listeners"
msgstr "" msgstr "Hallgatók"
#: airtime_mvc/application/views/scripts/listenerstat/index.phtml:10 #: airtime_mvc/application/views/scripts/listenerstat/index.phtml:10
msgid "Stream Data Collection Status" msgid "Stream Data Collection Status"
@ -2915,7 +2915,7 @@ msgstr "Segítség"
#: airtime_mvc/application/views/scripts/error/error-500.phtml:11 #: airtime_mvc/application/views/scripts/error/error-500.phtml:11
msgid "Oops!" msgid "Oops!"
msgstr "" msgstr "Hoppá!"
#: airtime_mvc/application/views/scripts/error/error-500.phtml:12 #: airtime_mvc/application/views/scripts/error/error-500.phtml:12
msgid "Something went wrong!" msgid "Something went wrong!"
@ -3155,7 +3155,7 @@ msgstr "Az újraközvetítésre legalább 1 órát kell várni"
#: airtime_mvc/application/forms/PasswordRestore.php:14 #: airtime_mvc/application/forms/PasswordRestore.php:14
msgid "Email" msgid "Email"
msgstr "" msgstr "E-mail"
#: airtime_mvc/application/forms/PasswordRestore.php:36 #: airtime_mvc/application/forms/PasswordRestore.php:36
msgid "Reset password" msgid "Reset password"
@ -3390,7 +3390,7 @@ msgstr "Most Játszott"
#: airtime_mvc/application/forms/Player.php:25 #: airtime_mvc/application/forms/Player.php:25
msgid "Select Stream:" msgid "Select Stream:"
msgstr "" msgstr "Adásfolyam Kiválasztása:"
#: airtime_mvc/application/forms/Player.php:28 #: airtime_mvc/application/forms/Player.php:28
msgid "Auto detect the most appropriate stream to use." msgid "Auto detect the most appropriate stream to use."
@ -3398,7 +3398,7 @@ msgstr ""
#: airtime_mvc/application/forms/Player.php:29 #: airtime_mvc/application/forms/Player.php:29
msgid "Select a stream:" msgid "Select a stream:"
msgstr "" msgstr "Egy adásfolyam kiválasztása:"
#: airtime_mvc/application/forms/Player.php:41 #: airtime_mvc/application/forms/Player.php:41
msgid " - Mobile friendly" msgid " - Mobile friendly"
@ -3448,19 +3448,19 @@ msgstr "elemek"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:130 #: airtime_mvc/application/forms/SmartBlockCriteria.php:130
msgid "Randomly" msgid "Randomly"
msgstr "" msgstr "Véletlenszerűen"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:131 #: airtime_mvc/application/forms/SmartBlockCriteria.php:131
msgid "Newest" msgid "Newest"
msgstr "" msgstr "Újabb"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:132 #: airtime_mvc/application/forms/SmartBlockCriteria.php:132
msgid "Oldest" msgid "Oldest"
msgstr "" msgstr "Régebbi"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:179 #: airtime_mvc/application/forms/SmartBlockCriteria.php:179
msgid "Type:" msgid "Type:"
msgstr "" msgstr "Típus:"
#: airtime_mvc/application/forms/SmartBlockCriteria.php:182 #: airtime_mvc/application/forms/SmartBlockCriteria.php:182
msgid "Static" msgid "Static"
@ -3797,7 +3797,7 @@ msgstr "Szövegszín:"
#: airtime_mvc/application/forms/AddShowStyle.php:49 #: airtime_mvc/application/forms/AddShowStyle.php:49
msgid "Current Logo:" msgid "Current Logo:"
msgstr "" msgstr "Jelenlegi Logó:"
#: airtime_mvc/application/forms/AddShowStyle.php:72 #: airtime_mvc/application/forms/AddShowStyle.php:72
msgid "Show Logo:" msgid "Show Logo:"
@ -3937,7 +3937,7 @@ msgstr "Első Lépések"
#: airtime_mvc/application/configs/navigation.php:157 #: airtime_mvc/application/configs/navigation.php:157
msgid "FAQ" msgid "FAQ"
msgstr "" msgstr "GYIK"
#: airtime_mvc/application/configs/navigation.php:162 #: airtime_mvc/application/configs/navigation.php:162
msgid "User Manual" msgid "User Manual"

View File

@ -11,8 +11,8 @@ msgstr ""
"Project-Id-Version: Airtime\n" "Project-Id-Version: Airtime\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-09-04 11:17-0400\n" "POT-Creation-Date: 2015-09-04 11:17-0400\n"
"PO-Revision-Date: 2015-09-05 08:33+0000\n" "PO-Revision-Date: 2015-09-28 12:25+0000\n"
"Last-Translator: Daniel James <daniel@64studio.com>\n" "Last-Translator: dave van den berg <d.berg501@gmail.com>\n"
"Language-Team: Dutch (Netherlands) (http://www.transifex.com/sourcefabric/airtime/language/nl_NL/)\n" "Language-Team: Dutch (Netherlands) (http://www.transifex.com/sourcefabric/airtime/language/nl_NL/)\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
@ -22,7 +22,7 @@ msgstr ""
#: airtime_mvc/application/services/CalendarService.php:50 #: airtime_mvc/application/services/CalendarService.php:50
msgid "Record file doesn't exist" msgid "Record file doesn't exist"
msgstr "ecord bestand bestaat niet" msgstr "Record bestand bestaat niet"
#: airtime_mvc/application/services/CalendarService.php:54 #: airtime_mvc/application/services/CalendarService.php:54
msgid "View Recorded File Metadata" msgid "View Recorded File Metadata"
@ -31,25 +31,25 @@ msgstr "Weergave opgenomen bestand Metadata"
#: airtime_mvc/application/services/CalendarService.php:61 #: airtime_mvc/application/services/CalendarService.php:61
#: airtime_mvc/application/services/CalendarService.php:93 #: airtime_mvc/application/services/CalendarService.php:93
msgid "View" msgid "View"
msgstr "" msgstr "Weergeven"
#: airtime_mvc/application/services/CalendarService.php:81 #: airtime_mvc/application/services/CalendarService.php:81
msgid "Schedule Tracks" msgid "Schedule Tracks"
msgstr "" msgstr "Schema Tracks"
#: airtime_mvc/application/services/CalendarService.php:106 #: airtime_mvc/application/services/CalendarService.php:106
msgid "Clear Show" msgid "Clear Show"
msgstr "" msgstr "Wissen show"
#: airtime_mvc/application/services/CalendarService.php:120 #: airtime_mvc/application/services/CalendarService.php:120
#: airtime_mvc/application/services/CalendarService.php:125 #: airtime_mvc/application/services/CalendarService.php:125
msgid "Cancel Show" msgid "Cancel Show"
msgstr "" msgstr "Annuleren show"
#: airtime_mvc/application/services/CalendarService.php:146 #: airtime_mvc/application/services/CalendarService.php:146
#: airtime_mvc/application/services/CalendarService.php:165 #: airtime_mvc/application/services/CalendarService.php:165
msgid "Edit Instance" msgid "Edit Instance"
msgstr "" msgstr "Aanleg bewerken"
#: airtime_mvc/application/services/CalendarService.php:152 #: airtime_mvc/application/services/CalendarService.php:152
#: airtime_mvc/application/controllers/LibraryController.php:184 #: airtime_mvc/application/controllers/LibraryController.php:184
@ -74,11 +74,11 @@ msgstr "Verwijderen"
#: airtime_mvc/application/services/CalendarService.php:194 #: airtime_mvc/application/services/CalendarService.php:194
msgid "Delete Instance" msgid "Delete Instance"
msgstr "" msgstr "Exemplaar verwijderen"
#: airtime_mvc/application/services/CalendarService.php:200 #: airtime_mvc/application/services/CalendarService.php:200
msgid "Delete Instance and All Following" msgid "Delete Instance and All Following"
msgstr "" msgstr "Exemplaar verwijderen en alle volgende"
#: airtime_mvc/application/services/CalendarService.php:254 #: airtime_mvc/application/services/CalendarService.php:254
msgid "Permission denied" msgid "Permission denied"
@ -275,16 +275,16 @@ msgstr "Download"
#: airtime_mvc/application/controllers/LibraryController.php:147 #: airtime_mvc/application/controllers/LibraryController.php:147
msgid "View track" msgid "View track"
msgstr "" msgstr "Weergave track"
#: airtime_mvc/application/controllers/LibraryController.php:148 #: airtime_mvc/application/controllers/LibraryController.php:148
msgid "Remove track" msgid "Remove track"
msgstr "" msgstr "Nummer verwijderen"
#: airtime_mvc/application/controllers/LibraryController.php:154 #: airtime_mvc/application/controllers/LibraryController.php:154
#: airtime_mvc/application/controllers/LibraryController.php:159 #: airtime_mvc/application/controllers/LibraryController.php:159
msgid "Upload track" msgid "Upload track"
msgstr "" msgstr "Uploaden van track"
#: airtime_mvc/application/controllers/LibraryController.php:169 #: airtime_mvc/application/controllers/LibraryController.php:169
msgid "Duplicate Playlist" msgid "Duplicate Playlist"
@ -300,11 +300,11 @@ msgstr "Je hebt geen toestemming om geselecteerde items te verwijderen"
#: airtime_mvc/application/controllers/LibraryController.php:279 #: airtime_mvc/application/controllers/LibraryController.php:279
msgid "Could not delete file because it is scheduled in the future." msgid "Could not delete file because it is scheduled in the future."
msgstr "" msgstr "Kan bestand niet verwijderen omdat het in de toekomst is gepland."
#: airtime_mvc/application/controllers/LibraryController.php:282 #: airtime_mvc/application/controllers/LibraryController.php:282
msgid "Could not delete file(s)." msgid "Could not delete file(s)."
msgstr "" msgstr "Bestand(en) kan geen gegevens verwijderen."
#: airtime_mvc/application/controllers/LibraryController.php:322 #: airtime_mvc/application/controllers/LibraryController.php:322
#, php-format #, php-format
@ -329,13 +329,13 @@ msgid ""
"To configure and use the embeddable player you must:<br><br>\n" "To configure and use the embeddable player you must:<br><br>\n"
" 1. Enable at least one MP3, AAC, or OGG stream under System -> Streams<br>\n" " 1. Enable at least one MP3, AAC, or OGG stream under System -> Streams<br>\n"
" 2. Enable the Public Airtime API under System -> Preferences" " 2. Enable the Public Airtime API under System -> Preferences"
msgstr "" msgstr " Configureren en de integreerbare speler u moet gebruiken:<br><br>1. Inschakelen ten minste één MP3, AAC en OGG stream onder systeem->Streams<br>\n2. De openbare Airtime API inschakelen onder systeem->voorkeuren"
#: airtime_mvc/application/controllers/EmbeddablewidgetsController.php:41 #: airtime_mvc/application/controllers/EmbeddablewidgetsController.php:41
msgid "" msgid ""
"To use the embeddable weekly schedule widget you must:<br><br>\n" "To use the embeddable weekly schedule widget you must:<br><br>\n"
" Enable the Public Airtime API under System -> Preferences" " Enable the Public Airtime API under System -> Preferences"
msgstr "" msgstr "De integreerbare per schema widget u moet gebruiken:<br><br>\nde openbare Airtime API inschakelen onder systeem->voorkeuren"
#: airtime_mvc/application/controllers/ListenerstatController.php:51 #: airtime_mvc/application/controllers/ListenerstatController.php:51
msgid "" msgid ""
@ -391,19 +391,19 @@ msgstr "Onbekende afspeellijst"
#: airtime_mvc/application/controllers/ErrorController.php:78 #: airtime_mvc/application/controllers/ErrorController.php:78
msgid "Page not found." msgid "Page not found."
msgstr "" msgstr "Pagina niet gevonden"
#: airtime_mvc/application/controllers/ErrorController.php:87 #: airtime_mvc/application/controllers/ErrorController.php:87
msgid "The requested action is not supported." msgid "The requested action is not supported."
msgstr "" msgstr "De gevraagde actie wordt niet ondersteund."
#: airtime_mvc/application/controllers/ErrorController.php:98 #: airtime_mvc/application/controllers/ErrorController.php:98
msgid "You do not have permission to access this resource." msgid "You do not have permission to access this resource."
msgstr "" msgstr "U bent niet gemachtigd voor toegang tot deze bron."
#: airtime_mvc/application/controllers/ErrorController.php:109 #: airtime_mvc/application/controllers/ErrorController.php:109
msgid "An internal application error has occurred." msgid "An internal application error has occurred."
msgstr "" msgstr "Een interne toepassingsfout opgetreden."
#: airtime_mvc/application/controllers/Apiv2Controller.php:77 #: airtime_mvc/application/controllers/Apiv2Controller.php:77
#: airtime_mvc/application/controllers/ApiController.php:79 #: airtime_mvc/application/controllers/ApiController.php:79
@ -436,7 +436,7 @@ msgstr "Probleem met Liquidsoap..."
#: airtime_mvc/application/controllers/PreferenceController.php:493 #: airtime_mvc/application/controllers/PreferenceController.php:493
msgid "Request method not accepted" msgid "Request method not accepted"
msgstr "" msgstr "Verzoek methode niet geaccepteerd"
#: airtime_mvc/application/controllers/DashboardController.php:35 #: airtime_mvc/application/controllers/DashboardController.php:35
#: airtime_mvc/application/controllers/DashboardController.php:84 #: airtime_mvc/application/controllers/DashboardController.php:84
@ -454,7 +454,7 @@ msgstr "Je hebt geen toestemming om over te schakelen van de bron."
#: airtime_mvc/application/controllers/LoginController.php:43 #: airtime_mvc/application/controllers/LoginController.php:43
msgid "Please enter your username and password." msgid "Please enter your username and password."
msgstr "" msgstr "Voer uw gebruikersnaam en wachtwoord."
#: airtime_mvc/application/controllers/LoginController.php:93 #: airtime_mvc/application/controllers/LoginController.php:93
msgid "Wrong username or password provided. Please try again." msgid "Wrong username or password provided. Please try again."
@ -468,7 +468,7 @@ msgstr "E-mail kan niet worden verzonden. Controleer de instellingen van uw e-ma
#: airtime_mvc/application/controllers/LoginController.php:173 #: airtime_mvc/application/controllers/LoginController.php:173
msgid "There was a problem with the username or email address you entered." msgid "There was a problem with the username or email address you entered."
msgstr "" msgstr "Er was een probleem met de gebruikersnaam of email adres dat u hebt ingevoerd."
#: airtime_mvc/application/controllers/ApiController.php:244 #: airtime_mvc/application/controllers/ApiController.php:244
#: airtime_mvc/application/controllers/ApiController.php:317 #: airtime_mvc/application/controllers/ApiController.php:317
@ -570,39 +570,39 @@ msgstr "Selecteer een cursorpositie op de tijdlijn."
#: airtime_mvc/application/controllers/LocaleController.php:54 #: airtime_mvc/application/controllers/LocaleController.php:54
msgid "You haven't added any tracks" msgid "You haven't added any tracks"
msgstr "" msgstr "U hebt de nummers nog niet toegevoegd"
#: airtime_mvc/application/controllers/LocaleController.php:55 #: airtime_mvc/application/controllers/LocaleController.php:55
msgid "You haven't added any playlists" msgid "You haven't added any playlists"
msgstr "" msgstr "U heb niet alle afspeellijsten toegevoegd"
#: airtime_mvc/application/controllers/LocaleController.php:56 #: airtime_mvc/application/controllers/LocaleController.php:56
msgid "You haven't added any smart blocks" msgid "You haven't added any smart blocks"
msgstr "" msgstr "U nog niet toegevoegd een slimme blokken"
#: airtime_mvc/application/controllers/LocaleController.php:57 #: airtime_mvc/application/controllers/LocaleController.php:57
msgid "You haven't added any webstreams" msgid "You haven't added any webstreams"
msgstr "" msgstr "U hebt webstreams nog niet toegevoegd"
#: airtime_mvc/application/controllers/LocaleController.php:58 #: airtime_mvc/application/controllers/LocaleController.php:58
msgid "Learn about tracks" msgid "Learn about tracks"
msgstr "" msgstr "Informatie over nummers"
#: airtime_mvc/application/controllers/LocaleController.php:59 #: airtime_mvc/application/controllers/LocaleController.php:59
msgid "Learn about playlists" msgid "Learn about playlists"
msgstr "" msgstr "Meer informatie over afspeellijsten"
#: airtime_mvc/application/controllers/LocaleController.php:60 #: airtime_mvc/application/controllers/LocaleController.php:60
msgid "Learn about smart blocks" msgid "Learn about smart blocks"
msgstr "" msgstr "Informatie over slimme blokken"
#: airtime_mvc/application/controllers/LocaleController.php:61 #: airtime_mvc/application/controllers/LocaleController.php:61
msgid "Learn about webstreams" msgid "Learn about webstreams"
msgstr "" msgstr "Meer informatie over webstreams"
#: airtime_mvc/application/controllers/LocaleController.php:62 #: airtime_mvc/application/controllers/LocaleController.php:62
msgid "Click 'New' to create one." msgid "Click 'New' to create one."
msgstr "" msgstr "Klik op 'Nieuw' te maken."
#: airtime_mvc/application/controllers/LocaleController.php:67 #: airtime_mvc/application/controllers/LocaleController.php:67
msgid "Add to selected show" msgid "Add to selected show"
@ -636,12 +636,12 @@ msgstr "Gepland"
#: airtime_mvc/application/layouts/scripts/layout.phtml:78 #: airtime_mvc/application/layouts/scripts/layout.phtml:78
#: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:7 #: airtime_mvc/application/views/scripts/showbuilder/builderDialog.phtml:7
msgid "Tracks" msgid "Tracks"
msgstr "" msgstr "track"
#: airtime_mvc/application/controllers/LocaleController.php:75 #: airtime_mvc/application/controllers/LocaleController.php:75
#: airtime_mvc/application/layouts/scripts/layout.phtml:60 #: airtime_mvc/application/layouts/scripts/layout.phtml:60
msgid "Playlist" msgid "Playlist"
msgstr "" msgstr "Afspeellijsten"
#: airtime_mvc/application/controllers/LocaleController.php:79 #: airtime_mvc/application/controllers/LocaleController.php:79
msgid "Bit Rate" msgid "Bit Rate"
@ -1068,7 +1068,7 @@ msgstr "Als je live streaming client niet om een gebruikersnaam vraagt, moet dit
msgid "" msgid ""
"WARNING: This will restart your stream and may cause a short dropout for " "WARNING: This will restart your stream and may cause a short dropout for "
"your listeners!" "your listeners!"
msgstr "" msgstr "Waarschuwing: Dit zal opnieuw opstarten van uw stream en een korte dropout kan veroorzaken voor uw luisteraars!"
#: airtime_mvc/application/controllers/LocaleController.php:185 #: airtime_mvc/application/controllers/LocaleController.php:185
msgid "" msgid ""
@ -1255,19 +1255,19 @@ msgstr "dec"
#: airtime_mvc/application/controllers/LocaleController.php:245 #: airtime_mvc/application/controllers/LocaleController.php:245
msgid "Today" msgid "Today"
msgstr "" msgstr "vandaag"
#: airtime_mvc/application/controllers/LocaleController.php:246 #: airtime_mvc/application/controllers/LocaleController.php:246
msgid "Day" msgid "Day"
msgstr "" msgstr "dag"
#: airtime_mvc/application/controllers/LocaleController.php:247 #: airtime_mvc/application/controllers/LocaleController.php:247
msgid "Week" msgid "Week"
msgstr "" msgstr "week"
#: airtime_mvc/application/controllers/LocaleController.php:248 #: airtime_mvc/application/controllers/LocaleController.php:248
msgid "Month" msgid "Month"
msgstr "" msgstr "maand"
#: airtime_mvc/application/controllers/LocaleController.php:249 #: airtime_mvc/application/controllers/LocaleController.php:249
#: airtime_mvc/application/forms/GeneralPreferences.php:158 #: airtime_mvc/application/forms/GeneralPreferences.php:158
@ -1384,15 +1384,15 @@ msgstr "Duur"
#: airtime_mvc/application/controllers/LocaleController.php:276 #: airtime_mvc/application/controllers/LocaleController.php:276
msgid "Filtering out " msgid "Filtering out "
msgstr "" msgstr "Filteren op"
#: airtime_mvc/application/controllers/LocaleController.php:277 #: airtime_mvc/application/controllers/LocaleController.php:277
msgid " of " msgid " of "
msgstr "" msgstr "of"
#: airtime_mvc/application/controllers/LocaleController.php:278 #: airtime_mvc/application/controllers/LocaleController.php:278
msgid " records" msgid " records"
msgstr "" msgstr "records"
#: airtime_mvc/application/controllers/LocaleController.php:284 #: airtime_mvc/application/controllers/LocaleController.php:284
#: airtime_mvc/application/layouts/scripts/layout.phtml:140 #: airtime_mvc/application/layouts/scripts/layout.phtml:140
@ -1492,7 +1492,7 @@ msgstr "Niets selecteren"
#: airtime_mvc/application/controllers/LocaleController.php:306 #: airtime_mvc/application/controllers/LocaleController.php:306
msgid "Trim overbooked shows" msgid "Trim overbooked shows"
msgstr "" msgstr "Trim overboekte shows"
#: airtime_mvc/application/controllers/LocaleController.php:307 #: airtime_mvc/application/controllers/LocaleController.php:307
msgid "Remove selected scheduled items" msgid "Remove selected scheduled items"
@ -1840,11 +1840,11 @@ msgstr "%sPrint weergave%sA.u.b. gebruik printfunctie in uw browser wilt afdrukk
#: airtime_mvc/application/controllers/LocaleController.php:407 #: airtime_mvc/application/controllers/LocaleController.php:407
msgid "New Show" msgid "New Show"
msgstr "" msgstr "Nieuw Show"
#: airtime_mvc/application/controllers/LocaleController.php:408 #: airtime_mvc/application/controllers/LocaleController.php:408
msgid "New Log Entry" msgid "New Log Entry"
msgstr "" msgstr "Nieuwe logboekvermelding"
#: airtime_mvc/application/controllers/ShowbuilderController.php:138 #: airtime_mvc/application/controllers/ShowbuilderController.php:138
msgid "Select cursor" msgid "Select cursor"
@ -1865,43 +1865,43 @@ msgstr "Rebroadcast van show %s van %s in %s"
#: airtime_mvc/application/common/UsabilityHints.php:55 #: airtime_mvc/application/common/UsabilityHints.php:55
msgid "Upload some tracks below to add them to your library!" msgid "Upload some tracks below to add them to your library!"
msgstr "" msgstr "Uploaden sommige tracks hieronder toe te voegen aan uw bibliotheek!"
#: airtime_mvc/application/common/UsabilityHints.php:57 #: airtime_mvc/application/common/UsabilityHints.php:57
#, php-format #, php-format
msgid "" msgid ""
"It looks like you haven't uploaded any audio files yet. %sUpload a file " "It looks like you haven't uploaded any audio files yet. %sUpload a file "
"now%s." "now%s."
msgstr "" msgstr "Het lijkt erop dat u alle audio bestanden nog niet hebt geüpload. %sUpload een bestand nu%s."
#: airtime_mvc/application/common/UsabilityHints.php:63 #: airtime_mvc/application/common/UsabilityHints.php:63
msgid "Click the 'New Show' button and fill out the required fields." msgid "Click the 'New Show' button and fill out the required fields."
msgstr "" msgstr "Klik op de knop 'Nieuwe Show' en vul de vereiste velden."
#: airtime_mvc/application/common/UsabilityHints.php:65 #: airtime_mvc/application/common/UsabilityHints.php:65
#, php-format #, php-format
msgid "" msgid ""
"It looks like you don't have any shows scheduled. %sCreate a show now%s." "It looks like you don't have any shows scheduled. %sCreate a show now%s."
msgstr "" msgstr "Het lijkt erop dat u niet alle shows gepland. %sCreate een show nu%s."
#: airtime_mvc/application/common/UsabilityHints.php:73 #: airtime_mvc/application/common/UsabilityHints.php:73
msgid "" msgid ""
"To start broadcasting, cancel the current linked show by clicking on it and " "To start broadcasting, cancel the current linked show by clicking on it and "
"selecting 'Cancel Show'." "selecting 'Cancel Show'."
msgstr "" msgstr "Om te beginnen omroep, de huidige gekoppelde show te annuleren door op te klikken en te selecteren 'Annuleren Show'."
#: airtime_mvc/application/common/UsabilityHints.php:75 #: airtime_mvc/application/common/UsabilityHints.php:75
#, php-format #, php-format
msgid "" msgid ""
"Linked shows need to be filled with tracks before it starts. To start broadcasting cancel the current linked show and schedule an unlinked show.\n" "Linked shows need to be filled with tracks before it starts. To start broadcasting cancel the current linked show and schedule an unlinked show.\n"
" %sCreate an unlinked show now%s." " %sCreate an unlinked show now%s."
msgstr "" msgstr "Gekoppelde toont dienen te worden opgevuld met tracks voordat het begint. Om te beginnen met omroep annuleren de huidige gekoppeld Toon en plannen van een niet-gekoppelde show.\n%sCreate een niet-gekoppelde Toon nu%s."
#: airtime_mvc/application/common/UsabilityHints.php:80 #: airtime_mvc/application/common/UsabilityHints.php:80
msgid "" msgid ""
"To start broadcasting, click on the current show and select 'Schedule " "To start broadcasting, click on the current show and select 'Schedule "
"Tracks'" "Tracks'"
msgstr "" msgstr "Om te beginnen omroep, klik op de huidige show en selecteer 'Schema Tracks'"
#: airtime_mvc/application/common/UsabilityHints.php:82 #: airtime_mvc/application/common/UsabilityHints.php:82
#, php-format #, php-format

View File

@ -42,13 +42,6 @@
} }
} }
@media screen and (max-width: 1260px) {
#library_display_length > label {
/* Hacky, but datatables dumps the select inside the label for some reason... */
font-size: 0 !important;
}
}
@media screen and (max-width: 1200px) { @media screen and (max-width: 1200px) {
.wrapper { .wrapper {
-webkit-flex-flow: column !important; -webkit-flex-flow: column !important;
@ -529,10 +522,10 @@ li.ui-state-default {
} }
.spl_sortable { .spl_sortable {
position: relative;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
flex: 1 100%; flex: 1 100%;
-webkit-flex: 1 100%;
margin: 4px 0; margin: 4px 0;
min-height: 0; min-height: 0;

View File

@ -981,7 +981,7 @@ div.blockOverlay {
font-size:12px; font-size:12px;
font-weight:normal; font-weight:normal;
padding: 0.2em 1em; padding: 0.2em 1em;
margin-right:3px; margin-right:0;
} }
.dataTables_filter input { .dataTables_filter input {
background: url("images/search_auto_bg.png") no-repeat scroll 0 0 #DDDDDD; background: url("images/search_auto_bg.png") no-repeat scroll 0 0 #DDDDDD;
@ -3960,3 +3960,6 @@ li .ui-state-hover {
#whatsnew li { #whatsnew li {
margin-top: 20px; margin-top: 20px;
} }
/* jQuery dialog */
.no-close .ui-dialog-titlebar-close {display: none }

View File

@ -79,13 +79,19 @@ function getDatatablesStrings(overrideDict) {
"sSearch": $.i18n._(""), "sSearch": $.i18n._(""),
"sZeroRecords": $.i18n._("No matching records found"), "sZeroRecords": $.i18n._("No matching records found"),
"oPaginate": { "oPaginate": {
"sFirst": $.i18n._("First"), "sFirst": "&laquo;",
"sLast": $.i18n._("Last"), "sLast": "&raquo;",
"sNext": $.i18n._("Next"), "sNext": "&rsaquo;",
"sPrevious": $.i18n._("Previous") "sPrevious": "&lsaquo;"
}, },
//"oPaginate": {
// "sFirst": $.i18n._("First"),
// "sLast": $.i18n._("Last"),
// "sNext": $.i18n._("Next"),
// "sPrevious": $.i18n._("Previous")
//},
"oAria": { "oAria": {
"sSortAscending": $.i18n._(": activate to sort column ascending"), "sSortAscending": $.i18n._(": activate to sort column ascending"),
"sSortDescending": $.i18n._(": activate to sort column descending") "sSortDescending": $.i18n._(": activate to sort column descending")
} }
}; };

View File

@ -18,6 +18,7 @@ var AIRTIME = (function(AIRTIME) {
check = true; check = true;
} }
var sortable = $(".spl_sortable");
if ($("#show_builder_table").is(":visible")) { if ($("#show_builder_table").is(":visible")) {
if (shows.length === 0) { if (shows.length === 0) {
check = false; check = false;
@ -28,13 +29,15 @@ var AIRTIME = (function(AIRTIME) {
} else if (current.length !== 0) { } else if (current.length !== 0) {
btnText = $.i18n._('Add to current show'); btnText = $.i18n._('Add to current show');
} }
} else { } else if (sortable.length > 0 && sortable.is(":visible")) {
var objType = $('.active-tab .obj_type').val(); var objType = $('.active-tab .obj_type').val();
if (objType === 'block') { if (objType === 'block') {
btnText = $.i18n._('Add to current smart block'); btnText = $.i18n._('Add to current smart block');
} else { } else {
btnText = $.i18n._('Add to current playlist'); btnText = $.i18n._('Add to current playlist');
} }
} else {
check = false;
} }
if (check) { if (check) {

View File

@ -553,12 +553,6 @@ var AIRTIME = (function(AIRTIME) {
return getDatatablesStrings({ return getDatatablesStrings({
"sEmptyTable": $.i18n._(""), "sEmptyTable": $.i18n._(""),
"sZeroRecords": $.i18n._("No matching results found.") "sZeroRecords": $.i18n._("No matching results found.")
//"oPaginate": {
// "sFirst": "<<",
// "sLast": ">>",
// "sNext": ">",
// "sPrevious": "<"
//}
}); });
break; break;
} }

View File

@ -537,10 +537,11 @@ var AIRTIME = (function(AIRTIME){
return; return;
} }
newTab.tab.on("click", function() { newTab.tab.on("click", function() {
var type = newTab.pane.find(".obj_type").val(),
url = baseUrl + ((type === "playlist" || type === "block") ? 'playlist' : 'webstream') + '/edit';
if (!$(this).hasClass('active')) { if (!$(this).hasClass('active')) {
AIRTIME.showbuilder.switchTab(newTab.pane, newTab.tab); AIRTIME.showbuilder.switchTab(newTab.pane, newTab.tab);
$.post(baseUrl+'playlist/edit', $.post(url, {format: "json", id: newTab.pane.find(".obj_id").val(), type: type});
{format: "json", id: newTab.pane.find(".obj_id").val(), type: newTab.pane.find(".obj_type").val()});
} }
}); });
AIRTIME.playlist.init(); AIRTIME.playlist.init();

View File

@ -7,8 +7,11 @@ $(document).ready(function() {
width: 500, width: 500,
resizable: false, resizable: false,
modal: true, modal: true,
closeOnEscape: false,
position:['center','center'], position:['center','center'],
dialogClass: 'no-close',
buttons: [ buttons: [
/* Testing removing the Not Now button for higher engagement
{ {
id: "setup-later", id: "setup-later",
text: $.i18n._("Not Now"), text: $.i18n._("Not Now"),
@ -16,7 +19,7 @@ $(document).ready(function() {
click: function() { click: function() {
$(this).dialog("close"); $(this).dialog("close");
} }
}, },*/
{ {
id: "help_airtime", id: "help_airtime",
text: $.i18n._("OK"), text: $.i18n._("OK"),

View File

@ -94,8 +94,6 @@ AIRTIME = (function(AIRTIME) {
check = validateTimeRange(); check = validateTimeRange();
console.log(check);
if (check.isValid) { if (check.isValid) {
//reset timestamp value since input values could have changed. //reset timestamp value since input values could have changed.
AIRTIME.showbuilder.resetTimestamp(); AIRTIME.showbuilder.resetTimestamp();
@ -111,7 +109,8 @@ AIRTIME = (function(AIRTIME) {
fn.ops = {}; fn.ops = {};
} }
fn.ops.showFilter = op.find("#sb_show_filter").val(); fn.ops.showFilter = op.find("#sb_show_filter").val();
fn.ops.myShows = op.find("#sb_my_shows").is(":checked") ? 1 : 0; // Hacky?
fn.ops.myShows = (fn.ops.showFilter == -1) ? 1 : 0;
} }
oTable.fnDraw(); oTable.fnDraw();