Skip to content

Commit

Permalink
Fix Grunt file—no need for potomo or Transifex
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkatz committed Jun 26, 2018
1 parent 8ef8bd3 commit f1c50d1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
25 changes: 1 addition & 24 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,31 +47,8 @@ module.exports = function(grunt) {
},
},

dirs: {
lang: 'languages'
},

// Convert the .po files to .mo files
potomo: {
dist: {
options: {
poDel: false
},
files: [{
expand: true,
cwd: '<%= dirs.lang %>',
src: ['*.po'],
dest: '<%= dirs.lang %>',
ext: '.mo',
nonull: true
}]
}
},

// Pull in the latest translations
exec: {
transifex: 'tx pull -a',

// Create a ZIP file
zip: 'python /usr/bin/git-archive-all ../gravity-forms-business-hours.zip'
}
Expand All @@ -85,6 +62,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-exec');


grunt.registerTask( 'default', ['uglify','exec:transifex','potomo','wp_readme_to_markdown','watch'] );
grunt.registerTask( 'default', ['uglify','wp_readme_to_markdown','watch'] );

};
14 changes: 13 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Gravity Forms Business Hours by GravityView #
**Tags:** gravityview,gravity forms, gravity,gravity form,business, hours, time, field, form
**Requires at least:** 3.3
**Tested up to:** 4.9
**Tested up to:** 4.9.6
**Stable tag:** trunk
**Contributors:** katzwebdesign,katzwebservices,gravityview
**License:** GPL 3 or higher
Expand All @@ -11,6 +11,8 @@ Add a Business Hours field to Gravity Forms.

## Description ##

> This plugin requires [Gravity Forms](https://rocketgenius.pxf.io/c/1210629/445235/7938), the best form plugin for Wordpress!
Add a Business Hours field to your Gravity Forms form.

__This plugin supports:__
Expand Down Expand Up @@ -58,6 +60,16 @@ These filters are available for code writers to modify the output:

## Changelog ##

### 2.1 on June 25, 2018 ###

* Updated: Use site's time format setting for the time dropdowns (24-hour clock now supported)
* Fixed: Not able to update the field's default label

### 2.0.1 on February 26, 2018 ###

* Fixed: Network Activation on Multisite
* Moved `GFBusinessHours` class to its own file

### 2.0 on November 8, 2017 ###

* Email notifications now show a list of hours instead of code
Expand Down

0 comments on commit f1c50d1

Please sign in to comment.