Version 2.0.2

August 5, 2020

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

August 3, 2020

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

July 15, 2020

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

June 23, 2020

fixed

  • another try to change labels for all browser(s) and versions

Version 1.3.5.3

June 23, 2020

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

June 19, 2020

fixed

  • fixed a bug that prevented re-labeling in JS in the latest Chrome Version for whatever reason

Version 1.3.5.1

February 6, 2020

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

February 4, 2020

added

  • after a field layout was removed, all labels of this layout are now deleted

fixed

  • do not relabel fields in matrix blocks #14
  • fixed a bug that could cause the project-config syncing to fail 12 & #11
  • security fix by bencroker, thanks for this and sorry for being so late 13

Version 1.3.4

September 30, 2019

Fixed

  • Add security check in Relabel::getErrors, only execute getFieldLayout if there is a valid fieldLayoutId

Version 1.3.3

September 16, 2019

Fixed

Version 1.3.2.2

July 12, 2019

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

July 10, 2019

Added

  • Changed labels of Craft.elementIndex.sortMenu accordingly to the relabeled strings

Version 1.3.1

May 16, 2019

Fixed

  • Fixed a 500 error that happens when users change to fieldlayouts with matrix blocks without a field layout

Version 1.3.0

April 18, 2019

Added

  • Added changed labels for Categories and Entries in the Craft.elementIndex

Version 1.2.7

April 2, 2019

Added

  • Added support for Solspace Calendar #8

Version 1.2.6

April 2, 2019

Added

  • add matrix support
  • include Craft Commerce Variant field labels

Version 1.2.5

March 29, 2019

Added

  • include ProjectConfig::EVENT_REBUILD support to rebuild the project config
  • include ProjectConfig::ensureAllFieldsProcessed(); to prevent possible bugs

Version 1.2.4

March 13, 2019

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

February 21, 2019

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(); and Craft.relabel.refreshFieldLayout(); functions

    Changed

  • 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

January 31, 2019

Fixed

  • Fixed a bug that required 3rd party plugins to use their components without being initialized

Version 1.2.1

January 28, 2019

Fixed

  • Fixed a bug that prevented to fetch the relabels on update

Version 1.2.0

January 28, 2019

Added

  • Include support for project config

Version 1.1.8

January 25, 2019

Changed

  • Only showing field labels when there is a user logged in and not during loading screen

Version 1.1.7

December 18, 2018

Fixed

Version 1.1.6

December 14, 2018

Added

  • Craft Commerce, include relabel for Orders, not just Products

Version 1.1.5

December 10, 2018

Fixed

  • Fix in last commit

Version 1.1.4

December 7, 2018

Added

Version 1.1.3

October 28, 2018

Added

  • Craft Commerce support

Version 1.1.2

October 7, 2018

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 to CraftVariable rather than a global to Twig

Version 1.1.1

October 6, 2018

Fixed

  • Fixed a bug that prevents field layouts by rendered via ajax request to render properly

Version 1.1.0

October 6, 2018

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

February 15, 2018

Added

  • Initial release