Skip to content

Commit

Permalink
version 1.2.0 bump
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriy-rudakov committed Jan 19, 2022
1 parent 51a8190 commit 46f1e01
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#### 1.2.0 / 2022-01-20
* added `unsaved` option to control unsaved changes after language switching
* support session lang with `unsaved` option
* optimization of hooks
* added `subscribe` function for the __ZUTRANSLATE_STORE__
* added `watched` prop, `WATCH` and `UNWATCH` actions to __ZUTRANSLATE_STORE__
* refactoring `switchRawAttributes` with `Edited Entity`
* synced `enableDebug` vars with plugin Debug Options
* improved debug messages
* use new keys (refactored) for `custom_admin_submenu` options
* __Zukit__ updated to version 1.4.9
* fixed bug with `sessionLang`
* small improvements

#### 1.1.0 / 2022-01-10
* implemented `register_translated_blocks` method
* added public methods
Expand Down
2 changes: 1 addition & 1 deletion GUTENBERG.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,6 @@ Currently, the `'title'` and `'excerpt'` attributes are supported as non-regular
- [ ] It is not clear what will happen after converting a page that was edited in the classic editor and then switched to Gutenberg
- [ ] JS:createRawContent - the option when more than one attribute contained RAW is not processed, this seems to be impossible because before this plugin the RAW was not split by attributes
- [ ] JS:qTranslateConfig:setupLanguageSwitch - we have to call `setupLanguageSwitch` since `'qtx'` does not export the `onTabSwitch` function. If this function was available for integration, it was much easier
- [ ] PHP:modify_rest_response - is the `editor_lang` attribute needed now?
- [x] ~~PHP:modify_rest_response - is the `editor_lang` attribute needed now?~~
- [ ] PHP:restore_post_content - now the case is not processed when one (or more) attribute is in content, and the other is in the special comment to the block (`<!-- wp:<block name>`). I have not met such a situation, but suddenly it is possible?
- [ ] `'core/table'` cannot be translated - first I need to implement the processing of the attribute which is an array of values that require translation
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zutranslate",
"version": "1.1.0",
"version": "1.2.0",
"testedWP": "5.8.2",
"requiresPHP": ">=7.2.0",
"author": "Dmitry Rudakov",
Expand Down
2 changes: 1 addition & 1 deletion zu-translate.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin URI: https://github.com/picasso/zu-translate
GitHub Plugin URI: https://github.com/picasso/zu-translate
Description: Enhances "qTranslate-XT" with some features and Gutenberg support (WordPress Block Editor).
Version: 1.1.0
Version: 1.2.0
Author: Dmitry Rudakov
Author URI: https://github.com/picasso
Text Domain: zu-translate
Expand Down

0 comments on commit 46f1e01

Please sign in to comment.