Skip to content

Commit

Permalink
Version 1.9.4 - Maintenance release 🚧 (#41)
Browse files Browse the repository at this point in the history
* fix: Remove `@author` header tag

* fix: Update purchase Pro version URL

* fix: Reformat plugin header comments

* Generated

* fix: Update purchase Pro version URL

* feat: Add new version changelog

* feat: Bump plugin version

* Update upgrade content in description

* Add new PRO features to the description

* style: Remove notice wrapper padding

* feat: Bump WC tested version

* feat: Load hooks

* fix: Code tidy

* fix: Typo

* fix: Remove setup params

* fix: Remove duplicate hooks

* fix: Remove unused variable

* Bump WC version

* Fix line break

---------

Co-authored-by: Sajedeh Gooklani <[email protected]>
  • Loading branch information
mahdiyazdani and gooklani authored Apr 9, 2024
1 parent f4fb66f commit ee4e398
Show file tree
Hide file tree
Showing 41 changed files with 141 additions and 192 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

A WordPress plugin that allows you to put your WooCommerce store on vacation mode by disabling the checkout process, displaying a custom message to visitors, and more.

[![Woo Store Vacation Downloads](https://img.shields.io/wordpress/plugin/dt/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Active Installs](https://img.shields.io/wordpress/plugin/installs/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Ratings](https://img.shields.io/wordpress/plugin/r/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Tested](https://img.shields.io/wordpress/plugin/tested/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Version](https://img.shields.io/wordpress/plugin/v/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation License](https://img.shields.io/github/license/mypreview/woo-store-vacation)](https://wordpress.org/plugins/woo-store-vacation) [![Upgrade to premium version to unlock more features](https://img.shields.io/badge/💰-Upgrade%20to%20PRO-%23fedd04)](https://mypreview.one/woo-store-vacation)
[![Woo Store Vacation Downloads](https://img.shields.io/wordpress/plugin/dt/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Active Installs](https://img.shields.io/wordpress/plugin/installs/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Ratings](https://img.shields.io/wordpress/plugin/r/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Tested](https://img.shields.io/wordpress/plugin/tested/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation Version](https://img.shields.io/wordpress/plugin/v/woo-store-vacation.svg)](https://wordpress.org/plugins/woo-store-vacation) [![Woo Store Vacation License](https://img.shields.io/github/license/mypreview/woo-store-vacation)](https://wordpress.org/plugins/woo-store-vacation) [![Upgrade to premium version to unlock more features](https://img.shields.io/badge/💰-Upgrade%20to%20PRO-%23fedd04)](https://woo.com/products/store-vacation)

[![Woo Store Vacation](https://ps.w.org/woo-store-vacation/assets/banner-1544x500.jpg)](https://mypreview.one/woo-store-vacation)
[![Woo Store Vacation](https://ps.w.org/woo-store-vacation/assets/banner-1544x500.jpg)](https://woo.com/products/store-vacation)

> ⚠️ If you are not a developer, we recommend using the official [plugin post page](https://wordpress.org/plugins/woo-store-vacation "Download Woo Store Vacation plugin") on wordpress.org for this plugin.
Expand Down Expand Up @@ -79,4 +79,4 @@ We kindly appreciate your support! If you find this plugin helpful, we would be

## Go premium 💰

We are excited to offer you the premium (paid) version of the plugin! Unlock advanced features and enhanced functionality by upgrading to PRO. Take your experience to the next level. [Click here](https://mypreview.one/woo-store-vacation) to Upgrade to PRO and enjoy the additional benefits.
We are excited to offer you the premium (paid) version of the plugin! Unlock advanced features and enhanced functionality by upgrading to PRO. Take your experience to the next level. [Click here](https://woo.com/products/store-vacation) to Upgrade to PRO and enjoy the additional benefits.
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ <h4 id="vacation-mode-action">woo_store_vacation_vacation_mode</h4>
</article>
<div class="widgets">
<div class="promotion">
<a href="https://mypreview.one/woo-store-vacation/" target="_blank" rel="noopener noreferrer nofollow">
<a href="https://woo.com/products/store-vacation/" target="_blank" rel="noopener noreferrer nofollow">
<div class="promotion-header">
<img width="50" alt="Woo Store Vacation plugin Plams icon" src="./assets/palms.svg">
<p class="button">Get PRO →</p>
Expand Down Expand Up @@ -740,7 +740,7 @@ <h4 id="vacation-mode-action">woo_store_vacation_vacation_mode</h4>
<div class="footer-bar">
<div class="width-large">
<h3 class="h1">Unlock More Vacation<br>Management Capabilities</h3>
<a href="https://mypreview.one/woo-store-vacation/" target="_blank" rel="noopener noreferrer nofollow" class="button button--rocket-launch">
<a href="https://woo.com/products/store-vacation/" target="_blank" rel="noopener noreferrer nofollow" class="button button--rocket-launch">
Go PRO for More Options
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M15.811 3.312c-.363 1.534-1.334 3.626-3.641 6.218l-.239 2.408a2.557 2.557 0 0 1-.732 1.526L8.817 15.85a.512.512 0 0 1-.867-.433l.271-1.9c.04-.28-.014-.593-.132-.956a9.42 9.42 0 0 0-.249-.657l-.082-.202c-.815-.197-1.578-.663-2.191-1.277-.615-.615-1.079-1.379-1.275-2.195l-.203-.083-.04-.016a9.462 9.462 0 0 0-.615-.232c-.363-.119-.675-.172-.955-.132l-1.896.271A.512.512 0 0 1 .15 7.17l2.382-2.386c.41-.41.947-.67 1.524-.734h.006l2.4-.238C9.005 1.551 11.087.582 12.623.208c.89-.218 1.59-.232 2.08-.188a3.797 3.797 0 0 1 .73.138c.184.061.279.132.352.296.03.075.056.152.078.23.051.184.087.373.108.563.054.485.05 1.178-.16 2.065ZM9.752 6.193c.598.599 1.731.438 2.528-.362h.001c.797-.799.959-1.932.36-2.531-.598-.599-1.73-.438-2.528.361-.797.799-.959 1.932-.361 2.532Zm-2.743 5.946a7.632 7.632 0 0 1-1.804-1.352 7.585 7.585 0 0 1-1.411-1.925c-1.102.991-1.965 5.053-1.839 5.18.125.125 3.936-.896 5.054-1.903Z" fill="#fff"/></svg>
</a>
Expand Down
116 changes: 58 additions & 58 deletions languages/woo-store-vacation.pot
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2023 MyPreview
# Copyright (C) 2024 MyPreview
# This file is distributed under the GPL-3.0.
msgid ""
msgstr ""
Expand All @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-11-29T12:34:02+00:00\n"
"POT-Creation-Date: 2024-03-11T10:39:57+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: woo-store-vacation\n"
Expand All @@ -31,284 +31,284 @@ msgstr ""
msgid "MyPreview"
msgstr ""

#: src/Admin/Menu.php:47
#: src/Enhancements/Rate.php:111
#: src/Admin/Menu.php:45
#: src/Enhancements/Rate.php:109
#: templates/notices/onboarding.php:24
#: templates/notices/rate.php:23
msgctxt "plugin name"
msgid "Woo Store Vacation"
msgstr ""

#: src/Admin/Menu.php:48
#: src/Admin/Menu.php:46
msgctxt "menu title"
msgid "Store Vacation"
msgstr ""

#. translators: 1: Open anchor tag, 2: Close anchor tag.
#: src/Enhancements/Meta.php:67
#: src/Enhancements/Meta.php:65
msgctxt "plugin link"
msgid "%1$sDocs%2$s"
msgstr ""

#. translators: 1: Open anchor tag, 2: Close anchor tag.
#: src/Enhancements/Meta.php:75
#: src/Enhancements/Meta.php:73
msgctxt "plugin link"
msgid "%1$sCommunity support%2$s"
msgstr ""

#. translators: 1: Open anchor tag, 2: Close anchor tag.
#: src/Enhancements/Meta.php:101
#: src/Enhancements/Meta.php:99
msgctxt "plugin link"
msgid "%1$sGet PRO%2$s"
msgstr ""

#. translators: 1: Open anchor tag, 2: Close anchor tag.
#: src/Enhancements/Meta.php:109
#: src/Enhancements/Meta.php:107
msgctxt "plugin settings page"
msgid "%1$sSettings%2$s"
msgstr ""

#: src/Integration/Elementor/Widget.php:45
#: src/Integration/Elementor/Widget.php:43
msgctxt "elementor widget"
msgid "Store Vacation Notice"
msgstr ""

#: src/Integration/Elementor/Widget.php:160
#: src/Integration/Elementor/Widget.php:158
#: assets/js/block.js:28
#: assets/js/minified/block.js:1
msgid "⚠ This alert-box is a placeholder that is displayed in place of the actual vacation notice message."
msgstr ""

#: src/Settings/Sections/Conditions.php:32
#: src/Settings/Sections/Conditions.php:30
msgctxt "settings section name"
msgid "Set Conditions"
msgstr ""

#: src/Settings/Sections/Conditions.php:33
#: src/Settings/Sections/Conditions.php:31
msgctxt "settings field description"
msgid "If you have enabled the “Disable Purchase” option in the General settings, you can further customize the availability of your shop using the settings provided here. These options allow you to select specific products that will remain available for purchase while your shop is in vacation mode."
msgstr ""

#: src/Settings/Sections/Conditions.php:36
#: src/Settings/Sections/Conditions.php:34
msgctxt "settings field name"
msgid "Products"
msgstr ""

#: src/Settings/Sections/Conditions.php:37
#: src/Settings/Sections/Conditions.php:35
msgctxt "settings field description"
msgid "Choose which products you want to keep available for purchase while your shop is closed for vacation."
msgstr ""

#: src/Settings/Sections/Conditions.php:46
#: src/Settings/Sections/Conditions.php:44
msgctxt "settings field name"
msgid "Categories"
msgstr ""

#: src/Settings/Sections/Conditions.php:47
#: src/Settings/Sections/Conditions.php:45
msgctxt "settings field description"
msgid "Choose the categories that you want to make available for purchase while your shop is closed for vacation."
msgstr ""

#: src/Settings/Sections/Conditions.php:56
#: src/Settings/Sections/Conditions.php:54
msgctxt "settings field name"
msgid "Tags"
msgstr ""

#: src/Settings/Sections/Conditions.php:57
#: src/Settings/Sections/Conditions.php:55
msgctxt "settings field description"
msgid "Choose the tags that you want to make available for purchase while your shop is closed for vacation."
msgstr ""

#: src/Settings/Sections/Conditions.php:66
#: src/Settings/Sections/Conditions.php:64
msgctxt "settings field name"
msgid "Types"
msgstr ""

#: src/Settings/Sections/Conditions.php:67
#: src/Settings/Sections/Conditions.php:65
msgctxt "settings field description"
msgid "Choose the product types you want to keep available for purchase while your shop is closed for vacation."
msgstr ""

#: src/Settings/Sections/Conditions.php:76
#: src/Settings/Sections/Conditions.php:74
msgctxt "settings field name"
msgid "Shipping Classes"
msgstr ""

#: src/Settings/Sections/Conditions.php:77
#: src/Settings/Sections/Conditions.php:75
msgctxt "settings field description"
msgid "Choose the shipping classes you want to keep available for purchase while your shop is closed for vacation."
msgstr ""

#: src/Settings/Sections/General.php:37
#: src/Settings/Sections/General.php:35
msgctxt "settings section name"
msgid "Woo Store Vacation"
msgstr ""

#: src/Settings/Sections/General.php:38
#: src/Settings/Sections/General.php:36
msgctxt "settings field description"
msgid "Close your store temporarily by scheduling your vacation time. While your shop will remain online and accessible to visitors, new order operations will pause, and your checkout will be disabled."
msgstr ""

#: src/Settings/Sections/General.php:41
#: src/Settings/Sections/General.php:39
msgctxt "settings field name"
msgid "Enable Vacation Mode"
msgstr ""

#: src/Settings/Sections/General.php:42
#: src/Settings/Sections/General.php:40
msgctxt "settings field name"
msgid "Check to enable vacation mode and vacation settings. Uncheck to deactivate the vacation functionality."
msgstr ""

#: src/Settings/Sections/General.php:49
#: src/Settings/Sections/General.php:47
msgctxt "settings field name"
msgid "Disable Purchase"
msgstr ""

#: src/Settings/Sections/General.php:50
#: src/Settings/Sections/General.php:48
msgctxt "settings field description"
msgid "This will disable eCommerce functionality and takes out the cart, checkout process and add to cart buttons."
msgstr ""

#: src/Settings/Sections/General.php:57
#: src/Settings/Sections/General.php:55
msgctxt "settings field name"
msgid "Start Date"
msgstr ""

#: src/Settings/Sections/General.php:58
#: src/Settings/Sections/General.php:56
msgctxt "settings field description"
msgid "The database will store a time of 00:00:00 by default."
msgstr ""

#: src/Settings/Sections/General.php:66
#: src/Settings/Sections/General.php:64
msgctxt "settings field name"
msgid "End Date"
msgstr ""

#: src/Settings/Sections/General.php:67
#: src/Settings/Sections/General.php:65
msgctxt "settings field description"
msgid "The validity of the date range begins at midnight on the \"Start Date\" and lasts until the start of the day on the \"End Date\"."
msgstr ""

#: src/Settings/Sections/General.php:79
#: src/Settings/Sections/General.php:77
msgctxt "settings field name"
msgid "Button Text"
msgstr ""

#: src/Settings/Sections/General.php:80
#: src/Settings/Sections/General.php:78
msgctxt "settings field description"
msgid "Use this field to add a call-to-action button alongside your message."
msgstr ""

#: src/Settings/Sections/General.php:81
#: src/Settings/Sections/General.php:79
msgctxt "settings field placeholder"
msgid "Contact me &#8594;"
msgstr ""

#: src/Settings/Sections/General.php:88
#: src/Settings/Sections/General.php:86
msgctxt "settings field name"
msgid "Button URL"
msgstr ""

#: src/Settings/Sections/General.php:89
#: src/Settings/Sections/General.php:87
msgctxt "settings field description"
msgid "If a CTA button text has been added, you can use this field to specify the URL that the button should direct your buyers to, such as contact page."
msgstr ""

#: src/Settings/Sections/General.php:97
#: src/Settings/Sections/General.php:95
msgctxt "settings field name"
msgid "Vacation Notice"
msgstr ""

#: src/Settings/Sections/General.php:98
#: src/Settings/Sections/General.php:96
msgctxt "settings field description"
msgid "If specified, this text will be displayed as a notice on your shop and single product pages during your defined vacation dates."
msgstr ""

#: src/Settings/Sections/General.php:99
#: src/Settings/Sections/General.php:100
#: src/Settings/Sections/General.php:97
#: src/Settings/Sections/General.php:98
msgctxt "settings field placeholder"
msgid "I am currently on vacation and products from my shop will be unavailable for next few days. Thank you for your patience and apologize for any inconvenience."
msgstr ""

#. translators: 1: Open paragraph tag, 2: Shortcode, 3: Close paragraph tag.
#: src/Settings/Sections/General.php:115
#: src/Settings/Sections/General.php:113
msgctxt "settings field text"
msgid "%1$sThe %2$s shortcode allows you to display the vacation notification on pages and posts at the scheduled times.%3$s"
msgstr ""

#. translators: 1: Open paragraph tag, 2: Start date smart tag, 3: End date smart tag, 4: Close paragraph tag.
#: src/Settings/Sections/General.php:122
#: src/Settings/Sections/General.php:120
msgctxt "settings field text"
msgid "%1$sYou may utilize the %2$s and %3$s smart tags to automatically populate the vacation dates in your notice message.%4$s"
msgstr ""

#: src/Settings/Sections/General.php:130
#: src/Settings/Sections/General.php:128
msgctxt "settings field name"
msgid "Text Color"
msgstr ""

#: src/Settings/Sections/General.php:131
#: src/Settings/Sections/General.php:129
msgctxt "settings field description"
msgid "If specified, it will change the text color of the WooCommerce info notice to a custom color of your choice."
msgstr ""

#: src/Settings/Sections/General.php:141
#: src/Settings/Sections/General.php:139
msgctxt "settings field name"
msgid "Background Color"
msgstr ""

#: src/Settings/Sections/General.php:142
#: src/Settings/Sections/General.php:140
msgctxt "settings field description"
msgid "If specified, it will change the background color of the WooCommerce info notice to a custom color of your choice."
msgstr ""

#: src/Settings/Settings.php:49
#: src/Settings/Settings.php:47
msgctxt "settings tab label"
msgid "Store Vacation"
msgstr ""

#: src/Settings/Settings.php:129
#: src/Settings/Settings.php:127
msgctxt "settings tab"
msgid "General"
msgstr ""

#: src/Settings/Settings.php:130
#: src/Settings/Settings.php:128
msgctxt "settings tab"
msgid "Conditions"
msgstr ""

#: src/Settings/Settings.php:181
#: src/Settings/Settings.php:179
msgctxt "error message"
msgid "The start date must be less than the end date. Please ensure that the selected start date is earlier than the end date to avoid any conflicts with the vacation scheduling."
msgstr ""

#. Translators: %d stock amount
#: src/Util/Choices.php:79
#: src/Util/Choices.php:77
msgid "Stock: %d"
msgstr ""

#. translators: 1: Open span tag, 2: UTC time, 3: Close span tag.
#: src/Util/DateTime.php:82
#: src/Util/DateTime.php:80
msgid "%1$sUniversal time is %2$s.%3$s"
msgstr ""

#. translators: 1: Open span tag, 2: Local time, 3: Close span tag.
#: src/Util/DateTime.php:91
#: src/Util/DateTime.php:89
msgid "%1$sLocal time is %2$s.%3$s"
msgstr ""

#. translators: 1: The timezone of the site as a string.
#: src/Util/DateTime.php:97
#: src/Util/DateTime.php:95
msgid "Your timezone is currently in %s time."
msgstr ""

#. translators: %s: HTML `Warning` symbol.
#: src/WooCommerce/Vacation.php:151
#: src/WooCommerce/Vacation.php:149
msgctxt "admin bar"
msgid "%s Shop Closed!"
msgstr ""

#: src/WooCommerce/Vacation.php:154
#: src/WooCommerce/Vacation.php:152
msgctxt "admin bar"
msgid "Vacation mode is activated! Click here to navigate to the plugin’s settings page."
msgstr ""
Expand Down
Loading

0 comments on commit ee4e398

Please sign in to comment.