[TASK] Use proper localization API
authorXavier Perseguers <xavier@typo3.org>
Wed, 17 Aug 2011 07:22:32 +0000 (09:22 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 21 Aug 2011 14:13:27 +0000 (16:13 +0200)
Use of TYPO3.lang has been deprecated. Use TYPO3.l10n.localize() instead.

Change-Id: I68f968df3f3d105ee566987c000e3dafb97b9fe3
Resolves: #29028
Releases: 4.6
Reviewed-on: http://review.typo3.org/4388
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
70 files changed:
t3lib/class.t3lib_pagerenderer.php
t3lib/js/extjs/tree/tree.js
typo3/sysext/cms/layout/res/grideditor.js
typo3/sysext/em/res/js/em_components.js
typo3/sysext/em/res/js/em_languages.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Button.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Checkbox.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Fieldset.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Fileupload.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Password.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Radio.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Reset.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Select.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Submit.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Textarea.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Basic/Textline.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/ButtonGroup.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Container.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Content/Header.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Dummy.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Elements.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Predefined/CheckboxGroup.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Predefined/Email.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Predefined/Name.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Elements/Predefined/RadioGroup.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Helpers/Element.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Elements.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Elements/Basic.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Elements/Content.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Elements/Predefined.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Form.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Form/PostProcessor.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Form/PostProcessors/Dummy.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Form/PostProcessors/PostProcessor.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Form/Prefix.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Dummy.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Attributes.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Filters.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Filters/Dummy.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Filters/Filter.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Label.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Legend.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Options.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Alphabetic.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Alphanumeric.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Between.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Date.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Digit.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Dummy.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Email.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Equals.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/FileAllowedTypes.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/FileMaximumSize.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/FileMinimumSize.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Float.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/GreaterThan.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/InArray.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Integer.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Ip.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Length.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/LessThan.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/RegExp.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Required.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Rule.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Validation/Uri.js
typo3/sysext/form/Resources/Public/JavaScript/Wizard/Viewport/Left/Options/Forms/Various.js
typo3/sysext/linkvalidator/modfuncreport/class.tx_linkvalidator_modfuncreport.php

index e524f92..4154163 100644 (file)
@@ -1121,8 +1121,8 @@ class t3lib_PageRenderer implements t3lib_Singleton {
                                if (event.code === Ext.Direct.exceptions.TRANSPORT && !event.where) {
                                        TYPO3.Flashmessage.display(
                                                TYPO3.Severity.error,
-                                               TYPO3.lang.extDirect_timeoutHeader,
-                                               TYPO3.lang.extDirect_timeoutMessage,
+                                               TYPO3.l10n.localize("extDirect_timeoutHeader"),
+                                               TYPO3.l10n.localize("extDirect_timeoutMessage"),
                                                30
                                        );
                                } else {
index 95ff4b2..f0cad39 100644 (file)
@@ -51,7 +51,7 @@ TYPO3.Components.Tree.StandardTree = function(config) {
                        clearOnLoad: false
                }),
                root: new Ext.tree.AsyncTreeNode({
-                       text: TYPO3.lang.tcatree,
+                       text: TYPO3.l10n.localize('tcatree'),
                        id: 'root',
                        expanded: true,
                        children: TYPO3.Components.Tree.StandardTreeItemData[config.id]
@@ -117,7 +117,7 @@ TYPO3.Components.Tree.Toolbar = function(items, scope) {
                        menu: {
                                items: [
                                        {
-                                               text: TYPO3.lang['tcatree.filter.startsWith'],
+                                               text: TYPO3.l10n.localize('tcatree.filter.startsWith'),
                                                checked: true,
                                                group: 'searchStartsWith',
                                                handler: function(item) {
@@ -127,7 +127,7 @@ TYPO3.Components.Tree.Toolbar = function(items, scope) {
                                                scope: scope
                                        },
                                        {
-                                               text: TYPO3.lang['tcatree.filter.contains'],
+                                               text: TYPO3.l10n.localize('tcatree.filter.contains'),
                                                checked: false,
                                                group: 'searchStartsWith',
                                                handler: function(item) {
@@ -141,7 +141,7 @@ TYPO3.Components.Tree.Toolbar = function(items, scope) {
                },
                new Ext.form.TextField({
                        width: 150,
-                       emptyText: TYPO3.lang['tcatree.findItem'],
+                       emptyText: TYPO3.l10n.localize('tcatree.findItem'),
                        enableKeyEvents: true,
                        itemId: 'filterText',
                        listeners:{
@@ -162,14 +162,14 @@ TYPO3.Components.Tree.Toolbar = function(items, scope) {
                '->',
                {
                        iconCls: 'icon-expand-all',
-                       tooltip: TYPO3.lang['tcatree.expandAll'],
+                       tooltip: TYPO3.l10n.localize('tcatree.expandAll'),
                        handler: function() {
                                        this.root.expand(true);
                        },
                        scope: scope
                }, {
                        iconCls: 'icon-collapse-all',
-                       tooltip: TYPO3.lang['tcatree.collapseAll'],
+                       tooltip: TYPO3.l10n.localize('tcatree.collapseAll'),
                        handler: function() {
                                this.root.collapse(true);
                        },
index 52309e3..9981a92 100644 (file)
@@ -189,28 +189,28 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
 
 
                                var cellHtml = '<div class="cell_container"><a class="link_editor" id="e_'
-                                               + col + '_' + row + '" title="' + TYPO3.lang.editCell + '" href="#"><!-- --></a>';
+                                               + col + '_' + row + '" title="' + TYPO3.l10n.localize('editCell') + '" href="#"><!-- --></a>';
                                if (this.cellCanSpanRight(col, row)) {
                                        cellHtml += '<a href="#" id="r_'
-                                               + col + '_' + row + '" title="' + TYPO3.lang.mergeCell + '" class="link_expand_right"><!-- --></a>';
+                                               + col + '_' + row + '" title="' + TYPO3.l10n.localize('mergeCell') + '" class="link_expand_right"><!-- --></a>';
                                }
                                if (this.cellCanShrinkLeft(col, row)) {
                                        cellHtml += '<a href="#" id="l_'
-                                               + col + '_' + row + '" title="' + TYPO3.lang.splitCell + '" class="link_shrink_left"><!-- --></a>';
+                                               + col + '_' + row + '" title="' + TYPO3.l10n.localize('splitCell') + '" class="link_shrink_left"><!-- --></a>';
                                }
                                if (this.cellCanSpanDown(col, row)) {
                                        cellHtml += '<a href="#" id="d_'
-                                               + col + '_' + row + '" title="' + TYPO3.lang.mergeCell + '" class="link_expand_down"><!-- --></a>';
+                                               + col + '_' + row + '" title="' + TYPO3.l10n.localize('mergeCell') + '" class="link_expand_down"><!-- --></a>';
                                }
                                if (this.cellCanShrinkUp(col, row)) {
                                        cellHtml += '<a href="#" id="u_'
-                                               + col + '_' + row + '" title="' + TYPO3.lang.splitCell + '" class="link_shrink_up"><!-- --></a>';
+                                               + col + '_' + row + '" title="' + TYPO3.l10n.localize('splitCell') + '" class="link_shrink_up"><!-- --></a>';
                                }
                                cellHtml += '</div>';
 
-                               cellHtml += '<div class="cell_data">' + TYPO3.lang.name + ': ' + (cell.name ? cell.name : TYPO3.lang.notSet)
-                                               + '<br />' + TYPO3.lang.column + ': '
-                                               + (cell.column === undefined ? TYPO3.lang.notSet : parseInt(cell.column, 10)) + '</div>';
+                               cellHtml += '<div class="cell_data">' + TYPO3.l10n.localize('name') + ': ' + (cell.name ? cell.name : TYPO3.l10n.localize('notSet'))
+                                               + '<br />' + TYPO3.l10n.localize('column') + ': '
+                                               + (cell.column === undefined ? TYPO3.l10n.localize('notSet') : parseInt(cell.column, 10)) + '</div>';
 
                                // create cells
                                var child = {
@@ -340,7 +340,7 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
 
                if (!win) {
                        var fieldName = new Ext.form.TextField({
-                               fieldLabel: TYPO3.lang.name,
+                               fieldLabel: TYPO3.l10n.localize('name'),
                                name: 'name',
                                width: 270,
                                value: cell.name,
@@ -349,14 +349,14 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
                                        render: function(c) {
                                                Ext.QuickTips.register({
                                                        target: c,
-                                                       text: TYPO3.lang.nameHelp
+                                                       text: TYPO3.l10n.localize('nameHelp')
                                                });
                                        }
                                }
                        });
 
                        var fieldColumn = new Ext.form.NumberField({
-                               fieldLabel: TYPO3.lang.column,
+                               fieldLabel: TYPO3.l10n.localize('column'),
                                name: 'column',
                                width: 50,
                                value: cell.column,
@@ -365,7 +365,7 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
                                        render: function(c) {
                                                Ext.QuickTips.register({
                                                        target: c,
-                                                       text: TYPO3.lang.columnHelp
+                                                       text: TYPO3.l10n.localize('columnHelp')
                                                });
                                        }
                                }
@@ -374,7 +374,7 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
 
                        win = new Ext.Window({
                                layout: 'fit',
-                               title: TYPO3.lang.title,
+                               title: TYPO3.l10n.localize('title'),
                                width: 400,
                                modal: true,
                                closable: true,
@@ -395,7 +395,7 @@ TYPO3.Backend.t3Grid = Ext.extend(Ext.Component, {
                                buttons: [
                                        {
                                                iconCls:'save',
-                                               text: TYPO3.lang.save,
+                                               text: TYPO3.l10n.localize('save'),
                                                handler: function(fieldName, fieldColumn, col, row) {
                                                        t3Grid.setName(fieldName.getValue(), col, row);
                                                        t3Grid.setColumn(fieldColumn.getValue(), col, row);
index ad14372..f788910 100644 (file)
@@ -648,7 +648,7 @@ TYPO3.EM.LanguagesProgressPanel = {
                TYPO3.EM.LanguagesProgressBar,
                {
                        xtype: 'button',
-                       text: 'cancel', //TYPO3.lang.cancel,
+                       text: 'cancel', //TYPO3.l10n.localize('cancel'),
                        id: 'lang-cancelbutton',
                        margins: '0 0 10 10',
                        width: 80
index c7e1bb2..adce6f9 100644 (file)
@@ -207,7 +207,7 @@ TYPO3.EM.Languages = Ext.extend(Ext.FormPanel, {
                                layout: 'fit',
                                items: [{
                                        xtype:'fieldset',
-                                       //title: TYPO3.lang.translation_status,
+                                       //title: TYPO3.l10n.localize('translation_status'),
                                        collapsible: false,
                                        items: [
                                                TYPO3.EM.LanguagesActionPanel,
index 028f8f3..894b4ce 100644 (file)
@@ -82,7 +82,7 @@ TYPO3.Form.Wizard.Elements.Basic.Button = Ext.extend(TYPO3.Form.Wizard.Elements,
                                        tabindex: '',
                                        title: '',
                                        type: 'button',
-                                       value: TYPO3.lang['tx_form_domain_model_element_button.value']
+                                       value: TYPO3.l10n.localize('tx_form_domain_model_element_button.value')
                                },
                                filters: {},
                                label: {
index 3667b1c..c68208a 100644 (file)
@@ -86,7 +86,7 @@ TYPO3.Form.Wizard.Elements.Basic.Checkbox = Ext.extend(TYPO3.Form.Wizard.Element
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'back',
                                validation: {}
index b630a77..e8aae46 100644 (file)
@@ -69,7 +69,7 @@ TYPO3.Form.Wizard.Elements.Basic.Fieldset = Ext.extend(TYPO3.Form.Wizard.Element
                                        style: ''
                                },
                                legend: {
-                                       value: TYPO3.lang.elements_legend
+                                       value: TYPO3.l10n.localize('elements_legend')
                                }
                        }
                });
index 6e4d021..c077079 100644 (file)
@@ -86,7 +86,7 @@ TYPO3.Form.Wizard.Elements.Basic.Fileupload = Ext.extend(TYPO3.Form.Wizard.Eleme
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'front',
                                validation: {}
index 81f87f2..eb23033 100644 (file)
@@ -89,7 +89,7 @@ TYPO3.Form.Wizard.Elements.Basic.Password = Ext.extend(TYPO3.Form.Wizard.Element
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'front',
                                validation: {}
index 6116b0e..9164772 100644 (file)
@@ -86,7 +86,7 @@ TYPO3.Form.Wizard.Elements.Basic.Radio = Ext.extend(TYPO3.Form.Wizard.Elements,
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'back',
                                validation: {}
index e5642a2..4356cd1 100644 (file)
@@ -82,7 +82,7 @@ TYPO3.Form.Wizard.Elements.Basic.Reset = Ext.extend(TYPO3.Form.Wizard.Elements,
                                        tabindex: '',
                                        title: '',
                                        type: 'reset',
-                                       value: TYPO3.lang['tx_form_domain_model_element_reset.value']
+                                       value: TYPO3.l10n.localize('tx_form_domain_model_element_reset.value')
                                },
                                filters: {},
                                label: {
index 4611017..d51e795 100644 (file)
@@ -87,15 +87,15 @@ TYPO3.Form.Wizard.Elements.Basic.Select = Ext.extend(TYPO3.Form.Wizard.Elements,
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                options: [
                                        {
-                                               data: TYPO3.lang.elements_option_1
+                                               data: TYPO3.l10n.localize('elements_option_1')
                                        }, {
-                                               data: TYPO3.lang.elements_option_2
+                                               data: TYPO3.l10n.localize('elements_option_2')
                                        }, {
-                                               data: TYPO3.lang.elements_option_3
+                                               data: TYPO3.l10n.localize('elements_option_3')
                                        }
                                ],
                                layout: 'front',
index efe8dcc..9648532 100644 (file)
@@ -82,7 +82,7 @@ TYPO3.Form.Wizard.Elements.Basic.Submit = Ext.extend(TYPO3.Form.Wizard.Elements,
                                        tabindex: '',
                                        title: '',
                                        type: 'submit',
-                                       value: TYPO3.lang['tx_form_domain_model_element_submit.value']
+                                       value: TYPO3.l10n.localize('tx_form_domain_model_element_submit.value')
                                },
                                filters: {},
                                label: {
index c722f88..54584ad 100644 (file)
@@ -87,7 +87,7 @@ TYPO3.Form.Wizard.Elements.Basic.Textarea = Ext.extend(TYPO3.Form.Wizard.Element
                                data: '',
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'front',
                                validation: {}
index b99e19e..ee394d4 100644 (file)
@@ -89,7 +89,7 @@ TYPO3.Form.Wizard.Elements.Basic.Textline = Ext.extend(TYPO3.Form.Wizard.Element
                                },
                                filters: {},
                                label: {
-                                       value: TYPO3.lang.elements_label
+                                       value: TYPO3.l10n.localize('elements_label')
                                },
                                layout: 'front',
                                validation: {}
index 37d3c7f..434f558 100644 (file)
@@ -46,12 +46,12 @@ TYPO3.Form.Wizard.ButtonGroup = Ext.extend(Ext.Container, {
                        items: [
                                {
                                        iconCls: 't3-icon t3-icon-actions t3-icon-actions-edit t3-icon-edit-delete',
-                                       tooltip: TYPO3.lang.elements_button_delete,
+                                       tooltip: TYPO3.l10n.localize('elements_button_delete'),
                                        handler: this.removeElement,
                                        scope: this
                                }, {
                                        iconCls: 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-open',
-                                       tooltip: TYPO3.lang.elements_button_edit,
+                                       tooltip: TYPO3.l10n.localize('elements_button_edit'),
                                        handler: this.setActive,
                                        scope: this
                                }
index 223abb1..1c2080e 100644 (file)
@@ -503,8 +503,8 @@ TYPO3.Form.Wizard.Container = Ext.extend(Ext.Container, {
                        // The current active element has errors, show it!
                } else {
                        Ext.MessageBox.show({
-                               title: TYPO3.lang.options_error,
-                               msg: TYPO3.lang.options_error_message,
+                               title: TYPO3.l10n.localize('options_error'),
+                               msg: TYPO3.l10n.localize('options_error_message'),
                                icon: Ext.MessageBox.ERROR,
                                buttons: Ext.MessageBox.OK
                        });
index 39db60e..626bbd2 100644 (file)
@@ -60,7 +60,7 @@ TYPO3.Form.Wizard.Elements.Content.Header = Ext.extend(TYPO3.Form.Wizard.Element
                                },
                                various: {
                                        headingSize: 'h1',
-                                       heading: TYPO3.lang.elements_heading
+                                       heading: TYPO3.l10n.localize('elements_heading')
                                }
                        }
                });
index f940965..b7ec2e9 100644 (file)
@@ -41,8 +41,8 @@ TYPO3.Form.Wizard.Elements.Dummy = Ext.extend(TYPO3.Form.Wizard.Elements, {
         * rendering the xtemplate, so we need a copy.
         */
        configuration: {
-               title: TYPO3.lang.elements_dummy_title,
-               description: TYPO3.lang.elements_dummy_description
+               title: TYPO3.l10n.localize('elements_dummy_title'),
+               description: TYPO3.l10n.localize('elements_dummy_description')
        },
 
        /**
index 1bdb5c4..d20e373 100644 (file)
@@ -194,8 +194,8 @@ TYPO3.Form.Wizard.Elements = Ext.extend(Ext.Container, {
         */
        confirmDeleteElement: function(event, target, object) {
                Ext.MessageBox.confirm(
-                       TYPO3.lang.elements_confirm_delete_title,
-                       TYPO3.lang.elements_confirm_delete_description,
+                       TYPO3.l10n.localize('elements_confirm_delete_title'),
+                       TYPO3.l10n.localize('elements_confirm_delete_description'),
                        this.deleteElement,
                        this
                );
index 79c781b..286775b 100644 (file)
@@ -68,15 +68,15 @@ TYPO3.Form.Wizard.Elements.Predefined.CheckboxGroup = Ext.extend(TYPO3.Form.Wiza
                                        style: ''
                                },
                                legend: {
-                                       value: TYPO3.lang.elements_legend
+                                       value: TYPO3.l10n.localize('elements_legend')
                                },
                                options: [
                                        {
-                                               data: TYPO3.lang.elements_option_1
+                                               data: TYPO3.l10n.localize('elements_option_1')
                                        }, {
-                                               data: TYPO3.lang.elements_option_2
+                                               data: TYPO3.l10n.localize('elements_option_2')
                                        }, {
-                                               data: TYPO3.lang.elements_option_3
+                                               data: TYPO3.l10n.localize('elements_option_3')
                                        }
                                ],
                                various: {
index 2f3d84e..e9c8aa0 100644 (file)
@@ -17,20 +17,20 @@ TYPO3.Form.Wizard.Elements.Predefined.Email = Ext.extend(TYPO3.Form.Wizard.Eleme
                                        name: 'email'
                                },
                                label: {
-                                       value: TYPO3.lang.elements_label_email
+                                       value: TYPO3.l10n.localize('elements_label_email')
                                },
                                validation: {
                                        required: {
                                                breakOnError: 0,
                                                showMessage: 1,
-                                               message: TYPO3.lang['tx_form_system_validate_required.message'],
-                                               error: TYPO3.lang['tx_form_system_validate_required.error']
+                                               message: TYPO3.l10n.localize('tx_form_system_validate_required.message'),
+                                               error: TYPO3.l10n.localize('tx_form_system_validate_required.error')
                                        },
                                        email: {
                                                breakOnError: 0,
                                                showMessage: 1,
-                                               message: TYPO3.lang['tx_form_system_validate_email.message'],
-                                               error: TYPO3.lang['tx_form_system_validate_email.error']
+                                               message: TYPO3.l10n.localize('tx_form_system_validate_email.message'),
+                                               error: TYPO3.l10n.localize('tx_form_system_validate_email.error')
                                        }
                                }
                        }
index cd6a0ae..8790f43 100644 (file)
@@ -21,7 +21,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                                        style: ''
                                },
                                legend: {
-                                       value: TYPO3.lang.elements_legend_name
+                                       value: TYPO3.l10n.localize('elements_legend_name')
                                },
                                various: {
                                        prefix: true,
@@ -61,7 +61,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                                cls: '',
                                configuration: {
                                        label: {
-                                               value: TYPO3.lang.elements_label_prefix
+                                               value: TYPO3.l10n.localize('elements_label_prefix')
                                        },
                                        attributes: {
                                                name: 'prefix',
@@ -77,7 +77,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                        cls: '',
                        configuration: {
                                label: {
-                                       value: TYPO3.lang.elements_label_firstname
+                                       value: TYPO3.l10n.localize('elements_label_firstname')
                                },
                                attributes: {
                                        name: 'firstName',
@@ -101,7 +101,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                                cls: '',
                                configuration: {
                                        label: {
-                                               value: TYPO3.lang.elements_label_middlename
+                                               value: TYPO3.l10n.localize('elements_label_middlename')
                                        },
                                        attributes: {
                                                name: 'middleName',
@@ -117,7 +117,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                        cls: '',
                        configuration: {
                                label: {
-                                       value: TYPO3.lang.elements_label_lastname
+                                       value: TYPO3.l10n.localize('elements_label_lastname')
                                },
                                attributes: {
                                        name: 'lastName',
@@ -141,7 +141,7 @@ TYPO3.Form.Wizard.Elements.Predefined.Name = Ext.extend(TYPO3.Form.Wizard.Elemen
                                cls: '',
                                configuration: {
                                        label: {
-                                               value: TYPO3.lang.elements_label_suffix
+                                               value: TYPO3.l10n.localize('elements_label_suffix')
                                        },
                                        attributes: {
                                                name: 'suffix',
index 5a1412b..11623ab 100644 (file)
@@ -68,15 +68,15 @@ TYPO3.Form.Wizard.Elements.Predefined.RadioGroup = Ext.extend(TYPO3.Form.Wizard.
                                        style: ''
                                },
                                legend: {
-                                       value: TYPO3.lang.elements_legend
+                                       value: TYPO3.l10n.localize('elements_legend')
                                },
                                options: [
                                        {
-                                               data: TYPO3.lang.elements_option_1
+                                               data: TYPO3.l10n.localize('elements_option_1')
                                        }, {
-                                               data: TYPO3.lang.elements_option_2
+                                               data: TYPO3.l10n.localize('elements_option_2')
                                        }, {
-                                               data: TYPO3.lang.elements_option_3
+                                               data: TYPO3.l10n.localize('elements_option_3')
                                        }
                                ],
                                various: {
index 5fad2f2..2b38ef2 100644 (file)
@@ -39,8 +39,8 @@ TYPO3.Form.Wizard.Helpers.Element = Ext.extend(Ext.util.Observable, {
                        this.fireEvent('setactive', this.active);
                } else {
                        Ext.MessageBox.show({
-                               title: TYPO3.lang.options_error,
-                               msg: TYPO3.lang.options_error_message,
+                               title: TYPO3.l10n.localize('options_error'),
+                               msg: TYPO3.l10n.localize('options_error_message'),
                                icon: Ext.MessageBox.ERROR,
                                buttons: Ext.MessageBox.OK
                        });
index b9a2130..b3670a7 100644 (file)
@@ -97,7 +97,7 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                                tag: 'span',
                                cls: 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-save',
                                id: 'formwizard-save',
-                               title: TYPO3.lang.save
+                               title: TYPO3.l10n.localize('save')
                        })
                );
 
@@ -106,7 +106,7 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                                        tag: 'span',
                                        cls: 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-document-save-close',
                                        id: 'formwizard-saveandclose',
-                                       title: TYPO3.lang.saveAndClose
+                                       title: TYPO3.l10n.localize('saveAndClose')
                                })
                        );
 
@@ -123,7 +123,7 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                                tag: 'span',
                                cls: 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-view-go-back',
                                id: 'formwizard-history-undo',
-                               title: TYPO3.lang.history_undo
+                               title: TYPO3.l10n.localize('history_undo')
                        })
                );
 
@@ -132,7 +132,7 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                                tag: 'span',
                                cls: 't3-icon t3-icon-actions t3-icon-actions-document t3-icon-view-go-forward',
                                id: 'formwizard-history-redo',
-                               title: TYPO3.lang.history_redo
+                               title: TYPO3.l10n.localize('history_redo')
                        })
                );
 
@@ -163,15 +163,15 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                        success: function(response, opts) {
                                var responseObject = Ext.decode(response.responseText);
                                Ext.MessageBox.alert(
-                                       TYPO3.lang.action_save,
+                                       TYPO3.l10n.localize('action_save'),
                                        responseObject.message
                                );
                        },
                        failure: function(response, opts) {
                                var responseObject = Ext.decode(response.responseText);
                                Ext.MessageBox.alert(
-                                       TYPO3.lang.action_save,
-                                       TYPO3.lang.action_save_error + ' ' + response.status
+                                       TYPO3.l10n.localize('action_save'),
+                                       TYPO3.l10n.localize('action_save_error') + ' ' + response.status
                                );
                        },
                        scope: this
@@ -202,8 +202,8 @@ TYPO3.Form.Wizard.Viewport = Ext.extend(Ext.Container, {
                        failure: function(response, opts) {
                                var responseObject = Ext.decode(response.responseText);
                                Ext.MessageBox.alert(
-                                       TYPO3.lang.action_save,
-                                       TYPO3.lang.action_save_error + ' ' + response.status
+                                       TYPO3.l10n.localize('action_save'),
+                                       TYPO3.l10n.localize('action_save_error') + ' ' + response.status
                                );
                        },
                        scope: this
index 35bdce9..e1aa8aa 100644 (file)
@@ -35,7 +35,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements = Ext.extend(Ext.Panel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_elements,
+       title: TYPO3.l10n.localize('left_elements'),
 
        /**
         * Constructor
@@ -67,8 +67,8 @@ TYPO3.Form.Wizard.Viewport.Left.Elements = Ext.extend(Ext.Panel, {
                                                '</tpl>'
                                        ),
                                        data: [{
-                                               title: TYPO3.lang.left_elements_intro_title,
-                                               description: TYPO3.lang.left_elements_intro_description
+                                               title: TYPO3.l10n.localize('left_elements_intro_title'),
+                                               description: TYPO3.l10n.localize('left_elements_intro_description')
                                        }],
                                        cls: 'formwizard-left-dummy typo3-message message-information'
                                }, {
index 0a98507..cb1d31c 100644 (file)
@@ -27,7 +27,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_elements_basic,
+       title: TYPO3.l10n.localize('left_elements_basic'),
 
        /**
         * Constructor
@@ -42,7 +42,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                        switch (option) {
                                case 'button':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_button,
+                                               text: TYPO3.l10n.localize('basic_button'),
                                                id: 'basic-button',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -52,7 +52,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'checkbox':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_checkbox,
+                                               text: TYPO3.l10n.localize('basic_checkbox'),
                                                id: 'basic-checkbox',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -62,7 +62,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'fieldset':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_fieldset,
+                                               text: TYPO3.l10n.localize('basic_fieldset'),
                                                id: 'basic-fieldset',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -72,7 +72,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'fileupload':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_fileupload,
+                                               text: TYPO3.l10n.localize('basic_fileupload'),
                                                id: 'basic-fileupload',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -82,7 +82,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'hidden':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_hidden,
+                                               text: TYPO3.l10n.localize('basic_hidden'),
                                                id: 'basic-hidden',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -92,7 +92,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'password':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_password,
+                                               text: TYPO3.l10n.localize('basic_password'),
                                                id: 'basic-password',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -102,7 +102,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'radio':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_radio,
+                                               text: TYPO3.l10n.localize('basic_radio'),
                                                id: 'basic-radio',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -112,7 +112,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'reset':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_reset,
+                                               text: TYPO3.l10n.localize('basic_reset'),
                                                id: 'basic-reset',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -122,7 +122,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'select':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_select,
+                                               text: TYPO3.l10n.localize('basic_select'),
                                                id: 'basic-select',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -132,7 +132,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'submit':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_submit,
+                                               text: TYPO3.l10n.localize('basic_submit'),
                                                id: 'basic-submit',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -142,7 +142,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'textarea':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_textarea,
+                                               text: TYPO3.l10n.localize('basic_textarea'),
                                                id: 'basic-textarea',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -152,7 +152,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Basic = Ext.extend(TYPO3.Form.Wizard.Vi
                                        break;
                                case 'textline':
                                        buttons.push({
-                                               text: TYPO3.lang.basic_textline,
+                                               text: TYPO3.l10n.localize('basic_textline'),
                                                id: 'basic-textline',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
index 23e740f..917cf47 100644 (file)
@@ -27,7 +27,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Content = Ext.extend(TYPO3.Form.Wizard.
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_elements_content,
+       title: TYPO3.l10n.localize('left_elements_content'),
 
        /**
         * Constructor
@@ -42,7 +42,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Content = Ext.extend(TYPO3.Form.Wizard.
                        switch (option) {
                                case 'header':
                                        buttons.push({
-                                               text: TYPO3.lang.content_header,
+                                               text: TYPO3.l10n.localize('content_header'),
                                                id: 'content-header',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
index 33f3294..a2659c0 100644 (file)
@@ -27,7 +27,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Predefined = Ext.extend(TYPO3.Form.Wiza
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_elements_predefined,
+       title: TYPO3.l10n.localize('left_elements_predefined'),
 
        /**
         * Constructor
@@ -42,7 +42,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Predefined = Ext.extend(TYPO3.Form.Wiza
                        switch (option) {
                                case 'email':
                                        buttons.push({
-                                               text: TYPO3.lang.predefined_email,
+                                               text: TYPO3.l10n.localize('predefined_email'),
                                                id: 'predefined-email',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -52,7 +52,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Predefined = Ext.extend(TYPO3.Form.Wiza
                                        break;
                                case 'radiogroup':
                                        buttons.push({
-                                               text: TYPO3.lang.predefined_radiogroup,
+                                               text: TYPO3.l10n.localize('predefined_radiogroup'),
                                                id: 'predefined-radiogroup',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -62,7 +62,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Predefined = Ext.extend(TYPO3.Form.Wiza
                                        break;
                                case 'checkboxgroup':
                                        buttons.push({
-                                               text: TYPO3.lang.predefined_checkboxgroup,
+                                               text: TYPO3.l10n.localize('predefined_checkboxgroup'),
                                                id: 'predefined-checkboxgroup',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
@@ -72,7 +72,7 @@ TYPO3.Form.Wizard.Viewport.Left.Elements.Predefined = Ext.extend(TYPO3.Form.Wiza
                                        break;
                                case 'name':
                                        buttons.push({
-                                               text: TYPO3.lang.predefined_name,
+                                               text: TYPO3.l10n.localize('predefined_name'),
                                                id: 'predefined-name',
                                                clickEvent: 'dblclick',
                                                handler: this.onDoubleClick,
index 7182c7c..13a8888 100644 (file)
@@ -35,7 +35,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form = Ext.extend(Ext.Panel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_form,
+       title: TYPO3.l10n.localize('left_form'),
 
        /**
         * @cfg {Boolean} border
index 202904f..4f362e1 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessor = Ext.extend(Ext.Panel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.form_postprocessor,
+       title: TYPO3.l10n.localize('form_postprocessor'),
 
        /**
         * @cfg {Object} validPostProcessors
@@ -56,7 +56,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessor = Ext.extend(Ext.Panel, {
                                        forceSelection: true,
                                        editable: false,
                                        hiddenName: 'postprocessor',
-                                       emptyText: TYPO3.lang.postprocessor_emptytext,
+                                       emptyText: TYPO3.l10n.localize('postprocessor_emptytext'),
                                        width: 150,
                                        displayField: 'label',
                                        valueField: 'value',
@@ -124,7 +124,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessor = Ext.extend(Ext.Panel, {
                var xtype = 'typo3-form-wizard-viewport-left-form-postprocessors-' + postProcessor;
 
                if (!Ext.isEmpty(this.findByType(xtype))) {
-                       Ext.MessageBox.alert(TYPO3.lang.postprocessor_alert_title, TYPO3.lang.postprocessor_alert_description);
+                       Ext.MessageBox.alert(TYPO3.l10n.localize('postprocessor_alert_title'), TYPO3.l10n.localize('postprocessor_alert_description'));
                } else {
                        this.remove(this.dummy);
 
@@ -175,7 +175,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessor = Ext.extend(Ext.Panel, {
                }
 
                Ext.iterate(allowedPostProcessors, function(item, index, allItems) {
-                       postProcessors.push({label: TYPO3.lang['postprocessor_' + item], value: item});
+                       postProcessors.push({label: TYPO3.l10n.localize('postprocessor_' + item), value: item});
                }, this);
 
                return postProcessors;
index 0e28503..e5e00b3 100644 (file)
@@ -31,8 +31,8 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.Dummy = Ext.extend(Ext.Panel
         * the Component.
         */
        data: [{
-               title: TYPO3.lang.postprocessor_dummy_title,
-               description: TYPO3.lang.postprocessor_dummy_description
+               title: TYPO3.l10n.localize('postprocessor_dummy_title'),
+               description: TYPO3.l10n.localize('postprocessor_dummy_description')
        }],
 
        /**
index 0b8c70c..d58f2cb 100644 (file)
@@ -67,7 +67,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.PostProcessor = Ext.extend(E
                        switch(item) {
                                case 'recipientEmail':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.postprocessor_properties_recipientemail,
+                                               fieldLabel: TYPO3.l10n.localize('postprocessor_properties_recipientemail'),
                                                name: 'recipientEmail',
                                                allowBlank: false,
                                                listeners: {
@@ -80,7 +80,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.PostProcessor = Ext.extend(E
                                        break;
                                case 'senderEmail':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.postprocessor_properties_senderemail,
+                                               fieldLabel: TYPO3.l10n.localize('postprocessor_properties_senderemail'),
                                                name: 'senderEmail',
                                                allowBlank: false,
                                                listeners: {
@@ -97,7 +97,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.PostProcessor = Ext.extend(E
                // TODO: Add the remove button when more post processors are available
                /*formItems.push({
                        xtype: 'button',
-                       text: TYPO3.lang.button_remove,
+                       text: TYPO3.l10n.localize('button_remove'),
                        handler: this.removePostProcessor,
                        scope: this
                });*/
@@ -106,7 +106,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.PostProcessors.PostProcessor = Ext.extend(E
                        items: [
                                {
                                        xtype: 'fieldset',
-                                       title: TYPO3.lang['postprocessor_' + this.processor],
+                                       title: TYPO3.l10n.localize('postprocessor_' + this.processor),
                                        autoHeight: true,
                                        defaults: {
                                                width: 128,
index bf5c30a..5f0bd88 100644 (file)
@@ -27,7 +27,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.Prefix = Ext.extend(Ext.FormPanel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.form_prefix,
+       title: TYPO3.l10n.localize('form_prefix'),
 
        /** @cfg {String} defaultType
         *
@@ -90,7 +90,7 @@ TYPO3.Form.Wizard.Viewport.Left.Form.Prefix = Ext.extend(Ext.FormPanel, {
                                defaultType: 'textfieldsubmit',
                                items: [
                                        {
-                                               fieldLabel: TYPO3.lang.prefix_prefix,
+                                               fieldLabel: TYPO3.l10n.localize('prefix_prefix'),
                                                name: 'prefix',
                                                allowBlank: false,
                                                listeners: {
index 2ed7e92..b5965ef 100755 (executable)
@@ -35,7 +35,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options = Ext.extend(Ext.Panel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.left_options,
+       title: TYPO3.l10n.localize('left_options'),
 
        /**
         * @cfg {Boolean} border
index d7733ab..9a40ae1 100755 (executable)
@@ -44,8 +44,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Dummy = Ext.extend(Ext.Panel, {
         * the Component.
         */
        data: [{
-               title: TYPO3.lang.options_dummy_title,
-               description: TYPO3.lang.options_dummy_description
+               title: TYPO3.l10n.localize('options_dummy_title'),
+               description: TYPO3.l10n.localize('options_dummy_description')
        }],
 
        /**
index db8596e..3a32499 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_attributes,
+       title: TYPO3.l10n.localize('options_attributes'),
 
        /** @cfg {String} defaultType
         *
@@ -62,7 +62,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                        switch(item) {
                                case 'accept':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_accept,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_accept'),
                                                name: 'accept',
                                                listeners: {
                                                        'triggerclick': {
@@ -74,7 +74,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'acceptcharset':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_acceptcharset,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_acceptcharset'),
                                                name: 'acceptcharset',
                                                listeners: {
                                                        'triggerclick': {
@@ -86,7 +86,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'accesskey':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_accesskey,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_accesskey'),
                                                name: 'accesskey',
                                                maxlength: 1,
                                                listeners: {
@@ -99,7 +99,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'action':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_action,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_action'),
                                                name: 'action',
                                                listeners: {
                                                        'triggerclick': {
@@ -111,7 +111,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'alt':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_alt,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_alt'),
                                                name: 'alt',
                                                listeners: {
                                                        'triggerclick': {
@@ -124,7 +124,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                case 'checked':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.attributes_checked,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_checked'),
                                                name: 'checked',
                                                inputValue: 'checked',
                                                listeners: {
@@ -137,7 +137,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'class':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_class,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_class'),
                                                name: 'class',
                                                listeners: {
                                                        'triggerclick': {
@@ -149,7 +149,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'cols':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_cols,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_cols'),
                                                name: 'cols',
                                                xtype: 'spinnerfield',
                                                allowBlank: false,
@@ -163,7 +163,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'dir':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_dir,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_dir'),
                                                name: 'dir',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -176,8 +176,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.attributes_dir_ltr, value: 'ltr'},
-                                                               {label: TYPO3.lang.attributes_dir_rtl, value: 'rtl'}
+                                                               {label: TYPO3.l10n.localize('attributes_dir_ltr'), value: 'ltr'},
+                                                               {label: TYPO3.l10n.localize('attributes_dir_rtl'), value: 'rtl'}
                                                        ]
                                                }),
                                                listeners: {
@@ -191,7 +191,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                case 'disabled':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.attributes_disabled,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_disabled'),
                                                name: 'disabled',
                                                inputValue: 'disabled',
                                                listeners: {
@@ -204,7 +204,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'enctype':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_enctype,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_enctype'),
                                                name: 'enctype',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -217,9 +217,9 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.attributes_enctype_1, value: 'application/x-www-form-urlencoded'},
-                                                               {label: TYPO3.lang.attributes_enctype_2, value: 'multipart/form-data'},
-                                                               {label: TYPO3.lang.attributes_enctype_3, value: 'text/plain'}
+                                                               {label: TYPO3.l10n.localize('attributes_enctype_1'), value: 'application/x-www-form-urlencoded'},
+                                                               {label: TYPO3.l10n.localize('attributes_enctype_2'), value: 'multipart/form-data'},
+                                                               {label: TYPO3.l10n.localize('attributes_enctype_3'), value: 'text/plain'}
                                                        ]
                                                }),
                                                listeners: {
@@ -232,7 +232,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'id':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_id,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_id'),
                                                name: 'id',
                                                listeners: {
                                                        'triggerclick': {
@@ -244,7 +244,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'label':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_label,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_label'),
                                                name: 'label',
                                                listeners: {
                                                        'triggerclick': {
@@ -256,7 +256,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'lang':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_lang,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_lang'),
                                                name: 'lang',
                                                listeners: {
                                                        'triggerclick': {
@@ -268,7 +268,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'maxlength':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_maxlength,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_maxlength'),
                                                name: 'maxlength',
                                                xtype: 'spinnerfield',
                                                listeners: {
@@ -281,7 +281,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'method':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_method,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_method'),
                                                name: 'method',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -294,8 +294,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.attributes_method_get, value: 'get'},
-                                                               {label: TYPO3.lang.attributes_method_post, value: 'post'}
+                                                               {label: TYPO3.l10n.localize('attributes_method_get'), value: 'get'},
+                                                               {label: TYPO3.l10n.localize('attributes_method_post'), value: 'post'}
                                                        ]
                                                }),
                                                listeners: {
@@ -309,7 +309,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                case 'multiple':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.attributes_multiple,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_multiple'),
                                                name: 'multiple',
                                                inputValue: 'multiple',
                                                listeners: {
@@ -322,7 +322,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'name':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_name,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_name'),
                                                name: 'name',
                                                allowBlank:false,
                                                listeners: {
@@ -336,7 +336,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                case 'readonly':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.attributes_readonly,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_readonly'),
                                                name: 'readonly',
                                                inputValue: 'readonly',
                                                listeners: {
@@ -349,7 +349,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'rows':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_rows,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_rows'),
                                                name: 'rows',
                                                xtype: 'spinnerfield',
                                                allowBlank: false,
@@ -364,7 +364,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                case 'selected':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.attributes_selected,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_selected'),
                                                name: 'selected',
                                                inputValue: 'selected',
                                                listeners: {
@@ -377,7 +377,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'size':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_size,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_size'),
                                                name: 'size',
                                                xtype: 'spinnerfield',
                                                listeners: {
@@ -390,7 +390,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'src':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_src,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_src'),
                                                name: 'src',
                                                listeners: {
                                                        'triggerclick': {
@@ -402,7 +402,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'style':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_style,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_style'),
                                                name: 'style',
                                                listeners: {
                                                        'triggerclick': {
@@ -414,7 +414,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'tabindex':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_tabindex,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_tabindex'),
                                                name: 'tabindex',
                                                xtype: 'spinnerfield',
                                                listeners: {
@@ -427,7 +427,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'title':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_title,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_title'),
                                                name: 'title',
                                                listeners: {
                                                        'triggerclick': {
@@ -439,7 +439,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'type':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_type,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_type'),
                                                name: 'type',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -452,16 +452,16 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.attributes_type_button, value: 'button'},
-                                                               {label: TYPO3.lang.attributes_type_checkbox, value: 'checkbox'},
-                                                               {label: TYPO3.lang.attributes_type_file, value: 'file'},
-                                                               {label: TYPO3.lang.attributes_type_hidden, value: 'hidden'},
-                                                               {label: TYPO3.lang.attributes_type_image, value: 'image'},
-                                                               {label: TYPO3.lang.attributes_type_password, value: 'password'},
-                                                               {label: TYPO3.lang.attributes_type_radio, value: 'radio'},
-                                                               {label: TYPO3.lang.attributes_type_reset, value: 'reset'},
-                                                               {label: TYPO3.lang.attributes_type_submit, value: 'submit'},
-                                                               {label: TYPO3.lang.attributes_type_text, value: 'text'}
+                                                               {label: TYPO3.l10n.localize('attributes_type_button'), value: 'button'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_checkbox'), value: 'checkbox'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_file'), value: 'file'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_hidden'), value: 'hidden'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_image'), value: 'image'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_password'), value: 'password'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_radio'), value: 'radio'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_reset'), value: 'reset'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_submit'), value: 'submit'},
+                                                               {label: TYPO3.l10n.localize('attributes_type_text'), value: 'text'}
                                                        ]
                                                }),
                                                listeners: {
@@ -474,7 +474,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Attributes = Ext.extend(Ext.FormPa
                                        break;
                                case 'value':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.attributes_value,
+                                               fieldLabel: TYPO3.l10n.localize('attributes_value'),
                                                name: 'value',
                                                listeners: {
                                                        'triggerclick': {
index 718ed9b..60a0933 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters = Ext.extend(Ext.Panel, {
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_filters,
+       title: TYPO3.l10n.localize('options_filters'),
 
        /**
         * @cfg {Object} validFilters
@@ -65,7 +65,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters = Ext.extend(Ext.Panel, {
                                        forceSelection: true,
                                        editable: false,
                                        hiddenName: 'filters',
-                                       emptyText: TYPO3.lang.filters_emptytext,
+                                       emptyText: TYPO3.l10n.localize('filters_emptytext'),
                                        width: 150,
                                        displayField: 'label',
                                        valueField: 'value',
@@ -130,7 +130,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters = Ext.extend(Ext.Panel, {
                var xtype = 'typo3-form-wizard-viewport-left-options-forms-filters-' + filter;
 
                if (!Ext.isEmpty(this.findByType(xtype))) {
-                       Ext.MessageBox.alert(TYPO3.lang.filters_alert_title, TYPO3.lang.filters_alert_description);
+                       Ext.MessageBox.alert(TYPO3.l10n.localize('filters_alert_title'), TYPO3.l10n.localize('filters_alert_description'));
                } else {
                        this.remove(this.dummy);
 
@@ -207,7 +207,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters = Ext.extend(Ext.Panel, {
 
                Ext.iterate(allowedElementFilters, function(item, index, allItems) {
                        if (allowedDefaultFilters.indexOf(item) > -1) {
-                               filters.push({label: TYPO3.lang['filters_' + item], value: item});
+                               filters.push({label: TYPO3.l10n.localize('filters_' + item), value: item});
                        }
                }, this);
 
index 7c16af8..f8b71a3 100644 (file)
@@ -37,8 +37,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Dummy = Ext.extend(Ext.Pan
         * the Component.
         */
        data: [{
-               title: TYPO3.lang.filters_dummy_title,
-               description: TYPO3.lang.filters_dummy_description
+               title: TYPO3.l10n.localize('filters_dummy_title'),
+               description: TYPO3.l10n.localize('filters_dummy_description')
        }],
 
        /**
index b4167a6..713c21d 100644 (file)
@@ -66,7 +66,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                case 'allowWhiteSpace':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.filters_properties_allowwhitespace,
+                                               fieldLabel: TYPO3.l10n.localize('filters_properties_allowwhitespace'),
                                                name: 'allowWhiteSpace',
                                                inputValue: '1',
                                                listeners: {
@@ -79,7 +79,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                        break;
                                case 'decimalPoint':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.filters_properties_decimalpoint,
+                                               fieldLabel: TYPO3.l10n.localize('filters_properties_decimalpoint'),
                                                name: 'decimalPoint',
                                                allowBlank: false,
                                                listeners: {
@@ -92,7 +92,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                        break;
                                case 'thousandSeparator':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.filters_properties_thousandseparator,
+                                               fieldLabel: TYPO3.l10n.localize('filters_properties_thousandseparator'),
                                                name: 'thousandSeparator',
                                                allowBlank: false,
                                                listeners: {
@@ -105,7 +105,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                        break;
                                case 'expression':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.filters_properties_expression,
+                                               fieldLabel: TYPO3.l10n.localize('filters_properties_expression'),
                                                name: 'expression',
                                                allowBlank: false,
                                                listeners: {
@@ -118,7 +118,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                        break;
                                case 'characterList':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.filters_properties_characterlist,
+                                               fieldLabel: TYPO3.l10n.localize('filters_properties_characterlist'),
                                                name: 'characterList',
                                                allowBlank: false,
                                                listeners: {
@@ -141,8 +141,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
                                width: 256,
                                cls: 'typo3-message message-information',
                                data: [{
-                                       title: TYPO3.lang.filters_properties_none_title,
-                                       description: TYPO3.lang.filters_properties_none
+                                       title: TYPO3.l10n.localize('filters_properties_none_title'),
+                                       description: TYPO3.l10n.localize('filters_properties_none')
                                }],
                                tpl: new Ext.XTemplate(
                                        '<tpl for=".">',
@@ -156,7 +156,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Filters.Filter = Ext.extend(Ext.Fo
 
                formItems.push({
                        xtype: 'button',
-                       text: TYPO3.lang.button_remove,
+                       text: TYPO3.l10n.localize('button_remove'),
                        handler: this.removeFilter,
                        scope: this
                });
index 4a30cd2..6bea801 100755 (executable)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Label = Ext.extend(Ext.FormPanel,
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_label,
+       title: TYPO3.l10n.localize('options_label'),
 
        /** @cfg {String} defaultType
         *
@@ -60,7 +60,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Label = Ext.extend(Ext.FormPanel,
                        switch(item) {
                                case 'label':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.label_label,
+                                               fieldLabel: TYPO3.l10n.localize('label_label'),
                                                name: 'label',
                                                listeners: {
                                                        'triggerclick': {
@@ -72,7 +72,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Label = Ext.extend(Ext.FormPanel,
                                        break;
                                case 'layout':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.label_layout,
+                                               fieldLabel: TYPO3.l10n.localize('label_layout'),
                                                name: 'layout',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -85,8 +85,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Label = Ext.extend(Ext.FormPanel,
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.label_layout_front, value: 'front'},
-                                                               {label: TYPO3.lang.label_layout_back, value: 'back'}
+                                                               {label: TYPO3.l10n.localize('label_layout_front'), value: 'front'},
+                                                               {label: TYPO3.l10n.localize('label_layout_back'), value: 'back'}
                                                        ]
                                                }),
                                                listeners: {
index 0c6301f..ec379c1 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Legend = Ext.extend(Ext.FormPanel,
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_legend,
+       title: TYPO3.l10n.localize('options_legend'),
 
        /** @cfg {String} defaultType
         *
@@ -66,7 +66,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Legend = Ext.extend(Ext.FormPanel,
                                defaultType: 'textfieldsubmit',
                                items: [
                                        {
-                                               fieldLabel: TYPO3.lang.legend_legend,
+                                               fieldLabel: TYPO3.l10n.localize('legend_legend'),
                                                name: 'legend',
                                                enableKeyEvents: true,
                                                listeners: {
index 8e9f5e8..cd6bd6b 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_fieldoptions,
+       title: TYPO3.l10n.localize('options_fieldoptions'),
 
        /**
         * @cfg {String} autoExpandColumn
@@ -44,7 +44,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
         */
        viewConfig:{
                forceFit: true,
-               emptyText: TYPO3.lang.fieldoptions_emptytext,
+               emptyText: TYPO3.l10n.localize('fieldoptions_emptytext'),
                scrollOffset: 0
        },
 
@@ -90,7 +90,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
 
                var checkColumn = new Ext.ux.grid.SingleSelectCheckColumn({
                        id: 'selected',
-                       header: TYPO3.lang.fieldoptions_selected,
+                       header: TYPO3.l10n.localize('fieldoptions_selected'),
                        dataIndex: 'selected',
                        width: 30
                });
@@ -106,7 +106,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
                                columns: [
                                        {
                                                id: 'data',
-                                               header: TYPO3.lang.fieldoptions_data,
+                                               header: TYPO3.l10n.localize('fieldoptions_data'),
                                                dataIndex: 'data',
                                                editor: new Ext.ux.form.TextFieldSubmit({
                                                        allowBlank: false,
@@ -124,7 +124,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
                        selModel: itemDeleter,
                        plugins: [checkColumn],
                        tbar: [{
-                               text: TYPO3.lang.fieldoptions_button_add,
+                               text: TYPO3.l10n.localize('fieldoptions_button_add'),
                                handler: this.addOption,
                                scope: this
                        }]
@@ -145,7 +145,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Options = Ext.extend(Ext.grid.Edit
        addOption: function() {
                var option = this.store.recordType;
                var newOption = new option({
-                       data: TYPO3.lang.fieldoptions_new,
+                       data: TYPO3.l10n.localize('fieldoptions_new'),
                        selected: false
                });
                this.stopEditing();
index bd1b4ad..11618cf 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation = Ext.extend(Ext.Panel,
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_validation,
+       title: TYPO3.l10n.localize('options_validation'),
 
        /**
         * @cfg {String} id
@@ -86,7 +86,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation = Ext.extend(Ext.Panel,
                                        forceSelection: true,
                                        editable: false,
                                        hiddenName: 'rules',
-                                       emptyText: TYPO3.lang.validation_emptytext,
+                                       emptyText: TYPO3.l10n.localize('validation_emptytext'),
                                        width: 150,
                                        displayField: 'label',
                                        valueField: 'value',
@@ -154,7 +154,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation = Ext.extend(Ext.Panel,
                var xtype = 'typo3-form-wizard-viewport-left-options-forms-validation-' + rule;
 
                if (!Ext.isEmpty(this.findByType(xtype))) {
-                       Ext.MessageBox.alert(TYPO3.lang.validation_alert_title, TYPO3.lang.validation_alert_description);
+                       Ext.MessageBox.alert(TYPO3.l10n.localize('validation_alert_title'), TYPO3.l10n.localize('validation_alert_description'));
                } else {
                        this.remove(this.dummy);
 
@@ -237,7 +237,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation = Ext.extend(Ext.Panel,
 
                Ext.iterate(allowedElementRules, function(item, index, allItems) {
                        if (allowedDefaultRules.indexOf(item) > -1) {
-                               rules.push({label: TYPO3.lang['validation_' + item], value: item});
+                               rules.push({label: TYPO3.l10n.localize('validation_' + item), value: item});
                        }
                }, this);
 
index bb3dc5e..c59fe33 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Alphabetic = Ext.extend
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_alphabetic.message'],
-                               error: TYPO3.lang['tx_form_system_validate_alphabetic.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_alphabetic.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_alphabetic.error'),
                                allowWhiteSpace: 0
                        }
                });
index baaec42..6c02255 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Alphanumeric = Ext.exte
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_alphanumeric.message'],
-                               error: TYPO3.lang['tx_form_system_validate_alphanumeric.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_alphanumeric.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_alphanumeric.error'),
                                allowWhiteSpace: 0
                        }
                });
index c27251a..b55e4ad 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Between = Ext.extend(TY
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_between.message'],
-                               error: TYPO3.lang['tx_form_system_validate_between.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_between.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_between.error'),
                                minimum: 0,
                                maximum: 0,
                                inclusive: 0
index 81433e3..b559ecd 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Date = Ext.extend(TYPO3
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_date.message'],
-                               error: TYPO3.lang['tx_form_system_validate_date.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_date.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_date.error'),
                                format: '%e-%m-%Y'
                        }
                });
index 4704e39..751f228 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Digit = Ext.extend(TYPO
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_digit.message'],
-                               error: TYPO3.lang['tx_form_system_validate_digit.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_digit.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_digit.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Digit.superclass.constructor.apply(this, arguments);
index 7fa6001..603b73e 100644 (file)
@@ -37,8 +37,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Dummy = Ext.extend(Ext.
         * the Component.
         */
        data: [{
-               title: TYPO3.lang.validation_dummy_title,
-               description: TYPO3.lang.validation_dummy_description
+               title: TYPO3.l10n.localize('validation_dummy_title'),
+               description: TYPO3.l10n.localize('validation_dummy_description')
        }],
 
        /**
index 9b68a7a..4cad511 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Email = Ext.extend(TYPO
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_email.message'],
-                               error: TYPO3.lang['tx_form_system_validate_email.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_email.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_email.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Email.superclass.constructor.apply(this, arguments);
index a184785..1fe7dca 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Equals = Ext.extend(TYP
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_equals.message'],
-                               error: TYPO3.lang['tx_form_system_validate_equals.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_equals.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_equals.error'),
                                field: ''
                        }
                });
index 71eda77..52f8a31 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.FileAllowedTypes = Ext.
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_fileallowedtypes.message'],
-                               error: TYPO3.lang['tx_form_system_validate_fileallowedtypes.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_fileallowedtypes.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_fileallowedtypes.error'),
                                types: ''
                        }
                });
index afe8ddb..8da64e5 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.FileMaximumSize = Ext.e
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_filemaximumsize.message'],
-                               error: TYPO3.lang['tx_form_system_validate_filemaximumsize.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_filemaximumsize.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_filemaximumsize.error'),
                                maximum: 0
                        }
                });
index 211b3d9..f55c32c 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.FileMinimumSize = Ext.e
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_fileminimumsize.message'],
-                               error: TYPO3.lang['tx_form_system_validate_fileminimumsize.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_fileminimumsize.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_fileminimumsize.error'),
                                minimum: 0
                        }
                });
index 7e86d1f..830c305 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Float = Ext.extend(TYPO
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_float.message'],
-                               error: TYPO3.lang['tx_form_system_validate_float.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_float.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_float.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Float.superclass.constructor.apply(this, arguments);
index d8bd539..f2aa049 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.GreaterThan = Ext.exten
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_greaterthan.message'],
-                               error: TYPO3.lang['tx_form_system_validate_greaterthan.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_greaterthan.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_greaterthan.error'),
                                minimum: 0
                        }
                });
index bbd848b..cbd8815 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.InArray = Ext.extend(TY
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_inarray.message'],
-                               error: TYPO3.lang['tx_form_system_validate_inarray.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_inarray.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_inarray.error'),
                                array: '',
                                strict: 0
                        }
index 809b39c..38e982e 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Integer = Ext.extend(TY
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_integer.message'],
-                               error: TYPO3.lang['tx_form_system_validate_integer.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_integer.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_integer.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Integer.superclass.constructor.apply(this, arguments);
index 557601d..be7abed 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Ip = Ext.extend(TYPO3.F
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_ip.message'],
-                               error: TYPO3.lang['tx_form_system_validate_ip.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_ip.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_ip.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Ip.superclass.constructor.apply(this, arguments);
index 01636f6..c720ae7 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Length = Ext.extend(TYP
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_length.message'],
-                               error: TYPO3.lang['tx_form_system_validate_length.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_length.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_length.error'),
                                minimum: 0,
                                maximum: 0
                        }
index d4fb35a..c62a9e0 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.LessThan = Ext.extend(T
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_lessthan.message'],
-                               error: TYPO3.lang['tx_form_system_validate_lessthan.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_lessthan.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_lessthan.error'),
                                maximum: 0
                        }
                });
index 90e6f3e..8ef6088 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.RegExp = Ext.extend(TYP
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_regexp.message'],
-                               error: TYPO3.lang['tx_form_system_validate_regexp.error'],
+                               message: TYPO3.l10n.localize('tx_form_system_validate_regexp.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_regexp.error'),
                                expression: ''
                        }
                });
index 9a89279..ffddc2c 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Required = Ext.extend(T
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_required.message'],
-                               error: TYPO3.lang['tx_form_system_validate_required.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_required.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_required.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Required.superclass.constructor.apply(this, arguments);
index 9b3c67f..a029059 100644 (file)
@@ -67,7 +67,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                        switch(item) {
                                case 'message':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_message,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_message'),
                                                name: 'message',
                                                allowBlank: false,
                                                listeners: {
@@ -80,7 +80,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        break;
                                case 'error':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_error,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_error'),
                                                name: 'error',
                                                allowBlank: false,
                                                listeners: {
@@ -94,7 +94,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'breakOnError':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.validation_properties_breakonerror,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_breakonerror'),
                                                name: 'breakOnError',
                                                inputValue: '1',
                                                listeners: {
@@ -108,7 +108,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'showMessage':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.validation_properties_showmessage,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_showmessage'),
                                                name: 'showMessage',
                                                inputValue: '1',
                                                listeners: {
@@ -122,7 +122,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'allowWhiteSpace':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.validation_properties_allowwhitespace,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_allowwhitespace'),
                                                name: 'allowWhiteSpace',
                                                inputValue: '1',
                                                listeners: {
@@ -136,7 +136,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'minimum':
                                        formItems.push({
                                                xtype: 'spinnerfield',
-                                               fieldLabel: TYPO3.lang.validation_properties_minimum,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_minimum'),
                                                name: 'minimum',
                                                minValue: 0,
                                                accelerate: true,
@@ -151,7 +151,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'maximum':
                                        formItems.push({
                                                xtype: 'spinnerfield',
-                                               fieldLabel: TYPO3.lang.validation_properties_maximum,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_maximum'),
                                                name: 'maximum',
                                                minValue: 0,
                                                accelerate: true,
@@ -166,7 +166,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                case 'inclusive':
                                        formItems.push({
                                                xtype: 'checkbox',
-                                               fieldLabel: TYPO3.lang.validation_properties_inclusive,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_inclusive'),
                                                name: 'inclusive',
                                                inputValue: '1',
                                                listeners: {
@@ -179,7 +179,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        break;
                                case 'format':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_format,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_format'),
                                                name: 'format',
                                                allowBlank: false,
                                                listeners: {
@@ -192,7 +192,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        break;
                                case 'field':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_field,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_field'),
                                                name: 'field',
                                                allowBlank: false,
                                                listeners: {
@@ -205,7 +205,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        break;
                                case 'array':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_array,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_array'),
                                                name: 'array',
                                                allowBlank: false,
                                                listeners: {
@@ -218,7 +218,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        break;
                                case 'expression':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_expression,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_expression'),
                                                name: 'expression',
                                                allowBlank: false,
                                                listeners: {
@@ -230,7 +230,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                                        });
                                case 'types':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.validation_properties_types,
+                                               fieldLabel: TYPO3.l10n.localize('validation_properties_types'),
                                                name: 'types',
                                                allowBlank: false,
                                                listeners: {
@@ -246,7 +246,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
 
                formItems.push({
                        xtype: 'button',
-                       text: TYPO3.lang.button_remove,
+                       text: TYPO3.l10n.localize('button_remove'),
                        handler: this.removeRule,
                        scope: this
                });
@@ -255,7 +255,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Rule = Ext.extend(Ext.F
                        items: [
                                {
                                        xtype: 'fieldset',
-                                       title: TYPO3.lang['validation_' + this.rule],
+                                       title: TYPO3.l10n.localize('validation_' + this.rule),
                                        autoHeight: true,
                                        defaults: {
                                                width: 128,
index 5adc6e3..47a38c3 100644 (file)
@@ -25,8 +25,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Uri = Ext.extend(TYPO3.
                        configuration: {
                                breakOnError: 0,
                                showMessage: 1,
-                               message: TYPO3.lang['tx_form_system_validate_uri.message'],
-                               error: TYPO3.lang['tx_form_system_validate_uri.error']
+                               message: TYPO3.l10n.localize('tx_form_system_validate_uri.message'),
+                               error: TYPO3.l10n.localize('tx_form_system_validate_uri.error')
                        }
                });
                TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Validation.Uri.superclass.constructor.apply(this, arguments);
index 1247170..ddc790f 100644 (file)
@@ -12,7 +12,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
         * The title text to be used as innerHTML (html tags are accepted) to
         * display in the panel header (defaults to '').
         */
-       title: TYPO3.lang.options_various,
+       title: TYPO3.l10n.localize('options_various'),
 
        /** @cfg {String} defaultType
         *
@@ -52,7 +52,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                        switch(key) {
                                case 'name':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_name,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_name'),
                                                name: 'name',
                                                allowBlank: false,
                                                listeners: {
@@ -65,7 +65,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                        break;
                                case 'heading':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_heading,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_heading'),
                                                name: 'heading',
                                                allowBlank: false,
                                                listeners: {
@@ -78,7 +78,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                        break;
                                case 'headingSize':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_headingsize,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_headingsize'),
                                                name: 'headingSize',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -108,7 +108,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                        break;
                                case 'prefix':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_prefix,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_prefix'),
                                                name: 'prefix',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -121,8 +121,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.yes, value: true},
-                                                               {label: TYPO3.lang.no, value: false}
+                                                               {label: TYPO3.l10n.localize('yes'), value: true},
+                                                               {label: TYPO3.l10n.localize('no'), value: false}
                                                        ]
                                                }),
                                                listeners: {
@@ -135,7 +135,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                        break;
                                case 'suffix':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_suffix,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_suffix'),
                                                name: 'suffix',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -148,8 +148,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.yes, value: true},
-                                                               {label: TYPO3.lang.no, value: false}
+                                                               {label: TYPO3.l10n.localize('yes'), value: true},
+                                                               {label: TYPO3.l10n.localize('no'), value: false}
                                                        ]
                                                }),
                                                listeners: {
@@ -162,7 +162,7 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                        break;
                                case 'middleName':
                                        formItems.push({
-                                               fieldLabel: TYPO3.lang.various_properties_middlename,
+                                               fieldLabel: TYPO3.l10n.localize('various_properties_middlename'),
                                                name: 'middleName',
                                                xtype: 'combo',
                                                mode: 'local',
@@ -175,8 +175,8 @@ TYPO3.Form.Wizard.Viewport.Left.Options.Forms.Various = Ext.extend(Ext.FormPanel
                                                store: new Ext.data.JsonStore({
                                                        fields: ['label', 'value'],
                                                        data: [
-                                                               {label: TYPO3.lang.yes, value: true},
-                                                               {label: TYPO3.lang.no, value: false}
+                                                               {label: TYPO3.l10n.localize('yes'), value: true},
+                                                               {label: TYPO3.l10n.localize('no'), value: false}
                                                        ]
                                                }),
                                                listeners: {
index 9b59b1e..d8d8150 100644 (file)
@@ -214,8 +214,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
                $panelCheck = '';
                if ($this->modTS['showCheckLinkTab'] == 1) {
                        $panelCheck = '{
-
-                      title: TYPO3.lang.CheckLink,
+                      title: TYPO3.l10n.localize(\'CheckLink\'),
                       html: ' . json_encode($this->flush()) . ',
                        },      ';
                }
@@ -231,7 +230,7 @@ class tx_linkvalidator_ModFuncReport extends t3lib_extobjbase {
                        plugins: [new Ext.ux.plugins.FitToParent()],
                        items : [
                        {
-                      title: TYPO3.lang.Report,
+                      title: TYPO3.l10n.localize(\'Report\'),
                                html: ' . json_encode($this->flush(TRUE)) . '
                        },
                        ' . $panelCheck . '