Passed
Push — master ( a55571...b67e15 )
by Brian
13:08 queued 07:42
created
includes/data/admin-settings.php 1 patch
Spacing   +172 added lines, -172 removed lines patch added patch discarded remove patch
@@ -8,40 +8,40 @@  discard block
 block discarded – undo
8 8
  * @version 1.0.19
9 9
  */
10 10
 
11
-defined( 'ABSPATH' ) || exit;
11
+defined('ABSPATH') || exit;
12 12
 
13 13
 $getpaid_pages = GetPaid_Installer::get_pages();
14
-$pages         = wpinv_get_pages( true );
14
+$pages         = wpinv_get_pages(true);
15 15
 
16 16
 $currencies = wpinv_get_currencies();
17 17
 
18 18
 $currency_code_options = array();
19
-foreach ( $currencies as $code => $name ) {
20
-    $currency_code_options[ $code ] = $code . ' - ' . $name . ' (' . wpinv_currency_symbol( $code ) . ')';
19
+foreach ($currencies as $code => $name) {
20
+    $currency_code_options[$code] = $code . ' - ' . $name . ' (' . wpinv_currency_symbol($code) . ')';
21 21
 }
22 22
 
23 23
 $invoice_number_padd_options = array();
24
-for ( $i = 0; $i <= 20; $i++ ) {
25
-    $invoice_number_padd_options[ $i ] = $i;
24
+for ($i = 0; $i <= 20; $i++) {
25
+    $invoice_number_padd_options[$i] = $i;
26 26
 }
27 27
 
28 28
 $currency_symbol = wpinv_currency_symbol();
29 29
 
30 30
 $last_number = $reset_number = '';
31
-if ( $last_invoice_number = get_option( 'wpinv_last_invoice_number' ) ) {
32
-    $last_invoice_number = preg_replace( '/[^0-9]/', '', $last_invoice_number );
31
+if ($last_invoice_number = get_option('wpinv_last_invoice_number')) {
32
+    $last_invoice_number = preg_replace('/[^0-9]/', '', $last_invoice_number);
33 33
 
34
-    if ( ! empty( $last_invoice_number ) ) {
35
-        $last_number = ' ' . wp_sprintf( __( "( Last Invoice's sequential number: <b>%s</b> )", 'invoicing' ), $last_invoice_number );
34
+    if (!empty($last_invoice_number)) {
35
+        $last_number = ' ' . wp_sprintf(__("( Last Invoice's sequential number: <b>%s</b> )", 'invoicing'), $last_invoice_number);
36 36
     }
37 37
 
38
-    $nonce = wp_create_nonce( 'reset_invoice_count' );
38
+    $nonce = wp_create_nonce('reset_invoice_count');
39 39
     $reset_number = '<a href="' . add_query_arg(
40 40
         array(
41 41
 			'reset_invoice_count' => 1,
42 42
 			'_nonce'              => $nonce,
43 43
         )
44
-    ) . '" class="btn button">' . __( 'Force Reset Sequence', 'invoicing' ) . '</a>';
44
+    ) . '" class="btn button">' . __('Force Reset Sequence', 'invoicing') . '</a>';
45 45
 }
46 46
 
47 47
 $alert_wrapper_start = '<p style="color: #F00">';
@@ -54,59 +54,59 @@  discard block
 block discarded – undo
54 54
             'main'             => array(
55 55
                 'location_settings' => array(
56 56
                     'id'   => 'location_settings',
57
-                    'name' => '<h3>' . __( 'Default Location', 'invoicing' ) . '</h3>',
57
+                    'name' => '<h3>' . __('Default Location', 'invoicing') . '</h3>',
58 58
                     'desc' => '',
59 59
                     'type' => 'header',
60 60
                 ),
61 61
                 'default_country'   => array(
62 62
                     'id'          => 'default_country',
63
-                    'name'        => __( 'Default Country', 'invoicing' ),
64
-                    'desc'        => __( 'Where does your store operate from?', 'invoicing' ),
63
+                    'name'        => __('Default Country', 'invoicing'),
64
+                    'desc'        => __('Where does your store operate from?', 'invoicing'),
65 65
                     'type'        => 'select',
66 66
                     'options'     => wpinv_get_country_list(),
67 67
                     'std'         => 'GB',
68 68
                     'class'       => 'wpi_select2',
69
-                    'placeholder' => __( 'Select a country', 'invoicing' ),
69
+                    'placeholder' => __('Select a country', 'invoicing'),
70 70
                 ),
71 71
                 'default_state'     => array(
72 72
                     'id'          => 'default_state',
73
-                    'name'        => __( 'Default State / Province', 'invoicing' ),
74
-                    'desc'        => __( 'What state / province does your store operate from?', 'invoicing' ),
73
+                    'name'        => __('Default State / Province', 'invoicing'),
74
+                    'desc'        => __('What state / province does your store operate from?', 'invoicing'),
75 75
                     'type'        => 'country_states',
76 76
                     'class'       => 'wpi_select2',
77
-                    'placeholder' => __( 'Select a state', 'invoicing' ),
77
+                    'placeholder' => __('Select a state', 'invoicing'),
78 78
                 ),
79 79
                 'store_name'        => array(
80 80
                     'id'   => 'store_name',
81
-                    'name' => __( 'Store Name', 'invoicing' ),
82
-                    'desc' => __( 'Store name to print on invoices.', 'invoicing' ),
83
-                    'std'  => get_option( 'blogname' ),
81
+                    'name' => __('Store Name', 'invoicing'),
82
+                    'desc' => __('Store name to print on invoices.', 'invoicing'),
83
+                    'std'  => get_option('blogname'),
84 84
                     'type' => 'text',
85 85
                 ),
86 86
                 'logo'              => array(
87 87
                     'id'   => 'logo',
88
-                    'name' => __( 'Logo URL', 'invoicing' ),
89
-                    'desc' => __( 'Store logo to print on invoices.', 'invoicing' ),
88
+                    'name' => __('Logo URL', 'invoicing'),
89
+                    'desc' => __('Store logo to print on invoices.', 'invoicing'),
90 90
                     'type' => 'text',
91 91
                 ),
92 92
                 'logo_width'        => array(
93 93
                     'id'          => 'logo_width',
94
-                    'name'        => __( 'Logo width', 'invoicing' ),
95
-                    'desc'        => __( 'Logo width to use in invoice image.', 'invoicing' ),
94
+                    'name'        => __('Logo width', 'invoicing'),
95
+                    'desc'        => __('Logo width to use in invoice image.', 'invoicing'),
96 96
                     'type'        => 'number',
97
-                    'placeholder' => __( 'Auto', 'invoicing' ),
97
+                    'placeholder' => __('Auto', 'invoicing'),
98 98
                 ),
99 99
                 'logo_height'       => array(
100 100
                     'id'          => 'logo_height',
101
-                    'name'        => __( 'Logo height', 'invoicing' ),
102
-                    'desc'        => __( 'Logo height to use in invoice image.', 'invoicing' ),
101
+                    'name'        => __('Logo height', 'invoicing'),
102
+                    'desc'        => __('Logo height to use in invoice image.', 'invoicing'),
103 103
                     'type'        => 'number',
104
-                    'placeholder' => __( 'Auto', 'invoicing' ),
104
+                    'placeholder' => __('Auto', 'invoicing'),
105 105
                 ),
106 106
                 'store_address'     => array(
107 107
                     'id'   => 'store_address',
108
-                    'name' => __( 'Store Address', 'invoicing' ),
109
-                    'desc' => __( 'Enter the store address to display on invoice', 'invoicing' ),
108
+                    'name' => __('Store Address', 'invoicing'),
109
+                    'desc' => __('Enter the store address to display on invoice', 'invoicing'),
110 110
                     'type' => 'textarea',
111 111
                 ),
112 112
 
@@ -114,114 +114,114 @@  discard block
 block discarded – undo
114 114
             'page_section'     => array(
115 115
                 'page_settings'             => array(
116 116
                     'id'   => 'page_settings',
117
-                    'name' => '<h3>' . __( 'Page Settings', 'invoicing' ) . '</h3>',
117
+                    'name' => '<h3>' . __('Page Settings', 'invoicing') . '</h3>',
118 118
                     'desc' => '',
119 119
                     'type' => 'header',
120 120
                 ),
121 121
                 'checkout_page'             => array(
122 122
                     'id'              => 'checkout_page',
123
-                    'name'            => __( 'Checkout Page', 'invoicing' ),
124
-                    'desc'            => __( 'This is the checkout page where buyers will complete their payments. The <b>[wpinv_checkout]</b> short code must be on this page.', 'invoicing' ),
123
+                    'name'            => __('Checkout Page', 'invoicing'),
124
+                    'desc'            => __('This is the checkout page where buyers will complete their payments. The <b>[wpinv_checkout]</b> short code must be on this page.', 'invoicing'),
125 125
                     'type'            => 'select',
126 126
                     'options'         => $pages,
127 127
                     'class'           => 'wpi_select2',
128
-                    'placeholder'     => __( 'Select a page', 'invoicing' ),
129
-                    'default_content' => empty( $getpaid_pages['checkout_page'] ) ? '' : $getpaid_pages['checkout_page']['content'],
128
+                    'placeholder'     => __('Select a page', 'invoicing'),
129
+                    'default_content' => empty($getpaid_pages['checkout_page']) ? '' : $getpaid_pages['checkout_page']['content'],
130 130
                     'help-tip'        => true,
131 131
                 ),
132 132
                 'success_page'              => array(
133 133
                     'id'              => 'success_page',
134
-                    'name'            => __( 'Success Page', 'invoicing' ),
135
-                    'desc'            => __( 'This is the page buyers are sent to after completing their payments. The <b>[wpinv_receipt]</b> short code should be on this page.', 'invoicing' ),
134
+                    'name'            => __('Success Page', 'invoicing'),
135
+                    'desc'            => __('This is the page buyers are sent to after completing their payments. The <b>[wpinv_receipt]</b> short code should be on this page.', 'invoicing'),
136 136
                     'type'            => 'select',
137 137
                     'options'         => $pages,
138 138
                     'class'           => 'wpi_select2',
139
-                    'placeholder'     => __( 'Select a page', 'invoicing' ),
140
-                    'default_content' => empty( $getpaid_pages['success_page'] ) ? '' : $getpaid_pages['success_page']['content'],
139
+                    'placeholder'     => __('Select a page', 'invoicing'),
140
+                    'default_content' => empty($getpaid_pages['success_page']) ? '' : $getpaid_pages['success_page']['content'],
141 141
                     'help-tip'        => true,
142 142
                 ),
143 143
                 'failure_page'              => array(
144 144
                     'id'              => 'failure_page',
145
-                    'name'            => __( 'Failed Transaction Page', 'invoicing' ),
146
-                    'desc'            => __( 'This is the page buyers are sent to if their transaction is cancelled or fails.', 'invoicing' ),
145
+                    'name'            => __('Failed Transaction Page', 'invoicing'),
146
+                    'desc'            => __('This is the page buyers are sent to if their transaction is cancelled or fails.', 'invoicing'),
147 147
                     'type'            => 'select',
148 148
                     'options'         => $pages,
149 149
                     'class'           => 'wpi_select2',
150
-                    'placeholder'     => __( 'Select a page', 'invoicing' ),
151
-                    'default_content' => empty( $getpaid_pages['failure_page'] ) ? '' : $getpaid_pages['failure_page']['content'],
150
+                    'placeholder'     => __('Select a page', 'invoicing'),
151
+                    'default_content' => empty($getpaid_pages['failure_page']) ? '' : $getpaid_pages['failure_page']['content'],
152 152
                     'help-tip'        => true,
153 153
                 ),
154 154
                 'invoice_history_page'      => array(
155 155
                     'id'              => 'invoice_history_page',
156
-                    'name'            => __( 'Invoice History Page', 'invoicing' ),
157
-                    'desc'            => __( 'This page shows an invoice history for the current user. The <b>[wpinv_history]</b> short code should be on this page.', 'invoicing' ),
156
+                    'name'            => __('Invoice History Page', 'invoicing'),
157
+                    'desc'            => __('This page shows an invoice history for the current user. The <b>[wpinv_history]</b> short code should be on this page.', 'invoicing'),
158 158
                     'type'            => 'select',
159 159
                     'options'         => $pages,
160 160
                     'class'           => 'wpi_select2',
161
-                    'placeholder'     => __( 'Select a page', 'invoicing' ),
162
-                    'default_content' => empty( $getpaid_pages['invoice_history_page'] ) ? '' : $getpaid_pages['invoice_history_page']['content'],
161
+                    'placeholder'     => __('Select a page', 'invoicing'),
162
+                    'default_content' => empty($getpaid_pages['invoice_history_page']) ? '' : $getpaid_pages['invoice_history_page']['content'],
163 163
                     'help-tip'        => true,
164 164
                 ),
165 165
                 'invoice_subscription_page' => array(
166 166
                     'id'              => 'invoice_subscription_page',
167
-                    'name'            => __( 'Invoice Subscriptions Page', 'invoicing' ),
168
-                    'desc'            => __( 'This page shows subscriptions history for the current user. The <b>[wpinv_subscriptions]</b> short code should be on this page.', 'invoicing' ),
167
+                    'name'            => __('Invoice Subscriptions Page', 'invoicing'),
168
+                    'desc'            => __('This page shows subscriptions history for the current user. The <b>[wpinv_subscriptions]</b> short code should be on this page.', 'invoicing'),
169 169
                     'type'            => 'select',
170 170
                     'options'         => $pages,
171 171
                     'class'           => 'wpi_select2',
172
-                    'placeholder'     => __( 'Select a page', 'invoicing' ),
173
-                    'default_content' => empty( $getpaid_pages['invoice_subscription_page'] ) ? '' : $getpaid_pages['invoice_subscription_page']['content'],
172
+                    'placeholder'     => __('Select a page', 'invoicing'),
173
+                    'default_content' => empty($getpaid_pages['invoice_subscription_page']) ? '' : $getpaid_pages['invoice_subscription_page']['content'],
174 174
                     'help-tip'        => true,
175 175
                 ),
176 176
             ),
177 177
             'currency_section' => array(
178 178
                 'currency_settings'   => array(
179 179
                     'id'   => 'currency_settings',
180
-                    'name' => '<h3>' . __( 'Currency Settings', 'invoicing' ) . '</h3>',
180
+                    'name' => '<h3>' . __('Currency Settings', 'invoicing') . '</h3>',
181 181
                     'desc' => '',
182 182
                     'type' => 'header',
183 183
                 ),
184 184
                 'currency'            => array(
185 185
                     'id'      => 'currency',
186
-                    'name'    => __( 'Currency', 'invoicing' ),
187
-                    'desc'    => __( 'Choose your currency. Note that some payment gateways have currency restrictions.', 'invoicing' ),
186
+                    'name'    => __('Currency', 'invoicing'),
187
+                    'desc'    => __('Choose your currency. Note that some payment gateways have currency restrictions.', 'invoicing'),
188 188
                     'type'    => 'select',
189 189
                     'class'   => 'wpi_select2',
190 190
                     'options' => $currency_code_options,
191 191
                 ),
192 192
                 'currency_position'   => array(
193 193
                     'id'      => 'currency_position',
194
-                    'name'    => __( 'Currency Position', 'invoicing' ),
195
-                    'desc'    => __( 'Choose the location of the currency sign.', 'invoicing' ),
194
+                    'name'    => __('Currency Position', 'invoicing'),
195
+                    'desc'    => __('Choose the location of the currency sign.', 'invoicing'),
196 196
                     'type'    => 'select',
197 197
                     'class'   => 'wpi_select2',
198 198
                     'options' => array(
199
-                        'left'        => __( 'Left', 'invoicing' ) . ' (' . $currency_symbol . wpinv_format_amount( '99.99' ) . ')',
200
-                        'right'       => __( 'Right', 'invoicing' ) . ' (' . wpinv_format_amount( '99.99' ) . $currency_symbol . ')',
201
-                        'left_space'  => __( 'Left with space', 'invoicing' ) . ' (' . $currency_symbol . ' ' . wpinv_format_amount( '99.99' ) . ')',
202
-                        'right_space' => __( 'Right with space', 'invoicing' ) . ' (' . wpinv_format_amount( '99.99' ) . ' ' . $currency_symbol . ')',
199
+                        'left'        => __('Left', 'invoicing') . ' (' . $currency_symbol . wpinv_format_amount('99.99') . ')',
200
+                        'right'       => __('Right', 'invoicing') . ' (' . wpinv_format_amount('99.99') . $currency_symbol . ')',
201
+                        'left_space'  => __('Left with space', 'invoicing') . ' (' . $currency_symbol . ' ' . wpinv_format_amount('99.99') . ')',
202
+                        'right_space' => __('Right with space', 'invoicing') . ' (' . wpinv_format_amount('99.99') . ' ' . $currency_symbol . ')',
203 203
                     ),
204 204
                 ),
205 205
                 'thousands_separator' => array(
206 206
                     'id'   => 'thousands_separator',
207
-                    'name' => __( 'Thousands Separator', 'invoicing' ),
208
-                    'desc' => __( 'The symbol (usually , or .) to separate thousands', 'invoicing' ),
207
+                    'name' => __('Thousands Separator', 'invoicing'),
208
+                    'desc' => __('The symbol (usually , or .) to separate thousands', 'invoicing'),
209 209
                     'type' => 'text',
210 210
                     'size' => 'small',
211 211
                     'std'  => ',',
212 212
                 ),
213 213
                 'decimal_separator'   => array(
214 214
                     'id'   => 'decimal_separator',
215
-                    'name' => __( 'Decimal Separator', 'invoicing' ),
216
-                    'desc' => __( 'The symbol (usually , or .) to separate decimal points', 'invoicing' ),
215
+                    'name' => __('Decimal Separator', 'invoicing'),
216
+                    'desc' => __('The symbol (usually , or .) to separate decimal points', 'invoicing'),
217 217
                     'type' => 'text',
218 218
                     'size' => 'small',
219 219
                     'std'  => '.',
220 220
                 ),
221 221
                 'decimals'            => array(
222 222
                     'id'   => 'decimals',
223
-                    'name' => __( 'Number of Decimals', 'invoicing' ),
224
-                    'desc' => __( 'This sets the number of decimal points shown in displayed prices.', 'invoicing' ),
223
+                    'name' => __('Number of Decimals', 'invoicing'),
224
+                    'desc' => __('This sets the number of decimal points shown in displayed prices.', 'invoicing'),
225 225
                     'type' => 'number',
226 226
                     'size' => 'small',
227 227
                     'std'  => '2',
@@ -233,21 +233,21 @@  discard block
 block discarded – undo
233 233
             'labels'           => array(
234 234
                 'labels'                   => array(
235 235
                     'id'   => 'labels_settings',
236
-                    'name' => '<h3>' . __( 'Invoice Labels', 'invoicing' ) . '</h3>',
236
+                    'name' => '<h3>' . __('Invoice Labels', 'invoicing') . '</h3>',
237 237
                     'desc' => '',
238 238
                     'type' => 'header',
239 239
                 ),
240 240
                 'vat_invoice_notice_label' => array(
241 241
                     'id'   => 'vat_invoice_notice_label',
242
-                    'name' => __( 'Invoice Notice Label', 'invoicing' ),
243
-                    'desc' => __( 'Use this to add an invoice notice section (label) to your invoices', 'invoicing' ),
242
+                    'name' => __('Invoice Notice Label', 'invoicing'),
243
+                    'desc' => __('Use this to add an invoice notice section (label) to your invoices', 'invoicing'),
244 244
                     'type' => 'text',
245 245
                     'size' => 'regular',
246 246
                 ),
247 247
                 'vat_invoice_notice'       => array(
248 248
                     'id'   => 'vat_invoice_notice',
249
-                    'name' => __( 'Invoice notice', 'invoicing' ),
250
-                    'desc' => __( 'Use this to add an invoice notice section (description) to your invoices', 'invoicing' ),
249
+                    'name' => __('Invoice notice', 'invoicing'),
250
+                    'desc' => __('Use this to add an invoice notice section (description) to your invoices', 'invoicing'),
251 251
                     'type' => 'text',
252 252
                     'size' => 'regular',
253 253
                 ),
@@ -260,22 +260,22 @@  discard block
 block discarded – undo
260 260
             'main' => array(
261 261
                 'gateway_settings' => array(
262 262
                     'id'   => 'api_header',
263
-                    'name' => '<h3>' . __( 'Gateway Settings', 'invoicing' ) . '</h3>',
263
+                    'name' => '<h3>' . __('Gateway Settings', 'invoicing') . '</h3>',
264 264
                     'desc' => '',
265 265
                     'type' => 'header',
266 266
                 ),
267 267
                 'gateways'         => array(
268 268
                     'id'      => 'gateways',
269
-                    'name'    => __( 'Payment Gateways', 'invoicing' ),
270
-                    'desc'    => __( 'Choose the payment gateways you want to enable.', 'invoicing' ),
269
+                    'name'    => __('Payment Gateways', 'invoicing'),
270
+                    'desc'    => __('Choose the payment gateways you want to enable.', 'invoicing'),
271 271
                     'type'    => 'gateways',
272
-                    'std'     => array( 'manual' => 1 ),
272
+                    'std'     => array('manual' => 1),
273 273
                     'options' => wpinv_get_payment_gateways(),
274 274
                 ),
275 275
                 'default_gateway'  => array(
276 276
                     'id'      => 'default_gateway',
277
-                    'name'    => __( 'Default Gateway', 'invoicing' ),
278
-                    'desc'    => __( 'This gateway will be loaded automatically with the checkout page.', 'invoicing' ),
277
+                    'name'    => __('Default Gateway', 'invoicing'),
278
+                    'desc'    => __('This gateway will be loaded automatically with the checkout page.', 'invoicing'),
279 279
                     'type'    => 'gateway_select',
280 280
                     'std'     => 'manual',
281 281
                     'class'   => 'wpi_select2',
@@ -291,32 +291,32 @@  discard block
 block discarded – undo
291 291
             'main'  => array(
292 292
                 'tax_settings'          => array(
293 293
                     'id'   => 'tax_settings',
294
-                    'name' => '<h3>' . __( 'Tax Settings', 'invoicing' ) . '</h3>',
294
+                    'name' => '<h3>' . __('Tax Settings', 'invoicing') . '</h3>',
295 295
                     'type' => 'header',
296 296
                 ),
297 297
 
298 298
                 'enable_taxes'          => array(
299 299
                     'id'   => 'enable_taxes',
300
-                    'name' => __( 'Enable Taxes', 'invoicing' ),
301
-                    'desc' => __( 'Enable tax rates and calculations.', 'invoicing' ),
300
+                    'name' => __('Enable Taxes', 'invoicing'),
301
+                    'desc' => __('Enable tax rates and calculations.', 'invoicing'),
302 302
                     'type' => 'checkbox',
303 303
                     'std'  => 0,
304 304
                 ),
305 305
 
306 306
                 'tax_subtotal_rounding' => array(
307 307
                     'id'   => 'tax_subtotal_rounding',
308
-                    'name' => __( 'Rounding', 'invoicing' ),
309
-                    'desc' => __( 'Round tax at subtotal level, instead of rounding per tax rate', 'invoicing' ),
308
+                    'name' => __('Rounding', 'invoicing'),
309
+                    'desc' => __('Round tax at subtotal level, instead of rounding per tax rate', 'invoicing'),
310 310
                     'type' => 'checkbox',
311 311
                     'std'  => 1,
312 312
                 ),
313 313
 
314 314
                 'prices_include_tax'    => array(
315 315
                     'id'      => 'prices_include_tax',
316
-                    'name'    => __( 'Prices entered with tax', 'invoicing' ),
316
+                    'name'    => __('Prices entered with tax', 'invoicing'),
317 317
                     'options' => array(
318
-                        'yes' => __( 'Yes, I will enter prices inclusive of tax', 'invoicing' ),
319
-                        'no'  => __( 'No, I will enter prices exclusive of tax', 'invoicing' ),
318
+                        'yes' => __('Yes, I will enter prices inclusive of tax', 'invoicing'),
319
+                        'no'  => __('No, I will enter prices exclusive of tax', 'invoicing'),
320 320
                     ),
321 321
                     'type'    => 'select',
322 322
                     'std'     => 'no',
@@ -324,10 +324,10 @@  discard block
 block discarded – undo
324 324
 
325 325
                 'tax_base'              => array(
326 326
                     'id'      => 'tax_base',
327
-                    'name'    => __( 'Calculate tax based on', 'invoicing' ),
327
+                    'name'    => __('Calculate tax based on', 'invoicing'),
328 328
                     'options' => array(
329
-                        'billing' => __( 'Customer billing address', 'invoicing' ),
330
-                        'base'    => __( 'Shop base address', 'invoicing' ),
329
+                        'billing' => __('Customer billing address', 'invoicing'),
330
+                        'base'    => __('Shop base address', 'invoicing'),
331 331
                     ),
332 332
                     'type'    => 'select',
333 333
                     'std'     => 'billing',
@@ -335,10 +335,10 @@  discard block
 block discarded – undo
335 335
 
336 336
                 'tax_display_totals'    => array(
337 337
                     'id'      => 'tax_display_totals',
338
-                    'name'    => __( 'Display tax totals', 'invoicing' ),
338
+                    'name'    => __('Display tax totals', 'invoicing'),
339 339
                     'options' => array(
340
-                        'single'     => __( 'As a single total', 'invoicing' ),
341
-                        'individual' => __( 'As individual tax rates', 'invoicing' ),
340
+                        'single'     => __('As a single total', 'invoicing'),
341
+                        'individual' => __('As individual tax rates', 'invoicing'),
342 342
                     ),
343 343
                     'type'    => 'select',
344 344
                     'std'     => 'individual',
@@ -346,8 +346,8 @@  discard block
 block discarded – undo
346 346
 
347 347
                 'tax_rate'              => array(
348 348
                     'id'   => 'tax_rate',
349
-                    'name' => __( 'Fallback Tax Rate', 'invoicing' ),
350
-                    'desc' => __( 'Enter a percentage, such as 6.5. Customers not in a specific rate will be charged this rate.', 'invoicing' ),
349
+                    'name' => __('Fallback Tax Rate', 'invoicing'),
350
+                    'desc' => __('Enter a percentage, such as 6.5. Customers not in a specific rate will be charged this rate.', 'invoicing'),
351 351
                     'type' => 'number',
352 352
                     'size' => 'small',
353 353
                     'min'  => '0',
@@ -359,8 +359,8 @@  discard block
 block discarded – undo
359 359
             'rates' => array(
360 360
                 'tax_rates' => array(
361 361
                     'id'   => 'tax_rates',
362
-                    'name' => '<h3>' . __( 'Tax Rates', 'invoicing' ) . '</h3>',
363
-                    'desc' => __( 'Enter tax rates for specific regions.', 'invoicing' ),
362
+                    'name' => '<h3>' . __('Tax Rates', 'invoicing') . '</h3>',
363
+                    'desc' => __('Enter tax rates for specific regions.', 'invoicing'),
364 364
                     'type' => 'tax_rates',
365 365
                 ),
366 366
             ),
@@ -369,45 +369,45 @@  discard block
 block discarded – undo
369 369
 
370 370
                 'vat_company_name'         => array(
371 371
                     'id'   => 'vat_company_name',
372
-                    'name' => __( 'Company Name', 'invoicing' ),
373
-                    'desc' => wp_sprintf( __( 'Verify your company name and  VAT number on the %1$sEU VIES System.%2$s', 'invoicing' ), '<a href="http://ec.europa.eu/taxation_customs/vies/" target="_blank">', '</a>' ),
372
+                    'name' => __('Company Name', 'invoicing'),
373
+                    'desc' => wp_sprintf(__('Verify your company name and  VAT number on the %1$sEU VIES System.%2$s', 'invoicing'), '<a href="http://ec.europa.eu/taxation_customs/vies/" target="_blank">', '</a>'),
374 374
                     'type' => 'text',
375 375
                     'size' => 'regular',
376 376
                 ),
377 377
 
378 378
                 'vat_number'               => array(
379 379
                     'id'   => 'vat_number',
380
-                    'name' => __( 'VAT Number', 'invoicing' ),
381
-                    'desc' => __( 'Enter your VAT number including the country identifier, eg: GB123456789', 'invoicing' ),
380
+                    'name' => __('VAT Number', 'invoicing'),
381
+                    'desc' => __('Enter your VAT number including the country identifier, eg: GB123456789', 'invoicing'),
382 382
                     'type' => 'text',
383 383
                     'size' => 'regular',
384 384
                 ),
385 385
 
386 386
                 'vat_prevent_b2c_purchase' => array(
387 387
                     'id'   => 'vat_prevent_b2c_purchase',
388
-                    'name' => __( 'Prevent B2C Sales', 'invoicing' ),
389
-                    'desc' => __( 'Require everyone in the EU to provide a VAT number.', 'invoicing' ),
388
+                    'name' => __('Prevent B2C Sales', 'invoicing'),
389
+                    'desc' => __('Require everyone in the EU to provide a VAT number.', 'invoicing'),
390 390
                     'type' => 'checkbox',
391 391
                 ),
392 392
 
393 393
                 'validate_vat_number'      => array(
394 394
                     'id'   => 'validate_vat_number',
395
-                    'name' => __( 'Validate VAT Number', 'invoicing' ),
396
-                    'desc' => __( 'Validate VAT numbers with VIES.', 'invoicing' ),
395
+                    'name' => __('Validate VAT Number', 'invoicing'),
396
+                    'desc' => __('Validate VAT numbers with VIES.', 'invoicing'),
397 397
                     'type' => 'checkbox',
398 398
                 ),
399 399
 
400 400
                 'vat_same_country_rule'    => array(
401 401
                     'id'          => 'vat_same_country_rule',
402
-                    'name'        => __( 'Same Country Rule', 'invoicing' ),
403
-                    'desc'        => __( 'What should happen if a customer is from the same country as your business?', 'invoicing' ),
402
+                    'name'        => __('Same Country Rule', 'invoicing'),
403
+                    'desc'        => __('What should happen if a customer is from the same country as your business?', 'invoicing'),
404 404
                     'type'        => 'select',
405 405
                     'options'     => array(
406
-                        'no'      => __( 'Do not charge tax', 'invoicing' ),
407
-                        'always'  => __( 'Charge tax unless vat number is validated', 'invoicing' ),
408
-                        'vat_too' => __( 'Charge tax even if vat number is validated', 'invoicing' ),
406
+                        'no'      => __('Do not charge tax', 'invoicing'),
407
+                        'always'  => __('Charge tax unless vat number is validated', 'invoicing'),
408
+                        'vat_too' => __('Charge tax even if vat number is validated', 'invoicing'),
409 409
                     ),
410
-                    'placeholder' => __( 'Select an option', 'invoicing' ),
410
+                    'placeholder' => __('Select an option', 'invoicing'),
411 411
                     'std'         => 'vat_too',
412 412
                 ),
413 413
 
@@ -422,66 +422,66 @@  discard block
 block discarded – undo
422 422
             'main' => array(
423 423
                 'email_settings_header'       => array(
424 424
                     'id'   => 'email_settings_header',
425
-                    'name' => '<h3>' . __( 'Email Sender Options', 'invoicing' ) . '</h3>',
425
+                    'name' => '<h3>' . __('Email Sender Options', 'invoicing') . '</h3>',
426 426
                     'type' => 'header',
427 427
                 ),
428 428
                 'email_from_name'             => array(
429 429
                     'id'   => 'email_from_name',
430
-                    'name' => __( 'From Name', 'invoicing' ),
431
-                    'desc' => __( 'Enter the sender\'s name appears in outgoing invoice emails. This should be your site name.', 'invoicing' ),
432
-                    'std'  => esc_attr( get_bloginfo( 'name', 'display' ) ),
430
+                    'name' => __('From Name', 'invoicing'),
431
+                    'desc' => __('Enter the sender\'s name appears in outgoing invoice emails. This should be your site name.', 'invoicing'),
432
+                    'std'  => esc_attr(get_bloginfo('name', 'display')),
433 433
                     'type' => 'text',
434 434
                 ),
435 435
                 'email_from'                  => array(
436 436
                     'id'   => 'email_from',
437
-                    'name' => __( 'From Email', 'invoicing' ),
438
-                    'desc' => sprintf( __( 'Email address to send invoice emails from. This will act as the "from" address. %1$s If emails are not being sent it may be that your hosting prevents emails being sent if the email domains do not match.%2$s', 'invoicing' ), $alert_wrapper_start, $alert_wrapper_close ),
439
-                    'std'  => get_option( 'admin_email' ),
437
+                    'name' => __('From Email', 'invoicing'),
438
+                    'desc' => sprintf(__('Email address to send invoice emails from. This will act as the "from" address. %1$s If emails are not being sent it may be that your hosting prevents emails being sent if the email domains do not match.%2$s', 'invoicing'), $alert_wrapper_start, $alert_wrapper_close),
439
+                    'std'  => get_option('admin_email'),
440 440
                     'type' => 'text',
441 441
                 ),
442 442
                 'admin_email'                 => array(
443 443
                     'id'   => 'admin_email',
444
-                    'name' => __( 'Admin Email', 'invoicing' ),
445
-                    'desc' => __( 'Where should we send admin notifications? This will is also act as the "reply-to" address for invoice emails', 'invoicing' ),
446
-                    'std'  => get_option( 'admin_email' ),
444
+                    'name' => __('Admin Email', 'invoicing'),
445
+                    'desc' => __('Where should we send admin notifications? This will is also act as the "reply-to" address for invoice emails', 'invoicing'),
446
+                    'std'  => get_option('admin_email'),
447 447
                     'type' => 'text',
448 448
                 ),
449 449
                 'skip_email_free_invoice'     => array(
450 450
                     'id'   => 'skip_email_free_invoice',
451
-                    'name' => __( 'Skip Free Invoices', 'invoicing' ),
452
-                    'desc' => __( 'Check this to disable sending emails for free invoices.', 'invoicing' ),
451
+                    'name' => __('Skip Free Invoices', 'invoicing'),
452
+                    'desc' => __('Check this to disable sending emails for free invoices.', 'invoicing'),
453 453
                     'type' => 'checkbox',
454 454
                     'std'  => false,
455 455
                 ),
456 456
                 'overdue_settings_header'     => array(
457 457
                     'id'   => 'overdue_settings_header',
458
-                    'name' => '<h3>' . __( 'Due Date Settings', 'invoicing' ) . '</h3>',
458
+                    'name' => '<h3>' . __('Due Date Settings', 'invoicing') . '</h3>',
459 459
                     'type' => 'header',
460 460
                 ),
461 461
                 'overdue_active'              => array(
462 462
                     'id'   => 'overdue_active',
463
-                    'name' => __( 'Enable Due Date', 'invoicing' ),
464
-                    'desc' => __( 'Check this to enable due date option for invoices.', 'invoicing' ),
463
+                    'name' => __('Enable Due Date', 'invoicing'),
464
+                    'desc' => __('Check this to enable due date option for invoices.', 'invoicing'),
465 465
                     'type' => 'checkbox',
466 466
                     'std'  => false,
467 467
                 ),
468 468
                 'email_template_header'       => array(
469 469
                     'id'   => 'email_template_header',
470
-                    'name' => '<h3>' . __( 'Email Template', 'invoicing' ) . '</h3>',
470
+                    'name' => '<h3>' . __('Email Template', 'invoicing') . '</h3>',
471 471
                     'type' => 'header',
472 472
                 ),
473 473
                 'email_header_image'          => array(
474 474
                     'id'   => 'email_header_image',
475
-                    'name' => __( 'Header Image', 'invoicing' ),
476
-                    'desc' => __( 'URL to an image you want to show in the email header. Upload images using the media uploader (Admin > Media).', 'invoicing' ),
475
+                    'name' => __('Header Image', 'invoicing'),
476
+                    'desc' => __('URL to an image you want to show in the email header. Upload images using the media uploader (Admin > Media).', 'invoicing'),
477 477
                     'std'  => '',
478 478
                     'type' => 'text',
479 479
                 ),
480 480
                 'email_footer_text'           => array(
481 481
                     'id'    => 'email_footer_text',
482
-                    'name'  => __( 'Footer Text', 'invoicing' ),
483
-                    'desc'  => __( 'The text to appear in the footer of all invoice emails.', 'invoicing' ),
484
-                    'std'   => get_bloginfo( 'name', 'display' ) . ' - ' . __( 'Powered by GetPaid', 'invoicing' ),
482
+                    'name'  => __('Footer Text', 'invoicing'),
483
+                    'desc'  => __('The text to appear in the footer of all invoice emails.', 'invoicing'),
484
+                    'std'   => get_bloginfo('name', 'display') . ' - ' . __('Powered by GetPaid', 'invoicing'),
485 485
                     'type'  => 'textarea',
486 486
                     'class' => 'regular-text',
487 487
                     'rows'  => 2,
@@ -489,29 +489,29 @@  discard block
 block discarded – undo
489 489
                 ),
490 490
                 'email_base_color'            => array(
491 491
                     'id'   => 'email_base_color',
492
-                    'name' => __( 'Base Color', 'invoicing' ),
493
-                    'desc' => __( 'The base color for invoice email template. Default <code>#557da2</code>.', 'invoicing' ),
492
+                    'name' => __('Base Color', 'invoicing'),
493
+                    'desc' => __('The base color for invoice email template. Default <code>#557da2</code>.', 'invoicing'),
494 494
                     'std'  => '#557da2',
495 495
                     'type' => 'color',
496 496
                 ),
497 497
                 'email_background_color'      => array(
498 498
                     'id'   => 'email_background_color',
499
-                    'name' => __( 'Background Color', 'invoicing' ),
500
-                    'desc' => __( 'The background color of email template. Default <code>#f5f5f5</code>.', 'invoicing' ),
499
+                    'name' => __('Background Color', 'invoicing'),
500
+                    'desc' => __('The background color of email template. Default <code>#f5f5f5</code>.', 'invoicing'),
501 501
                     'std'  => '#f5f5f5',
502 502
                     'type' => 'color',
503 503
                 ),
504 504
                 'email_body_background_color' => array(
505 505
                     'id'   => 'email_body_background_color',
506
-                    'name' => __( 'Body Background Color', 'invoicing' ),
507
-                    'desc' => __( 'The main body background color of email template. Default <code>#fdfdfd</code>.', 'invoicing' ),
506
+                    'name' => __('Body Background Color', 'invoicing'),
507
+                    'desc' => __('The main body background color of email template. Default <code>#fdfdfd</code>.', 'invoicing'),
508 508
                     'std'  => '#fdfdfd',
509 509
                     'type' => 'color',
510 510
                 ),
511 511
                 'email_text_color'            => array(
512 512
                     'id'   => 'email_text_color',
513
-                    'name' => __( 'Body Text Color', 'invoicing' ),
514
-                    'desc' => __( 'The main body text color. Default <code>#505050</code>.', 'invoicing' ),
513
+                    'name' => __('Body Text Color', 'invoicing'),
514
+                    'desc' => __('The main body text color. Default <code>#505050</code>.', 'invoicing'),
515 515
                     'std'  => '#505050',
516 516
                     'type' => 'color',
517 517
                 ),
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
     ),
527 527
 
528 528
     // Integrations.
529
-    'integrations' => wp_list_pluck( getpaid_get_integration_settings(), 'settings', 'id' ),
529
+    'integrations' => wp_list_pluck(getpaid_get_integration_settings(), 'settings', 'id'),
530 530
 
531 531
     /** Privacy Settings */
532 532
     'privacy'      => apply_filters(
@@ -535,17 +535,17 @@  discard block
 block discarded – undo
535 535
             'main' => array(
536 536
                 'invoicing_privacy_policy_settings' => array(
537 537
                     'id'   => 'invoicing_privacy_policy_settings',
538
-                    'name' => '<h3>' . __( 'Privacy Policy', 'invoicing' ) . '</h3>',
538
+                    'name' => '<h3>' . __('Privacy Policy', 'invoicing') . '</h3>',
539 539
                     'type' => 'header',
540 540
                 ),
541 541
                 'privacy_page'                      => array(
542 542
                     'id'          => 'privacy_page',
543
-                    'name'        => __( 'Privacy Page', 'invoicing' ),
544
-                    'desc'        => __( 'If no privacy policy page set in Settings->Privacy default settings, this page will be used on checkout page.', 'invoicing' ),
543
+                    'name'        => __('Privacy Page', 'invoicing'),
544
+                    'desc'        => __('If no privacy policy page set in Settings->Privacy default settings, this page will be used on checkout page.', 'invoicing'),
545 545
                     'type'        => 'select',
546
-                    'options'     => wpinv_get_pages( true, __( 'Select a page', 'invoicing' ) ),
546
+                    'options'     => wpinv_get_pages(true, __('Select a page', 'invoicing')),
547 547
                     'class'       => 'wpi_select2',
548
-                    'placeholder' => __( 'Select a page', 'invoicing' ),
548
+                    'placeholder' => __('Select a page', 'invoicing'),
549 549
                 ),
550 550
             ),
551 551
         )
@@ -557,19 +557,19 @@  discard block
 block discarded – undo
557 557
             'main'       => array(
558 558
                 'invoice_number_format_settings' => array(
559 559
                     'id'   => 'invoice_number_format_settings',
560
-                    'name' => '<h3>' . __( 'Invoice Number', 'invoicing' ) . '</h3>',
560
+                    'name' => '<h3>' . __('Invoice Number', 'invoicing') . '</h3>',
561 561
                     'type' => 'header',
562 562
                 ),
563 563
                 'sequential_invoice_number'      => array(
564 564
                     'id'   => 'sequential_invoice_number',
565
-                    'name' => __( 'Sequential Invoice Numbers', 'invoicing' ),
566
-                    'desc' => __( 'Check this box to enable sequential invoice numbers.', 'invoicing' ) . $reset_number,
565
+                    'name' => __('Sequential Invoice Numbers', 'invoicing'),
566
+                    'desc' => __('Check this box to enable sequential invoice numbers.', 'invoicing') . $reset_number,
567 567
                     'type' => 'checkbox',
568 568
                 ),
569 569
                 'invoice_sequence_start'         => array(
570 570
                     'id'    => 'invoice_sequence_start',
571
-                    'name'  => __( 'Sequential Starting Number', 'invoicing' ),
572
-                    'desc'  => __( 'The number at which the invoice number sequence should begin.', 'invoicing' ) . $last_number,
571
+                    'name'  => __('Sequential Starting Number', 'invoicing'),
572
+                    'desc'  => __('The number at which the invoice number sequence should begin.', 'invoicing') . $last_number,
573 573
                     'type'  => 'number',
574 574
                     'size'  => 'small',
575 575
                     'std'   => '1',
@@ -577,8 +577,8 @@  discard block
 block discarded – undo
577 577
                 ),
578 578
                 'invoice_number_padd'            => array(
579 579
                     'id'      => 'invoice_number_padd',
580
-                    'name'    => __( 'Minimum Digits', 'invoicing' ),
581
-                    'desc'    => __( 'If the invoice number has less digits than this number, it is left padded with 0s. Ex: invoice number 108 will padded to 00108 if digits set to 5. The default 0 means no padding.', 'invoicing' ),
580
+                    'name'    => __('Minimum Digits', 'invoicing'),
581
+                    'desc'    => __('If the invoice number has less digits than this number, it is left padded with 0s. Ex: invoice number 108 will padded to 00108 if digits set to 5. The default 0 means no padding.', 'invoicing'),
582 582
                     'type'    => 'select',
583 583
                     'options' => $invoice_number_padd_options,
584 584
                     'std'     => 5,
@@ -586,8 +586,8 @@  discard block
 block discarded – undo
586 586
                 ),
587 587
                 'invoice_number_prefix'          => array(
588 588
                     'id'          => 'invoice_number_prefix',
589
-                    'name'        => __( 'Invoice Number Prefix', 'invoicing' ),
590
-                    'desc'        => __( 'Prefix for all invoice numbers. Ex: INV-', 'invoicing' ),
589
+                    'name'        => __('Invoice Number Prefix', 'invoicing'),
590
+                    'desc'        => __('Prefix for all invoice numbers. Ex: INV-', 'invoicing'),
591 591
                     'type'        => 'text',
592 592
                     'size'        => 'regular',
593 593
                     'std'         => 'INV-',
@@ -595,46 +595,46 @@  discard block
 block discarded – undo
595 595
                 ),
596 596
                 'invoice_number_postfix'         => array(
597 597
                     'id'   => 'invoice_number_postfix',
598
-                    'name' => __( 'Invoice Number Postfix', 'invoicing' ),
599
-                    'desc' => __( 'Postfix for all invoice numbers.', 'invoicing' ),
598
+                    'name' => __('Invoice Number Postfix', 'invoicing'),
599
+                    'desc' => __('Postfix for all invoice numbers.', 'invoicing'),
600 600
                     'type' => 'text',
601 601
                     'size' => 'regular',
602 602
                     'std'  => '',
603 603
                 ),
604 604
                 'checkout_settings'              => array(
605 605
                     'id'   => 'checkout_settings',
606
-                    'name' => '<h3>' . __( 'Checkout Settings', 'invoicing' ) . '</h3>',
606
+                    'name' => '<h3>' . __('Checkout Settings', 'invoicing') . '</h3>',
607 607
                     'type' => 'header',
608 608
                 ),
609 609
                 'disable_new_user_emails'        => array(
610 610
                     'id'   => 'disable_new_user_emails',
611
-                    'name' => __( 'Disable new user emails', 'invoicing' ),
612
-                    'desc' => __( 'Do not send an email to customers when a new user account is created for them.', 'invoicing' ),
611
+                    'name' => __('Disable new user emails', 'invoicing'),
612
+                    'desc' => __('Do not send an email to customers when a new user account is created for them.', 'invoicing'),
613 613
                     'type' => 'checkbox',
614 614
                 ),
615 615
                 'login_to_checkout'              => array(
616 616
                     'id'   => 'login_to_checkout',
617
-                    'name' => __( 'Require Login To Checkout', 'invoicing' ),
618
-                    'desc' => __( 'If ticked then user needs to be logged in to view or pay invoice, can only view or pay their own invoice. If unticked then anyone can view or pay the invoice.', 'invoicing' ),
617
+                    'name' => __('Require Login To Checkout', 'invoicing'),
618
+                    'desc' => __('If ticked then user needs to be logged in to view or pay invoice, can only view or pay their own invoice. If unticked then anyone can view or pay the invoice.', 'invoicing'),
619 619
                     'type' => 'checkbox',
620 620
                 ),
621 621
                 'maxmind_license_key'            => array(
622 622
                     'id'   => 'maxmind_license_key',
623
-                    'name' => __( 'MaxMind License Key', 'invoicing' ),
623
+                    'name' => __('MaxMind License Key', 'invoicing'),
624 624
                     'type' => 'text',
625 625
                     'size' => 'regular',
626
-                    'desc' => __( "Enter you license key if you would like to use MaxMind to automatically detect a customer's country.", 'invoicing' ) . ' <a href="https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key">' . __( 'How to generate a free license key.', 'invoicing' ) . '</a>',
626
+                    'desc' => __("Enter you license key if you would like to use MaxMind to automatically detect a customer's country.", 'invoicing') . ' <a href="https://support.maxmind.com/hc/en-us/articles/4407111582235-Generate-a-License-Key">' . __('How to generate a free license key.', 'invoicing') . '</a>',
627 627
                 ),
628 628
 
629 629
                 'uninstall_settings'             => array(
630 630
                     'id'   => 'uninstall_settings',
631
-                    'name' => '<h3>' . __( 'Uninstall Settings', 'invoicing' ) . '</h3>',
631
+                    'name' => '<h3>' . __('Uninstall Settings', 'invoicing') . '</h3>',
632 632
                     'type' => 'header',
633 633
                 ),
634 634
                 'remove_data_on_unistall'        => array(
635 635
                     'id'   => 'remove_data_on_unistall',
636
-                    'name' => __( 'Remove Data on Uninstall?', 'invoicing' ),
637
-                    'desc' => __( 'Check this box if you would like Invoicing plugin to completely remove all of its data when the plugin is deleted/uninstalled.', 'invoicing' ),
636
+                    'name' => __('Remove Data on Uninstall?', 'invoicing'),
637
+                    'desc' => __('Check this box if you would like Invoicing plugin to completely remove all of its data when the plugin is deleted/uninstalled.', 'invoicing'),
638 638
                     'type' => 'checkbox',
639 639
                     'std'  => '',
640 640
                 ),
@@ -643,13 +643,13 @@  discard block
 block discarded – undo
643 643
             'custom-css' => array(
644 644
                 'css_settings'        => array(
645 645
                     'id'   => 'css_settings',
646
-                    'name' => '<h3>' . __( 'Custom CSS', 'invoicing' ) . '</h3>',
646
+                    'name' => '<h3>' . __('Custom CSS', 'invoicing') . '</h3>',
647 647
                     'type' => 'header',
648 648
                 ),
649 649
                 'template_custom_css' => array(
650 650
                     'id'    => 'template_custom_css',
651
-                    'name'  => __( 'Invoice Template CSS', 'invoicing' ),
652
-                    'desc'  => __( 'Add CSS to modify appearance of the print invoice page.', 'invoicing' ),
651
+                    'name'  => __('Invoice Template CSS', 'invoicing'),
652
+                    'desc'  => __('Add CSS to modify appearance of the print invoice page.', 'invoicing'),
653 653
                     'type'  => 'textarea',
654 654
                     'class' => 'regular-text',
655 655
                     'rows'  => 10,
@@ -664,8 +664,8 @@  discard block
 block discarded – undo
664 664
             'main' => array(
665 665
                 'tool_settings' => array(
666 666
                     'id'   => 'tool_settings',
667
-                    'name' => '<h3>' . __( 'Diagnostic Tools', 'invoicing' ) . '</h3>',
668
-                    'desc' => __( 'Invoicing diagnostic tools', 'invoicing' ),
667
+                    'name' => '<h3>' . __('Diagnostic Tools', 'invoicing') . '</h3>',
668
+                    'desc' => __('Invoicing diagnostic tools', 'invoicing'),
669 669
                     'type' => 'tools',
670 670
                 ),
671 671
             ),
Please login to merge, or discard this patch.