Skip to content

Commit

Permalink
Update for new release script and 1.0 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
toolstack committed Mar 18, 2016
1 parent ac62522 commit 9d8b1bf
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 18 deletions.
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## 1.0
* Release Date: March 18, 2016
* Documentation update and official release.

## 0.5
* Release Date: December 16, 2015
* Initial release.
13 changes: 1 addition & 12 deletions readme.txt → bin/readme.template
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Author URI: http://toolstack.com
Tags: translation, glotpress
Requires at least: 4.4
Tested up to: 4.4
Stable tag: 0.5
Stable tag: {{TAG}}
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -27,14 +27,3 @@ Install from the WordPress plugin directory.
TBD

== Changelog ==

= 1.0 =
* Release Date: TBD
* Initial release.

== Upgrade Notice ==

= 1.0 =

Initial release, no upgrade notes at this time.

19 changes: 19 additions & 0 deletions bin/release.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[General]
plugin-slug=
temp-dir=
readme-template=bin\readme.template
changelog=CHANGES.md

[SVN]
svn-url=
svn-username=
svn-do-not-tag=
svn-path=

[GIT]
git-use-tag=
git-path=

[Delete]
DeleteFiles=readme.md, CHANGES.md
DeleteDirs=bin
File renamed without changes.
12 changes: 6 additions & 6 deletions single-click-edit.php → gp-single-click-edit.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<?php
/*
Plugin Name: GlotPress Single Click Edit
Plugin Name: GP Single Click Edit
Plugin URI: http://glot-o-matic.com/gp-single-click-edit
Description: Enable editing of a translation with a single click as well as a double click in GlotPress.
Version: 0.5
Author: GregRoss
Version: 1.0
Author: Greg Ross
Author URI: http://toolstack.com
Tags: glotpress, glotpress plugin
License: GPLv2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

class GP_Single_Click_Edit {
public $id = 'single-click-edit';
public $id = 'gp-single-click-edit';

public function __construct() {
wp_register_script( 'single-click-edit', plugins_url( 'single-click-edit.js', __FILE__ ), array( 'jquery', 'gp-common', 'gp-editor', 'gp-translations-page' ) );
wp_register_script( 'gp-single-click-edit', plugins_url( 'gp-single-click-edit.js', __FILE__ ), array( 'jquery', 'gp-common', 'gp-editor', 'gp-translations-page' ) );

add_action( 'gp_pre_tmpl_load', array( $this, 'gp_pre_tmpl_load' ), 10, 2 );
}

public function gp_pre_tmpl_load( $template, $args ) {
gp_enqueue_script( 'single-click-edit' );
gp_enqueue_script( 'gp-single-click-edit' );
}

}
Expand Down

0 comments on commit 9d8b1bf

Please sign in to comment.