Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Fix textdomain #136

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@ This plugin enhances WooCommerce, and your help making it even more awesome will

There are many ways to contribute to the project!

- [Translating strings into your language](https://translate.wordpress.org/projects/wp-plugins/woocommerce-local-pickup-time-select/).
- Answering questions on the [WP.org support forums](https://wordpress.org/support/plugin/woocommerce-local-pickup-time-select/).
- Testing open [issues](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/issues) or [pull requests](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/pulls) and sharing your findings in a comment.
- [Translating strings into your language](https://translate.wordpress.org/projects/wp-plugins/woocommerce-local-pickup-time-select-select/).
- Answering questions on the [WP.org support forums](https://wordpress.org/support/plugin/woocommerce-local-pickup-time-select-select/).
- Testing open [issues](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/issues) or [pull requests](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/pulls) and sharing your findings in a comment.
- Submitting fixes, improvements, and enhancements.
- To disclose a security issue to our team.

If you wish to contribute code, please read the information in the sections below. Then [fork](https://help.github.com/articles/fork-a-repo/) the plugin, commit your changes, and [submit a pull request](https://help.github.com/articles/using-pull-requests/) 🎉

We use the `good first issue` label to mark issues that are suitable for new contributors. You can find all the issues with this label [here](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).
We use the `good first issue` label to mark issues that are suitable for new contributors. You can find all the issues with this label [here](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).

WooCommerce Local Pickup Time is licensed under the GPLv2.0, and all contributions to the project will be released under the same license. You maintain copyright over any contribution you make, and by submitting a pull request, you are agreeing to release that contribution under the GPLv2.0 license.

## Getting started

- [How to set up the plugin development environment](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/wiki/How-to-setup-the-plugin-development-environment)
- [How to set up the plugin development environment](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/wiki/How-to-setup-the-plugin-development-environment)

## Coding Guidelines and Development 🛠

- Ensure you stick to the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/)
- Run our build process described in the document on [How to setup the plugin development environment](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/wiki/How-to-setup-the-plugin-development-environment), it will install everything needed to do development on our plugin.
- Run our build process described in the document on [How to setup the plugin development environment](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/wiki/How-to-setup-the-plugin-development-environment), it will install everything needed to do development on our plugin.
- Whenever possible please fix pre-existing code standards errors in the files that you change. It is ok to skip that for larger files or complex fixes.
- Ensure you use LF line endings in your code editor. Use [EditorConfig](http://editorconfig.org/) if your editor supports it so that indentation, line endings and other settings are auto configured.
- When committing, reference your issue number (#1234) and include a note about the fix.
Expand All @@ -34,4 +34,4 @@ WooCommerce Local Pickup Time is licensed under the GPLv2.0, and all contributio

## Feature Requests 🚀

Feature requests can be [submitted to our issue tracker](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/issues/new?template=5-Feature-request.md). Be sure to include a description of the expected behavior and use case, and before submitting a request, please search for similar ones in the closed issues.
Feature requests can be [submitted to our issue tracker](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/issues/new?template=5-Feature-request.md). Be sure to include a description of the expected behavior and use case, and before submitting a request, please search for similar ones in the closed issues.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2-Support.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ assignees: ''
---

**General usage questions**
If your question hasn't been answered in the Wiki please check the [Discussions](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/discussions) for possible solutions or post a new question there.
If your question hasn't been answered in the Wiki please check the [Discussions](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/discussions) for possible solutions or post a new question there.
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
### All Submissions:

* [ ] Have you followed the [plugin Contributing guideline](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/blob/master/.github/CONTRIBUTING.md)?
* [ ] Have you followed the [plugin Contributing guideline](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/blob/master/.github/CONTRIBUTING.md)?
* [ ] Does your code follow the [WordPress' coding standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/)?
* [ ] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time/pulls)) for the same update/change?
* [ ] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/WC-Local-Pickup/woocommerce-local-pickup-time-select/pulls)) for the same update/change?

<!-- Mark completed items with an [x] -->

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SOURCE_DIR: dist/
SLUG: woocommerce-local-pickup-time-select
SLUG: woocommerce-local-pickup-time-select-select
12 changes: 6 additions & 6 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ module.exports = function (grunt) {

addtextdomain: {
options: {
textdomain: 'woocommerce-local-pickup-time', // Project text domain.
textdomain: 'woocommerce-local-pickup-time-select', // Project text domain.
},
update_all_domains: {
options: {
Expand Down Expand Up @@ -112,8 +112,8 @@ module.exports = function (grunt) {
'vendor/.*', //composer
'wordpress/.*',
], // List of files or directories to ignore.
mainFile: 'woocommerce-local-pickup-time.php', // Main project file.
potFilename: 'woocommerce-local-pickup-time.pot', // Name of the POT file.
mainFile: 'woocommerce-local-pickup-time-select.php', // Main project file.
potFilename: 'woocommerce-local-pickup-time-select.pot', // Name of the POT file.
potHeaders: {
poedit: true, // Includes common Poedit headers.
'x-poedit-keywordslist': true // Include a list of all possible gettext functions.
Expand Down Expand Up @@ -143,7 +143,7 @@ module.exports = function (grunt) {

checktextdomain: {
options: {
text_domain: 'woocommerce-local-pickup-time',
text_domain: 'woocommerce-local-pickup-time-select',
keywords: [
'__:1,2d',
'_e:1,2d',
Expand Down Expand Up @@ -204,8 +204,8 @@ module.exports = function (grunt) {
wp_deploy: {
deploy: {
options: {
plugin_slug: 'woocommerce-local-pickup-time-select',
plugin_main_file: 'woocommerce-local-pickup-time.php',
plugin_slug: 'woocommerce-local-pickup-time-select-select',
plugin_main_file: 'woocommerce-local-pickup-time-select.php',
build_dir: 'dist/',
assets_dir: '.wordpress-org/',
max_buffer: 1024 * 1024,
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,23 +24,23 @@ In the admin area, under WooCommerce -> Settings -> General, you can set the sta
### Using The WordPress Dashboard ###

1. Navigate to the 'Add New' in the plugins dashboard
2. Search for 'woocommerce-local-pickup-time'
2. Search for 'woocommerce-local-pickup-time-select'
3. Click 'Install Now'
4. Activate the plugin on the Plugin dashboard

### Uploading in WordPress Dashboard ###

1. Navigate to the 'Add New' in the plugins dashboard
2. Navigate to the 'Upload' area
3. Select `woocommerce-local-pickup-time.zip` from your computer
3. Select `woocommerce-local-pickup-time-select.zip` from your computer
4. Click 'Install Now'
5. Activate the plugin in the Plugin dashboard

### Using FTP ###

1. Download `woocommerce-local-pickup-time.zip`
2. Extract the `woocommerce-local-pickup-time` directory to your computer
3. Upload the `woocommerce-local-pickup-time` directory to the `/wp-content/plugins/` directory
1. Download `woocommerce-local-pickup-time-select.zip`
2. Extract the `woocommerce-local-pickup-time-select` directory to your computer
3. Upload the `woocommerce-local-pickup-time-select` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the Plugin dashboard

# Usage #
Expand Down
Loading