Version 2.0.2
Craft 3.5.0 due to the field layout changes in Craft 3.5.0 Relabel is not longer required. This final version will create a migration that tries to convert relabels to native Craft CMS Field labeling. Use it on your own risk and double check if all labels are set correctly after the migration. please report any errors/issues you find and alter the rest of your fields if required. Make sure to backup your system before you run the migration.
fixed
- fixed an table prefix issue when fetching relabel
Version 2.0.0
Craft 3.5.0 due to the field layout changes in Craft 3.5.0 Relabel is not longer required. This final version will create a migration that tries to convert relabels to native Craft CMS Field labeling. Use it on your own risk and double check if all labels are set correctly after the migration. please report any errors/issues you find and alter the rest of your fields if required. Make sure to backup your system before you run the migration.
added
- final migration to convert custom labels into Craft CMS native labels
Version 1.4.0
Craft 3.5.0 has implemented it's custom version for relabeling fields. In order to not lose your relabels you should update to this version. It will stop working, but I'm going to create a migration soon to migrate old relabels to the new Craft style, in the meantime you can either do nothing or see all relabels in a custom index page
admin/relabel
. But if you don't update to this version all relabels will be forever deleted as soon as you re-save a layout
changed
- deactivate the plugin
added
- added a custom index page to display all labels in use
settings/plugins/relabel
- in progress -> create a migration to apply old relabel to new craft field layouts
Version 1.3.5.4
fixed
- another try to change labels for all browser(s) and versions
Version 1.3.5.3
added
- added support for new Craft 3.5 "entries per site" config -> check for the "site" query param to request the entry for the correct site
- added support for drafts -> those have only an url like "{id}" and not "{id}-{slug}"
Version 1.3.5.2
fixed
- fixed a bug that prevented re-labeling in JS in the latest Chrome Version for whatever reason
Version 1.3.5.1
fixed
- fixed a bug that prevented re-labeling for fields that come after a matrix field in another field layout tab, thanks @[https://github.com/mdominguez](Mattias Dominguez) #16
Version 1.3.5
Version 1.3.4
Fixed
- Add security check in
Relabel::getErrors
, only executegetFieldLayout
if there is a valid fieldLayoutId
Version 1.3.3
Fixed
- Fixes an issue with Craft loading all fields before Plugins are loaded that causes the currentUsers Field layout to be empty in certain cases https://github.com/craftcms/cms/issues/4944
Version 1.3.2.2
Changed
- Include
$element !== null
checks for all elements because Craft 3.2.0 so Craft throws exceptions since it can't find elements in some cases ¯\_(ツ)_/¯
Version 1.3.2
Added
- Changed labels of
Craft.elementIndex.sortMenu
accordingly to the relabeled strings
Version 1.3.1
Fixed
- Fixed a 500 error that happens when users change to fieldlayouts with matrix blocks without a field layout
Version 1.3.0
Added
- Added changed labels for Categories and Entries in the Craft.elementIndex
Version 1.2.7
Added
- Added support for Solspace Calendar #8
Version 1.2.6
Added
- add matrix support
- include Craft Commerce Variant field labels
Version 1.2.5
Added
- include
ProjectConfig::EVENT_REBUILD
support to rebuild the project config - include
ProjectConfig::ensureAllFieldsProcessed();
to prevent possible bugs
Version 1.2.4
Added
- Added Markdown support for field instructions if there is no html in it
- Make instruction textarea resizeable
Changed
- Remove certain all
console.log()
uses
Version 1.2.3
Added
- Included an additional Event
RegisterAdditionalLabelEvent
to add additional Labels together with the current field layout - Parsed nested fields such as Neo to layer one
- added public available
Craft.relabel.refresh();
andCraft.relabel.refreshFieldLayout();
functionsChanged
handleAjaxRequest
is now fired after all plugins are loaded- grab all field layouts on the site and not just the main one
- send multiple different Relabels for different field layouts and not just the main one
Fixed
- fixed a bug that prevent some elements from firing their relabeled HUDs correctly
- added some exception handling
Version 1.2.2
Fixed
- Fixed a bug that required 3rd party plugins to use their components without being initialized
Version 1.2.1
Fixed
- Fixed a bug that prevented to fetch the relabels on update
Version 1.2.0
Added
- Include support for project config
Version 1.1.8
Changed
- Only showing field labels when there is a user logged in and not during loading screen
Version 1.1.7
Fixed
- Included additional JavaScript checks to solve an undefined issue https://github.com/Anubarak/craft-relabel/issues/3
Version 1.1.6
Added
- Craft Commerce, include relabel for Orders, not just Products
Version 1.1.5
Fixed
- Fix in last commit
Version 1.1.4
Added
- Verbb Gift Voucher support https://github.com/verbb/gift-voucher
Version 1.1.3
Added
- Craft Commerce support
Version 1.1.2
Fixed
- Fixed a wrong translation
Changed
- Autofocus new popup window when relabeling a field
- Changed way to receive errors from elements in Twig please use
craft.relabel.getErrors(element)
now
Deprecated
- included the
anubarak\relabel\Variable.php
as behavior toCraftVariable
rather than a global to Twig
Version 1.1.1
Fixed
- Fixed a bug that prevents field layouts by rendered via ajax request to render properly
Version 1.1.0
Added
- Displaying Relabels for error messages
- Release in plugin store
Changed
- Changed the way to register labels in order to enable plugin events
Version 1.0.0
Added
- Initial release