@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | |
| 121 | 121 | $tip = array( |
| 122 | 122 | sprintf( |
| 123 | - /* translators: %s: unit price excluding tax */ |
|
| 123 | + /* translators: %s: unit price excluding tax */ |
|
| 124 | 124 | __( 'Exclusive tax: %s', 'pronamic_ideal' ), |
| 125 | 125 | $total_exclusive |
| 126 | 126 | ), |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | $total_inclusive = new Money( array_sum( $values ), $payment->get_total_amount()->get_currency()->get_alphabetic_code() ); |
| 138 | 138 | |
| 139 | 139 | $tip[] = sprintf( |
| 140 | - /* translators: %s: unit price including tax */ |
|
| 140 | + /* translators: %s: unit price including tax */ |
|
| 141 | 141 | __( 'Inclusive tax: %s', 'pronamic_ideal' ), |
| 142 | 142 | $total_inclusive |
| 143 | 143 | ); |
@@ -235,7 +235,7 @@ discard block |
||
| 235 | 235 | |
| 236 | 236 | $tip = array( |
| 237 | 237 | sprintf( |
| 238 | - /* translators: %s: unit price excluding tax */ |
|
| 238 | + /* translators: %s: unit price excluding tax */ |
|
| 239 | 239 | __( 'Exclusive tax: %s', 'pronamic_ideal' ), |
| 240 | 240 | $line->get_unit_price()->get_excluding_tax() |
| 241 | 241 | ), |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | |
| 244 | 244 | if ( $line->get_unit_price()->has_tax() ) { |
| 245 | 245 | $tip[] = sprintf( |
| 246 | - /* translators: %s: unit price including tax */ |
|
| 246 | + /* translators: %s: unit price including tax */ |
|
| 247 | 247 | __( 'Inclusive tax: %s', 'pronamic_ideal' ), |
| 248 | 248 | $line->get_unit_price()->get_including_tax() |
| 249 | 249 | ); |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | |
| 273 | 273 | $tip = array( |
| 274 | 274 | sprintf( |
| 275 | - /* translators: %s: total amount excluding tax */ |
|
| 275 | + /* translators: %s: total amount excluding tax */ |
|
| 276 | 276 | __( 'Exclusive tax: %s', 'pronamic_ideal' ), |
| 277 | 277 | $line->get_total_amount()->get_excluding_tax() |
| 278 | 278 | ), |
@@ -280,17 +280,17 @@ discard block |
||
| 280 | 280 | |
| 281 | 281 | if ( $line->get_total_amount()->has_tax() ) { |
| 282 | 282 | $tip[] = sprintf( |
| 283 | - /* translators: %s: total amount including tax */ |
|
| 283 | + /* translators: %s: total amount including tax */ |
|
| 284 | 284 | __( 'Inclusive tax: %s', 'pronamic_ideal' ), |
| 285 | 285 | $line->get_total_amount()->get_including_tax() |
| 286 | 286 | ); |
| 287 | 287 | } |
| 288 | 288 | |
| 289 | - printf( |
|
| 290 | - '<span class="pronamic-pay-tip" title="%s">%s</span>', |
|
| 291 | - esc_attr( implode( '<br />', $tip ) ), |
|
| 292 | - esc_html( $line->get_total_amount()->get_excluding_tax() ) |
|
| 293 | - ); |
|
| 289 | + printf( |
|
| 290 | + '<span class="pronamic-pay-tip" title="%s">%s</span>', |
|
| 291 | + esc_attr( implode( '<br />', $tip ) ), |
|
| 292 | + esc_html( $line->get_total_amount()->get_excluding_tax() ) |
|
| 293 | + ); |
|
| 294 | 294 | |
| 295 | 295 | ?> |
| 296 | 296 | </td> |