localisation

This commit is contained in:
Mike Jolley 2011-10-09 15:20:58 +01:00
parent 1ae669f73d
commit f82d6423a7
6 changed files with 11 additions and 10 deletions

View File

@ -117,7 +117,7 @@ function woocommerce_edit_attribute() {
<div class="form-field"> <div class="form-field">
<label for="attribute_label"><?php _e('Attribute Label', 'woothemes'); ?></label> <label for="attribute_label"><?php _e('Attribute Label', 'woothemes'); ?></label>
<input name="attribute_label" id="attribute_label" type="text" value="<?php echo esc_attr( $att_label ); ?>" /> <input name="attribute_label" id="attribute_label" type="text" value="<?php echo esc_attr( $att_label ); ?>" />
<p class="description"><?php _e('Label for the attribute (shown on the front-end).', 'woocommerce'); ?></p> <p class="description"><?php _e('Label for the attribute (shown on the front-end).', 'woothemes'); ?></p>
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="attribute_type"><?php _e('Attribute type', 'woothemes'); ?></label> <label for="attribute_type"><?php _e('Attribute type', 'woothemes'); ?></label>
@ -214,12 +214,12 @@ function woocommerce_add_attribute() {
<div class="form-field"> <div class="form-field">
<label for="attribute_name"><?php _e('Attribute Name', 'woothemes'); ?></label> <label for="attribute_name"><?php _e('Attribute Name', 'woothemes'); ?></label>
<input name="attribute_name" id="attribute_name" type="text" value="" maxlength="29" /> <input name="attribute_name" id="attribute_name" type="text" value="" maxlength="29" />
<p class="description"><?php _e('Unique name/reference for the attribute; must be shorter than 28 characters.', 'woocommerce'); ?></p> <p class="description"><?php _e('Unique name/reference for the attribute; must be shorter than 28 characters.', 'woothemes'); ?></p>
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="attribute_label"><?php _e('Attribute Label', 'woothemes'); ?></label> <label for="attribute_label"><?php _e('Attribute Label', 'woothemes'); ?></label>
<input name="attribute_label" id="attribute_label" type="text" value="" /> <input name="attribute_label" id="attribute_label" type="text" value="" />
<p class="description"><?php _e('Label for the attribute (shown on the front-end).', 'woocommerce'); ?></p> <p class="description"><?php _e('Label for the attribute (shown on the front-end).', 'woothemes'); ?></p>
</div> </div>
<div class="form-field"> <div class="form-field">
<label for="attribute_type"><?php _e('Attribute type', 'woothemes'); ?></label> <label for="attribute_type"><?php _e('Attribute type', 'woothemes'); ?></label>
@ -227,7 +227,7 @@ function woocommerce_add_attribute() {
<option value="select"><?php _e('Select', 'woothemes') ?></option> <option value="select"><?php _e('Select', 'woothemes') ?></option>
<option value="text"><?php _e('Text', 'woothemes') ?></option> <option value="text"><?php _e('Text', 'woothemes') ?></option>
</select> </select>
<p class="description"><?php _e('Determines how you select attributes for products. <strong>Text</strong> allows manual entry via the product page, whereas <strong>select</strong> attribute terms can be defined from this section. If you plan on using an attribute for variations use <strong>select</strong>.', 'woocommerce'); ?></p> <p class="description"><?php _e('Determines how you select attributes for products. <strong>Text</strong> allows manual entry via the product page, whereas <strong>select</strong> attribute terms can be defined from this section. If you plan on using an attribute for variations use <strong>select</strong>.', 'woothemes'); ?></p>
</div> </div>
<p class="submit"><input type="submit" name="add_new_attribute" id="submit" class="button" value="<?php _e('Add Attribute', 'woothemes'); ?>"></p> <p class="submit"><input type="submit" name="add_new_attribute" id="submit" class="button" value="<?php _e('Add Attribute', 'woothemes'); ?>"></p>

View File

@ -94,10 +94,10 @@ function woocommerce_init_dashboard_widgets() {
$sales_heading = ''; $sales_heading = '';
if ($current_month_offset!=date('m')) : if ($current_month_offset!=date('m')) :
$sales_heading .= '<a href="index.php?month='.($current_month_offset+1).'" class="next">'.date('F', strtotime('01-'.($current_month_offset+1).'-2011')).__(' &rarr;', 'woo themes').'</a>'; $sales_heading .= '<a href="index.php?month='.($current_month_offset+1).'" class="next">'.date('F', strtotime('01-'.($current_month_offset+1).'-2011')).__(' &rarr;', 'woothemes').'</a>';
endif; endif;
$sales_heading .= '<a href="index.php?month='.($current_month_offset-1).'" class="previous">'.__('&larr; ', 'woo themes').date('F', strtotime('01-'.($current_month_offset-1).'-2011')).'</a><span>'.__('Monthly Sales', 'woothemes').'</span>'; $sales_heading .= '<a href="index.php?month='.($current_month_offset-1).'" class="previous">'.__('&larr; ', 'woothemes').date('F', strtotime('01-'.($current_month_offset-1).'-2011')).'</a><span>'.__('Monthly Sales', 'woothemes').'</span>';
wp_add_dashboard_widget('woocommmerce_dashboard_sales', $sales_heading, 'woocommmerce_dashboard_sales'); wp_add_dashboard_widget('woocommmerce_dashboard_sales', $sales_heading, 'woocommmerce_dashboard_sales');
wp_add_dashboard_widget('woocommmerce_dashboard_recent_orders', __('WooCommerce recent orders', 'woothemes'), 'woocommmerce_dashboard_recent_orders'); wp_add_dashboard_widget('woocommmerce_dashboard_recent_orders', __('WooCommerce recent orders', 'woothemes'), 'woocommmerce_dashboard_recent_orders');

View File

@ -29,7 +29,7 @@ function variable_product_type_options() {
} }
?> ?>
<div id="variable_product_options" class="panel"> <div id="variable_product_options" class="panel">
<p class="bulk_edit"><strong><?php _e('Bulk edit:', 'woothemes'); ?></strong> <a class="button set_all_prices" href="#"><?php _e('Set all prices', 'woocommerce'); ?></a> <a class="button set_all_sale_prices" href="#"><?php _e('Set all sale prices', 'woocommerce'); ?></a> <a class="button set_all_stock" href="#"><?php _e('Set all stock', 'woocommerce'); ?></a></p> <p class="bulk_edit"><strong><?php _e('Bulk edit:', 'woothemes'); ?></strong> <a class="button set_all_prices" href="#"><?php _e('Set all prices', 'woothemes'); ?></a> <a class="button set_all_sale_prices" href="#"><?php _e('Set all sale prices', 'woothemes'); ?></a> <a class="button set_all_stock" href="#"><?php _e('Set all stock', 'woothemes'); ?></a></p>
<div class="woocommerce_variations"> <div class="woocommerce_variations">
<?php <?php
$args = array( $args = array(

View File

@ -69,6 +69,7 @@ For further documentation on using WooCommerce, please sign up for free at http:
* Fixed archives being displayed by woocommerce_show_product_images * Fixed archives being displayed by woocommerce_show_product_images
* Added 'configure terms' button to attributes page to make it clearer * Added 'configure terms' button to attributes page to make it clearer
* Fix for variations when an attribute has been removed * Fix for variations when an attribute has been removed
* Fixed some localisation strings
= 1.0.3 - 06/10/2011 = = 1.0.3 - 06/10/2011 =
* Several minor fixes/tweaks * Several minor fixes/tweaks

View File

@ -327,7 +327,7 @@ function woocommerce_upsell_crosssell_search_products() {
endforeach; else : endforeach; else :
?><li><?php _e('No products found', 'woocommerce'); ?></li><?php ?><li><?php _e('No products found', 'woothemes'); ?></li><?php
endif; endif;

View File

@ -471,9 +471,9 @@ if (!function_exists('woocommerce_catalog_ordering')) {
?> ?>
<form class="woocommerce_ordering" method="post"> <form class="woocommerce_ordering" method="post">
<select name="catalog_orderby" class="orderby"> <select name="catalog_orderby" class="orderby">
<option value="title" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'title' ); ?>><?php _e('Alphabetically', 'woo themes'); ?></option> <option value="title" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'title' ); ?>><?php _e('Alphabetically', 'woothemes'); ?></option>
<option value="date" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'date' ); ?>><?php _e('Most Recent', 'woothemes'); ?></option> <option value="date" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'date' ); ?>><?php _e('Most Recent', 'woothemes'); ?></option>
<option value="price" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'price' ); ?>><?php _e('Price', 'woo themes'); ?></option> <option value="price" <?php if (isset($_SESSION['orderby'])) selected( $_SESSION['orderby'], 'price' ); ?>><?php _e('Price', 'woothemes'); ?></option>
</select> </select>
</form> </form>
<?php <?php