| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 1.1.1 Free | |
| 4 | + * @version 2.0.12 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <info@fireplugins.com> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | - * @copyright Copyright © 2022 FirePlugins All Rights Reserved | |
| 8 | + * @copyright Copyright © 2023 FirePlugins All Rights Reserved | |
| 9 | 9 | * @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | namespace FireBox\Core\Controllers; |
| @@ -72,35 +72,40 @@ | ||
| 72 | 72 | protected function setMainButtons() |
| 73 | 73 | { |
| 74 | 74 | $this->main_buttons = [ |
| 75 | 75 | [ |
| 76 | - 'label' => 'FB_NEW_POPUP', | |
| 76 | + 'label' => firebox()->_('FB_NEW_POPUP'), | |
| 77 | 77 | 'icon' => 'dashicons-plus-alt', |
| 78 | 78 | 'url' => admin_url('post-new.php?post_type=firebox'), |
| 79 | 79 | 'li_class' => 'fpf-open-library-modal' |
| 80 | 80 | ], |
| 81 | 81 | [ |
| 82 | - 'label' => 'FB_POPUPS', | |
| 82 | + 'label' => firebox()->_('FB_POPUPS'), | |
| 83 | 83 | 'icon' => 'dashicons-menu-alt', |
| 84 | 84 | 'url' => admin_url('edit.php?post_type=firebox') |
| 85 | 85 | ], |
| 86 | 86 | [ |
| 87 | - 'label' => 'FPF_ANALYTICS', | |
| 87 | + 'label' => fpframework()->_('FPF_ANALYTICS'), | |
| 88 | 88 | 'icon' => 'dashicons-chart-bar', |
| 89 | 89 | 'url' => admin_url('admin.php?page=firebox-analytics') |
| 90 | 90 | ], |
| 91 | 91 | [ |
| 92 | - 'label' => 'FPF_IMPORT', | |
| 92 | + 'label' => fpframework()->_('FPF_SUBMISSIONS'), | |
| 93 | + 'icon' => 'dashicons-list-view', | |
| 94 | + 'url' => admin_url('admin.php?page=firebox-submissions') | |
| 95 | + ], | |
| 96 | + [ | |
| 97 | + 'label' => fpframework()->_('FPF_IMPORT'), | |
| 93 | 98 | 'icon' => 'dashicons-upload', |
| 94 | 99 | 'url' => admin_url('admin.php?page=firebox-import') |
| 95 | 100 | ], |
| 96 | 101 | [ |
| 97 | - 'label' => 'FPF_SETTINGS', | |
| 102 | + 'label' => fpframework()->_('FPF_SETTINGS'), | |
| 98 | 103 | 'icon' => 'dashicons-admin-generic', |
| 99 | 104 | 'url' => admin_url('admin.php?page=firebox-settings') |
| 100 | 105 | ], |
| 101 | 106 | [ |
| 102 | - 'label' => 'FPF_DOCUMENTATION', | |
| 107 | + 'label' => fpframework()->_('FPF_DOCUMENTATION'), | |
| 103 | 108 | 'icon' => 'dashicons-editor-help', |
| 104 | 109 | 'url' => FBOX_DOC_URL, |
| 105 | 110 | 'target' => '_blank' |
| 106 | 111 | ] |