| @@ -87,9 +87,14 @@ | ||
| 87 | 87 | $total_rate += (float) $tax['rate']; |
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | if (!empty($tax_errors)) { |
| 91 | - $errors[] = sprintf(__('Tax %d: %s', 'yatra'), $index + 1, implode(', ', $tax_errors)); | |
| 91 | + $errors[] = sprintf( | |
| 92 | + /* translators: 1: tax index number, 2: comma-separated list of error messages. */ | |
| 93 | + __('Tax %1$d: %2$s', 'yatra'), | |
| 94 | + $index + 1, | |
| 95 | + implode(', ', $tax_errors) | |
| 96 | + ); | |
| 92 | 97 | } |
| 93 | 98 | } |
| 94 | 99 | |
| 95 | 100 | // Check total tax rate |