validation.ini 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #
  2. # Validation settings file.
  3. #
  4. [General]
  5. # Sets the date format.
  6. # If you use the expression of short or long month name, note that the
  7. # application's locale settings. See QDate class reference.
  8. DateFormat="yyyy-MM-dd"
  9. # Sets the time format.
  10. # See QTime class reference.
  11. TimeFormat="hh:mm:ss"
  12. # Sets the date-time format.
  13. # If you use the expression of short or long month name, note that the
  14. # application's locale settings. See QDateTime class reference.
  15. DateTimeFormat="yyyy-MM-ddThh:mm:ss"
  16. #
  17. # Sets the default error messages below.
  18. #
  19. [ErrorMessage]
  20. # Required error
  21. 0=This value is required.
  22. # MaxLength error
  23. 1=This value is too long.
  24. # MinLength error
  25. 2=This value is too short.
  26. # IntMax error
  27. 3=This value is too big.
  28. # IntMin error
  29. 4=This value is too small.
  30. # DoubleMax error
  31. 5=This value is too big.
  32. # DoubleMin error
  33. 6=This value is too small.
  34. # EMailAddress error
  35. 7=This value is not email address.
  36. # Url error
  37. 8=This value is invalid URL.
  38. # Date error
  39. 9=This value is invalid date.
  40. # Time error
  41. 10=This value is invalid time.
  42. # DateTime Error
  43. 11=This value is invalid date or time.
  44. # UserDefined error
  45. 12=This value is bad format.