Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    FilterBuilder I18N issue on top-operators list

    Hello,

    When I use a locale different from the default one, the top-operators list has 4 elements instead of 3 :
    - "and", "or", "not" : OK
    - the localized texte for "and".
    If the user selects the localized item, the criteria is invalid.

    Below an example (German locale) :
    Filter #1 (bracket) : {"_constructor":"AdvancedCriteria", "operator":"und",
    "criteria":[{"_constructor":"AdvancedCriteria", "operator":"or", "criteria":[]}]}

    Filter #2 (radio) : {"_constructor":"AdvancedCriteria", "operator":"and", "criteria":[]}


    This only happens in bracket mode. I checked the radio mode, it works.


    I have opened an issue here :
    http://code.google.com/p/smartgwt/issues/detail?id=321

    Thanks

    --
    Mat'

    #2
    This issue has been fixed in rev. 742.

    Thanks Sjivan for this quick fix !

    --
    Mat'
    Last edited by mraber; 18 Sep 2009, 00:59.

    Comment


      #3
      While you are at it, could you add the following two missing operators from the greek (el) i18n properties file?

      Code:
      operators_greaterOrEqualTitle=μεγαλύτερο από ή ίσο με
      operators_lessOrEqualTitle=μικρότερο από ή ίσο με
      Thanks in advance!

      Comment


        #4
        Hello,

        I think you should open an issue here :
        http://code.google.com/p/smartgwt/issues/list


        --
        Mat'

        Comment


          #5
          Originally posted by ghost277
          While you are at it, could you add the following two missing operators from the greek (el) i18n properties file?

          Code:
          operators_greaterOrEqualTitle=μεγαλύτερο από ή ίσο με
          operators_lessOrEqualTitle=μικρότερο από ή ίσο με
          Thanks in advance!
          ghost277,
          The following resources are missing from the greek i18n file. (also missing from the chinese, portuguese, and portuguese-brazil resource bundles).

          It would be great if you can attach these translations as a file in UTF format to this issue.

          Code:
          operators_greaterThanTitle=greater than
          operators_lessThanTitle=less than
          
          formulaBuilder_instructionsTextStart=The following fields are available for use in this
          formulaBuilder_samplePromptForRecord=For record:
          formulaBuilder_samplePromptOutput=Output:
          
          calendar_dayViewTitle=Day
          calendar_weekViewTitle=Week
          calendar_monthViewTitle=Month
          calendar_timelineViewTitle=Timeline
          calendar_eventNameFieldTitle=Event Name
          calendar_saveButtonTitle=Save Event
          calendar_detailsButtonTitle=Edit Details
          calendar_cancelButtonTitle=Cancel
          calendar_previousButtonHoverText=Previous
          calendar_nextButtonHoverText=Next
          calendar_addEventButtonHoverText=Add an event
          calendar_datePickerHoverText=Choose a date
          
          filterBuilder_topOperator=and
          filterBuilder_radioOptions_and=and
          filterBuilder_radioOptions_or=or
          filterBuilder_radioOptions_not=not
          filterBuilder_rangeSeparator=and
          filterBuilder_subClauseButtonPrompt=Add Subclause
          filterBuilder_addButtonPrompt=Add
          filterBuilder_removeButtonPrompt=Remove
          
          
          printWindow_title=Print Preview
          printWindow_printButtonTitle=Print
          
          pickTreeItem_emptyMenuMessage=No items to display
          formulaBuilder_instructionsTextStart=The following fields are available for use in this
          formulaBuilder_samplePromptForRecord=For record:
          formulaBuilder_samplePromptOutput=Output:
          
          calendar_dayViewTitle=Day
          calendar_weekViewTitle=Week
          calendar_monthViewTitle=Month
          calendar_timelineViewTitle=Timeline
          calendar_eventNameFieldTitle=Event Name
          calendar_saveButtonTitle=Save Event
          calendar_detailsButtonTitle=Edit Details
          calendar_cancelButtonTitle=Cancel
          calendar_previousButtonHoverText=Previous
          calendar_nextButtonHoverText=Next
          calendar_addEventButtonHoverText=Add an event
          calendar_datePickerHoverText=Choose a date
          
          filterBuilder_topOperator=and
          filterBuilder_radioOptions_and=and
          filterBuilder_radioOptions_or=or
          filterBuilder_radioOptions_not=not
          filterBuilder_rangeSeparator=and
          filterBuilder_subClauseButtonPrompt=Add Subclause
          filterBuilder_addButtonPrompt=Add
          filterBuilder_removeButtonPrompt=Remove
          
          
          printWindow_title=Print Preview
          printWindow_printButtonTitle=Print
          
          pickTreeItem_emptyMenuMessage=No items to display

          Comment


            #6
            I can't do, because google code states: "Issue attachment storage quota exceeded." Instead I attached it here ... I hope it helps. It should also have all the changes you did at your 1.3 head at the svn.

            Edit: Had to rename file to txt to bypass your upload filter. Just remove the .txt extension.
            Attached Files
            Last edited by ghost277; 1 Oct 2009, 00:33.

            Comment


              #7
              Looks like google's code isssue was fixed so I added the file there as well ...

              Comment

              Working...
              X