Version Description
- ok, now the texts should be translated. for real! thanks for the bug report!
Download this release
Release Info
Developer | eskapism |
Plugin | CMS Tree Page View |
Version | 0.5.5 |
Comparing to | |
See all releases |
Code changes from version 0.5.4 to 0.5.5
- functions.php +2 -2
- index.php +2 -3
- readme.txt +3 -0
functions.php
CHANGED
@@ -39,6 +39,8 @@ function cms_tpv_admin_init() {
|
|
39 |
wp_enqueue_script( "jquery-alerts", CMS_TPV_URL . "scripts/jquery.alerts.js", false, CMS_TPV_VERSION);
|
40 |
|
41 |
wp_enqueue_script( "cms_tree_page_view", CMS_TPV_URL . "scripts/cms_tree_page_view.js", false, CMS_TPV_VERSION);
|
|
|
|
|
42 |
$oLocale = array(
|
43 |
"Enter_title_of_new_page" => __("Enter title of new page", 'cms-tree-page-view'),
|
44 |
"child_pages" => __("child pages", 'cms-tree-page-view'),
|
@@ -52,8 +54,6 @@ function cms_tpv_admin_init() {
|
|
52 |
"inside" => __("inside", 'cms-tree-page-view'),
|
53 |
"Add_new_page_inside" => __("Add new page inside", 'cms-tree-page-view')
|
54 |
);
|
55 |
-
|
56 |
-
load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
|
57 |
wp_localize_script( "cms_tree_page_view", 'cmstpv_l10n', $oLocale);
|
58 |
|
59 |
}
|
39 |
wp_enqueue_script( "jquery-alerts", CMS_TPV_URL . "scripts/jquery.alerts.js", false, CMS_TPV_VERSION);
|
40 |
|
41 |
wp_enqueue_script( "cms_tree_page_view", CMS_TPV_URL . "scripts/cms_tree_page_view.js", false, CMS_TPV_VERSION);
|
42 |
+
|
43 |
+
load_plugin_textdomain('cms-tree-page-view', WP_CONTENT_DIR . "/plugins/languages", "/cms-tree-page-view/languages");
|
44 |
$oLocale = array(
|
45 |
"Enter_title_of_new_page" => __("Enter title of new page", 'cms-tree-page-view'),
|
46 |
"child_pages" => __("child pages", 'cms-tree-page-view'),
|
54 |
"inside" => __("inside", 'cms-tree-page-view'),
|
55 |
"Add_new_page_inside" => __("Add new page inside", 'cms-tree-page-view')
|
56 |
);
|
|
|
|
|
57 |
wp_localize_script( "cms_tree_page_view", 'cmstpv_l10n', $oLocale);
|
58 |
|
59 |
}
|
index.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
-
Version: 0.5.
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
@@ -25,10 +25,9 @@ License: GPL2
|
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
28 |
-
|
29 |
require("functions.php");
|
30 |
|
31 |
-
define( "CMS_TPV_VERSION", "0.5.
|
32 |
define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
33 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
34 |
|
3 |
Plugin Name: CMS Tree Page View
|
4 |
Plugin URI: http://eskapism.se/code-playground/cms-tree-page-view/
|
5 |
Description: Adds a CMS-like tree view of all your pages, like the view often found in a page-focused CMS. By using the tree you can edit, view, add pages and even search pages (useful if you have many pages). And with drag and drop you can rearrange the order of your pages. Page management won't get any easier than this!
|
6 |
+
Version: 0.5.5
|
7 |
Author: Pär Thernström
|
8 |
Author URI: http://eskapism.se/
|
9 |
License: GPL2
|
25 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
26 |
*/
|
27 |
|
|
|
28 |
require("functions.php");
|
29 |
|
30 |
+
define( "CMS_TPV_VERSION", "0.5.5");
|
31 |
define( "CMS_TPV_URL", WP_PLUGIN_URL . '/cms-tree-page-view/');
|
32 |
define( "CMS_TPV_NAME", "CMS Tree Page View");
|
33 |
|
readme.txt
CHANGED
@@ -47,6 +47,9 @@ Now the tree with the pages will be visible both on the dashboard and in the men
|
|
47 |
|
48 |
== Changelog ==
|
49 |
|
|
|
|
|
|
|
50 |
= 0.5.4 =
|
51 |
- when mouse over the litte arrow the cursor is now a hand again. it just feels a little bit better that way.
|
52 |
- some texts where not translated due to wp_localize_script being called before load_plugin_textdomain. thanks for reporting this.
|
47 |
|
48 |
== Changelog ==
|
49 |
|
50 |
+
= 0.5.5 =
|
51 |
+
- ok, now the texts should be translated. for real! thanks for the bug report!
|
52 |
+
|
53 |
= 0.5.4 =
|
54 |
- when mouse over the litte arrow the cursor is now a hand again. it just feels a little bit better that way.
|
55 |
- some texts where not translated due to wp_localize_script being called before load_plugin_textdomain. thanks for reporting this.
|