| @@ -10,16 +10,12 @@ | ||
| 10 | 10 | $debug = true; |
| 11 | 11 | |
| 12 | 12 | $customify_config = require $basepath . 'customify_config.php'; |
| 13 | 13 | |
| 14 | -// Load our mock customizer section | |
| 15 | -// @todo Remove this at some point. | |
| 16 | -require_once $basepath . 'mock_style_manager_config.php'; | |
| 17 | - | |
| 18 | 14 | return array( |
| 19 | 15 | 'plugin-name' => 'pixcustomify', |
| 20 | 16 | 'settings-key' => 'pixcustomify_settings', |
| 21 | - 'textdomain' => 'customify', | |
| 17 | + 'textdomain' => 'pixcustomify_txtd', | |
| 22 | 18 | 'template-paths' => array( |
| 23 | 19 | $basepath . 'core/views/form-partials/', |
| 24 | 20 | $basepath . 'views/form-partials/', |
| 25 | 21 | ), |
| @@ -28,9 +24,8 @@ | ||
| 28 | 24 | 'general' => include 'settings/general' . EXT, |
| 29 | 25 | 'output' => include 'settings/output' . EXT, |
| 30 | 26 | 'typography' => include 'settings/typography' . EXT, |
| 31 | 27 | 'css_editor' => include 'settings/css_editor' . EXT, |
| 32 | - 'tools' => include 'settings/tools' . EXT, | |
| 33 | 28 | ), |
| 34 | 29 | 'processor' => array( |
| 35 | 30 | // callback signature: (array $input, customifyProcessor $processor) |
| 36 | 31 | 'preupdate' => array( |
| @@ -47,9 +42,9 @@ | ||
| 47 | 42 | 'checks' => array( |
| 48 | 43 | 'counter' => array( 'is_numeric', 'not_empty' ), |
| 49 | 44 | ), |
| 50 | 45 | 'errors' => array( |
| 51 | - 'not_empty' => __( 'Invalid Value.', 'customify' ), | |
| 46 | + 'not_empty' => __( 'Invalid Value.', pixcustomify::textdomain() ), | |
| 52 | 47 | ), |
| 53 | 48 | // 'callbacks' => array( |
| 54 | 49 | // 'save_settings' => 'save_customizer_plugin_settings' |
| 55 | 50 | // ), |
| @@ -62,5 +57,5 @@ | ||
| 62 | 57 | 'default_options' => array( |
| 63 | 58 | |
| 64 | 59 | ) |
| 65 | 60 | |
| 66 | -); # config | |
| 61 | +); # config | |