As a developer I can annotate objects to be internationalized and let a framework do the rest (MAGNOLIA-5268)

[MAGNOLIA-5310] Create update tasks to remove deprecated i18n properties from apps Created: 12/Sep/13  Updated: 17/Sep/13  Resolved: 13/Sep/13

Status: Closed
Project: Magnolia
Component/s: i18n
Affects Version/s: None
Fix Version/s: 5.1

Type: Sub-task Priority: Neutral
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: 5.1 Beta1- Frontend, 5.1 - Final

 Description   

We need to create update tasks to remove some well-known deprecated i18n properties whose keys are now generated via the info.magnolia.i18n.I18nizer mechanism. The properties are 'label', 'confirmationMessage', 'i18nBasename' and 'description'
These are the paths within an app where such props will need to be removed

/module-name/apps/main-app-name -> remove label
/module-name/apps/subapps/each-subapp/actions/each-action -> remove label, confirmationMessage 
/module-name/apps/subapps/each-subapp/actionbar/sections/each-section -> remove label
/module-name/apps/dialogs/each-dialog/actions/each-action -> remove label
/module-name/apps/dialogs/each-dialog/form/whatever-down-to-leaf -> remove label, description, i18nBasename
/module-name/apps/subapps/each-subapp/workbench/contentViews/each-view/columns/each-column -> remove label

/ui-admincentral/config/userMenu
/ui-admincentral/config/appLauncherLayout

Apps involved are ui-admincentral, pages, dam, contacts, ui-mediaeditor, security-app, ui-framework, sample-app, categorisation, and messages-app.

As a complementary task, a groovy script has been created to remove those props and export a clean bootstrap file. The script has been made public and can be found at http://wiki.magnolia-cms.com/display/WIKI/Groovy+Shell+Scripts#GroovyShellScripts-Removepropertiesfromsomegivenbootstrapfilesandexportthecleanupfiles


Generated at Mon Feb 12 04:03:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.