Results 1 to 3 of 3

Thread: Ext.grid.Panel localize loading mask text

  1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    224
    Answers
    13
    Vote Rating
    10
      0  

    Default Answered: Ext.grid.Panel localize loading mask text

    im trying to localize to spanish the "Loading ...." mask in the grid panel.
    Mask appears by default while loading its associated store.

    i have a ext-lang-es.js from the libary and most things are traslated but loading mask text
    i have this (in that file)
    Code:
    if(Ext.LoadMask){
         console.log('traslate mask') // just to check if this code is executing
          Ext.LoadMask.prototype.msg = "Cargando...";
    }
    its executed but its not working, grid still shows "Loading ..."

    how can i do this ? translate that grid Loading msg.
    thanks.

  2. Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  3. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    347
    Vote Rating
    116
      0  

    Default

    Have a try by adding this to ext-lang-es.js
    Code:
        if(Ext.view.AbstractView){
          Ext.view.AbstractView.prototype.loadingText = "Cargando...";
        }

  4. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    224
    Answers
    13
    Vote Rating
    10
      0  

    Default

    works, thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •