Skip to content

Commit

Permalink
Update to release v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed May 22, 2015
1 parent ce2ecee commit c0ac4bd
Show file tree
Hide file tree
Showing 28 changed files with 87 additions and 87 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

3 changes: 2 additions & 1 deletion CHANGE.md
Expand Up @@ -4,6 +4,7 @@ version 1.0.2

- (enh #34): Better ability to disable `treeAttribute` by setting it to `false`.
- (enh #35): Initialize variables prior to extraction.
- (enh #36): Add German translations.

version 1.0.1
=============
Expand Down Expand Up @@ -37,4 +38,4 @@ version 1.0.0
- (enh #9): Cast true & false variables in `$_POST` to boolean.
- (enh #10): Avoid duplicate URL encoding.
- (enh #13): Use Closure methods for rendering `nodeAddlViews`.
- (enh #15): Missing namespace for `Model` class in `TreeViewInput`.
- (enh #15): Missing namespace for `Model` class in `TreeViewInput`.
2 changes: 1 addition & 1 deletion LICENSE.md
@@ -1,4 +1,4 @@
Copyright (c) 2014 - 2015, Kartik Visweswaran
Copyright (c) 2015, Kartik Visweswaran
Krajee.com
All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion Module.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -37,7 +37,7 @@ An enhanced tree management module from Krajee with tree node selection and mani
- **removable:** whether a tree node is removable - will not be removed if children exist. If soft delete is enabled, then the node will be inactivated - else removed from database.
- **removable_all:** whether a tree node is removable with children. If soft delete is enabled, then the node and its children will be inactivated - else removed from database.

Key classes available with the module:
The following important PHP classes are available with this module:

1. **kartik\tree\Module:** _Module_, allows you to configure the module. You must setup a module named `treemanager`. Refer documentation for details.
2. **kartik\tree\TreeView:** _Widget_, allows you to manage the tree in admin mode or normal user mode with actions and toolbar to add, edit, reorder, or delete tree nodes.
Expand Down
2 changes: 1 addition & 1 deletion TreeView.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree;
Expand Down
2 changes: 1 addition & 1 deletion TreeViewAsset.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree;
Expand Down
2 changes: 1 addition & 1 deletion TreeViewInput.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree;
Expand Down
2 changes: 1 addition & 1 deletion TreeViewInputAsset.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/kv-tree-input.css
@@ -1,7 +1,7 @@
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*
* Tree View Input Widget Style Sheet
*
Expand Down
2 changes: 1 addition & 1 deletion assets/css/kv-tree-input.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/kv-tree.css
@@ -1,7 +1,7 @@
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*
* Tree View Style Sheet
*
Expand Down
2 changes: 1 addition & 1 deletion assets/css/kv-tree.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/kv-tree-input.js
@@ -1,7 +1,7 @@
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*
* Tree View Input Widget Validation Module.
*
Expand Down
2 changes: 1 addition & 1 deletion assets/js/kv-tree-input.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/js/kv-tree.js
@@ -1,7 +1,7 @@
/*!
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*
* Tree View Validation Module.
*
Expand Down
2 changes: 1 addition & 1 deletion assets/js/kv-tree.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -15,15 +15,15 @@
],
"homepage": "https://github.com/kartik-v/yii2-tree-manager",
"type": "yii2-extension",
"license": "BSD 3-Clause",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Kartik Visweswaran",
"email": "kartikv2@gmail.com",
"homepage": "http://www.krajee.com/"
}
],
"minimum-stability": "dev",
"minimum-stability": "stable",
"require": {
"kartik-v/yii2-krajee-base": "*",
"kartik-v/yii2-widget-activeform": "*",
Expand Down
2 changes: 1 addition & 1 deletion controllers/NodeController.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree\controllers;
Expand Down
2 changes: 1 addition & 1 deletion messages/config.php
Expand Up @@ -7,7 +7,7 @@
'messagePath' => __DIR__,
// array, required, list of language codes that the extracted messages
// should be translated to. For example, ['zh-CN', 'de'].
'languages' => ['en', 'ru', 'fr', 'de', 'zh-CN'],
'languages' => ['de', 'en', 'fr', 'ru', 'zh-CN'],
// string, the name of the function for translating messages.
// Defaults to 'Yii::t'. This is used as a mark to find the messages to be
// translated. You may use a string for single function name or an array for
Expand Down
116 changes: 58 additions & 58 deletions messages/de/kvtree.php
Expand Up @@ -17,61 +17,61 @@
* NOTE: this file must be saved in UTF-8 encoding.
*/
return [
'(new)' => '',
'Active' => '',
'Add new' => '',
'Add new root' => '',
'Admin Settings' => '',
'Already at bottom-most node in the hierarchy.' => '',
'Already at left-most node in the hierarchy.' => '',
'Already at right-most node in the hierarchy.' => '',
'Already at top-most node in the hierarchy.' => '',
'Are you sure you want to remove this node?' => '',
'Cannot create node. Parent node is not saved or is invalid.' => '',
'Cannot move this node as the node details are not saved yet.' => '',
'Clear search results' => '',
'Collapsed' => '',
'Default' => '',
'Delete' => '',
'Depth' => '',
'Disabled' => '',
'Error moving the node. Please try again later.' => '',
'Error while creating the node. Try again later.' => '',
'Error while removing the node. Please try again later.' => '',
'Error while saving the node. Try again later.' => '',
'ID' => '',
'Icon' => '',
'Icon Type' => '',
'Left' => '',
'Movable Down' => '',
'Movable Left' => '',
'Movable Right' => '',
'Movable Up' => '',
'Move Down' => '',
'Move Left' => '',
'Move Right' => '',
'Move Up' => '',
'Name' => '',
'No valid tree nodes are available for display. Use toolbar buttons to add tree nodes.' => '',
'Node # {id} - \'{name}\': {error}' => '',
'Read Only' => '',
'Refresh' => '',
'Removable' => '',
'Removable (with children)' => '',
'Reset' => '',
'Right' => '',
'Root' => '',
'Save' => '',
'Saved the node details successfully.' => '',
'Search...' => '',
'Select a node by clicking on one of the tree items.' => '',
'Select...' => '',
'Selected' => '',
'The node was moved successfully.' => '',
'The node was removed successfully.' => '',
'The node was successfully created.' => '',
'The untitled node was removed.' => '',
'This operation is not allowed.' => '',
'Untitled' => '',
'Visible' => '',
];
'(new)' => '(Neu)',
'Active' => 'Aktiv',
'Add new' => 'Neuer Eintrag',
'Add new root' => 'Neuer Root Eintrag',
'Admin Settings' => 'Administrator Einstellungen',
'Already at bottom-most node in the hierarchy.' => 'Bereits am letzten Eintrag',
'Already at left-most node in the hierarchy.' => 'Bereits am höchsten Eintrag',
'Already at right-most node in the hierarchy.' => 'Bereits am tiefsten Eintrag',
'Already at top-most node in the hierarchy.' => 'Bereits am obersten Eintrag',
'Are you sure you want to remove this node?' => 'Wollen Sie diesen Eintrag wirklich löschen?',
'Cannot create node. Parent node is not saved or is invalid.' => 'Eintrag konnte nicht erstellt werden. Elterneintrag nicht gespeichert oder ungültig.',
'Cannot move this node as the node details are not saved yet.' => 'Eintrag konnte nicht verschoben werden, da die Details noch nicht gespeichert wurden.',
'Clear search results' => 'Suchergebnis verwerfen',
'Collapsed' => 'Eingeklappt',
'Default' => 'Standart',
'Delete' => 'Löschen',
'Depth' => 'Tiefe',
'Disabled' => 'Deaktiviert',
'Error moving the node. Please try again later.' => 'Fehler beim Verschieben. Versuchen Sie es erneut.',
'Error while creating the node. Try again later.' => 'Fehler beim Erstellen. Versuchen Sie es erneut.',
'Error while removing the node. Please try again later.' => 'Fehler beim Löschen. Versuchen Sie es erneut.',
'Error while saving the node. Try again later.' => 'Fehler beim Speichern. Versuchen Sie es erneut.',
'ID' => 'ID',
'Icon' => 'Icon',
'Icon Type' => 'Icon Typ',
'Left' => 'Links',
'Movable Down' => 'Nach unten verschiebbar',
'Movable Left' => 'Nach links verschiebbar',
'Movable Right' => 'Nach rechts verschiebbar',
'Movable Up' => 'Nach oben verschiebbar',
'Move Down' => 'Nach unten schieben',
'Move Left' => 'Nach links schieben',
'Move Right' => 'Nach rechts schieben',
'Move Up' => 'Nach oben schieben',
'Name' => 'Name',
'No valid tree nodes are available for display. Use toolbar buttons to add tree nodes.' => 'Keine Einträge für die Anzeige. Fügen Sie neue über die Toolbar ein.',
'Node # {id} - \'{name}\': {error}' => 'Eintrag # {id} - \'{name}\': {error}',
'Read Only' => 'Nur lesen',
'Refresh' => 'Neu laden',
'Removable' => 'Löschbar',
'Removable (with children)' => 'Löschbar (mit enthaltenen Einträgen)',
'Reset' => 'Zurücksetzen',
'Right' => 'Rechts',
'Root' => 'Stamm',
'Save' => 'Speichern',
'Saved the node details successfully.' => 'Eintragdetails erfolgreich gespeichert.',
'Search...' => 'Suchen...',
'Select a node by clicking on one of the tree items.' => 'Wähle einen der drei Einträge durch klicken. ',
'Select...' => 'Auswahl...',
'Selected' => 'Ausgewählt',
'The node was moved successfully.' => 'Der Eintrag wurde erfolgreich verschoben.',
'The node was removed successfully.' => 'Der Eintrag wurde erfolgreich gelöscht.',
'The node was successfully created.' => 'Der Eintrag wurde erfolgreich erstellt.',
'The untitled node was removed.' => 'Der unbenannte Eintrag wurde erfolgreich gelöscht.',
'This operation is not allowed.' => 'Aktion ist nicht erlaubt.',
'Untitled' => 'Unbenannt',
'Visible' => 'Sichtbar',
];
2 changes: 1 addition & 1 deletion messages/en/kvtree.php
Expand Up @@ -74,4 +74,4 @@
'This operation is not allowed.' => '',
'Untitled' => '',
'Visible' => '',
];
];
2 changes: 1 addition & 1 deletion messages/ru/kvtree.php
Expand Up @@ -74,4 +74,4 @@
'This operation is not allowed.' => 'Операция не разрешена',
'Untitled' => 'Без названия',
'Visible' => 'Видимый',
];
];
2 changes: 1 addition & 1 deletion messages/zh-CN/kvtree.php
Expand Up @@ -74,4 +74,4 @@
'This operation is not allowed.' => '',
'Untitled' => '',
'Visible' => '',
];
];
2 changes: 1 addition & 1 deletion models/Tree.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree\models;
Expand Down
2 changes: 1 addition & 1 deletion models/TreeQuery.php
Expand Up @@ -3,7 +3,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

namespace kartik\tree\models;
Expand Down
4 changes: 2 additions & 2 deletions schema/tree.sql
@@ -1,7 +1,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

DROP TABLE IF EXISTS tbl_tree;
Expand Down
2 changes: 1 addition & 1 deletion views/_form.php
Expand Up @@ -2,7 +2,7 @@
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
* @package yii2-tree-manager
* @version 1.0.1
* @version 1.0.2
*/

use kartik\form\ActiveForm;
Expand Down

0 comments on commit c0ac4bd

Please sign in to comment.