Skip to content

Commit

Permalink
= 1.0.3 - Dec 20 2019 =
Browse files Browse the repository at this point in the history
* update localized strings
* update theme option labels
* update css for submenu navigation
  • Loading branch information
francgrasso committed Dec 20, 2019
1 parent 4a93779 commit 4e7a3a3
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 66 deletions.
2 changes: 1 addition & 1 deletion bin/compile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

echo 'Compiling SCSS files....';
sass ../sass/style.scss style.css --trace
sass ../sass/style.scss ../style.css --trace

echo 'All done!'
7 changes: 4 additions & 3 deletions bin/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/style.css.map

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions inc/customizer.php

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions inc/widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function widget( $args, $instance ) {
<?php the_title( '<h3>', '</h3>' ); ?>
<?php
if ( get_comments_number() > 0 ) {
printf( _nx( 'One Comment', '%1$s Comments', get_comments_number(), 'comments count on widget', 'yith-proteo' ), number_format_i18n( get_comments_number() ) );
printf( _nx( 'One comment', '%1$s comments', get_comments_number(), 'comments count on widget', 'yith-proteo' ), number_format_i18n( get_comments_number() ) );
}
?>
</div>
Expand Down Expand Up @@ -176,7 +176,7 @@ class YITH_Proteo_Social_Icons extends WP_Widget {
function __construct() {
parent::__construct(
'YITH_Proteo_Social_Icons',
__( 'Social Networks Profiles', 'yith-proteo' ), // Name
__( 'Social Networks', 'yith-proteo' ), // Name
array( 'description' => __( 'Links to your social profiles', 'yith-proteo' ), )
);
}
Expand Down Expand Up @@ -237,7 +237,7 @@ public function form( $instance ) {
$instagram = isset( $instance['instagram'] ) ? $instance['instagram'] : '#';
$linkedin = isset( $instance['linkedin'] ) ? $instance['linkedin'] : '#';
?>
<p><?php _e( 'You can hide a field by leaving it empty', 'yith-proteo' ); ?></p>
<p><?php _e( 'To hide a field, just leave it empty', 'yith-proteo' ); ?></p>
<p>
<label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'yith-proteo' ); ?></label>
<input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>"
Expand Down Expand Up @@ -267,7 +267,7 @@ public function form( $instance ) {
</p>

<p>
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'Linkedin:', 'yith-proteo' ); ?></label>
<label for="<?php echo $this->get_field_id( 'linkedin' ); ?>"><?php _e( 'LinkedIn:', 'yith-proteo' ); ?></label>
<input class="widefat" id="<?php echo $this->get_field_id( 'linkedin' ); ?>"
name="<?php echo $this->get_field_name( 'linkedin' ); ?>" type="text"
value="<?php echo esc_attr( $linkedin ); ?>">
Expand Down
7 changes: 6 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Tags: one-column, two-columns, left-sidebar, right-sidebar, wide-blocks, accessi
Requires at least: 4.9.6
Tested up to: WordPress 5.3
Requires PHP: 5.2.4
Stable tag: 1.0.2
Stable tag: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -26,6 +26,11 @@ Proteo is a sleek, modern and “Gutenberg-friendly” e-commerce theme. Develop

== Changelog ==

= 1.0.3 - Dec 20 2019 =
* update localized strings
* update theme option labels
* update css for submenu navigation

= 1.0.2 - Dec 18 2019 =
* fix to two-cols cart layout on mobile
* cart responsive fixes
Expand Down
1 change: 1 addition & 0 deletions sass/navigation/_menus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
font-weight: 500;

ul {
letter-spacing: 1px;
font-size: 0.875rem;
padding: 45px 45px 30px;
box-shadow: 3px 0 15px rgba(0, 0, 0, 0.15);
Expand Down
4 changes: 2 additions & 2 deletions sass/shop/_products.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ul.products, .wc-block-grid ul.wc-block-grid__products {
position: relative;
z-index: 1;

& + img {
& ~ img {
position: absolute;
top: 0;
opacity: 0;
Expand All @@ -62,7 +62,7 @@ ul.products, .wc-block-grid ul.wc-block-grid__products {
filter: brightness(1.1);
z-index: 0;

& + img {
& ~ img {
z-index: 1;
opacity: 1;
}
Expand Down
2 changes: 1 addition & 1 deletion sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Author: YITH
Author URI: https://yithemes.com
Description: Proteo is a sleek, modern and “Gutenberg-friendly” e-commerce theme. Developed with a beautiful UI and a minimal design, is perfect for each kind of shop. Easy to manage and to customize, Proteo is the best solution if you want a complete e-commerce template and start quickly to sell your products with WooCommerce without a technical knowledge. Use it also for corporate site or a blog: there are no limits about what you can do with a beautiful and usable theme like this! Main features: Colors and Typography customization (Google font support), Logo customization, 3 different Header layouts, Advanced customizer theme options, Sidebar Management, Sidebar Chooser on each page and product, Page title icons, Top Bar Management, Easy main color shade chooser, Buttons style management (gradient buttons support), Footer management with multiple sidebars, WooCommerce support, Shop Theme Options, Custom WooCommerce messages and animated WooCommerce alert notices, Two cart page layouts, Bootstrap grid system, CSS animations, Gutenberg support, Responsive, Fullscreen search, Multilevel menus, Support to all YITH plugins, SVG icons for HiDPI screens, Translation Ready. <a href="https://proteo.yithemes.com/about-proteo/" rel="nofollow" target="_blank">Discover more ></a> | <a href="https://proteo.yithemes.com/" rel="nofollow" target="_blank">Check our live demo ></a>
Version: 1.0.2
Version: 1.0.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yith-proteo
Expand Down
2 changes: 1 addition & 1 deletion search.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<h1 class="page-title">
<?php
/* translators: %s: search query. */
printf( esc_html__( 'Search Results for: %s', 'yith-proteo' ), '<span>' . get_search_query() . '</span>' );
printf( esc_html__( 'Search results for: %s', 'yith-proteo' ), '<span>' . get_search_query() . '</span>' );
?>
</h1>
</header><!-- .page-header -->
Expand Down
7 changes: 4 additions & 3 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion style.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion template-parts/content-none.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'yith-proteo' ); ?></h1>
<h1 class="page-title"><?php esc_html_e( 'Nothing found', 'yith-proteo' ); ?></h1>
</header><!-- .page-header -->

<div class="page-content">
Expand Down
2 changes: 1 addition & 1 deletion template-parts/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
sprintf(
wp_kses(
/* translators: %s: post title */
__( 'Leave a Comment<span class="screen-reader-text"> on %s</span>', 'yith-proteo' ),
__( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'yith-proteo' ),
array(
'span' => array(
'class' => array(),
Expand Down
2 changes: 1 addition & 1 deletion woocommerce/checkout/form-checkout.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

// If checkout registration is disabled and not logged in, the user cannot checkout.
if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_required() && ! is_user_logged_in() ) {
echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to checkout.', 'yith-proteo' ) ) );
echo esc_html( apply_filters( 'woocommerce_checkout_must_be_logged_in_message', __( 'You must be logged in to proceed with the checkout.', 'yith-proteo' ) ) );
return;
}

Expand Down

0 comments on commit 4e7a3a3

Please sign in to comment.