Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext User
    Join Date
    Jul 2010
    Posts
    5
    Vote Rating
    0
    kulingkwi is on a distinguished road

      0  

    Exclamation PagingToolBar:pagingToolBar_afterPageText 

    PagingToolBar:pagingToolBar_afterPageText 


    In version:2.1.1, The PagingToolBar class has a bug that the message variable "pagingToolBar_afterPageText" is not used yet, in the browser it shows "paging{}", not "paing{} of {}", but in version 1.2, it's good.

    so when initializing the variable afterText = new new LabelToolItem(after);, please pass the message value to it.

    eg:

    String after = null;
    if (msgs.getAfterPageText() != null) {
    after = Format.substitute(msgs.getAfterPageText(), "" + pages);
    } else {
    after = GXT.MESSAGES.pagingToolBar_afterPageText((int) pages);
    }

    afterText = new LabelToolItem(after);



    BTW:
    in file XMessages_zh.properties
    pagingToolBar_beforePageText should be "第", not "页",

    please confirm it.

  2. #2
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    I cannot see any problem here in GXT 2.2.0. Can you please test it against this version?

  3. #3
    Ext User
    Join Date
    Jul 2010
    Posts
    5
    Vote Rating
    0
    kulingkwi is on a distinguished road

      0  

    Default pagingToolBar_beforePageText

    pagingToolBar_beforePageText


    thank you, sven, i download version 2.2.0 and test it ,it's fixed,
    but in XMessages_zh.properties file pagingToolBar_beforePageText's localization is still wrong,
    in Chinese this variable should be "第",not "页" 。

  4. #4
    Ext User
    Join Date
    Jul 2010
    Posts
    5
    Vote Rating
    0
    kulingkwi is on a distinguished road

      0  

    Default


    you can open this file with notepad++, and copy "第" to replace "页" for pagingToolBar_beforePageText

  5. #5
    Ext User
    Join Date
    Jul 2010
    Posts
    5
    Vote Rating
    0
    kulingkwi is on a distinguished road

      0  

    Default


    the bug still exists!

Similar Threads

  1. PagingToolbar
    By quen567 in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 18 Oct 2009, 10:11 PM
  2. How to declare grid with pagingtoolbar, without calling PagingToolbar constructor
    By grzegorz.borkowski in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 9 Feb 2009, 5:57 AM
  3. PagingToolbar
    By stephanm79 in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 27 Aug 2008, 7:31 AM
  4. PagingToolbar
    By xwisdom in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 9 Apr 2008, 1:34 PM
  5. PagingToolbar
    By Carel in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 5 Oct 2007, 1:51 AM

Thread Participants: 1

Tags for this Thread