Request new features or modifications


Post by fredmalenfant »

A3-4-5 is useful in europe, but in north america we use legal / letter.

I suggest to add "legal" format in the export plugin
,
        "Legal": {
            "width": 8.5,
            "height": 14
        }
Also, it would be nice if we can change the text labels of the export popup from the gnt-lang-xx.js file. I was able to translate almost every text in french from that file, except the export plugin form that I had to translate directly inside the gnt-all file.

Post by mats »

Great suggestion! Which text labels weren't you able to modify using the locale file?

Post by mats »

Hmm, I already see that format in the code. Doesn't it show up for you?
pageSizes: {
        "A5"    : {
            "width" : 5.8,
            "height": 8.3
        },
        "A4"    : {
            "width" : 8.3,
            "height": 11.7
        },
        "A3"    : {
            "width" : 11.7,
            "height": 16.5
        },
        "Letter": {
            "width" : 8.5,
            "height": 11
        },
        "Legal": {
            "width" : 8.5,
            "height": 14
        }
    },

Post by nickolay »

I've already added it for 2.2.x version.

Post by fredmalenfant »

Oh, sorry about the "letter" page format, I am using version 2.1.14 because I wait for the final ext4.2 to install gantt 2.2

Do you suggest to install ext4.2beta / gantt2.2 beta?

For the language file, the part that is not possible to translate in the gnt-lang-xx.js is the export popup, all labels of that page, and combobox text like "portrait", "landscape", ... in fact, all text defined in that zone in the gnt-all-debug.js:
Ext.define('Sch.widget.ExportDialog', {
    alternateClassName : 'Sch.widget.PdfExportDialog',
    extend : 'Ext.window.Window',
    alias : "widget.exportdialog",
...
    orientationPortraitText : 'Portrait',
...

Post by nickolay »

Yes, if you are in the process of development you should gradually start upgrading to the 2.2.0 - all further development and bug fixes will happen in 2.2.0 version.

I've filed the localization issue with export dialog under https://www.assembla.com/spaces/bryntum ... ity/ticket:
you can subscribe to that issue to be notified about resolution.

Post Reply