mmm
This commit is contained in:
parent
15ecb857bd
commit
bc854ca3e8
|
@ -12,7 +12,7 @@ if (current_user_can('manage_woocommerce')) :
|
||||||
add_action('right_now_content_table_end', 'woocommerce_content_right_now');
|
add_action('right_now_content_table_end', 'woocommerce_content_right_now');
|
||||||
add_action('right_now_table_end', 'woocommerce_right_now');
|
add_action('right_now_table_end', 'woocommerce_right_now');
|
||||||
add_action('wp_dashboard_setup', 'woocommerce_init_dashboard_widgets' );
|
add_action('wp_dashboard_setup', 'woocommerce_init_dashboard_widgets' );
|
||||||
add_action('admin_footer', 'woocommmerce_dashboard_sales_js');
|
add_action('admin_footer', 'woocommerce_dashboard_sales_js');
|
||||||
endif;
|
endif;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -103,15 +103,15 @@ function woocommerce_init_dashboard_widgets() {
|
||||||
|
|
||||||
$sales_heading .= '<a href="index.php?month='.($current_month_offset-1).'" class="previous">← '.date('F', strtotime('01-'.($the_month_num-1).'-2011')).'</a><span>'.__('Monthly Sales', 'woocommerce').'</span>';
|
$sales_heading .= '<a href="index.php?month='.($current_month_offset-1).'" class="previous">← '.date('F', strtotime('01-'.($the_month_num-1).'-2011')).'</a><span>'.__('Monthly Sales', 'woocommerce').'</span>';
|
||||||
|
|
||||||
wp_add_dashboard_widget('woocommmerce_dashboard_sales', $sales_heading, 'woocommmerce_dashboard_sales');
|
wp_add_dashboard_widget('woocommerce_dashboard_sales', $sales_heading, 'woocommerce_dashboard_sales');
|
||||||
wp_add_dashboard_widget('woocommmerce_dashboard_recent_orders', __('WooCommerce recent orders', 'woocommerce'), 'woocommmerce_dashboard_recent_orders');
|
wp_add_dashboard_widget('woocommerce_dashboard_recent_orders', __('WooCommerce recent orders', 'woocommerce'), 'woocommerce_dashboard_recent_orders');
|
||||||
wp_add_dashboard_widget('woocommmerce_dashboard_recent_reviews', __('WooCommerce recent reviews', 'woocommerce'), 'woocommmerce_dashboard_recent_reviews');
|
wp_add_dashboard_widget('woocommerce_dashboard_recent_reviews', __('WooCommerce recent reviews', 'woocommerce'), 'woocommerce_dashboard_recent_reviews');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Recent orders widget
|
* Recent orders widget
|
||||||
*/
|
*/
|
||||||
function woocommmerce_dashboard_recent_orders() {
|
function woocommerce_dashboard_recent_orders() {
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'numberposts' => 8,
|
'numberposts' => 8,
|
||||||
|
@ -143,7 +143,7 @@ function woocommmerce_dashboard_recent_orders() {
|
||||||
/**
|
/**
|
||||||
* Recent reviews widget
|
* Recent reviews widget
|
||||||
*/
|
*/
|
||||||
function woocommmerce_dashboard_recent_reviews() {
|
function woocommerce_dashboard_recent_reviews() {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
$comments = $wpdb->get_results("SELECT *, SUBSTRING(comment_content,1,100) AS comment_excerpt
|
$comments = $wpdb->get_results("SELECT *, SUBSTRING(comment_content,1,100) AS comment_excerpt
|
||||||
FROM $wpdb->comments
|
FROM $wpdb->comments
|
||||||
|
@ -203,7 +203,7 @@ function orders_this_month( $where = '' ) {
|
||||||
/**
|
/**
|
||||||
* Sales widget
|
* Sales widget
|
||||||
*/
|
*/
|
||||||
function woocommmerce_dashboard_sales() {
|
function woocommerce_dashboard_sales() {
|
||||||
|
|
||||||
?><div id="placeholder" style="width:100%; height:300px; position:relative;"></div><?php
|
?><div id="placeholder" style="width:100%; height:300px; position:relative;"></div><?php
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@ function woocommmerce_dashboard_sales() {
|
||||||
/**
|
/**
|
||||||
* Sales widget javascript
|
* Sales widget javascript
|
||||||
*/
|
*/
|
||||||
function woocommmerce_dashboard_sales_js() {
|
function woocommerce_dashboard_sales_js() {
|
||||||
|
|
||||||
global $woocommerce;
|
global $woocommerce;
|
||||||
|
|
||||||
|
|
|
@ -908,7 +908,7 @@ $woocommerce_settings['email'] = apply_filters('woocommerce_email_settings', arr
|
||||||
|
|
||||||
array( 'type' => 'sectionend', 'id' => 'email_options' ),
|
array( 'type' => 'sectionend', 'id' => 'email_options' ),
|
||||||
|
|
||||||
array( 'name' => __( 'Email template', 'woocommerce' ), 'type' => 'title', 'desc' => sprintf(__('This section lets you customise the WooCommerce emails. <a href="%s" target="_blank">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>.', 'woocommerce'), wp_nonce_url(admin_url('?preview_woocommerce_mail=true'), 'preview-mail')), 'id' => 'email_template_options' ),
|
array( 'name' => __( 'Email template', 'woocommerce' ), 'type' => 'title', 'desc' => sprintf(__('This section lets you customise the WooCommerce emails. <a href="%s" target="_blank">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>.', 'woocommerce'), wp_nonce_url(admin_url('?preview_woocommerce_mail=true'), 'preview-mail')), 'id' => 'email_template_options' ),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'name' => __( 'Header image', 'woocommerce' ),
|
'name' => __( 'Header image', 'woocommerce' ),
|
||||||
|
|
|
@ -841,7 +841,7 @@ ul.woocommerce_stats strong {
|
||||||
#dashboard_right_now .t a {
|
#dashboard_right_now .t a {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_sales h3 a {
|
#woocommerce_dashboard_sales h3 a {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
}
|
}
|
||||||
|
@ -897,32 +897,32 @@ ul.recent-orders.stock_list a,
|
||||||
ul.stock_list.stock_list a {
|
ul.stock_list.stock_list a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews li {
|
#woocommerce_dashboard_recent_reviews li {
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews h4.meta {
|
#woocommerce_dashboard_recent_reviews h4.meta {
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
margin: -0.2em 0 0 0;
|
margin: -0.2em 0 0 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews blockquote {
|
#woocommerce_dashboard_recent_reviews blockquote {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews .avatar {
|
#woocommerce_dashboard_recent_reviews .avatar {
|
||||||
float: left;
|
float: left;
|
||||||
margin: 0 10px 5px 0;
|
margin: 0 10px 5px 0;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews .star-rating {
|
#woocommerce_dashboard_recent_reviews .star-rating {
|
||||||
float: right;
|
float: right;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 10px;
|
height: 10px;
|
||||||
margin: 3px 0 0 0;
|
margin: 3px 0 0 0;
|
||||||
background: url(../images/admin-star.png) repeat-x left -10px;
|
background: url(../images/admin-star.png) repeat-x left -10px;
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews .star-rating span {
|
#woocommerce_dashboard_recent_reviews .star-rating span {
|
||||||
background: url(../images/admin-star.png) repeat-x left 0;
|
background: url(../images/admin-star.png) repeat-x left 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
|
@ -813,7 +813,7 @@ ul.woocommerce_stats {
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
#woocommmerce_dashboard_sales {
|
#woocommerce_dashboard_sales {
|
||||||
h3 a {
|
h3 a {
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
|
@ -861,7 +861,7 @@ ul.recent-orders, ul.stock_list {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#woocommmerce_dashboard_recent_reviews {
|
#woocommerce_dashboard_recent_reviews {
|
||||||
li {
|
li {
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
|
|
Binary file not shown.
|
@ -6359,8 +6359,8 @@ msgstr "E-Mail-Absender Optionen"
|
||||||
#: admin/woocommerce-admin-settings.php:888
|
#: admin/woocommerce-admin-settings.php:888
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Hier können Sie die WooCommerce E-Mails anpassen. <a href=\"%s\" target=\"_blank\">Für Vorschau der E-Mailvorlage hier klicken</a>. Wenn Sie weitergehende Änderungen wünschen, kopieren Sie <code>woocommerce/templates/emails/</code> nach <code>ihrtheme/woocommmerce/emails/</code>."
|
msgstr "Hier können Sie die WooCommerce E-Mails anpassen. <a href=\"%s\" target=\"_blank\">Für Vorschau der E-Mailvorlage hier klicken</a>. Wenn Sie weitergehende Änderungen wünschen, kopieren Sie <code>woocommerce/templates/emails/</code> nach <code>ihrtheme/woocommerce/emails/</code>."
|
||||||
|
|
||||||
#: admin/woocommerce-admin-init.php:47
|
#: admin/woocommerce-admin-init.php:47
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
|
|
Binary file not shown.
|
@ -4105,7 +4105,7 @@ msgstr ""
|
||||||
#: admin/woocommerce-admin-settings.php:881
|
#: admin/woocommerce-admin-settings.php:881
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:884
|
#: admin/woocommerce-admin-settings.php:884
|
||||||
|
|
|
@ -3793,7 +3793,7 @@ msgstr ""
|
||||||
#: admin/woocommerce-admin-settings.php:888
|
#: admin/woocommerce-admin-settings.php:888
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:891
|
#: admin/woocommerce-admin-settings.php:891
|
||||||
|
|
Binary file not shown.
|
@ -2903,8 +2903,8 @@ msgstr "Modèle d'email"
|
||||||
# @ woothemes
|
# @ woothemes
|
||||||
#: ../admin/woocommerce-admin-settings.php:861
|
#: ../admin/woocommerce-admin-settings.php:861
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Cette section vous laisse la possibilité de personnaliser les emails WooCommerce. <a href=\"%s\" target=\"_blank\">Cliquer ici pour prévisualiser votre modèle d'email</a>. Pour davantage de contrôles copiez <code>woocommerce/templates/emails/</code> dans <code>votretheme/woocommmerce/emails/</code>."
|
msgstr "Cette section vous laisse la possibilité de personnaliser les emails WooCommerce. <a href=\"%s\" target=\"_blank\">Cliquer ici pour prévisualiser votre modèle d'email</a>. Pour davantage de contrôles copiez <code>woocommerce/templates/emails/</code> dans <code>votretheme/woocommerce/emails/</code>."
|
||||||
|
|
||||||
# @ woothemes
|
# @ woothemes
|
||||||
#: ../admin/woocommerce-admin-settings.php:864
|
#: ../admin/woocommerce-admin-settings.php:864
|
||||||
|
|
|
@ -7280,7 +7280,7 @@ msgstr ""
|
||||||
#: admin/woocommerce-admin-settings.php:844
|
#: admin/woocommerce-admin-settings.php:844
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:847
|
#: admin/woocommerce-admin-settings.php:847
|
||||||
|
|
Binary file not shown.
|
@ -3210,8 +3210,8 @@ msgstr "E-mail template"
|
||||||
#: admin/woocommerce-admin-settings.php:888
|
#: admin/woocommerce-admin-settings.php:888
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Deze sectie wordt gebruikt om WooCommerce e-mails aan te passen. <a href=\"%s\" target=\"_blank\">Klik hier om e-mailtemplates te bekijken</a>. Voor meer functies, kopieer <code>woocommerce/templates/emails/</code> naar <code>yourtheme/woocommmerce/emails/</code>."
|
msgstr "Deze sectie wordt gebruikt om WooCommerce e-mails aan te passen. <a href=\"%s\" target=\"_blank\">Klik hier om e-mailtemplates te bekijken</a>. Voor meer functies, kopieer <code>woocommerce/templates/emails/</code> naar <code>yourtheme/woocommerce/emails/</code>."
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:891
|
#: admin/woocommerce-admin-settings.php:891
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
|
|
Binary file not shown.
|
@ -2126,8 +2126,8 @@ msgstr "Szablon maila"
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
#: admin/woocommerce-admin-settings.php:888
|
#: admin/woocommerce-admin-settings.php:888
|
||||||
#, php-format
|
#, php-format
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Tutaj możesz dostosowywać wygląd maili sklepu. <a href=\"%s\" target=\"_blank\">Kliknij tutaj, aby zobaczyć szablon e-maila</a>. Aby mieć możliwość zaawansowanej edycji przekopiuj katalog <code>woocommerce/templates/emails/</code> do <code>yourtheme/woocommmerce/emails/</code>."
|
msgstr "Tutaj możesz dostosowywać wygląd maili sklepu. <a href=\"%s\" target=\"_blank\">Kliknij tutaj, aby zobaczyć szablon e-maila</a>. Aby mieć możliwość zaawansowanej edycji przekopiuj katalog <code>woocommerce/templates/emails/</code> do <code>yourtheme/woocommerce/emails/</code>."
|
||||||
|
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
#: admin/woocommerce-admin-settings.php:891
|
#: admin/woocommerce-admin-settings.php:891
|
||||||
|
|
Binary file not shown.
|
@ -7052,8 +7052,8 @@ msgstr "Template de email"
|
||||||
#: admin/woocommerce-admin-settings.php:844
|
#: admin/woocommerce-admin-settings.php:844
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Esta seção permite personalizar os emails do WooCommerce. <a href=\"%s\" target=\"_blank\">Clique para ver prévia dos seus emails</a>. Para controle mais avançado copie o <code>woocommerce/templates/emails/</code> para <code>seutema/woocommmerce/emails/</code>."
|
msgstr "Esta seção permite personalizar os emails do WooCommerce. <a href=\"%s\" target=\"_blank\">Clique para ver prévia dos seus emails</a>. Para controle mais avançado copie o <code>woocommerce/templates/emails/</code> para <code>seutema/woocommerce/emails/</code>."
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:847
|
#: admin/woocommerce-admin-settings.php:847
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
|
|
Binary file not shown.
|
@ -3025,8 +3025,8 @@ msgstr "E-Posta Şablonu"
|
||||||
#: admin/woocommerce-admin-settings.php:861
|
#: admin/woocommerce-admin-settings.php:861
|
||||||
#, php-format
|
#, php-format
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgid "This section lets you customise the WooCommerce emails. <a href=\"%s\" target=\"_blank\">Click here to preview your email template</a>. For more advanced control copy <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
msgstr "Bu bölüm giden e-postalarınızı özelleştirmenize olanak sağlar. <a href=\"%s\" target=\"_blank\">E-Posta şablon önizlemesi için buraya tıklayın</a>. Daha gelişmiş özelleştirmeler için bu yolu takip edin. <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommmerce/emails/</code>."
|
msgstr "Bu bölüm giden e-postalarınızı özelleştirmenize olanak sağlar. <a href=\"%s\" target=\"_blank\">E-Posta şablon önizlemesi için buraya tıklayın</a>. Daha gelişmiş özelleştirmeler için bu yolu takip edin. <code>woocommerce/templates/emails/</code> to <code>yourtheme/woocommerce/emails/</code>."
|
||||||
|
|
||||||
#: admin/woocommerce-admin-settings.php:864
|
#: admin/woocommerce-admin-settings.php:864
|
||||||
#@ woocommerce
|
#@ woocommerce
|
||||||
|
|
Loading…
Reference in New Issue