Uploaded image for project: 'Archive mifos 2.x'
  1. MIFOS2X-3859

parameterize messages used for loan amount bean validation

    Details

    • Team:
      Community
    • Scheduled For:
      Product

      Description

      To ease localizability of Mifos, parameterize strings used during loan creation. Example:

      Min.loanProduct.loanAmountByLastLoanAmount0.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 1.
      Min.loanProduct.loanAmountByLastLoanAmount1.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 2.
      Min.loanProduct.loanAmountByLastLoanAmount2.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 3.
      Min.loanProduct.loanAmountByLastLoanAmount3.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 4.
      Min.loanProduct.loanAmountByLastLoanAmount4.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 5.
      Min.loanProduct.loanAmountByLastLoanAmount5.lower=Please Specify the valid Start Range Loan Amount for by last loan at row 6.
      

      According to JSR 303, these messages are parameterizable. ie: only a single message should be necessary, for example:

      Min.loanProduct.loanAmountByLastLoanAmount.lower=Please Specify the valid Start Range Loan Amount for by last loan at row {num}.
      

      This should reduce the number of strings in userInterface/../messages.properties by 300 or so.

        Attachments

          Activity

            People

            • Assignee:
              sandhujasmine jasmine sandhu
              Reporter:
              meonkeys Adam Monsen (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Time Spent - 3 days Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - 3 days Remaining Estimate - 1 day
                3d