Making WordPress.org

Ticket #2233: 2233.diff

File 2233.diff, 934 bytes (added by Thomas Vitale, 8 years ago)

Added translation functions for hard-coded strings.

  • wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-country.php

    diff --git a/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-country.php b/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments/views/payment-request/input-country.php
    index a1dace3..715ed4c 100644
    a b  
    1111                        name="<?php echo esc_attr( $name ); ?>"
    1212                        <?php __checked_selected_helper( $required, true, true, 'required' ); ?>
    1313                >
    14                         <option value="">(None)</option>
     14                        <option value=""><?php esc_html_e( '(None)', 'wordcamporg' ); ?></option>
    1515                        <?php foreach ( $options as $value => $option_label ) : ?>
    1616                                <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $selected ); ?>><?php
    1717                                        echo esc_html( $option_label['name'] );