From 1c5ead9468501d47b2da4199b6446ae028532b65 Mon Sep 17 00:00:00 2001 From: farggus <61951994+farggus@users.noreply.github.com> Date: Tue, 24 Mar 2020 02:53:39 +0200 Subject: [PATCH] Updated for translate --- .../application/configs/navigation.php | 412 +++++++++--------- 1 file changed, 206 insertions(+), 206 deletions(-) diff --git a/airtime_mvc/application/configs/navigation.php b/airtime_mvc/application/configs/navigation.php index 0c30ba663..e5fb67a80 100644 --- a/airtime_mvc/application/configs/navigation.php +++ b/airtime_mvc/application/configs/navigation.php @@ -1,206 +1,206 @@ - _('My Podcast'), - 'module' => 'default', - 'controller' => 'podcast', - 'action' => 'station', - 'resource' => 'podcast', - 'class' => '' -); -$pages[] = array( - 'label' => _('Radio Page'), - 'uri' => '/', - 'resource' => '', - 'class' => '', - 'pages' => array(), - 'visible' => false -); -$pages[] = array( - 'label' => _('Calendar'), - 'module' => 'default', - 'controller' => 'schedule', - 'action' => 'index', - 'resource' => 'schedule', - 'class' => '' -); -$pages[] = array( - 'label' => _('Widgets'), - 'module' => 'default', - 'controller' => 'embeddablewidgets', - 'action' => 'player', - 'resource' => 'embeddablewidgets', - 'class' => '', - 'title' => 'Widgets', - 'pages' => array( - array( - 'label' => _('Player'), - 'module' => 'default', - 'controller' => 'embeddablewidgets', - 'action' => 'player', - ), - array( - 'label' => _('Weekly Schedule'), - 'module' => 'default', - 'controller' => 'embeddablewidgets', - 'action' => 'schedule', - ), - array( - 'label' => _('Facebook'), - 'module' => 'default', - 'controller' => 'embeddablewidgets', - 'action' => 'facebook', - ) - ) -); -$pages[] = array( - 'label' => _("Settings"), - 'action' => 'edit-user', - 'module' => 'default', - 'controller' => 'user', - 'class' => '', - 'title' => 'Settings', - 'pages' => array( - array( - 'label' => _('General'), - 'module' => 'default', - 'controller' => 'preference', - 'resource' => 'preference' - ), - array( - 'label' => _('My Profile'), - 'controller' => 'user', - 'action' => 'edit-user' - ), - array( - 'label' => _('Users'), - 'module' => 'default', - 'controller' => 'user', - 'action' => 'add-user', - 'resource' => 'user' - ),array( - 'label' => _('Track Types'), - 'module' => 'default', - 'controller' => 'tracktype', - 'action' => 'add-tracktype', - 'resource' => 'tracktype' - ), - array( - 'label' => _('Streams'), - 'module' => 'default', - 'controller' => 'preference', - 'action' => 'stream-setting', - 'resource' => 'preference' - ), - array( - 'label' => _('Status'), - 'module' => 'default', - 'controller' => 'systemstatus', - 'action' => 'index', - 'resource' => 'systemstatus' - ), - ) -); -$pages[] = array( - 'label' => _("Analytics"), - 'module' => 'default', - 'controller' => 'playouthistory', - 'action' => 'index', - 'resource' => 'playouthistory', - 'class' => '', - 'title' => 'Analytics', - 'pages' => array( - array( - 'label' => _('Playout History'), - 'module' => 'default', - 'controller' => 'playouthistory', - 'action' => 'index', - 'resource' => 'playouthistory' - ), - array( - 'label' => _('History Templates'), - 'module' => 'default', - 'controller' => 'playouthistorytemplate', - 'action' => 'index', - 'resource' => 'playouthistorytemplate' - ), - array( - 'label' => _('Listener Stats'), - 'module' => 'default', - 'controller' => 'listenerstat', - 'action' => 'index', - 'resource' => 'listenerstat' - ), - array( - 'label' => _('Show Listener Stats'), - 'module' => 'default', - 'controller' => 'listenerstat', - 'action' => 'show', - 'resource' => 'showlistenerstat' - ), - - ) -); -$pages[] = array( - 'label' => _('Help'), - 'controller' => 'dashboard', - 'action' => 'help', - 'resource' => 'dashboard', - 'class' => '', - 'title' => 'Help', - 'pages' => array( - array( - 'label' => _('Getting Started'), - 'module' => 'default', - 'controller' => 'dashboard', - 'action' => 'help', - 'resource' => 'dashboard' - ), - array( - 'label' => _('FAQ'), - 'uri' => FAQ_URL, - 'target' => "_blank" - ), - array( - 'label' => _('User Manual'), - 'uri' => USER_MANUAL_URL, - 'target' => "_blank" - ), - array( - 'label' => _('Get Help Online'), - 'uri' => LIBRETIME_DISCOURSE_URL, - 'target' => "_blank" - ), - array( - 'label' => _(sprintf("Help Translate %s", PRODUCT_NAME)), - 'uri' => AIRTIME_TRANSIFEX_URL, - 'target' => "_blank" - ), - array( - 'label' => _('What\'s New?'), - 'uri' => LIBRETIME_WHATS_NEW_URL, - 'target' => "_blank" - ) - ) -); - - -// Create container from array -$container = new Zend_Navigation($pages); -$container->id = "nav"; - -//store it in the registry: -Zend_Registry::set('Zend_Navigation', $container); + _('My Podcast'), + 'module' => 'default', + 'controller' => 'podcast', + 'action' => 'station', + 'resource' => 'podcast', + 'class' => '' +); +$pages[] = array( + 'label' => _('Radio Page'), + 'uri' => '/', + 'resource' => '', + 'class' => '', + 'pages' => array(), + 'visible' => false +); +$pages[] = array( + 'label' => _('Calendar'), + 'module' => 'default', + 'controller' => 'schedule', + 'action' => 'index', + 'resource' => 'schedule', + 'class' => '' +); +$pages[] = array( + 'label' => _('Widgets'), + 'module' => 'default', + 'controller' => 'embeddablewidgets', + 'action' => 'player', + 'resource' => 'embeddablewidgets', + 'class' => '', + 'title' => 'Widgets', + 'pages' => array( + array( + 'label' => _('Player'), + 'module' => 'default', + 'controller' => 'embeddablewidgets', + 'action' => 'player', + ), + array( + 'label' => _('Weekly Schedule'), + 'module' => 'default', + 'controller' => 'embeddablewidgets', + 'action' => 'schedule', + ), + array( + 'label' => _('Facebook'), + 'module' => 'default', + 'controller' => 'embeddablewidgets', + 'action' => 'facebook', + ) + ) +); +$pages[] = array( + 'label' => _("Settings"), + 'action' => 'edit-user', + 'module' => 'default', + 'controller' => 'user', + 'class' => '', + 'title' => 'Settings', + 'pages' => array( + array( + 'label' => _('General'), + 'module' => 'default', + 'controller' => 'preference', + 'resource' => 'preference' + ), + array( + 'label' => _('My Profile'), + 'controller' => 'user', + 'action' => 'edit-user' + ), + array( + 'label' => _('Users'), + 'module' => 'default', + 'controller' => 'user', + 'action' => 'add-user', + 'resource' => 'user' + ),array( + 'label' => _('Track Types'), + 'module' => 'default', + 'controller' => 'tracktype', + 'action' => 'add-tracktype', + 'resource' => 'tracktype' + ), + array( + 'label' => _('Streams'), + 'module' => 'default', + 'controller' => 'preference', + 'action' => 'stream-setting', + 'resource' => 'preference' + ), + array( + 'label' => _('Status'), + 'module' => 'default', + 'controller' => 'systemstatus', + 'action' => 'index', + 'resource' => 'systemstatus' + ), + ) +); +$pages[] = array( + 'label' => _("Analytics"), + 'module' => 'default', + 'controller' => 'playouthistory', + 'action' => 'index', + 'resource' => 'playouthistory', + 'class' => '', + 'title' => 'Analytics', + 'pages' => array( + array( + 'label' => _('Playout History'), + 'module' => 'default', + 'controller' => 'playouthistory', + 'action' => 'index', + 'resource' => 'playouthistory' + ), + array( + 'label' => _('History Templates'), + 'module' => 'default', + 'controller' => 'playouthistorytemplate', + 'action' => 'index', + 'resource' => 'playouthistorytemplate' + ), + array( + 'label' => _('Listener Stats'), + 'module' => 'default', + 'controller' => 'listenerstat', + 'action' => 'index', + 'resource' => 'listenerstat' + ), + array( + 'label' => _('Show Listener Stats'), + 'module' => 'default', + 'controller' => 'listenerstat', + 'action' => 'show', + 'resource' => 'showlistenerstat' + ), + + ) +); +$pages[] = array( + 'label' => _('Help'), + 'controller' => 'dashboard', + 'action' => 'help', + 'resource' => 'dashboard', + 'class' => '', + 'title' => 'Help', + 'pages' => array( + array( + 'label' => _('Getting Started'), + 'module' => 'default', + 'controller' => 'dashboard', + 'action' => 'help', + 'resource' => 'dashboard' + ), + array( + 'label' => _('FAQ'), + 'uri' => FAQ_URL, + 'target' => "_blank" + ), + array( + 'label' => _('User Manual'), + 'uri' => USER_MANUAL_URL, + 'target' => "_blank" + ), + array( + 'label' => _('Get Help Online'), + 'uri' => LIBRETIME_DISCOURSE_URL, + 'target' => "_blank" + ), + array( + 'label' => _('Help Translate Libretime'), + 'uri' => AIRTIME_TRANSIFEX_URL, + 'target' => "_blank" + ), + array( + 'label' => _('What\'s New?'), + 'uri' => LIBRETIME_WHATS_NEW_URL, + 'target' => "_blank" + ) + ) +); + + +// Create container from array +$container = new Zend_Navigation($pages); +$container->id = "nav"; + +//store it in the registry: +Zend_Registry::set('Zend_Navigation', $container);